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
vpcconfiguration blocks available within theaws.route53.Zoneresource instead.
NOTE: This provider provides both this standalone Zone VPC Association resource and exclusive VPC associations defined in-line in the
aws.route53.Zoneresource viavpcconfiguration 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 useignoreChangesin theaws.route53.Zoneresource to manage additional associations via this resource.
Inherited Members
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public class ZoneAssociation : CustomResource
Constructors
View SourceZoneAssociation(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 SourceVpcId
The VPC to associate with the private hosted zone.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
ZoneId
The private hosted zone to associate.
Declaration
public Output<string> ZoneId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |