AWS::Route53Resolver::ResolverEndpoint
The
AWS::Route53Resolver::ResolverEndpoint resource includes settings for inbound or outbound endpoints for Amazon Route 53.
For more information, see ResolverEndpoint in the
Amazon Route 53 API Reference.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Route53Resolver::ResolverEndpoint", "Properties" : { "Direction" :String, "IpAddresses" : [ IpAddressRequest, ... ], "Name" :String, "SecurityGroupIds" : [String, ... ], "Tags" : [ Resource Tag, ... ] } }
YAML
Type: "AWS::Route53Resolver::ResolverEndpoint" Properties: Direction:StringIpAddresses: - IpAddressRequest Name:StringSecurityGroupIds: -StringTags: - Resource Tag
Properties
Direction-
Indicates whether the resolver endpoint allows inbound or outbound DNS queries.
Required: Yes
Type: String
Update requires: Replacement
IpAddresses-
The subnets and IP addresses in your VPC that you want DNS queries to pass through on the way from your VPCs to your network (for outbound endpoints) or on the way from your network to your VPCs (for inbound resolver endpoints).
Required: Yes
Type: List of IpAddressRequest property types
Update requires: No interruption
Name-
A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
Required: No
Type: String
Update requires: No interruption
SecurityGroupIds-
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).
Required: Yes
Type: List of String values
Update requires: Replacement
Tags-
A list of the tag keys and values that you want to associate with the endpoint.
Required: No
Type: List of Resource Tag property types
Update requires: No interruption
Return Values
Ref
When you pass the logical ID of an
AWS::Route53Resolver::ResolverEndpoint
resource to the intrinsic
Ref function, the function returns the
ResolverEndpoint object.
For more information about using the
Ref function, see
Ref.
Fn::GetAtt
Fn::GetAtt returns a value for a specified attribute of this type.
The following are the available attributes and sample return values.
Arn-
The Amazon Resource Name (ARN) of the resolver endpoint, such as
arn:aws:route53Resolver:us-east-1:123456789012:resolver-endpoint/resolver-endpoint-a1bzhi. Direction-
Indicates whether the resolver endpoint allows inbound or outbound DNS queries.
HostVPCId-
The ID of the VPC that you want to create the resolver endpoint in.
IpAddressCount-
The number of IP addresses that the resolver endpoint can use for DNS queries.
Name-
The name that you assigned to the resolver endpoint when you created the endpoint.
ResolverEndpointId-
The ID of the resolver endpoint.
For more information about using
Fn::GetAtt, see
Fn::GetAtt.
See Also
-
ResolverEndpoint in the Amazon Route 53 API Reference
