Class CfnEgressOnlyInternetGateway
[IPv6 only] Specifies an egress-only internet gateway for your VPC.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEgressOnlyInternetGateway : CfnResource, IInspectable, IEgressOnlyInternetGatewayRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnEgressOnlyInternetGateway Inherits CfnResource Implements IInspectable, IEgressOnlyInternetGatewayRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
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 cfnEgressOnlyInternetGateway = new CfnEgressOnlyInternetGateway(this, "MyCfnEgressOnlyInternetGateway", new CfnEgressOnlyInternetGatewayProps {
VpcId = "vpcId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnEgressOnlyInternetGateway(Construct, string, ICfnEgressOnlyInternetGatewayProps) | Create a new |
Properties
| AttrId | The ID of the egress-only internet gateway. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | [IPv6 only] Specifies an egress-only internet gateway for your VPC. |
| EgressOnlyInternetGatewayRef | A reference to a EgressOnlyInternetGateway resource. |
| Tags | The tags assigned to the egress-only internet gateway. |
| VpcId | The ID of the VPC for which to create the egress-only internet gateway. |
Methods
| ArnForEgressOnlyInternetGateway(IEgressOnlyInternetGatewayRef) | [IPv6 only] Specifies an egress-only internet gateway for your VPC. |
| FromEgressOnlyInternetGatewayId(Construct, string, string) | Creates a new IEgressOnlyInternetGatewayRef from a egressOnlyInternetGatewayId. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnEgressOnlyInternetGateway(object) | Checks whether the given object is a CfnEgressOnlyInternetGateway. |
| RenderProperties(IDictionary<string, object>) | [IPv6 only] Specifies an egress-only internet gateway for your VPC. |
Constructors
CfnEgressOnlyInternetGateway(Construct, string, ICfnEgressOnlyInternetGatewayProps)
Create a new AWS::EC2::EgressOnlyInternetGateway.
public CfnEgressOnlyInternetGateway(Construct scope, string id, ICfnEgressOnlyInternetGatewayProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnEgressOnlyInternetGatewayProps
Resource properties.
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
Properties
AttrId
The ID of the egress-only internet gateway.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
CfnProperties
[IPv6 only] Specifies an egress-only internet gateway for your VPC.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
EgressOnlyInternetGatewayRef
A reference to a EgressOnlyInternetGateway resource.
public virtual IEgressOnlyInternetGatewayReference EgressOnlyInternetGatewayRef { get; }
Property Value
IEgressOnlyInternetGatewayReference
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
Tags
The tags assigned to the egress-only internet gateway.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
VpcId
The ID of the VPC for which to create the egress-only internet gateway.
public virtual string VpcId { get; set; }
Property Value
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
Methods
ArnForEgressOnlyInternetGateway(IEgressOnlyInternetGatewayRef)
[IPv6 only] Specifies an egress-only internet gateway for your VPC.
public static string ArnForEgressOnlyInternetGateway(IEgressOnlyInternetGatewayRef resource)
Parameters
- resource IEgressOnlyInternetGatewayRef
Returns
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
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 cfnEgressOnlyInternetGateway = new CfnEgressOnlyInternetGateway(this, "MyCfnEgressOnlyInternetGateway", new CfnEgressOnlyInternetGatewayProps {
VpcId = "vpcId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
FromEgressOnlyInternetGatewayId(Construct, string, string)
Creates a new IEgressOnlyInternetGatewayRef from a egressOnlyInternetGatewayId.
public static IEgressOnlyInternetGatewayRef FromEgressOnlyInternetGatewayId(Construct scope, string id, string egressOnlyInternetGatewayId)
Parameters
Returns
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
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.
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
IsCfnEgressOnlyInternetGateway(object)
Checks whether the given object is a CfnEgressOnlyInternetGateway.
public static bool IsCfnEgressOnlyInternetGateway(object x)
Parameters
- x object
Returns
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
[IPv6 only] Specifies an egress-only internet gateway for your VPC.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.
For more information, see Egress-only internet gateway in the Amazon VPC User Guide .
CloudformationResource: AWS::EC2::EgressOnlyInternetGateway
ExampleMetadata: fixture=_generated