@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.984Z") @Stability(value=Stable) public interface CfnSecurityGroupIngressProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnSecurityGroupIngressProps cfnSecurityGroupIngressProps = CfnSecurityGroupIngressProps.builder()
.ipProtocol("ipProtocol")
// the properties below are optional
.cidrIp("cidrIp")
.cidrIpv6("cidrIpv6")
.description("description")
.fromPort(123)
.groupId("groupId")
.groupName("groupName")
.sourcePrefixListId("sourcePrefixListId")
.sourceSecurityGroupId("sourceSecurityGroupId")
.sourceSecurityGroupName("sourceSecurityGroupName")
.sourceSecurityGroupOwnerId("sourceSecurityGroupOwnerId")
.toPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSecurityGroupIngressProps.Builder
A builder for
CfnSecurityGroupIngressProps |
static class |
CfnSecurityGroupIngressProps.Jsii$Proxy
An implementation for
CfnSecurityGroupIngressProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSecurityGroupIngressProps.Builder |
builder() |
default String |
getCidrIp()
`AWS::EC2::SecurityGroupIngress.CidrIp`.
|
default String |
getCidrIpv6()
`AWS::EC2::SecurityGroupIngress.CidrIpv6`.
|
default String |
getDescription()
`AWS::EC2::SecurityGroupIngress.Description`.
|
default Number |
getFromPort()
`AWS::EC2::SecurityGroupIngress.FromPort`.
|
default String |
getGroupId()
`AWS::EC2::SecurityGroupIngress.GroupId`.
|
default String |
getGroupName()
`AWS::EC2::SecurityGroupIngress.GroupName`.
|
String |
getIpProtocol()
`AWS::EC2::SecurityGroupIngress.IpProtocol`.
|
default String |
getSourcePrefixListId()
`AWS::EC2::SecurityGroupIngress.SourcePrefixListId`.
|
default String |
getSourceSecurityGroupId()
`AWS::EC2::SecurityGroupIngress.SourceSecurityGroupId`.
|
default String |
getSourceSecurityGroupName()
`AWS::EC2::SecurityGroupIngress.SourceSecurityGroupName`.
|
default String |
getSourceSecurityGroupOwnerId()
`AWS::EC2::SecurityGroupIngress.SourceSecurityGroupOwnerId`.
|
default Number |
getToPort()
`AWS::EC2::SecurityGroupIngress.ToPort`.
|
@Stability(value=Stable) @Nullable default String getCidrIp()
@Stability(value=Stable) @Nullable default String getCidrIpv6()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Number getFromPort()
@Stability(value=Stable) @Nullable default String getGroupId()
@Stability(value=Stable) @Nullable default String getGroupName()
@Stability(value=Stable) @NotNull String getIpProtocol()
@Stability(value=Stable) @Nullable default String getSourcePrefixListId()
@Stability(value=Stable) @Nullable default String getSourceSecurityGroupId()
@Stability(value=Stable) @Nullable default String getSourceSecurityGroupName()
@Stability(value=Stable) @Nullable default String getSourceSecurityGroupOwnerId()
@Stability(value=Stable) @Nullable default Number getToPort()
@Stability(value=Stable) static CfnSecurityGroupIngressProps.Builder builder()
Copyright © 2021. All rights reserved.