Class CfnTargetDomain

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, ITargetDomainRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:04.510Z") @Stability(Stable) public class CfnTargetDomain extends CfnResource implements IInspectable, ITargetDomainRef, ITaggableV2
Resource Type definition for AWS::SecurityAgent::TargetDomain.

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.securityagent.*;
 CfnTargetDomain cfnTargetDomain = CfnTargetDomain.Builder.create(this, "MyCfnTargetDomain")
         .targetDomainName("targetDomainName")
         .verificationMethod("verificationMethod")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTargetDomain

      protected CfnTargetDomain(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTargetDomain

      protected CfnTargetDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTargetDomain

      @Stability(Stable) public CfnTargetDomain(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTargetDomainProps props)
      Create a new AWS::SecurityAgent::TargetDomain.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForTargetDomain

      @Stability(Stable) @NotNull public static String arnForTargetDomain(@NotNull ITargetDomainRef resource)
      Parameters:
      resource - This parameter is required.
    • fromTargetDomainId

      @Stability(Stable) @NotNull public static ITargetDomainRef fromTargetDomainId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String targetDomainId)
      Creates a new ITargetDomainRef from a targetDomainId.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      targetDomainId - This parameter is required.
    • isCfnTargetDomain

      @Stability(Stable) @NotNull public static Boolean isCfnTargetDomain(@NotNull Object x)
      Checks whether the given object is a CfnTargetDomain.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      Timestamp when the target domain was registered.
    • getAttrTargetDomainId

      @Stability(Stable) @NotNull public String getAttrTargetDomainId()
      Unique identifier of the target domain.
    • getAttrVerificationDetails

      @Stability(Stable) @NotNull public IResolvable getAttrVerificationDetails()
      Verification details to verify registered target domain.
    • getAttrVerificationStatus

      @Stability(Stable) @NotNull public String getAttrVerificationStatus()
      Current verification status of the registered target domain.
    • getAttrVerifiedAt

      @Stability(Stable) @NotNull public String getAttrVerifiedAt()
      Timestamp when the target domain was last successfully verified.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTargetDomainRef

      @Stability(Stable) @NotNull public TargetDomainReference getTargetDomainRef()
      A reference to a TargetDomain resource.
      Specified by:
      getTargetDomainRef in interface ITargetDomainRef
    • getTargetDomainName

      @Stability(Stable) @NotNull public String getTargetDomainName()
      Domain name of the target domain.
    • setTargetDomainName

      @Stability(Stable) public void setTargetDomainName(@NotNull String value)
      Domain name of the target domain.
    • getVerificationMethod

      @Stability(Stable) @NotNull public String getVerificationMethod()
      Verification method for the target domain.
    • setVerificationMethod

      @Stability(Stable) public void setVerificationMethod(@NotNull String value)
      Verification method for the target domain.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags for the target domain.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags for the target domain.