You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Route53Resolver::Types::CreateResolverEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53Resolver::Types::CreateResolverEndpointRequest
- Defined in:
- (unknown)
Overview
When passing CreateResolverEndpointRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
creator_request_id: "CreatorRequestId", # required
name: "Name",
security_group_ids: ["ResourceId"], # required
direction: "INBOUND", # required, accepts INBOUND, OUTBOUND
ip_addresses: [ # required
{
subnet_id: "SubnetId", # required
ip: "Ip",
},
],
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed requests to be retried without the risk of executing the operation twice.
-
#direction ⇒ String
Specify the applicable value:.
-
#ip_addresses ⇒ Array<Types::IpAddressRequest>
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
-
#name ⇒ String
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
-
#security_group_ids ⇒ Array<String>
The ID of one or more security groups that you want to use to control access to this VPC.
-
#tags ⇒ Array<Types::Tag>
A list of the tag keys and values that you want to associate with the endpoint.
Instance Attribute Details
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed
requests to be retried without the risk of executing the operation
twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.
#direction ⇒ String
Specify the applicable value:
INBOUND
: Resolver forwards DNS queries to the DNS service for a VPC from your networkOUTBOUND
: Resolver forwards DNS queries from the DNS service for a VPC to your networkPossible values:
- INBOUND
- OUTBOUND
#ip_addresses ⇒ Array<Types::IpAddressRequest>
The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC.
#name ⇒ String
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
#security_group_ids ⇒ Array<String>
The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you\'re using for DNS queries on your network.
#tags ⇒ Array<Types::Tag>
A list of the tag keys and values that you want to associate with the endpoint.