Class CfnSecurityGroupProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnSecurityGroupProps.Jsii$Proxy
All Implemented Interfaces:
CfnSecurityGroupProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnSecurityGroupProps

@Stability(Stable) @Internal public static final class CfnSecurityGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSecurityGroupProps
An implementation for CfnSecurityGroupProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnSecurityGroupProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnSecurityGroupProps.Builder.
  • Method Details

    • getGroupDescription

      public final String getGroupDescription()
      Description copied from interface: CfnSecurityGroupProps
      A description for the security group.

      Constraints: Up to 255 characters in length

      Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

      Specified by:
      getGroupDescription in interface CfnSecurityGroupProps
    • getGroupName

      public final String getGroupName()
      Description copied from interface: CfnSecurityGroupProps
      The name of the security group.

      Constraints: Up to 255 characters in length. Cannot start with sg- .

      Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

      Specified by:
      getGroupName in interface CfnSecurityGroupProps
    • getSecurityGroupEgress

      public final Object getSecurityGroupEgress()
      Description copied from interface: CfnSecurityGroupProps
      The outbound rules associated with the security group.

      There is a short interruption during which you cannot connect to the security group.

      Specified by:
      getSecurityGroupEgress in interface CfnSecurityGroupProps
    • getSecurityGroupIngress

      public final Object getSecurityGroupIngress()
      Description copied from interface: CfnSecurityGroupProps
      The inbound rules associated with the security group.

      There is a short interruption during which you cannot connect to the security group.

      Specified by:
      getSecurityGroupIngress in interface CfnSecurityGroupProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnSecurityGroupProps
      Any tags assigned to the security group.
      Specified by:
      getTags in interface CfnSecurityGroupProps
    • getVpcId

      public final String getVpcId()
      Description copied from interface: CfnSecurityGroupProps
      The ID of the VPC for the security group.
      Specified by:
      getVpcId in interface CfnSecurityGroupProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object