Class CfnInternetGatewayPropsMixin
Allocates an internet gateway for use with a VPC.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnInternetGatewayPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnInternetGatewayPropsMixin Inherits Mixin Implements IMixin
Remarks
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
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 cfnInternetGatewayPropsMixin = new CfnInternetGatewayPropsMixin(new CfnInternetGatewayMixinProps {
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnInternetGatewayPropsMixin(ICfnInternetGatewayMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Allocates an internet gateway for use with a VPC. |
| Props | Allocates an internet gateway for use with a VPC. |
| Strategy | Allocates an internet gateway for use with a VPC. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnInternetGatewayPropsMixin(ICfnInternetGatewayMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::InternetGateway.
public CfnInternetGatewayPropsMixin(ICfnInternetGatewayMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnInternetGatewayMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Allocates an internet gateway for use with a VPC.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
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 cfnInternetGatewayPropsMixin = new CfnInternetGatewayPropsMixin(new CfnInternetGatewayMixinProps {
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Allocates an internet gateway for use with a VPC.
protected virtual ICfnInternetGatewayMixinProps Props { get; }
Property Value
Remarks
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
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 cfnInternetGatewayPropsMixin = new CfnInternetGatewayPropsMixin(new CfnInternetGatewayMixinProps {
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Allocates an internet gateway for use with a VPC.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
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 cfnInternetGatewayPropsMixin = new CfnInternetGatewayPropsMixin(new CfnInternetGatewayMixinProps {
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, 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
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
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
After creating the Internet gateway, you then attach it to a VPC.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html
CloudformationResource: AWS::EC2::InternetGateway
Mixin: true
ExampleMetadata: fixture=_generated