@Stability(value=Stable) public static final class CfnSecurityGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSecurityGroupProps>
CfnSecurityGroupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnSecurityGroupProps.Builder groupDescription(String groupDescription)
CfnSecurityGroupProps.getGroupDescription()groupDescription - A description for the security group. This is informational only. This parameter is required.
Constraints: Up to 255 characters in length
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
this@Stability(value=Stable) public CfnSecurityGroupProps.Builder groupName(String groupName)
CfnSecurityGroupProps.getGroupName()groupName - The name of the security group.
Constraints: Up to 255 characters in length. Cannot start with sg- .
Constraints for EC2-Classic: ASCII characters
Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
this@Stability(value=Stable) public CfnSecurityGroupProps.Builder securityGroupEgress(IResolvable securityGroupEgress)
CfnSecurityGroupProps.getSecurityGroupEgress()securityGroupEgress - [VPC only] The outbound rules associated with the security group.
There is a short interruption during which you cannot connect to the security group.this@Stability(value=Stable) public CfnSecurityGroupProps.Builder securityGroupEgress(List<? extends Object> securityGroupEgress)
CfnSecurityGroupProps.getSecurityGroupEgress()securityGroupEgress - [VPC only] The outbound rules associated with the security group.
There is a short interruption during which you cannot connect to the security group.this@Stability(value=Stable) public CfnSecurityGroupProps.Builder securityGroupIngress(IResolvable securityGroupIngress)
CfnSecurityGroupProps.getSecurityGroupIngress()securityGroupIngress - The inbound rules associated with the security group.
There is a short interruption during which you cannot connect to the security group.this@Stability(value=Stable) public CfnSecurityGroupProps.Builder securityGroupIngress(List<? extends Object> securityGroupIngress)
CfnSecurityGroupProps.getSecurityGroupIngress()securityGroupIngress - The inbound rules associated with the security group.
There is a short interruption during which you cannot connect to the security group.this@Stability(value=Stable) public CfnSecurityGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnSecurityGroupProps.getTags()tags - Any tags assigned to the security group.this@Stability(value=Stable) public CfnSecurityGroupProps.Builder vpcId(String vpcId)
CfnSecurityGroupProps.getVpcId()vpcId - [VPC only] The ID of the VPC for the security group.this@Stability(value=Stable) public CfnSecurityGroupProps build()
build in interface software.amazon.jsii.Builder<CfnSecurityGroupProps>CfnSecurityGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.