1. Packages
  2. AWS Native
  3. API Docs
  4. route53resolver
  5. ResolverRuleAssociation

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.route53resolver.ResolverRuleAssociation

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    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.

    Create ResolverRuleAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResolverRuleAssociation(name: string, args: ResolverRuleAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def ResolverRuleAssociation(resource_name: str,
                                args: ResolverRuleAssociationArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResolverRuleAssociation(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                resolver_rule_id: Optional[str] = None,
                                vpc_id: Optional[str] = None,
                                name: Optional[str] = None)
    func NewResolverRuleAssociation(ctx *Context, name string, args ResolverRuleAssociationArgs, opts ...ResourceOption) (*ResolverRuleAssociation, error)
    public ResolverRuleAssociation(string name, ResolverRuleAssociationArgs args, CustomResourceOptions? opts = null)
    public ResolverRuleAssociation(String name, ResolverRuleAssociationArgs args)
    public ResolverRuleAssociation(String name, ResolverRuleAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:route53resolver:ResolverRuleAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ResolverRuleAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResolverRuleAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResolverRuleAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResolverRuleAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResolverRuleAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ResolverRuleAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ResolverRuleAssociation resource accepts the following input properties:

    ResolverRuleId string
    The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
    VpcId string
    The ID of the VPC that you associated the Resolver rule with.
    Name string
    The name of an association between a Resolver rule and a VPC.
    ResolverRuleId string
    The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
    VpcId string
    The ID of the VPC that you associated the Resolver rule with.
    Name string
    The name of an association between a Resolver rule and a VPC.
    resolverRuleId String
    The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
    vpcId String
    The ID of the VPC that you associated the Resolver rule with.
    name String
    The name of an association between a Resolver rule and a VPC.
    resolverRuleId string
    The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
    vpcId string
    The ID of the VPC that you associated the Resolver rule with.
    name string
    The name of an association between a Resolver rule and a VPC.
    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 str
    The name of an association between a Resolver rule and a VPC.
    resolverRuleId String
    The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
    vpcId String
    The ID of the VPC that you associated the Resolver rule with.
    name String
    The name of an association between a Resolver rule and a VPC.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResolverRuleAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResolverRuleAssociationId string
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    Id string
    The provider-assigned unique ID for this managed resource.
    ResolverRuleAssociationId string
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    id String
    The provider-assigned unique ID for this managed resource.
    resolverRuleAssociationId String
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    id string
    The provider-assigned unique ID for this managed resource.
    resolverRuleAssociationId string
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    id str
    The provider-assigned unique ID for this managed resource.
    resolver_rule_association_id str
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .
    id String
    The provider-assigned unique ID for this managed resource.
    resolverRuleAssociationId String
    The ID of the resolver rule association that you want to get information about, such as rslvr-rrassoc-97242eaf88example .

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi