AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::Route53Resolver::ResolverRuleAssociation

The AWS::Route53Resolver::ResolverRuleAssociation resource contains information about an association between a resolver rule and a VPC. For more information, see ResolverRuleAssociation 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::ResolverRuleAssociation", "Properties" : { "Name" : String, "ResolverRuleId" : String, "VPCId" : String } }

YAML

Type: "AWS::Route53Resolver::ResolverRuleAssociation" Properties: Name: String ResolverRuleId: String VPCId: String

Properties

Name

The name of an association between a resolver rule and a VPC.

Required: No

Type: String

Update requires: Replacement

ResolverRuleId

The ID of the resolver rule that you associated with the VPC that is specified by VPCId.

Required: Yes

Type: String

Update requires: Replacement

VPCId

The ID of the VPC that you associated the resolver rule with.

Required: Yes

Type: String

Update requires: Replacement

Return Values

Ref

When you pass the logical ID of an AWS::Route53Resolver::ResolverRuleAssociation resource to the intrinsic Ref function, the function returns the ResolverRuleAssociationId.

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.

Name

The name of an association between a resolver rule and a VPC, such as test.example.com in beta VPC.

ResolverRuleAssociationId

The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example.

ResolverRuleId

The ID of the resolver rule that you associated with the VPC that is specified by VPCId, such as rslvr-rr-5328a0899example.

VPCId

The ID of the VPC that you associated the resolver rule with, such as vpc-03cf94c75cexample.

For more information about using Fn::GetAtt, see Fn::GetAtt.

See Also