Class CfnDataDeletionJob

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-22T17:37:30.774Z") @Stability(Stable) public class CfnDataDeletionJob extends CfnResource implements IInspectable, IDataDeletionJobRef
Resource Type definition for AWS::Personalize::DataDeletionJob.

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.personalize.*;
 CfnDataDeletionJob cfnDataDeletionJob = CfnDataDeletionJob.Builder.create(this, "MyCfnDataDeletionJob")
         .datasetGroupArn("datasetGroupArn")
         .dataSource(DataSourceProperty.builder()
                 .dataLocation("dataLocation")
                 .build())
         .jobName("jobName")
         .roleArn("roleArn")
         .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

    • CfnDataDeletionJob

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

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

      @Stability(Stable) public CfnDataDeletionJob(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataDeletionJobProps props)
      Create a new AWS::Personalize::DataDeletionJob.

      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.
    • CfnDataDeletionJob

      @Stability(Stable) public CfnDataDeletionJob(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Personalize::DataDeletionJob.

      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.
  • Method Details

    • arnForDataDeletionJob

      @Stability(Stable) @NotNull public static String arnForDataDeletionJob(@NotNull IDataDeletionJobRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnDataDeletionJob

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

      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.
    • getAttrCreationDateTime

      @Stability(Stable) @NotNull public String getAttrCreationDateTime()
    • getAttrDataDeletionJobArn

      @Stability(Stable) @NotNull public String getAttrDataDeletionJobArn()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrLastUpdatedDateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdatedDateTime()
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getCfnProperties

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

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getDataDeletionJobRef

      @Stability(Stable) @NotNull public DataDeletionJobReference getDataDeletionJobRef()
      A reference to a DataDeletionJob resource.
      Specified by:
      getDataDeletionJobRef in interface IDataDeletionJobRef
    • getDatasetGroupArn

      @Stability(Stable) @Nullable public String getDatasetGroupArn()
    • setDatasetGroupArn

      @Stability(Stable) public void setDatasetGroupArn(@Nullable String value)
    • getDataSource

      @Stability(Stable) @Nullable public Object getDataSource()
    • setDataSource

      @Stability(Stable) public void setDataSource(@Nullable IResolvable value)
    • setDataSource

      @Stability(Stable) public void setDataSource(@Nullable CfnDataDeletionJob.DataSourceProperty value)
    • getJobName

      @Stability(Stable) @Nullable public String getJobName()
    • setJobName

      @Stability(Stable) public void setJobName(@Nullable String value)
    • getRoleArn

      @Stability(Stable) @Nullable public String getRoleArn()
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@Nullable String value)