Class CfnProject

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:09.835Z") @Stability(Stable) public class CfnProject extends CfnResource implements IInspectable, ITaggable
Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model.

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.sagemaker.*;
 Object serviceCatalogProvisioningDetails;
 CfnProject cfnProject = CfnProject.Builder.create(this, "MyCfnProject")
         .projectName("projectName")
         .serviceCatalogProvisioningDetails(serviceCatalogProvisioningDetails)
         // the properties below are optional
         .projectDescription("projectDescription")
         .serviceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsProperty.builder()
                 .provisionedProductId("provisionedProductId")
                 .provisionedProductStatusMessage("provisionedProductStatusMessage")
                 .build())
         .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

    • CfnProject

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

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

      @Stability(Stable) public CfnProject(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProjectProps props)
      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

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

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The time that the project was created.
    • getAttrProjectArn

      @Stability(Stable) @NotNull public String getAttrProjectArn()
      The Amazon Resource Name (ARN) of the project.
    • getAttrProjectId

      @Stability(Stable) @NotNull public String getAttrProjectId()
      The ID of the project.

      This ID is prepended to all entities associated with this project.

    • getAttrProjectStatus

      @Stability(Stable) @NotNull public String getAttrProjectStatus()
      The status of the project.
    • getCfnProperties

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

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

      @Stability(Stable) @NotNull public String getProjectName()
      The name of the project.
    • setProjectName

      @Stability(Stable) public void setProjectName(@NotNull String value)
      The name of the project.
    • getServiceCatalogProvisioningDetails

      @Stability(Stable) @NotNull public Object getServiceCatalogProvisioningDetails()
      The product ID and provisioning artifact ID to provision a service catalog.
    • setServiceCatalogProvisioningDetails

      @Stability(Stable) public void setServiceCatalogProvisioningDetails(@NotNull Object value)
      The product ID and provisioning artifact ID to provision a service catalog.
    • getProjectDescription

      @Stability(Stable) @Nullable public String getProjectDescription()
      The description of the project.
    • setProjectDescription

      @Stability(Stable) public void setProjectDescription(@Nullable String value)
      The description of the project.
    • getServiceCatalogProvisionedProductDetails

      @Stability(Stable) @Nullable public Object getServiceCatalogProvisionedProductDetails()
      Details of a provisioned service catalog product.
    • setServiceCatalogProvisionedProductDetails

      @Stability(Stable) public void setServiceCatalogProvisionedProductDetails(@Nullable IResolvable value)
      Details of a provisioned service catalog product.
    • setServiceCatalogProvisionedProductDetails

      @Stability(Stable) public void setServiceCatalogProvisionedProductDetails(@Nullable CfnProject.ServiceCatalogProvisionedProductDetailsProperty value)
      Details of a provisioned service catalog product.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A list of key-value pairs to apply to this resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A list of key-value pairs to apply to this resource.