interface CfnInstanceConnectEndpointMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnInstanceConnectEndpointMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnInstanceConnectEndpointMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstanceConnectEndpointMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstanceConnectEndpointMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnInstanceConnectEndpointMixinProps |
Properties for CfnInstanceConnectEndpointPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnInstanceConnectEndpointMixinProps: ec2_mixins.CfnInstanceConnectEndpointMixinProps = {
clientToken: 'clientToken',
preserveClientIp: false,
securityGroupIds: ['securityGroupIds'],
subnetId: 'subnetId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string | Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
| preserve | boolean | IResolvable | Indicates whether the client IP address is preserved as the source. The following are the possible values. |
| security | string[] | One or more security groups to associate with the endpoint. |
| subnet | string | The ID of the subnet in which to create the EC2 Instance Connect Endpoint. |
| tags? | Cfn[] | The tags to apply to the EC2 Instance Connect Endpoint during creation. |
clientToken?
Type:
string
(optional)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
preserveClientIp?
Type:
boolean | IResolvable
(optional)
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true- Use the client IP address as the source.false- Use the network interface IP address as the source.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.
Default: false
securityGroupIds?
Type:
string[]
(optional)
One or more security groups to associate with the endpoint.
If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
subnetId?
Type:
string
(optional)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
tags?
Type:
Cfn[]
(optional)
The tags to apply to the EC2 Instance Connect Endpoint during creation.

.NET
Go
Java
Python
TypeScript