Class GlobalAcceleratorDomainTarget
Use a Global Accelerator domain name as an alias record target.
Implements
Namespace: Amazon.CDK.AWS.Route53.Targets
Assembly: Amazon.CDK.AWS.Route53.Targets.dll
Syntax (csharp)
public class GlobalAcceleratorDomainTarget : DeputyBase, IAliasRecordTarget
Syntax (vb)
Public Class GlobalAcceleratorDomainTarget
Inherits DeputyBase
Implements IAliasRecordTarget
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53.Targets;
var globalAcceleratorDomainTarget = new GlobalAcceleratorDomainTarget("acceleratorDomainName");
Synopsis
Constructors
GlobalAcceleratorDomainTarget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
GlobalAcceleratorDomainTarget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
GlobalAcceleratorDomainTarget(String) | Create an Alias Target for a Global Accelerator domain name. |
Properties
GLOBAL_ACCELERATOR_ZONE_ID | The hosted zone Id if using an alias record in Route53. |
Methods
Bind(IRecordSet, IHostedZone) | Return hosted zone ID and DNS name, usable for Route53 alias targets. |
Constructors
GlobalAcceleratorDomainTarget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected GlobalAcceleratorDomainTarget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
GlobalAcceleratorDomainTarget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected GlobalAcceleratorDomainTarget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
GlobalAcceleratorDomainTarget(String)
Create an Alias Target for a Global Accelerator domain name.
public GlobalAcceleratorDomainTarget(string acceleratorDomainName)
Parameters
- acceleratorDomainName System.String
Properties
GLOBAL_ACCELERATOR_ZONE_ID
The hosted zone Id if using an alias record in Route53.
public static string GLOBAL_ACCELERATOR_ZONE_ID { get; }
Property Value
System.String
Remarks
This value never changes. Ref: https://docs.aws.amazon.com/general/latest/gr/global_accelerator.html
Methods
Bind(IRecordSet, IHostedZone)
Return hosted zone ID and DNS name, usable for Route53 alias targets.
public virtual IAliasRecordTargetConfig Bind(IRecordSet record, IHostedZone zone = null)
Parameters
- record IRecordSet
- zone IHostedZone
Returns