Show / Hide Table of Contents

Class CfnInstanceConnectEndpoint

Creates an EC2 Instance Connect Endpoint.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnInstanceConnectEndpoint
Implements
IInspectable
IInstanceConnectEndpointRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceConnectEndpoint : CfnResource, IInspectable, IInstanceConnectEndpointRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnInstanceConnectEndpoint Inherits CfnResource Implements IInspectable, IInstanceConnectEndpointRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

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 cfnInstanceConnectEndpoint = new CfnInstanceConnectEndpoint(this, "MyCfnInstanceConnectEndpoint", new CfnInstanceConnectEndpointProps {
                 SubnetId = "subnetId",

                 // the properties below are optional
                 ClientToken = "clientToken",
                 PreserveClientIp = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

Synopsis

Constructors

CfnInstanceConnectEndpoint(Construct, string, ICfnInstanceConnectEndpointProps)

Create a new AWS::EC2::InstanceConnectEndpoint.

Properties

AttrId

The ID of the EC2 Instance Connect Endpoint.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CdkTagManager

Tag Manager which manages the tags for this resource.

CfnProperties

Creates an EC2 Instance Connect Endpoint.

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

InstanceConnectEndpointRef

A reference to a InstanceConnectEndpoint resource.

PreserveClientIp

Indicates whether the client IP address is preserved as the source.

SecurityGroupIds

One or more security groups to associate with the endpoint.

SubnetId

The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

Tags

The tags to apply to the EC2 Instance Connect Endpoint during creation.

Methods

ArnForInstanceConnectEndpoint(IInstanceConnectEndpointRef)

Creates an EC2 Instance Connect Endpoint.

FromInstanceConnectEndpointId(Construct, string, string)

Creates a new IInstanceConnectEndpointRef from a instanceConnectEndpointId.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnInstanceConnectEndpoint(object)

Checks whether the given object is a CfnInstanceConnectEndpoint.

RenderProperties(IDictionary<string, object>)

Creates an EC2 Instance Connect Endpoint.

Constructors

CfnInstanceConnectEndpoint(Construct, string, ICfnInstanceConnectEndpointProps)

Create a new AWS::EC2::InstanceConnectEndpoint.

public CfnInstanceConnectEndpoint(Construct scope, string id, ICfnInstanceConnectEndpointProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnInstanceConnectEndpointProps

Resource properties.

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

Properties

AttrId

The ID of the EC2 Instance Connect Endpoint.

public virtual string AttrId { get; }
Property Value

string

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

string

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

CfnProperties

Creates an EC2 Instance Connect Endpoint.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

public virtual string? ClientToken { get; set; }
Property Value

string

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

InstanceConnectEndpointRef

A reference to a InstanceConnectEndpoint resource.

public virtual IInstanceConnectEndpointReference InstanceConnectEndpointRef { get; }
Property Value

IInstanceConnectEndpointReference

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

PreserveClientIp

Indicates whether the client IP address is preserved as the source.

public virtual object? PreserveClientIp { get; set; }
Property Value

object

Remarks

The following are the possible values.

Type union: either bool or IResolvable

SecurityGroupIds

One or more security groups to associate with the endpoint.

public virtual string[]? SecurityGroupIds { get; set; }
Property Value

string[]

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

SubnetId

The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

public virtual string SubnetId { get; set; }
Property Value

string

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

Tags

The tags to apply to the EC2 Instance Connect Endpoint during creation.

public virtual ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

Methods

ArnForInstanceConnectEndpoint(IInstanceConnectEndpointRef)

Creates an EC2 Instance Connect Endpoint.

public static string ArnForInstanceConnectEndpoint(IInstanceConnectEndpointRef resource)
Parameters
resource IInstanceConnectEndpointRef
Returns

string

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

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 cfnInstanceConnectEndpoint = new CfnInstanceConnectEndpoint(this, "MyCfnInstanceConnectEndpoint", new CfnInstanceConnectEndpointProps {
                 SubnetId = "subnetId",

                 // the properties below are optional
                 ClientToken = "clientToken",
                 PreserveClientIp = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

FromInstanceConnectEndpointId(Construct, string, string)

Creates a new IInstanceConnectEndpointRef from a instanceConnectEndpointId.

public static IInstanceConnectEndpointRef FromInstanceConnectEndpointId(Construct scope, string id, string instanceConnectEndpointId)
Parameters
scope Construct
id string
instanceConnectEndpointId string
Returns

IInstanceConnectEndpointRef

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

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 EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

IsCfnInstanceConnectEndpoint(object)

Checks whether the given object is a CfnInstanceConnectEndpoint.

public static bool IsCfnInstanceConnectEndpoint(object x)
Parameters
x object
Returns

bool

Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Creates an EC2 Instance Connect Endpoint.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html

CloudformationResource: AWS::EC2::InstanceConnectEndpoint

ExampleMetadata: fixture=_generated

Implements

IInspectable
IInstanceConnectEndpointRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggableV2
Back to top Generated by DocFX