@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:46.004Z") @Stability(value=Experimental) public interface SecurityGroupProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecurityGroupProps.Builder
A builder for
SecurityGroupProps |
static class |
SecurityGroupProps.Jsii$Proxy
An implementation for
SecurityGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static SecurityGroupProps.Builder |
builder() |
default Boolean |
getAllowAllOutbound()
(experimental) Whether to allow all outbound traffic by default.
|
default String |
getDescription()
(experimental) A description of the security group.
|
default String |
getSecurityGroupName()
(experimental) The name of the security group.
|
IVpc |
getVpc()
(experimental) The VPC in which to create the security group.
|
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default Boolean getAllowAllOutbound()
If this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized.
Default: true
@Stability(value=Experimental) @Nullable default String getDescription()
Default: The default name will be the construct's CDK path.
@Stability(value=Experimental) @Nullable default String getSecurityGroupName()
For valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference.
It is not recommended to use an explicit group name.
Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
@Stability(value=Experimental) static SecurityGroupProps.Builder builder()
SecurityGroupProps.Builder of SecurityGroupPropsCopyright © 2021. All rights reserved.