CfnContextProps Struct
Properties for defining a CfnContext.
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 cfnContextProps: sagemaker.CfnContextProps = {
contextName: 'contextName',
contextType: 'contextType',
source: {
sourceUri: 'sourceUri',
// the properties below are optional
sourceId: 'sourceId',
sourceType: 'sourceType',
},
// the properties below are optional
description: 'description',
properties: {
propertiesKey: 'properties',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The name of the context.
Must be unique to your account in an AWS Region.
The context type.
The description of the context.
propertiesIResolvable | { [key: string]: string }propertiestyping.Union[IResolvable, typing.Mapping[str, str]]propertiesIResolvablePropertiesIResolvablePropertiesinterface{}#A list of properties to add to the context.
sourceIResolvable | CfnContext.SourcePropertysourcetyping.Union[IResolvable, SourceProperty]sourceIResolvableSourceIResolvableSourceinterface{}required#The source type, ID, and URI.
tagsCfnContext.TagsItemsProperty[]tagstyping.List[TagsItemsProperty]tagsList<TagsItemsProperty>TagsTagsItemsProperty[]Tags*[]TagsItemsProperty#A list of tags to apply to the context.