CfnResolverRuleAssociationProps

class aws_cdk.aws_route53resolver.CfnResolverRuleAssociationProps(*, resolver_rule_id, vpc_id, name=None)

Bases: object

Properties for defining a CfnResolverRuleAssociation.

Parameters:
  • resolver_rule_id (str) – The ID of the Resolver rule that you associated with the VPC that is specified by VPCId .

  • vpc_id (str) – The ID of the VPC that you associated the Resolver rule with.

  • name (Optional[str]) – The name of an association between a Resolver rule and a VPC.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_route53resolver as route53resolver

cfn_resolver_rule_association_props = route53resolver.CfnResolverRuleAssociationProps(
    resolver_rule_id="resolverRuleId",
    vpc_id="vpcId",

    # the properties below are optional
    name="name"
)

Attributes

name

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-name

resolver_rule_id

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-resolverruleid

vpc_id

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-vpcid