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.
virtual string ClientToken { get; }
Property Value
System.String
Remarks
PreserveClientIp
Indicates whether the client IP address is preserved as the source. The following are the possible values.
virtual object PreserveClientIp { get; }
Property Value
System.Object
Remarks
SecurityGroupIds
One or more security groups to associate with the endpoint.
virtual string[] SecurityGroupIds { get; }
Property Value
System.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
System.String
Remarks
Tags
The tags to apply to the EC2 Instance Connect Endpoint during creation.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]