View a markdown version of this page

AWS::Route53GlobalResolver::AccessSource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Route53GlobalResolver::AccessSource

Creates an access source for a DNS view. An access source defines which traffic is allowed to send DNS queries to the Route 53 Global Resolver, along with the permitted DNS protocols. You can define the allowed source in one of two ways: specify an IP address or CIDR range with cidr to allow queries by source IP, or specify an Amazon Cloud WAN segment with segment (together with the associated core network endpoint) to allow queries from that segment instead of a CIDR range.

Important

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon CLI commands.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Route53GlobalResolver::AccessSource", "Properties" : { "Cidr" : String, "ClientToken" : String, "CoreNetworkEndpointId" : String, "DnsViewId" : String, "IpAddressType" : String, "Name" : String, "Protocol" : String, "Segment" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::Route53GlobalResolver::AccessSource Properties: Cidr: String ClientToken: String CoreNetworkEndpointId: String DnsViewId: String IpAddressType: String Name: String Protocol: String Segment: String Tags: - Tag

Properties

Cidr

The CIDR block that defines the IP address range for the access source.

Required: No

Type: String

Minimum: 1

Maximum: 42

Update requires: No interruption

ClientToken

A unique string that identifies the request and ensures idempotency.

Required: No

Type: String

Minimum: 1

Maximum: 256

Update requires: Replacement

CoreNetworkEndpointId

The ID of the core network endpoint to associate with this access source.

Required: No

Type: String

Pattern: ^[-.a-zA-Z0-9]+$

Minimum: 1

Maximum: 64

Update requires: Replacement

DnsViewId

The ID of the DNS view that the access source is associated with.

Required: Yes

Type: String

Minimum: 1

Maximum: 64

Update requires: Replacement

IpAddressType

The IP address type of the access source.

Required: No

Type: String

Allowed values: IPV4 | IPV6

Update requires: No interruption

Name

The name of the access source.

Required: No

Type: String

Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_' ']+)

Minimum: 1

Maximum: 64

Update requires: No interruption

Protocol

The protocol used by the access source.

Required: Yes

Type: String

Allowed values: DO53 | DOH | DOT

Update requires: No interruption

Segment

The name of the Amazon Cloud WAN segment that is allowed to send DNS queries to the Route 53 Global Resolver. Specify segment instead of a cidr range to allow queries from traffic in that Cloud WAN segment through the associated core network endpoint (coreNetworkEndpointId). When you specify a segment, you don't provide a CIDR range.

Required: No

Type: String

Minimum: 1

Maximum: 256

Update requires: Replacement

Tags

Tags to associate with the access source.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Return values

Ref

Fn::GetAtt

AccessSourceId

The unique identifier for the access source.

Arn

The Amazon Resource Name (ARN) of the access source.

CreatedAt

The date and time when the access source was created.

Status

The current status of the access source.

UpdatedAt

The date and time when the access source was last updated.