Class SecurityGroupImportOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SecurityGroupImportOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecurityGroupImportOptions
An implementation for SecurityGroupImportOptions
  • 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(SecurityGroupImportOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SecurityGroupImportOptions.Builder.
  • Method Details

    • getAllowAllIpv6Outbound

      public final Boolean getAllowAllIpv6Outbound()
      Description copied from interface: SecurityGroupImportOptions
      Mark the SecurityGroup as having been created allowing all outbound ipv6 traffic.

      Only if this is set to false will egress rules for ipv6 be added to this security group. Be aware, this would undo any potential "all outbound traffic" default.

      Default: false

      Specified by:
      getAllowAllIpv6Outbound in interface SecurityGroupImportOptions
    • getAllowAllOutbound

      public final Boolean getAllowAllOutbound()
      Description copied from interface: SecurityGroupImportOptions
      Mark the SecurityGroup as having been created allowing all outbound traffic.

      Only if this is set to false will egress rules be added to this security group. Be aware, this would undo any potential "all outbound traffic" default.

      Default: true

      Specified by:
      getAllowAllOutbound in interface SecurityGroupImportOptions
    • getMutable

      public final Boolean getMutable()
      Description copied from interface: SecurityGroupImportOptions
      If a SecurityGroup is mutable CDK can add rules to existing groups.

      Beware that making a SecurityGroup immutable might lead to issue due to missing ingress/egress rules for new resources.

      Default: true

      Specified by:
      getMutable in interface SecurityGroupImportOptions
    • $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