Class GetSecurityGroupArgs


  • public final class GetSecurityGroupArgs
    extends com.pulumi.resources.InvokeArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GetSecurityGroupArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Detail

      • filters

        public java.util.Optional<com.pulumi.core.Output<java.util.List<GetSecurityGroupFilterArgs>>> filters()
        Returns:
        Custom filter block as described below.
      • id

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> id()
        Returns:
        ID of the specific security group to retrieve.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags, each pair of which must exactly match a pair on the desired security group.
      • vpcId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()
        Returns:
        ID of the VPC that the desired security group belongs to. More complex filters can be expressed using one or more `filter` sub-blocks, which take the following arguments: