Documentation ¶
Index ¶
- type DelegationSet
- type DelegationSetArgs
- type DelegationSetState
- type GetDelegationSetArgs
- type GetDelegationSetResult
- type GetZoneArgs
- type GetZoneResult
- type HealthCheck
- func (r *HealthCheck) ChildHealthThreshold() *pulumi.IntOutput
- func (r *HealthCheck) ChildHealthchecks() *pulumi.ArrayOutput
- func (r *HealthCheck) CloudwatchAlarmName() *pulumi.StringOutput
- func (r *HealthCheck) CloudwatchAlarmRegion() *pulumi.StringOutput
- func (r *HealthCheck) EnableSni() *pulumi.BoolOutput
- func (r *HealthCheck) FailureThreshold() *pulumi.IntOutput
- func (r *HealthCheck) Fqdn() *pulumi.StringOutput
- func (r *HealthCheck) ID() *pulumi.IDOutput
- func (r *HealthCheck) InsufficientDataHealthStatus() *pulumi.StringOutput
- func (r *HealthCheck) InvertHealthcheck() *pulumi.BoolOutput
- func (r *HealthCheck) IpAddress() *pulumi.StringOutput
- func (r *HealthCheck) MeasureLatency() *pulumi.BoolOutput
- func (r *HealthCheck) Port() *pulumi.IntOutput
- func (r *HealthCheck) ReferenceName() *pulumi.StringOutput
- func (r *HealthCheck) Regions() *pulumi.ArrayOutput
- func (r *HealthCheck) RequestInterval() *pulumi.IntOutput
- func (r *HealthCheck) ResourcePath() *pulumi.StringOutput
- func (r *HealthCheck) SearchString() *pulumi.StringOutput
- func (r *HealthCheck) Tags() *pulumi.MapOutput
- func (r *HealthCheck) Type() *pulumi.StringOutput
- func (r *HealthCheck) URN() *pulumi.URNOutput
- type HealthCheckArgs
- type HealthCheckState
- type QueryLog
- type QueryLogArgs
- type QueryLogState
- type Record
- func (r *Record) Aliases() *pulumi.ArrayOutput
- func (r *Record) AllowOverwrite() *pulumi.BoolOutput
- func (r *Record) FailoverRoutingPolicies() *pulumi.ArrayOutput
- func (r *Record) Fqdn() *pulumi.StringOutput
- func (r *Record) GeolocationRoutingPolicies() *pulumi.ArrayOutput
- func (r *Record) HealthCheckId() *pulumi.StringOutput
- func (r *Record) ID() *pulumi.IDOutput
- func (r *Record) LatencyRoutingPolicies() *pulumi.ArrayOutput
- func (r *Record) MultivalueAnswerRoutingPolicy() *pulumi.BoolOutput
- func (r *Record) Name() *pulumi.StringOutput
- func (r *Record) Records() *pulumi.ArrayOutput
- func (r *Record) SetIdentifier() *pulumi.StringOutput
- func (r *Record) Ttl() *pulumi.IntOutput
- func (r *Record) Type() *pulumi.StringOutput
- func (r *Record) URN() *pulumi.URNOutput
- func (r *Record) WeightedRoutingPolicies() *pulumi.ArrayOutput
- func (r *Record) ZoneId() *pulumi.StringOutput
- type RecordArgs
- type RecordState
- type Zone
- func (r *Zone) Comment() *pulumi.StringOutput
- func (r *Zone) DelegationSetId() *pulumi.StringOutput
- func (r *Zone) ForceDestroy() *pulumi.BoolOutput
- func (r *Zone) ID() *pulumi.IDOutput
- func (r *Zone) Name() *pulumi.StringOutput
- func (r *Zone) NameServers() *pulumi.ArrayOutput
- func (r *Zone) Tags() *pulumi.MapOutput
- func (r *Zone) URN() *pulumi.URNOutput
- func (r *Zone) VpcId() *pulumi.StringOutput
- func (r *Zone) VpcRegion() *pulumi.StringOutput
- func (r *Zone) Vpcs() *pulumi.ArrayOutput
- func (r *Zone) ZoneId() *pulumi.StringOutput
- type ZoneArgs
- type ZoneAssociation
- type ZoneAssociationArgs
- type ZoneAssociationState
- type ZoneState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelegationSet ¶
type DelegationSet struct {
// contains filtered or unexported fields
}
Provides a [Route53 Delegation Set](https://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html) resource.
func GetDelegationSet ¶
func GetDelegationSet(ctx *pulumi.Context, name string, id pulumi.ID, state *DelegationSetState, opts ...pulumi.ResourceOpt) (*DelegationSet, error)
GetDelegationSet gets an existing DelegationSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDelegationSet ¶
func NewDelegationSet(ctx *pulumi.Context, name string, args *DelegationSetArgs, opts ...pulumi.ResourceOpt) (*DelegationSet, error)
NewDelegationSet registers a new resource with the given unique name, arguments, and options.
func (*DelegationSet) ID ¶
func (r *DelegationSet) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DelegationSet) NameServers ¶
func (r *DelegationSet) NameServers() *pulumi.ArrayOutput
A list of authoritative name servers for the hosted zone (effectively a list of NS records).
func (*DelegationSet) ReferenceName ¶
func (r *DelegationSet) ReferenceName() *pulumi.StringOutput
This is a reference name used in Caller Reference (helpful for identifying single delegation set amongst others)
func (*DelegationSet) URN ¶
func (r *DelegationSet) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type DelegationSetArgs ¶
type DelegationSetArgs struct { // This is a reference name used in Caller Reference // (helpful for identifying single delegation set amongst others) ReferenceName interface{} }
The set of arguments for constructing a DelegationSet resource.
type DelegationSetState ¶
type DelegationSetState struct { // A list of authoritative name servers for the hosted zone // (effectively a list of NS records). NameServers interface{} // This is a reference name used in Caller Reference // (helpful for identifying single delegation set amongst others) ReferenceName interface{} }
Input properties used for looking up and filtering DelegationSet resources.
type GetDelegationSetArgs ¶ added in v0.16.3
type GetDelegationSetArgs struct {
// The Hosted Zone id of the desired delegation set.
Id interface{}
}
A collection of arguments for invoking getDelegationSet.
type GetDelegationSetResult ¶ added in v0.16.3
type GetDelegationSetResult struct { CallerReference interface{} NameServers interface{} }
A collection of values returned by getDelegationSet.
func LookupDelegationSet ¶ added in v0.16.3
func LookupDelegationSet(ctx *pulumi.Context, args *GetDelegationSetArgs) (*GetDelegationSetResult, error)
`aws_route53_delegation_set` provides details about a specific Route 53 Delegation Set.
This data source allows to find a list of name servers associated with a specific delegation set.
type GetZoneArgs ¶
type GetZoneArgs struct { CallerReference interface{} Comment interface{} // The Hosted Zone name of the desired Hosted Zone. Name interface{} // Used with `name` field to get a private Hosted Zone. PrivateZone interface{} ResourceRecordSetCount interface{} // Used with `name` field. A mapping of tags, each pair of which must exactly match // a pair on the desired Hosted Zone. Tags interface{} // Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory). VpcId interface{} // The Hosted Zone id of the desired Hosted Zone. ZoneId interface{} }
A collection of arguments for invoking getZone.
type GetZoneResult ¶
type GetZoneResult struct { // Caller Reference of the Hosted Zone. CallerReference interface{} // The comment field of the Hosted Zone. Comment interface{} Name interface{} // The list of DNS name servers for the Hosted Zone. NameServers interface{} // the number of Record Set in the Hosted Zone ResourceRecordSetCount interface{} Tags interface{} VpcId interface{} ZoneId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getZone.
func LookupZone ¶
func LookupZone(ctx *pulumi.Context, args *GetZoneArgs) (*GetZoneResult, error)
`aws_route53_zone` provides details about a specific Route 53 Hosted Zone.
This data source allows to find a Hosted Zone ID given Hosted Zone name and certain search criteria.
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
Provides a Route53 health check.
func GetHealthCheck ¶
func GetHealthCheck(ctx *pulumi.Context, name string, id pulumi.ID, state *HealthCheckState, opts ...pulumi.ResourceOpt) (*HealthCheck, error)
GetHealthCheck gets an existing HealthCheck resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHealthCheck ¶
func NewHealthCheck(ctx *pulumi.Context, name string, args *HealthCheckArgs, opts ...pulumi.ResourceOpt) (*HealthCheck, error)
NewHealthCheck registers a new resource with the given unique name, arguments, and options.
func (*HealthCheck) ChildHealthThreshold ¶
func (r *HealthCheck) ChildHealthThreshold() *pulumi.IntOutput
The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive
func (*HealthCheck) ChildHealthchecks ¶
func (r *HealthCheck) ChildHealthchecks() *pulumi.ArrayOutput
For a specified parent health check, a list of HealthCheckId values for the associated child health checks.
func (*HealthCheck) CloudwatchAlarmName ¶
func (r *HealthCheck) CloudwatchAlarmName() *pulumi.StringOutput
The name of the CloudWatch alarm.
func (*HealthCheck) CloudwatchAlarmRegion ¶
func (r *HealthCheck) CloudwatchAlarmRegion() *pulumi.StringOutput
The CloudWatchRegion that the CloudWatch alarm was created in.
func (*HealthCheck) EnableSni ¶
func (r *HealthCheck) EnableSni() *pulumi.BoolOutput
A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enable_sni` defaults to `true`, when `type` is anything else `enable_sni` defaults to `false`.
func (*HealthCheck) FailureThreshold ¶
func (r *HealthCheck) FailureThreshold() *pulumi.IntOutput
The number of consecutive health checks that an endpoint must pass or fail.
func (*HealthCheck) Fqdn ¶
func (r *HealthCheck) Fqdn() *pulumi.StringOutput
The fully qualified domain name of the endpoint to be checked.
func (*HealthCheck) ID ¶
func (r *HealthCheck) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*HealthCheck) InsufficientDataHealthStatus ¶
func (r *HealthCheck) InsufficientDataHealthStatus() *pulumi.StringOutput
The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`.
func (*HealthCheck) InvertHealthcheck ¶
func (r *HealthCheck) InvertHealthcheck() *pulumi.BoolOutput
A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy.
func (*HealthCheck) IpAddress ¶
func (r *HealthCheck) IpAddress() *pulumi.StringOutput
The IP address of the endpoint to be checked.
func (*HealthCheck) MeasureLatency ¶
func (r *HealthCheck) MeasureLatency() *pulumi.BoolOutput
A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console.
func (*HealthCheck) Port ¶
func (r *HealthCheck) Port() *pulumi.IntOutput
The port of the endpoint to be checked.
func (*HealthCheck) ReferenceName ¶
func (r *HealthCheck) ReferenceName() *pulumi.StringOutput
This is a reference name used in Caller Reference (helpful for identifying single health_check set amongst others)
func (*HealthCheck) Regions ¶
func (r *HealthCheck) Regions() *pulumi.ArrayOutput
A list of AWS regions that you want Amazon Route 53 health checkers to check the specified endpoint from.
func (*HealthCheck) RequestInterval ¶
func (r *HealthCheck) RequestInterval() *pulumi.IntOutput
The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.
func (*HealthCheck) ResourcePath ¶
func (r *HealthCheck) ResourcePath() *pulumi.StringOutput
The path that you want Amazon Route 53 to request when performing health checks.
func (*HealthCheck) SearchString ¶
func (r *HealthCheck) SearchString() *pulumi.StringOutput
String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`.
func (*HealthCheck) Tags ¶
func (r *HealthCheck) Tags() *pulumi.MapOutput
A mapping of tags to assign to the health check.
func (*HealthCheck) Type ¶
func (r *HealthCheck) Type() *pulumi.StringOutput
The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED` and `CLOUDWATCH_METRIC`.
func (*HealthCheck) URN ¶
func (r *HealthCheck) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type HealthCheckArgs ¶
type HealthCheckArgs struct { // The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive ChildHealthThreshold interface{} // For a specified parent health check, a list of HealthCheckId values for the associated child health checks. ChildHealthchecks interface{} // The name of the CloudWatch alarm. CloudwatchAlarmName interface{} // The CloudWatchRegion that the CloudWatch alarm was created in. CloudwatchAlarmRegion interface{} // A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enable_sni` defaults to `true`, when `type` is anything else `enable_sni` defaults to `false`. EnableSni interface{} // The number of consecutive health checks that an endpoint must pass or fail. FailureThreshold interface{} // The fully qualified domain name of the endpoint to be checked. Fqdn interface{} // The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`. InsufficientDataHealthStatus interface{} // A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy. InvertHealthcheck interface{} // The IP address of the endpoint to be checked. IpAddress interface{} // A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console. MeasureLatency interface{} // The port of the endpoint to be checked. Port interface{} // This is a reference name used in Caller Reference // (helpful for identifying single health_check set amongst others) ReferenceName interface{} // A list of AWS regions that you want Amazon Route 53 health checkers to check the specified endpoint from. Regions interface{} // The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request. RequestInterval interface{} // The path that you want Amazon Route 53 to request when performing health checks. ResourcePath interface{} // String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`. SearchString interface{} // A mapping of tags to assign to the health check. Tags interface{} // The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED` and `CLOUDWATCH_METRIC`. Type interface{} }
The set of arguments for constructing a HealthCheck resource.
type HealthCheckState ¶
type HealthCheckState struct { // The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive ChildHealthThreshold interface{} // For a specified parent health check, a list of HealthCheckId values for the associated child health checks. ChildHealthchecks interface{} // The name of the CloudWatch alarm. CloudwatchAlarmName interface{} // The CloudWatchRegion that the CloudWatch alarm was created in. CloudwatchAlarmRegion interface{} // A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enable_sni` defaults to `true`, when `type` is anything else `enable_sni` defaults to `false`. EnableSni interface{} // The number of consecutive health checks that an endpoint must pass or fail. FailureThreshold interface{} // The fully qualified domain name of the endpoint to be checked. Fqdn interface{} // The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`. InsufficientDataHealthStatus interface{} // A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy. InvertHealthcheck interface{} // The IP address of the endpoint to be checked. IpAddress interface{} // A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console. MeasureLatency interface{} // The port of the endpoint to be checked. Port interface{} // This is a reference name used in Caller Reference // (helpful for identifying single health_check set amongst others) ReferenceName interface{} // A list of AWS regions that you want Amazon Route 53 health checkers to check the specified endpoint from. Regions interface{} // The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request. RequestInterval interface{} // The path that you want Amazon Route 53 to request when performing health checks. ResourcePath interface{} // String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`. SearchString interface{} // A mapping of tags to assign to the health check. Tags interface{} // The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED` and `CLOUDWATCH_METRIC`. Type interface{} }
Input properties used for looking up and filtering HealthCheck resources.
type QueryLog ¶
type QueryLog struct {
// contains filtered or unexported fields
}
Provides a Route53 query logging configuration resource.
> **NOTE:** There are restrictions on the configuration of query logging. Notably, the CloudWatch log group must be in the `us-east-1` region, a permissive CloudWatch log resource policy must be in place, and the Route53 hosted zone must be public. See [Configuring Logging for DNS Queries](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html?console_help=true#query-logs-configuring) for additional details.
func GetQueryLog ¶
func GetQueryLog(ctx *pulumi.Context, name string, id pulumi.ID, state *QueryLogState, opts ...pulumi.ResourceOpt) (*QueryLog, error)
GetQueryLog gets an existing QueryLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewQueryLog ¶
func NewQueryLog(ctx *pulumi.Context, name string, args *QueryLogArgs, opts ...pulumi.ResourceOpt) (*QueryLog, error)
NewQueryLog registers a new resource with the given unique name, arguments, and options.
func (*QueryLog) CloudwatchLogGroupArn ¶
func (r *QueryLog) CloudwatchLogGroupArn() *pulumi.StringOutput
CloudWatch log group ARN to send query logs.
func (*QueryLog) ZoneId ¶
func (r *QueryLog) ZoneId() *pulumi.StringOutput
Route53 hosted zone ID to enable query logs.
type QueryLogArgs ¶
type QueryLogArgs struct { // CloudWatch log group ARN to send query logs. CloudwatchLogGroupArn interface{} // Route53 hosted zone ID to enable query logs. ZoneId interface{} }
The set of arguments for constructing a QueryLog resource.
type QueryLogState ¶
type QueryLogState struct { // CloudWatch log group ARN to send query logs. CloudwatchLogGroupArn interface{} // Route53 hosted zone ID to enable query logs. ZoneId interface{} }
Input properties used for looking up and filtering QueryLog resources.
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Provides a Route53 record resource.
func GetRecord ¶
func GetRecord(ctx *pulumi.Context, name string, id pulumi.ID, state *RecordState, opts ...pulumi.ResourceOpt) (*Record, error)
GetRecord gets an existing Record resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRecord ¶
func NewRecord(ctx *pulumi.Context, name string, args *RecordArgs, opts ...pulumi.ResourceOpt) (*Record, error)
NewRecord registers a new resource with the given unique name, arguments, and options.
func (*Record) Aliases ¶
func (r *Record) Aliases() *pulumi.ArrayOutput
An alias block. Conflicts with `ttl` & `records`. Alias record documented below.
func (*Record) AllowOverwrite ¶
func (r *Record) AllowOverwrite() *pulumi.BoolOutput
Allow creation of this record in Terraform to overwrite an existing record, if any. This does not prevent other resources within Terraform or manual Route53 changes from overwriting this record. `true` by default.
func (*Record) FailoverRoutingPolicies ¶
func (r *Record) FailoverRoutingPolicies() *pulumi.ArrayOutput
A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
func (*Record) Fqdn ¶
func (r *Record) Fqdn() *pulumi.StringOutput
[FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) built using the zone domain and `name`.
func (*Record) GeolocationRoutingPolicies ¶
func (r *Record) GeolocationRoutingPolicies() *pulumi.ArrayOutput
A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
func (*Record) HealthCheckId ¶
func (r *Record) HealthCheckId() *pulumi.StringOutput
The health check the record should be associated with.
func (*Record) LatencyRoutingPolicies ¶
func (r *Record) LatencyRoutingPolicies() *pulumi.ArrayOutput
A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.
func (*Record) MultivalueAnswerRoutingPolicy ¶
func (r *Record) MultivalueAnswerRoutingPolicy() *pulumi.BoolOutput
Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy.
func (*Record) Name ¶
func (r *Record) Name() *pulumi.StringOutput
DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone.
func (*Record) Records ¶
func (r *Record) Records() *pulumi.ArrayOutput
A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`).
func (*Record) SetIdentifier ¶
func (r *Record) SetIdentifier() *pulumi.StringOutput
Unique identifier to differentiate records with routing policies from one another. Required if using `failover`, `geolocation`, `latency`, or `weighted` routing policies documented below.
func (*Record) Type ¶
func (r *Record) Type() *pulumi.StringOutput
`PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
func (*Record) WeightedRoutingPolicies ¶
func (r *Record) WeightedRoutingPolicies() *pulumi.ArrayOutput
A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
func (*Record) ZoneId ¶
func (r *Record) ZoneId() *pulumi.StringOutput
Hosted zone ID for a CloudFront distribution, S3 bucket, ELB, or Route 53 hosted zone. See [`resource_elb.zone_id`](https://www.terraform.io/docs/providers/aws/r/elb.html#zone_id) for example.
type RecordArgs ¶
type RecordArgs struct { // An alias block. Conflicts with `ttl` & `records`. // Alias record documented below. Aliases interface{} // Allow creation of this record in Terraform to overwrite an existing record, if any. This does not prevent other resources within Terraform or manual Route53 changes from overwriting this record. `true` by default. AllowOverwrite interface{} // A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below. FailoverRoutingPolicies interface{} // A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below. GeolocationRoutingPolicies interface{} // The health check the record should be associated with. HealthCheckId interface{} // A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below. LatencyRoutingPolicies interface{} // Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy. MultivalueAnswerRoutingPolicy interface{} // DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone. Name interface{} // A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`). Records interface{} // Unique identifier to differentiate records with routing policies from one another. Required if using `failover`, `geolocation`, `latency`, or `weighted` routing policies documented below. SetIdentifier interface{} // The TTL of the record. Ttl interface{} // `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets Type interface{} // A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below. WeightedRoutingPolicies interface{} // Hosted zone ID for a CloudFront distribution, S3 bucket, ELB, or Route 53 hosted zone. See [`resource_elb.zone_id`](https://www.terraform.io/docs/providers/aws/r/elb.html#zone_id) for example. ZoneId interface{} }
The set of arguments for constructing a Record resource.
type RecordState ¶
type RecordState struct { // An alias block. Conflicts with `ttl` & `records`. // Alias record documented below. Aliases interface{} // Allow creation of this record in Terraform to overwrite an existing record, if any. This does not prevent other resources within Terraform or manual Route53 changes from overwriting this record. `true` by default. AllowOverwrite interface{} // A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below. FailoverRoutingPolicies interface{} // [FQDN](https://en.wikipedia.org/wiki/Fully_qualified_domain_name) built using the zone domain and `name`. Fqdn interface{} // A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below. GeolocationRoutingPolicies interface{} // The health check the record should be associated with. HealthCheckId interface{} // A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below. LatencyRoutingPolicies interface{} // Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy. MultivalueAnswerRoutingPolicy interface{} // DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone. Name interface{} // A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add `\"\"` inside the Terraform configuration string (e.g. `"first255characters\"\"morecharacters"`). Records interface{} // Unique identifier to differentiate records with routing policies from one another. Required if using `failover`, `geolocation`, `latency`, or `weighted` routing policies documented below. SetIdentifier interface{} // The TTL of the record. Ttl interface{} // `PRIMARY` or `SECONDARY`. A `PRIMARY` record will be served if its healthcheck is passing, otherwise the `SECONDARY` will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets Type interface{} // A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below. WeightedRoutingPolicies interface{} // Hosted zone ID for a CloudFront distribution, S3 bucket, ELB, or Route 53 hosted zone. See [`resource_elb.zone_id`](https://www.terraform.io/docs/providers/aws/r/elb.html#zone_id) for example. ZoneId interface{} }
Input properties used for looking up and filtering Record resources.
type Zone ¶
type Zone struct {
// contains filtered or unexported fields
}
Manages a Route53 Hosted Zone.
func GetZone ¶
func GetZone(ctx *pulumi.Context, name string, id pulumi.ID, state *ZoneState, opts ...pulumi.ResourceOpt) (*Zone, error)
GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZone ¶
func NewZone(ctx *pulumi.Context, name string, args *ZoneArgs, opts ...pulumi.ResourceOpt) (*Zone, error)
NewZone registers a new resource with the given unique name, arguments, and options.
func (*Zone) Comment ¶
func (r *Zone) Comment() *pulumi.StringOutput
A comment for the hosted zone. Defaults to 'Managed by Terraform'.
func (*Zone) DelegationSetId ¶
func (r *Zone) DelegationSetId() *pulumi.StringOutput
The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with `vpc` and `vpc_id` as delegation sets can only be used for public zones.
func (*Zone) ForceDestroy ¶
func (r *Zone) ForceDestroy() *pulumi.BoolOutput
Whether to destroy all records (possibly managed outside of Terraform) in the zone when destroying the zone.
func (*Zone) NameServers ¶
func (r *Zone) NameServers() *pulumi.ArrayOutput
A list of name servers in associated (or default) delegation set. Find more about delegation sets in [AWS docs](https://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html).
func (*Zone) VpcRegion ¶
func (r *Zone) VpcRegion() *pulumi.StringOutput
Region of the VPC to associate. Defaults to AWS provider region.
func (*Zone) Vpcs ¶ added in v0.16.2
func (r *Zone) Vpcs() *pulumi.ArrayOutput
Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with `delegation_set_id`, `vpc_id`, and `vpc_region` in this resource and any [`aws_route53_zone_association` resource](https://www.terraform.io/docs/providers/aws/r/route53_zone_association.html) specifying the same zone ID. Detailed below.
func (*Zone) ZoneId ¶
func (r *Zone) ZoneId() *pulumi.StringOutput
The Hosted Zone ID. This can be referenced by zone records.
type ZoneArgs ¶
type ZoneArgs struct { // A comment for the hosted zone. Defaults to 'Managed by Terraform'. Comment interface{} // The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with `vpc` and `vpc_id` as delegation sets can only be used for public zones. DelegationSetId interface{} // Whether to destroy all records (possibly managed outside of Terraform) in the zone when destroying the zone. ForceDestroy interface{} // This is the name of the hosted zone. Name interface{} // A mapping of tags to assign to the zone. Tags interface{} // Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with `delegation_set_id`, `vpc_id`, and `vpc_region` in this resource and any [`aws_route53_zone_association` resource](https://www.terraform.io/docs/providers/aws/r/route53_zone_association.html) specifying the same zone ID. Detailed below. Vpcs interface{} // ID of the VPC to associate. VpcId interface{} // Region of the VPC to associate. Defaults to AWS provider region. VpcRegion interface{} }
The set of arguments for constructing a Zone resource.
type ZoneAssociation ¶
type ZoneAssociation struct {
// contains filtered or unexported fields
}
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](https://www.terraform.io/docs/providers/aws/r/route53_zone.html) instead.
> **NOTE:** Terraform provides both this standalone Zone VPC Association resource and exclusive VPC associations defined in-line in the [`aws_route53_zone` resource](https://www.terraform.io/docs/providers/aws/r/route53_zone.html) 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 the generic Terraform resource [lifecycle configuration block](https://www.terraform.io/docs/configuration/resources.html#lifecycle) with `ignore_changes` in the `aws_route53_zone` resource to manage additional associations via this resource.
func GetZoneAssociation ¶
func GetZoneAssociation(ctx *pulumi.Context, name string, id pulumi.ID, state *ZoneAssociationState, opts ...pulumi.ResourceOpt) (*ZoneAssociation, error)
GetZoneAssociation gets an existing ZoneAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZoneAssociation ¶
func NewZoneAssociation(ctx *pulumi.Context, name string, args *ZoneAssociationArgs, opts ...pulumi.ResourceOpt) (*ZoneAssociation, error)
NewZoneAssociation registers a new resource with the given unique name, arguments, and options.
func (*ZoneAssociation) ID ¶
func (r *ZoneAssociation) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ZoneAssociation) URN ¶
func (r *ZoneAssociation) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*ZoneAssociation) VpcId ¶
func (r *ZoneAssociation) VpcId() *pulumi.StringOutput
The VPC to associate with the private hosted zone.
func (*ZoneAssociation) VpcRegion ¶
func (r *ZoneAssociation) VpcRegion() *pulumi.StringOutput
The VPC's region. Defaults to the region of the AWS provider.
func (*ZoneAssociation) ZoneId ¶
func (r *ZoneAssociation) ZoneId() *pulumi.StringOutput
The private hosted zone to associate.
type ZoneAssociationArgs ¶
type ZoneAssociationArgs struct { // The VPC to associate with the private hosted zone. VpcId interface{} // The VPC's region. Defaults to the region of the AWS provider. VpcRegion interface{} // The private hosted zone to associate. ZoneId interface{} }
The set of arguments for constructing a ZoneAssociation resource.
type ZoneAssociationState ¶
type ZoneAssociationState struct { // The VPC to associate with the private hosted zone. VpcId interface{} // The VPC's region. Defaults to the region of the AWS provider. VpcRegion interface{} // The private hosted zone to associate. ZoneId interface{} }
Input properties used for looking up and filtering ZoneAssociation resources.
type ZoneState ¶
type ZoneState struct { // A comment for the hosted zone. Defaults to 'Managed by Terraform'. Comment interface{} // The ID of the reusable delegation set whose NS records you want to assign to the hosted zone. Conflicts with `vpc` and `vpc_id` as delegation sets can only be used for public zones. DelegationSetId interface{} // Whether to destroy all records (possibly managed outside of Terraform) in the zone when destroying the zone. ForceDestroy interface{} // This is the name of the hosted zone. Name interface{} // A list of name servers in associated (or default) delegation set. // Find more about delegation sets in [AWS docs](https://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html). NameServers interface{} // A mapping of tags to assign to the zone. Tags interface{} // Configuration block(s) specifying VPC(s) to associate with a private hosted zone. Conflicts with `delegation_set_id`, `vpc_id`, and `vpc_region` in this resource and any [`aws_route53_zone_association` resource](https://www.terraform.io/docs/providers/aws/r/route53_zone_association.html) specifying the same zone ID. Detailed below. Vpcs interface{} // ID of the VPC to associate. VpcId interface{} // Region of the VPC to associate. Defaults to AWS provider region. VpcRegion interface{} // The Hosted Zone ID. This can be referenced by zone records. ZoneId interface{} }
Input properties used for looking up and filtering Zone resources.