Class AliasRecordTargetConfig
Represents the properties of an alias target destination.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AliasRecordTargetConfig : IAliasRecordTargetConfig
Syntax (vb)
Public Class AliasRecordTargetConfig Implements IAliasRecordTargetConfig
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;
var aliasRecordTargetConfig = new AliasRecordTargetConfig {
DnsName = "dnsName",
HostedZoneId = "hostedZoneId",
// the properties below are optional
EvaluateTargetHealth = false
};
Synopsis
Constructors
| AliasRecordTargetConfig() | Represents the properties of an alias target destination. |
Properties
| DnsName | DNS name of the target. |
| EvaluateTargetHealth | Evaluate the target health. |
| HostedZoneId | Hosted zone ID of the target. |
Constructors
AliasRecordTargetConfig()
Represents the properties of an alias target destination.
public AliasRecordTargetConfig()
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;
var aliasRecordTargetConfig = new AliasRecordTargetConfig {
DnsName = "dnsName",
HostedZoneId = "hostedZoneId",
// the properties below are optional
EvaluateTargetHealth = false
};
Properties
DnsName
DNS name of the target.
public string DnsName { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
EvaluateTargetHealth
Evaluate the target health.
public bool? EvaluateTargetHealth { get; set; }
Property Value
bool?
Remarks
Default: - no health check configuration
HostedZoneId
Hosted zone ID of the target.
public string HostedZoneId { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated