CfnStudioLifecycleConfigProps Struct
Properties for defining a CfnStudioLifecycleConfig.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnStudioLifecycleConfigProps: sagemaker.CfnStudioLifecycleConfigProps = {
studioLifecycleConfigAppType: 'studioLifecycleConfigAppType',
studioLifecycleConfigContent: 'studioLifecycleConfigContent',
studioLifecycleConfigName: 'studioLifecycleConfigName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
cfn_studio_lifecycle_config_props = sagemaker.CfnStudioLifecycleConfigProps(
studio_lifecycle_config_app_type="studioLifecycleConfigAppType",
studio_lifecycle_config_content="studioLifecycleConfigContent",
studio_lifecycle_config_name="studioLifecycleConfigName",
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// 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.*;
CfnStudioLifecycleConfigProps cfnStudioLifecycleConfigProps = CfnStudioLifecycleConfigProps.builder()
.studioLifecycleConfigAppType("studioLifecycleConfigAppType")
.studioLifecycleConfigContent("studioLifecycleConfigContent")
.studioLifecycleConfigName("studioLifecycleConfigName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnStudioLifecycleConfigProps = new CfnStudioLifecycleConfigProps {
StudioLifecycleConfigAppType = "studioLifecycleConfigAppType",
StudioLifecycleConfigContent = "studioLifecycleConfigContent",
StudioLifecycleConfigName = "studioLifecycleConfigName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnStudioLifecycleConfigProps := &CfnStudioLifecycleConfigProps{
StudioLifecycleConfigAppType: jsii.String("studioLifecycleConfigAppType"),
StudioLifecycleConfigContent: jsii.String("studioLifecycleConfigContent"),
StudioLifecycleConfigName: jsii.String("studioLifecycleConfigName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
studioLifecycleConfigAppTypestringstudio_lifecycle_config_app_typestrstudioLifecycleConfigAppTypeStringStudioLifecycleConfigAppTypestringStudioLifecycleConfigAppType*string required #The App type to which the Lifecycle Configuration is attached.
studioLifecycleConfigContentstringstudio_lifecycle_config_contentstrstudioLifecycleConfigContentStringStudioLifecycleConfigContentstringStudioLifecycleConfigContent*string required #The content of your Amazon SageMaker Studio Lifecycle Configuration script.
This content must be base64 encoded.
studioLifecycleConfigNamestringstudio_lifecycle_config_namestrstudioLifecycleConfigNameStringStudioLifecycleConfigNamestringStudioLifecycleConfigName*string required #The name of the Amazon SageMaker AI Studio Lifecycle Configuration.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #Tags to be associated with the Lifecycle Configuration.
Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.