Show / Hide Table of Contents

Interface ICfnInstanceConnectEndpointProps

Properties for defining a CfnInstanceConnectEndpoint.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnInstanceConnectEndpointProps
Syntax (vb)
Public Interface ICfnInstanceConnectEndpointProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.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 cfnInstanceConnectEndpointProps = 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

Properties

ClientToken

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

PreserveClientIp

Indicates whether the client IP address is preserved as the source. The following are the possible values.

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.

Properties

ClientToken

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

string? ClientToken { get; }
Property Value

string

Remarks

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

PreserveClientIp

Indicates whether the client IP address is preserved as the source. The following are the possible values.

object? PreserveClientIp { get; }
Property Value

object

Remarks
    <code>PreserveClientIp</code> is only supported on IPv4 EC2 Instance Connect Endpoints. To use <code>PreserveClientIp</code> , the value for <code>IpAddressType</code> must be <code>ipv4</code> .
    

    Default: false

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

    SecurityGroupIds

    One or more security groups to associate with the endpoint.

    string[]? SecurityGroupIds { get; }
    Property Value

    string[]

    Remarks

    If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.

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

    SubnetId

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

    string SubnetId { get; }
    Property Value

    string

    Remarks

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

    Tags

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

    ICfnTag[]? Tags { get; }
    Property Value

    ICfnTag[]

    Remarks

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

    Back to top Generated by DocFX