Class CfnTransitGatewayConnectPeerPropsMixin
Describes a transit gateway Connect peer.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTransitGatewayConnectPeerPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTransitGatewayConnectPeerPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnTransitGatewayConnectPeerPropsMixin = new CfnTransitGatewayConnectPeerPropsMixin(new CfnTransitGatewayConnectPeerMixinProps {
ConnectPeerConfiguration = new TransitGatewayConnectPeerConfigurationProperty {
BgpConfigurations = new [] { new TransitGatewayAttachmentBgpConfigurationProperty {
BgpStatus = "bgpStatus",
PeerAddress = "peerAddress",
PeerAsn = 123,
TransitGatewayAddress = "transitGatewayAddress",
TransitGatewayAsn = 123
} },
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
Protocol = "protocol",
TransitGatewayAddress = "transitGatewayAddress"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnTransitGatewayConnectPeerPropsMixin(ICfnTransitGatewayConnectPeerMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Describes a transit gateway Connect peer. |
| Props | Describes a transit gateway Connect peer. |
| Strategy | Describes a transit gateway Connect peer. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnTransitGatewayConnectPeerPropsMixin(ICfnTransitGatewayConnectPeerMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::TransitGatewayConnectPeer.
public CfnTransitGatewayConnectPeerPropsMixin(ICfnTransitGatewayConnectPeerMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnTransitGatewayConnectPeerMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Describes a transit gateway Connect peer.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnTransitGatewayConnectPeerPropsMixin = new CfnTransitGatewayConnectPeerPropsMixin(new CfnTransitGatewayConnectPeerMixinProps {
ConnectPeerConfiguration = new TransitGatewayConnectPeerConfigurationProperty {
BgpConfigurations = new [] { new TransitGatewayAttachmentBgpConfigurationProperty {
BgpStatus = "bgpStatus",
PeerAddress = "peerAddress",
PeerAsn = 123,
TransitGatewayAddress = "transitGatewayAddress",
TransitGatewayAsn = 123
} },
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
Protocol = "protocol",
TransitGatewayAddress = "transitGatewayAddress"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Describes a transit gateway Connect peer.
protected virtual ICfnTransitGatewayConnectPeerMixinProps Props { get; }
Property Value
ICfnTransitGatewayConnectPeerMixinProps
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnTransitGatewayConnectPeerPropsMixin = new CfnTransitGatewayConnectPeerPropsMixin(new CfnTransitGatewayConnectPeerMixinProps {
ConnectPeerConfiguration = new TransitGatewayConnectPeerConfigurationProperty {
BgpConfigurations = new [] { new TransitGatewayAttachmentBgpConfigurationProperty {
BgpStatus = "bgpStatus",
PeerAddress = "peerAddress",
PeerAsn = 123,
TransitGatewayAddress = "transitGatewayAddress",
TransitGatewayAsn = 123
} },
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
Protocol = "protocol",
TransitGatewayAddress = "transitGatewayAddress"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Describes a transit gateway Connect peer.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnTransitGatewayConnectPeerPropsMixin = new CfnTransitGatewayConnectPeerPropsMixin(new CfnTransitGatewayConnectPeerMixinProps {
ConnectPeerConfiguration = new TransitGatewayConnectPeerConfigurationProperty {
BgpConfigurations = new [] { new TransitGatewayAttachmentBgpConfigurationProperty {
BgpStatus = "bgpStatus",
PeerAddress = "peerAddress",
PeerAsn = 123,
TransitGatewayAddress = "transitGatewayAddress",
TransitGatewayAsn = 123
} },
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
Protocol = "protocol",
TransitGatewayAddress = "transitGatewayAddress"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
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
CloudformationResource: AWS::EC2::TransitGatewayConnectPeer
Mixin: true
ExampleMetadata: fixture=_generated