Class CfnLocalGatewayRoutePropsMixin
Creates a static route for the specified local gateway route table. You must specify one of the following targets:.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLocalGatewayRoutePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnLocalGatewayRoutePropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRoute
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 cfnLocalGatewayRoutePropsMixin = new CfnLocalGatewayRoutePropsMixin(new CfnLocalGatewayRouteMixinProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnLocalGatewayRoutePropsMixin(ICfnLocalGatewayRouteMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a static route for the specified local gateway route table. You must specify one of the following targets:. |
| Props | Creates a static route for the specified local gateway route table. You must specify one of the following targets:. |
| Strategy | Creates a static route for the specified local gateway route table. You must specify one of the following targets:. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnLocalGatewayRoutePropsMixin(ICfnLocalGatewayRouteMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::LocalGatewayRoute.
public CfnLocalGatewayRoutePropsMixin(ICfnLocalGatewayRouteMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnLocalGatewayRouteMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRoute
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a static route for the specified local gateway route table. You must specify one of the following targets:.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRoute
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 cfnLocalGatewayRoutePropsMixin = new CfnLocalGatewayRoutePropsMixin(new CfnLocalGatewayRouteMixinProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a static route for the specified local gateway route table. You must specify one of the following targets:.
protected virtual ICfnLocalGatewayRouteMixinProps Props { get; }
Property Value
ICfnLocalGatewayRouteMixinProps
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRoute
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 cfnLocalGatewayRoutePropsMixin = new CfnLocalGatewayRoutePropsMixin(new CfnLocalGatewayRouteMixinProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a static route for the specified local gateway route table. You must specify one of the following targets:.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRoute
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 cfnLocalGatewayRoutePropsMixin = new CfnLocalGatewayRoutePropsMixin(new CfnLocalGatewayRouteMixinProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
}, 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::LocalGatewayRoute
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::LocalGatewayRoute
Mixin: true
ExampleMetadata: fixture=_generated