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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:07.248Z") @Stability(Stable) public class CfnDataSet extends CfnResource implements IInspectable, IDataSetRef, ITaggableV2
Definition of AWS::DataExchange::DataSet Resource Type.

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.dataexchange.*;
 CfnDataSet cfnDataSet = CfnDataSet.Builder.create(this, "MyCfnDataSet")
         .assetType("assetType")
         .description("description")
         .name("name")
         // 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

    • CfnDataSet

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

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

      @Stability(Stable) public CfnDataSet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataSetProps props)
      Create a new AWS::DataExchange::DataSet.

      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

    • arnForDataSet

      @Stability(Stable) @NotNull public static String arnForDataSet(@NotNull IDataSetRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnDataSet

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

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

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN for the data set.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The date and time that the data set was created, in ISO 8601 format.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier for the data set.
    • getAttrOrigin

      @Stability(Stable) @NotNull public String getAttrOrigin()
      A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The date and time that the data set was last updated, in ISO 8601 format.
    • 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
    • getCfnPropertyNames

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

      @Stability(Stable) @NotNull public DataSetReference getDataSetRef()
      A reference to a DataSet resource.
      Specified by:
      getDataSetRef in interface IDataSetRef
    • getAssetType

      @Stability(Stable) @NotNull public String getAssetType()
      The type of asset that is added to a data set.
    • setAssetType

      @Stability(Stable) public void setAssetType(@NotNull String value)
      The type of asset that is added to a data set.
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
      A description for the data set.
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
      A description for the data set.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the data set.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the data set.
    • getTags

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

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