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
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
Remarks
PreserveClientIp
Indicates whether the client IP address is preserved as the source. The following are the possible values.
object? PreserveClientIp { get; }
Property Value
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
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.
SubnetId
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
string SubnetId { get; }
Property Value
Remarks
Tags
The tags to apply to the EC2 Instance Connect Endpoint during creation.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]