SecurityGroupContextResponse

class aws_cdk.cx_api.SecurityGroupContextResponse(*, allow_all_outbound, security_group_id)

Bases: object

Properties of a discovered SecurityGroup.

Parameters:
  • allow_all_outbound (bool) – Whether the security group allows all outbound traffic. This will be true when the security group has all-protocol egress permissions to access both 0.0.0.0/0 and ::/0.

  • security_group_id (str) – The security group’s id.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cx_api as cx_api

security_group_context_response = cx_api.SecurityGroupContextResponse(
    allow_all_outbound=False,
    security_group_id="securityGroupId"
)

Attributes

allow_all_outbound

Whether the security group allows all outbound traffic.

This will be true when the security group has all-protocol egress permissions to access both 0.0.0.0/0 and ::/0.

security_group_id

The security group’s id.