Show / Hide Table of Contents

Class ZoneAssociation

Manages a Route53 Hosted Zone VPC association. VPC associations can only be made on private zones.

NOTE: Unless explicit association ordering is required (e.g. a separate cross-account association authorization), usage of this resource is not recommended. Use the vpc configuration blocks available within the aws.route53.Zone resource instead.

NOTE: This provider provides both this standalone Zone VPC Association resource and exclusive VPC associations defined in-line in the aws.route53.Zone resource via vpc configuration blocks. At this time, you cannot use those in-line VPC associations in conjunction with this resource and the same zone ID otherwise it will cause a perpetual difference in plan output. You can optionally use ignoreChanges in the aws.route53.Zone resource to manage additional associations via this resource.

Inheritance
System.Object
Resource
CustomResource
ZoneAssociation
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 ZoneAssociation : CustomResource

Constructors

View Source

ZoneAssociation(String, ZoneAssociationArgs, CustomResourceOptions)

Create a ZoneAssociation resource with the given unique name, arguments, and options.

Declaration
public ZoneAssociation(string name, ZoneAssociationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ZoneAssociationArgs 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

VpcId

The VPC to associate with the private hosted zone.

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcRegion

The VPC's region. Defaults to the region of the AWS provider.

Declaration
public Output<string> VpcRegion { get; }
Property Value
Type Description
Output<System.String>
View Source

ZoneId

The private hosted zone to associate.

Declaration
public Output<string> ZoneId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ZoneAssociationState, CustomResourceOptions)

Get an existing ZoneAssociation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ZoneAssociation Get(string name, Input<string> id, ZoneAssociationState 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.

ZoneAssociationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ZoneAssociation
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.