@Stability(value=Stable)
public static interface CfnSecurityGroup.IngressProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
IngressProperty ingressProperty = IngressProperty.builder()
.ipProtocol("ipProtocol")
// the properties below are optional
.cidrIp("cidrIp")
.cidrIpv6("cidrIpv6")
.description("description")
.fromPort(123)
.sourcePrefixListId("sourcePrefixListId")
.sourceSecurityGroupId("sourceSecurityGroupId")
.sourceSecurityGroupName("sourceSecurityGroupName")
.sourceSecurityGroupOwnerId("sourceSecurityGroupOwnerId")
.toPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSecurityGroup.IngressProperty.Builder
A builder for
CfnSecurityGroup.IngressProperty |
static class |
CfnSecurityGroup.IngressProperty.Jsii$Proxy
An implementation for
CfnSecurityGroup.IngressProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSecurityGroup.IngressProperty.Builder |
builder() |
default String |
getCidrIp()
`CfnSecurityGroup.IngressProperty.CidrIp`.
|
default String |
getCidrIpv6()
`CfnSecurityGroup.IngressProperty.CidrIpv6`.
|
default String |
getDescription()
`CfnSecurityGroup.IngressProperty.Description`.
|
default Number |
getFromPort()
`CfnSecurityGroup.IngressProperty.FromPort`.
|
String |
getIpProtocol()
`CfnSecurityGroup.IngressProperty.IpProtocol`.
|
default String |
getSourcePrefixListId()
`CfnSecurityGroup.IngressProperty.SourcePrefixListId`.
|
default String |
getSourceSecurityGroupId()
`CfnSecurityGroup.IngressProperty.SourceSecurityGroupId`.
|
default String |
getSourceSecurityGroupName()
`CfnSecurityGroup.IngressProperty.SourceSecurityGroupName`.
|
default String |
getSourceSecurityGroupOwnerId()
`CfnSecurityGroup.IngressProperty.SourceSecurityGroupOwnerId`.
|
default Number |
getToPort()
`CfnSecurityGroup.IngressProperty.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) @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 CfnSecurityGroup.IngressProperty.Builder builder()
Copyright © 2021. All rights reserved.