Class CfnProject
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnProject
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IProjectRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:22.259Z")
@Stability(Stable)
public class CfnProject
extends CfnResource
implements IInspectable, IProjectRef, 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")
// the properties below are optional
.projectDescription("projectDescription")
.serviceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetailsProperty.builder()
.provisionedProductId("provisionedProductId")
.provisionedProductStatusMessage("provisionedProductStatusMessage")
.build())
.serviceCatalogProvisioningDetails(serviceCatalogProvisioningDetails)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.templateProviderDetails(List.of(TemplateProviderDetailProperty.builder()
.cfnTemplateProviderDetail(CfnTemplateProviderDetailProperty.builder()
.templateName("templateName")
.templateUrl("templateUrl")
// the properties below are optional
.parameters(List.of(CfnStackParameterProperty.builder()
.key("key")
.value("value")
.build()))
.roleArn("roleArn")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnProject.static interfaceA key-value pair representing a parameter used in the CloudFormation stack.static interfaceDetails about a CloudFormation template provider configuration and associated provisioning information.static interfaceA key value pair used when you provision a project as a service catalog product.static interfaceDetails of a provisioned service catalog product.static interfaceDetails that you specify to provision a service catalog product.static interfaceDetails about a template provider configuration and associated provisioning information.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sagemaker.IProjectRef
IProjectRef.Jsii$Default, IProjectRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProject(software.amazon.jsii.JsiiObjectRef objRef) CfnProject(software.constructs.Construct scope, String id, CfnProjectProps props) Create a newAWS::SageMaker::Project. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForProject(IProjectRef resource) The time that the project was created.The Amazon Resource Name (ARN) of the project.The ID of the project.The status of the project.The description of the project.The name of the project.A reference to a Project resource.Details of a provisioned service catalog product.The product ID and provisioning artifact ID to provision a service catalog.getTags()Tag Manager which manages the tags for this resource.A list of key-value pairs to apply to this resource.An array of template providers associated with the project.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnProject.renderProperties(Map<String, Object> props) voidsetProjectDescription(String value) The description of the project.voidsetProjectName(String value) The name of the project.voidDetails of a provisioned service catalog product.voidsetServiceCatalogProvisionedProductDetails(CfnProject.ServiceCatalogProvisionedProductDetailsProperty value) Details of a provisioned service catalog product.voidThe product ID and provisioning artifact ID to provision a service catalog.voidsetTagsRaw(List<CfnTag> value) A list of key-value pairs to apply to this resource.voidsetTemplateProviderDetails(List<Object> value) An array of template providers associated with the project.voidAn array of template providers associated with the project.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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) Create a newAWS::SageMaker::Project.- 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
-
arnForProject
- Parameters:
resource- This parameter is required.
-
isCfnProject
Checks whether the given object is a CfnProject.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreationTime
The time that the project was created. -
getAttrProjectArn
The Amazon Resource Name (ARN) of the project. -
getAttrProjectId
The ID of the project.This ID is prepended to all entities associated with this project.
-
getAttrProjectStatus
The status of the project. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getProjectRef
A reference to a Project resource.- Specified by:
getProjectRefin interfaceIProjectRef
-
getTags
Tag Manager which manages the tags for this resource. -
getProjectName
The name of the project. -
setProjectName
The name of the project. -
getProjectDescription
The description of the project. -
setProjectDescription
The description of the project. -
getServiceCatalogProvisionedProductDetails
Details of a provisioned service catalog product.Returns union: either
IResolvableorCfnProject.ServiceCatalogProvisionedProductDetailsProperty -
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. -
getServiceCatalogProvisioningDetails
The product ID and provisioning artifact ID to provision a service catalog. -
setServiceCatalogProvisioningDetails
The product ID and provisioning artifact ID to provision a service catalog. -
getTagsRaw
A list of key-value pairs to apply to this resource. -
setTagsRaw
A list of key-value pairs to apply to this resource. -
getTemplateProviderDetails
An array of template providers associated with the project.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProject.TemplateProviderDetailProperty> -
setTemplateProviderDetails
An array of template providers associated with the project. -
setTemplateProviderDetails
An array of template providers associated with the project.
-