Interface CfnResourceSet.DNSTargetResourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResourceSet.DNSTargetResourceProperty.Jsii$Proxy
Enclosing class:
CfnResourceSet

@Stability(Stable) public static interface CfnResourceSet.DNSTargetResourceProperty extends software.amazon.jsii.JsiiSerializable
A component for DNS/routing control readiness checks and architecture checks.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53recoveryreadiness.*;
 DNSTargetResourceProperty dNSTargetResourceProperty = DNSTargetResourceProperty.builder()
         .domainName("domainName")
         .hostedZoneArn("hostedZoneArn")
         .recordSetId("recordSetId")
         .recordType("recordType")
         .targetResource(TargetResourceProperty.builder()
                 .nlbResource(NLBResourceProperty.builder()
                         .arn("arn")
                         .build())
                 .r53Resource(R53ResourceRecordProperty.builder()
                         .domainName("domainName")
                         .recordSetId("recordSetId")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getDomainName

      @Stability(Stable) @Nullable default String getDomainName()
      The domain name that acts as an ingress point to a portion of the customer application.
    • getHostedZoneArn

      @Stability(Stable) @Nullable default String getHostedZoneArn()
      The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
    • getRecordSetId

      @Stability(Stable) @Nullable default String getRecordSetId()
      The Amazon Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
    • getRecordType

      @Stability(Stable) @Nullable default String getRecordType()
      The type of DNS record of the target resource.
    • getTargetResource

      @Stability(Stable) @Nullable default Object getTargetResource()
      The target resource that the Route 53 record points to.
    • builder

      @Stability(Stable) static CfnResourceSet.DNSTargetResourceProperty.Builder builder()
      Returns:
      a CfnResourceSet.DNSTargetResourceProperty.Builder of CfnResourceSet.DNSTargetResourceProperty