@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.009Z") @Stability(value=Stable) public class CfnSubnet extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnSubnet.Builder
A fluent builder for
CfnSubnet. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnSubnet(software.constructs.Construct scope,
String id,
CfnSubnetProps props)
Create a new `AWS::EC2::Subnet`.
|
protected |
CfnSubnet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSubnet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAssignIpv6AddressOnCreation()
`AWS::EC2::Subnet.AssignIpv6AddressOnCreation`.
|
String |
getAttrAvailabilityZone() |
List<String> |
getAttrIpv6CidrBlocks() |
String |
getAttrNetworkAclAssociationId() |
String |
getAttrOutpostArn() |
String |
getAttrVpcId() |
String |
getAvailabilityZone()
`AWS::EC2::Subnet.AvailabilityZone`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCidrBlock()
`AWS::EC2::Subnet.CidrBlock`.
|
String |
getIpv6CidrBlock()
`AWS::EC2::Subnet.Ipv6CidrBlock`.
|
Object |
getMapPublicIpOnLaunch()
`AWS::EC2::Subnet.MapPublicIpOnLaunch`.
|
String |
getOutpostArn()
`AWS::EC2::Subnet.OutpostArn`.
|
TagManager |
getTags()
`AWS::EC2::Subnet.Tags`.
|
String |
getVpcId()
`AWS::EC2::Subnet.VpcId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAssignIpv6AddressOnCreation(Boolean value)
`AWS::EC2::Subnet.AssignIpv6AddressOnCreation`.
|
void |
setAssignIpv6AddressOnCreation(IResolvable value)
`AWS::EC2::Subnet.AssignIpv6AddressOnCreation`.
|
void |
setAvailabilityZone(String value)
`AWS::EC2::Subnet.AvailabilityZone`.
|
void |
setCidrBlock(String value)
`AWS::EC2::Subnet.CidrBlock`.
|
void |
setIpv6CidrBlock(String value)
`AWS::EC2::Subnet.Ipv6CidrBlock`.
|
void |
setMapPublicIpOnLaunch(Boolean value)
`AWS::EC2::Subnet.MapPublicIpOnLaunch`.
|
void |
setMapPublicIpOnLaunch(IResolvable value)
`AWS::EC2::Subnet.MapPublicIpOnLaunch`.
|
void |
setOutpostArn(String value)
`AWS::EC2::Subnet.OutpostArn`.
|
void |
setVpcId(String value)
`AWS::EC2::Subnet.VpcId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnSubnet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSubnet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnSubnet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnSubnetProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAvailabilityZone()
@Stability(value=Stable) @NotNull public String getAttrNetworkAclAssociationId()
@Stability(value=Stable) @NotNull public String getAttrOutpostArn()
@Stability(value=Stable) @NotNull public String getAttrVpcId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getCidrBlock()
@Stability(value=Stable)
public void setCidrBlock(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAssignIpv6AddressOnCreation()
@Stability(value=Stable)
public void setAssignIpv6AddressOnCreation(@Nullable
Boolean value)
@Stability(value=Stable)
public void setAssignIpv6AddressOnCreation(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getAvailabilityZone()
@Stability(value=Stable)
public void setAvailabilityZone(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getIpv6CidrBlock()
@Stability(value=Stable)
public void setIpv6CidrBlock(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getMapPublicIpOnLaunch()
@Stability(value=Stable)
public void setMapPublicIpOnLaunch(@Nullable
Boolean value)
@Stability(value=Stable)
public void setMapPublicIpOnLaunch(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getOutpostArn()
@Stability(value=Stable)
public void setOutpostArn(@Nullable
String value)
Copyright © 2021. All rights reserved.