We recommend new projects start with resources from the AWS provider.
aws-native.route53resolver.ResolverRuleAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Resolver
Rule stringId - The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId
. - Vpc
Id 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 stringId - The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId
. - Vpc
Id 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 StringId - The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId
. - vpc
Id 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 stringId - The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId
. - vpc
Id 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_ strid - 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.
- resolver
Rule StringId - The ID of the Resolver rule that you associated with the VPC that is specified by
VPCId
. - vpc
Id 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.
- Resolver
Rule stringAssociation Id - 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.
- Resolver
Rule stringAssociation Id - 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.
- resolver
Rule StringAssociation Id - 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.
- resolver
Rule stringAssociation Id - 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_ strassociation_ id - 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.
- resolver
Rule StringAssociation Id - 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
We recommend new projects start with resources from the AWS provider.