Package software.amazon.awscdk.cxapi
Interface SecurityGroupContextResponse
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecurityGroupContextResponse.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.291Z")
@Stability(Stable)
public interface SecurityGroupContextResponse
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cxapi.*;
SecurityGroupContextResponse securityGroupContextResponse = SecurityGroupContextResponse.builder()
.allowAllOutbound(false)
.securityGroupId("securityGroupId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSecurityGroupContextResponsestatic final classAn implementation forSecurityGroupContextResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Whether the security group allows all outbound traffic.The security group's id.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowAllOutbound
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/0and::/0. -
getSecurityGroupId
The security group's id. -
builder
-