Show / Hide Table of Contents

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,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ResolverRuleAssociation
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public class ResolverRuleAssociation : CustomResource

Constructors

View Source

ResolverRuleAssociation(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 Source

Name

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.