@aws-cdk_cx-api.SecurityGroupContextResponse

interface SecurityGroupContextResponse

LanguageType name
.NETAmazon.CDK.CXAPI.SecurityGroupContextResponse
Javasoftware.amazon.awscdk.cxapi.SecurityGroupContextResponse
Pythonaws_cdk.cx_api.SecurityGroupContextResponse
TypeScript (source)@aws-cdk/cx-api » SecurityGroupContextResponse

Properties of a discovered SecurityGroup.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cx_api from '@aws-cdk/cx-api';
const securityGroupContextResponse: cx_api.SecurityGroupContextResponse = {
  allowAllOutbound: false,
  securityGroupId: 'securityGroupId',
};

Properties

NameTypeDescription
allowAllOutboundbooleanWhether the security group allows all outbound traffic.
securityGroupIdstringThe security group's id.

allowAllOutbound

Type: boolean

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.


securityGroupId

Type: string

The security group's id.