Class ResolverRuleAssociation
Provides a Route53 Resolver rule association.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Route53.ResolverRuleAssociation("example", new Aws.Route53.ResolverRuleAssociationArgs
{
ResolverRuleId = aws_route53_resolver_rule.Sys.Id,
VpcId = aws_vpc.Foo.Id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public class ResolverRuleAssociation : CustomResource
Constructors
View SourceResolverRuleAssociation(String, ResolverRuleAssociationArgs, CustomResourceOptions)
Create a ResolverRuleAssociation resource with the given unique name, arguments, and options.
Declaration
public ResolverRuleAssociation(string name, ResolverRuleAssociationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ResolverRuleAssociationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
A name for the association that you're creating between a resolver rule and a VPC.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResolverRuleId
The ID of the resolver rule that you want to associate with the VPC.
Declaration
public Output<string> ResolverRuleId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpcId
The ID of the VPC that you want to associate the resolver rule with.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ResolverRuleAssociationState, CustomResourceOptions)
Get an existing ResolverRuleAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ResolverRuleAssociation Get(string name, Input<string> id, ResolverRuleAssociationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ResolverRuleAssociationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ResolverRuleAssociation |