Class CfnResolverRuleAssociation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnResolverRuleAssociation
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:38.508Z") @Stability(Stable) public class CfnResolverRuleAssociation extends CfnResource implements IInspectable
In the response to an AssociateResolverRule , DisassociateResolverRule , or ListResolverRuleAssociations request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 CfnResolverRuleAssociation cfnResolverRuleAssociation = CfnResolverRuleAssociation.Builder.create(this, "MyCfnResolverRuleAssociation")
         .resolverRuleId("resolverRuleId")
         .vpcId("vpcId")
         // the properties below are optional
         .name("name")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnResolverRuleAssociation

      protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnResolverRuleAssociation

      protected CfnResolverRuleAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnResolverRuleAssociation

      @Stability(Stable) public CfnResolverRuleAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnResolverRuleAssociationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrName

      @Stability(Stable) @NotNull public String getAttrName()
      The name of an association between a resolver rule and a VPC, such as test.example.com in beta VPC .
    • getAttrResolverRuleAssociationId

      @Stability(Stable) @NotNull public String getAttrResolverRuleAssociationId()
      The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    • getAttrResolverRuleId

      @Stability(Stable) @NotNull public String getAttrResolverRuleId()
      The ID of the resolver rule that you associated with the VPC that is specified by VPCId , such as rslvr-rr-5328a0899example .
    • getAttrVpcId

      @Stability(Stable) @NotNull public String getAttrVpcId()
      The ID of the VPC that you associated the resolver rule with, such as vpc-03cf94c75cexample .
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getResolverRuleId

      @Stability(Stable) @NotNull public String getResolverRuleId()
      The ID of the Resolver rule that you associated with the VPC that is specified by VPCId .
    • setResolverRuleId

      @Stability(Stable) public void setResolverRuleId(@NotNull String value)
      The ID of the Resolver rule that you associated with the VPC that is specified by VPCId .
    • getVpcId

      @Stability(Stable) @NotNull public String getVpcId()
      The ID of the VPC that you associated the Resolver rule with.
    • setVpcId

      @Stability(Stable) public void setVpcId(@NotNull String value)
      The ID of the VPC that you associated the Resolver rule with.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of an association between a Resolver rule and a VPC.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of an association between a Resolver rule and a VPC.