interface SecurityGroupContextResponse
Language | Type name |
---|---|
.NET | Amazon.CDK.CXAPI.SecurityGroupContextResponse |
Go | github.com/aws/aws-cdk-go/awscdk/v2/cxapi#SecurityGroupContextResponse |
Java | software.amazon.awscdk.cxapi.SecurityGroupContextResponse |
Python | aws_cdk.cx_api.SecurityGroupContextResponse |
TypeScript (source) | aws-cdk-lib » 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 { cx_api } from 'aws-cdk-lib';
const securityGroupContextResponse: cx_api.SecurityGroupContextResponse = {
allowAllOutbound: false,
securityGroupId: 'securityGroupId',
};
Properties
Name | Type | Description |
---|---|---|
allow | boolean | Whether the security group allows all outbound traffic. |
security | string | The 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.