Class CfnCarrierGateway
A CloudFormation AWS::EC2::CarrierGateway
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnCarrierGateway : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnCarrierGateway
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a carrier gateway. For more information about carrier gateways, see Carrier gateways in the AWS Wavelength Developer Guide .
CloudformationResource: AWS::EC2::CarrierGateway
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html
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.AWS.EC2;
var cfnCarrierGateway = new CfnCarrierGateway(this, "MyCfnCarrierGateway", new CfnCarrierGatewayProps {
VpcId = "vpcId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnCarrierGateway(Construct, String, ICfnCarrierGatewayProps) | Create a new |
CfnCarrierGateway(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnCarrierGateway(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrCarrierGatewayId | The ID of the carrier gateway. |
AttrOwnerId | The AWS account ID of the owner of the carrier gateway. |
AttrState | The state of the carrier gateway. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | The tags assigned to the carrier gateway. |
VpcId | The ID of the VPC associated with the carrier gateway. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnCarrierGateway(Construct, String, ICfnCarrierGatewayProps)
Create a new AWS::EC2::CarrierGateway
.
public CfnCarrierGateway(Construct scope, string id, ICfnCarrierGatewayProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnCarrierGatewayProps
- resource properties.
CfnCarrierGateway(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnCarrierGateway(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnCarrierGateway(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnCarrierGateway(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrCarrierGatewayId
The ID of the carrier gateway.
public virtual string AttrCarrierGatewayId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CarrierGatewayId
AttrOwnerId
The AWS account ID of the owner of the carrier gateway.
public virtual string AttrOwnerId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: OwnerId
AttrState
The state of the carrier gateway.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
The tags assigned to the carrier gateway.
public virtual TagManager Tags { get; }
Property Value
Remarks
VpcId
The ID of the VPC associated with the carrier gateway.
public virtual string VpcId { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>