Class: Aws::EC2::Types::CreateVpcEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateVpcEndpointRequest
- 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.
-
#dns_options ⇒ Types::DnsOptionsSpecification
The DNS options for the endpoint.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#ip_address_type ⇒ String
The IP address type for the endpoint.
-
#policy_document ⇒ String
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
-
#private_dns_enabled ⇒ Boolean
(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC.
-
#route_table_ids ⇒ Array<String>
(Gateway endpoint) The route table IDs.
-
#security_group_ids ⇒ Array<String>
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
-
#service_name ⇒ String
The name of the endpoint service.
-
#subnet_configurations ⇒ Array<Types::SubnetConfiguration>
The subnet configurations for the endpoint.
-
#subnet_ids ⇒ Array<String>
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to associate with the endpoint.
-
#vpc_endpoint_type ⇒ String
The type of endpoint.
-
#vpc_id ⇒ String
The ID of the VPC.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#dns_options ⇒ Types::DnsOptionsSpecification
The DNS options for the endpoint.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) 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
.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#ip_address_type ⇒ String
The IP address type for the endpoint.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#private_dns_enabled ⇒ Boolean
(Interface endpoint) Indicates whether to associate a private hosted
zone with the specified VPC. The private hosted zone contains a
record set for the default public DNS name for the service for the
Region (for example, kinesis.us-east-1.amazonaws.com
), which
resolves to the private IP addresses of the endpoint network
interfaces in the VPC. This enables you to make requests to the
default public DNS name for the service instead of the public DNS
names that are automatically generated by the VPC endpoint service.
To use a private hosted zone, you must set the following VPC
attributes to true
: enableDnsHostnames
and enableDnsSupport
.
Use ModifyVpcAttribute to set the VPC attributes.
Default: true
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#route_table_ids ⇒ Array<String>
(Gateway endpoint) The route table IDs.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#security_group_ids ⇒ Array<String>
(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#service_name ⇒ String
The name of the endpoint service.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#subnet_configurations ⇒ Array<Types::SubnetConfiguration>
The subnet configurations for the endpoint.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#subnet_ids ⇒ Array<String>
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to associate with the endpoint.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#vpc_endpoint_type ⇒ String
The type of endpoint.
Default: Gateway
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |
#vpc_id ⇒ String
The ID of the VPC.
12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12758 class CreateVpcEndpointRequest < Struct.new( :dry_run, :vpc_endpoint_type, :vpc_id, :service_name, :policy_document, :route_table_ids, :subnet_ids, :security_group_ids, :ip_address_type, :dns_options, :client_token, :private_dns_enabled, :tag_specifications, :subnet_configurations) SENSITIVE = [] include Aws::Structure end |