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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#creator_request_idString

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.

Returns:

  • (String)

    A unique string that identifies the request and that allows failed requests to be retried without the risk of executing the operation twice.

#directionString

Specify the applicable value:

  • INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network

  • OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network

    Possible values:

    • INBOUND
    • OUTBOUND

Returns:

  • (String)

    Specify the applicable value:.

#ip_addressesArray<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.

Returns:

  • (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).

#nameString

A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.

Returns:

  • (String)

    A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.

#security_group_idsArray<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.

Returns:

  • (Array<String>)

    The ID of one or more security groups that you want to use to control access to this VPC.

#tagsArray<Types::Tag>

A list of the tag keys and values that you want to associate with the endpoint.

Returns:

  • (Array<Types::Tag>)

    A list of the tag keys and values that you want to associate with the endpoint.