Class CfnTransitGatewayPropsMixin
Specifies a transit gateway.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTransitGatewayPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTransitGatewayPropsMixin Inherits Mixin Implements IMixin
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnTransitGatewayPropsMixin = new CfnTransitGatewayPropsMixin(new CfnTransitGatewayMixinProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnTransitGatewayPropsMixin(ICfnTransitGatewayMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Specifies a transit gateway. |
| Props | Specifies a transit gateway. |
| Strategy | Specifies a transit gateway. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnTransitGatewayPropsMixin(ICfnTransitGatewayMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::TransitGateway.
public CfnTransitGatewayPropsMixin(ICfnTransitGatewayMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnTransitGatewayMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Specifies a transit gateway.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnTransitGatewayPropsMixin = new CfnTransitGatewayPropsMixin(new CfnTransitGatewayMixinProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Specifies a transit gateway.
protected virtual ICfnTransitGatewayMixinProps Props { get; }
Property Value
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnTransitGatewayPropsMixin = new CfnTransitGatewayPropsMixin(new CfnTransitGatewayMixinProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Specifies a transit gateway.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnTransitGatewayPropsMixin = new CfnTransitGatewayPropsMixin(new CfnTransitGatewayMixinProps {
AmazonSideAsn = 123,
AssociationDefaultRouteTableId = "associationDefaultRouteTableId",
AutoAcceptSharedAttachments = "autoAcceptSharedAttachments",
DefaultRouteTableAssociation = "defaultRouteTableAssociation",
DefaultRouteTablePropagation = "defaultRouteTablePropagation",
Description = "description",
DnsSupport = "dnsSupport",
EncryptionSupport = "encryptionSupport",
MulticastSupport = "multicastSupport",
PropagationDefaultRouteTableId = "propagationDefaultRouteTableId",
SecurityGroupReferencingSupport = "securityGroupReferencingSupport",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayCidrBlocks = new [] { "transitGatewayCidrBlocks" },
VpnEcmpSupport = "vpnEcmpSupport"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.
To attach your VPCs, use AWS::EC2::TransitGatewayAttachment .
To attach a VPN connection, use AWS::EC2::CustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to AWS::EC2::VPNConnection .
When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use AWS::EC2::TransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use AWS::EC2::TransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AWS::EC2::TransitGatewayRouteTableAssociation to associate a resource attachment with a transit gateway route table.
To create a transit gateway with EncryptionSupport enabled through CloudFormation, you will need the ec2:ModifyTransitGateway Identity and Access Management (IAM) permission. For more information, see ModifyTransitGateway in Actions, resources, and condition keys for Amazon EC2 of the Identify and Access Management Service Authorization Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html
CloudformationResource: AWS::EC2::TransitGateway
Mixin: true
ExampleMetadata: fixture=_generated