@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.982Z") @Stability(value=Stable) public class CfnTransitGateway extends CfnResource implements IInspectable
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.*;
CfnTransitGateway cfnTransitGateway = CfnTransitGateway.Builder.create(this, "MyCfnTransitGateway")
.amazonSideAsn(123)
.associationDefaultRouteTableId("associationDefaultRouteTableId")
.autoAcceptSharedAttachments("autoAcceptSharedAttachments")
.defaultRouteTableAssociation("defaultRouteTableAssociation")
.defaultRouteTablePropagation("defaultRouteTablePropagation")
.description("description")
.dnsSupport("dnsSupport")
.multicastSupport("multicastSupport")
.propagationDefaultRouteTableId("propagationDefaultRouteTableId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transitGatewayCidrBlocks(List.of("transitGatewayCidrBlocks"))
.vpnEcmpSupport("vpnEcmpSupport")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTransitGateway.Builder
A fluent builder for
CfnTransitGateway. |
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 |
|---|---|
|
CfnTransitGateway(software.constructs.Construct scope,
String id)
Create a new `AWS::EC2::TransitGateway`.
|
|
CfnTransitGateway(software.constructs.Construct scope,
String id,
CfnTransitGatewayProps props)
Create a new `AWS::EC2::TransitGateway`.
|
protected |
CfnTransitGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTransitGateway(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getAmazonSideAsn()
`AWS::EC2::TransitGateway.AmazonSideAsn`.
|
String |
getAssociationDefaultRouteTableId()
`AWS::EC2::TransitGateway.AssociationDefaultRouteTableId`.
|
String |
getAttrId() |
String |
getAutoAcceptSharedAttachments()
`AWS::EC2::TransitGateway.AutoAcceptSharedAttachments`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDefaultRouteTableAssociation()
`AWS::EC2::TransitGateway.DefaultRouteTableAssociation`.
|
String |
getDefaultRouteTablePropagation()
`AWS::EC2::TransitGateway.DefaultRouteTablePropagation`.
|
String |
getDescription()
`AWS::EC2::TransitGateway.Description`.
|
String |
getDnsSupport()
`AWS::EC2::TransitGateway.DnsSupport`.
|
String |
getMulticastSupport()
`AWS::EC2::TransitGateway.MulticastSupport`.
|
String |
getPropagationDefaultRouteTableId()
`AWS::EC2::TransitGateway.PropagationDefaultRouteTableId`.
|
TagManager |
getTags()
`AWS::EC2::TransitGateway.Tags`.
|
List<String> |
getTransitGatewayCidrBlocks()
`AWS::EC2::TransitGateway.TransitGatewayCidrBlocks`.
|
String |
getVpnEcmpSupport()
`AWS::EC2::TransitGateway.VpnEcmpSupport`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAmazonSideAsn(Number value)
`AWS::EC2::TransitGateway.AmazonSideAsn`.
|
void |
setAssociationDefaultRouteTableId(String value)
`AWS::EC2::TransitGateway.AssociationDefaultRouteTableId`.
|
void |
setAutoAcceptSharedAttachments(String value)
`AWS::EC2::TransitGateway.AutoAcceptSharedAttachments`.
|
void |
setDefaultRouteTableAssociation(String value)
`AWS::EC2::TransitGateway.DefaultRouteTableAssociation`.
|
void |
setDefaultRouteTablePropagation(String value)
`AWS::EC2::TransitGateway.DefaultRouteTablePropagation`.
|
void |
setDescription(String value)
`AWS::EC2::TransitGateway.Description`.
|
void |
setDnsSupport(String value)
`AWS::EC2::TransitGateway.DnsSupport`.
|
void |
setMulticastSupport(String value)
`AWS::EC2::TransitGateway.MulticastSupport`.
|
void |
setPropagationDefaultRouteTableId(String value)
`AWS::EC2::TransitGateway.PropagationDefaultRouteTableId`.
|
void |
setTransitGatewayCidrBlocks(List<String> value)
`AWS::EC2::TransitGateway.TransitGatewayCidrBlocks`.
|
void |
setVpnEcmpSupport(String value)
`AWS::EC2::TransitGateway.VpnEcmpSupport`.
|
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 CfnTransitGateway(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTransitGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTransitGateway(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnTransitGatewayProps 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.@Stability(value=Stable)
public CfnTransitGateway(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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) @Nullable public Number getAmazonSideAsn()
@Stability(value=Stable)
public void setAmazonSideAsn(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getAssociationDefaultRouteTableId()
@Stability(value=Stable)
public void setAssociationDefaultRouteTableId(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @Nullable public String getAutoAcceptSharedAttachments()
@Stability(value=Stable)
public void setAutoAcceptSharedAttachments(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDefaultRouteTableAssociation()
@Stability(value=Stable)
public void setDefaultRouteTableAssociation(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDefaultRouteTablePropagation()
@Stability(value=Stable)
public void setDefaultRouteTablePropagation(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDnsSupport()
@Stability(value=Stable)
public void setDnsSupport(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getMulticastSupport()
@Stability(value=Stable)
public void setMulticastSupport(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getPropagationDefaultRouteTableId()
@Stability(value=Stable)
public void setPropagationDefaultRouteTableId(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public List<String> getTransitGatewayCidrBlocks()
@Stability(value=Stable)
public void setTransitGatewayCidrBlocks(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getVpnEcmpSupport()
@Stability(value=Stable)
public void setVpnEcmpSupport(@Nullable
String value)
Copyright © 2021. All rights reserved.