Class: Aws::EC2::Types::CreateInstanceConnectEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateInstanceConnectEndpointRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#preserve_client_ip ⇒ Boolean
Indicates whether your client's IP address is preserved as the source.
-
#security_group_ids ⇒ Array<String>
One or more security groups to associate with the endpoint.
-
#subnet_id ⇒ String
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the EC2 Instance Connect Endpoint during creation.
Instance Attribute Details
#client_token ⇒ String
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.
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
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
.
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#preserve_client_ip ⇒ Boolean
Indicates whether your client's IP address is preserved as the
source. The value is true
or false
.
If
true
, your client's IP address is used when you connect to a resource.If
false
, the elastic network interface IP address is used when you connect to a resource.
Default: true
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#security_group_ids ⇒ Array<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.
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#subnet_id ⇒ String
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the EC2 Instance Connect Endpoint during creation.
8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8310 class CreateInstanceConnectEndpointRequest < Struct.new( :dry_run, :subnet_id, :security_group_ids, :preserve_client_ip, :client_token, :tag_specifications) SENSITIVE = [] include Aws::Structure end |