SecurityGroupImportOptions

class aws_cdk.aws_ec2.SecurityGroupImportOptions(*, allow_all_outbound=None, mutable=None)

Bases: object

Additional options for imported security groups.

Parameters
  • allow_all_outbound (Optional[bool]) – (experimental) 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

  • mutable (Optional[bool]) – (experimental) 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

Attributes

allow_all_outbound

(experimental) 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

Stability

experimental

Return type

Optional[bool]

mutable

(experimental) 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

Stability

experimental

Return type

Optional[bool]