Class AddressRecordTarget
(deprecated) Target for a DNS A Record.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class AddressRecordTarget : RecordTarget
Syntax (vb)
Public Class AddressRecordTarget
Inherits RecordTarget
Remarks
Stability: Deprecated
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;
IAliasRecordTarget aliasRecordTarget;
var addressRecordTarget = AddressRecordTarget.FromAlias(aliasRecordTarget);
Synopsis
Constructors
AddressRecordTarget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AddressRecordTarget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
AddressRecordTarget(String[], IAliasRecordTarget) |
Constructors
AddressRecordTarget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AddressRecordTarget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AddressRecordTarget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AddressRecordTarget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
AddressRecordTarget(String[], IAliasRecordTarget)
public AddressRecordTarget(string[] values = null, IAliasRecordTarget aliasTarget = null)
Parameters
- values System.String[]
correspond with the chosen record type (e.g. for 'A' Type, specify one or more IP addresses).
- aliasTarget IAliasRecordTarget
alias for targets such as CloudFront distribution to route traffic to.