Class UserPoolDomainTarget
Use a user pool domain as an alias record target.
Inheritance
System.Object
UserPoolDomainTarget
Implements
Namespace: Amazon.CDK.AWS.Route53.Targets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UserPoolDomainTarget : DeputyBase, IAliasRecordTarget
Syntax (vb)
Public Class UserPoolDomainTarget
Inherits DeputyBase
Implements IAliasRecordTarget
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Cognito;
HostedZone zone;
UserPoolDomain domain;
new ARecord(this, "AliasRecord", new ARecordProps {
Zone = zone,
Target = RecordTarget.FromAlias(new UserPoolDomainTarget(domain))
});
Synopsis
Constructors
UserPoolDomainTarget(UserPoolDomain) | |
UserPoolDomainTarget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
UserPoolDomainTarget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(IRecordSet, IHostedZone) | Return hosted zone ID and DNS name, usable for Route53 alias targets. |
Constructors
UserPoolDomainTarget(UserPoolDomain)
UserPoolDomainTarget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UserPoolDomainTarget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
UserPoolDomainTarget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UserPoolDomainTarget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
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