Class: Aws::EC2::Types::CreateInstanceConnectEndpointRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address type of the endpoint.

If no value is specified, the default value is determined by the IP address type of the subnet:

  • dualstack - If the subnet has both IPv4 and IPv6 CIDRs

  • ipv4 - If the subnet has only IPv4 CIDRs

  • ipv6 - If the subnet has only IPv6 CIDRs

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

Returns:

  • (String)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#preserve_client_ipBoolean

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.

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

Default: false

Returns:

  • (Boolean)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_idsArray<String>

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.

Returns:

  • (Array<String>)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

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

Returns:



9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9826

class CreateInstanceConnectEndpointRequest < Struct.new(
  :dry_run,
  :subnet_id,
  :security_group_ids,
  :preserve_client_ip,
  :client_token,
  :tag_specifications,
  :ip_address_type)
  SENSITIVE = []
  include Aws::Structure
end