# SecurityGroupContextResponse

Properties of a discovered SecurityGroup.

- Source: [`cx-api/lib/legacy-moved.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/cx-api/lib/legacy-moved.ts#L825)
- Type last changed: v2.238.0 · 9 Feb 2026

## Example

```ts
// 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

- `allowAllOutbound`: boolean (required) — 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`: string (required) — The security group's id.
