interface CfnContextProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnContextProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnContextProps |
Java | software.amazon.awscdk.services.sagemaker.CfnContextProps |
Python | aws_cdk.aws_sagemaker.CfnContextProps |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnContextProps |
Properties for defining a CfnContext.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-context.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| context | string | The name of the context. |
| context | string | The context type. |
| source | IResolvable | Source | The source type, ID, and URI. |
| description? | string | The description of the context. |
| properties? | IResolvable | { [string]: string } | A list of properties to add to the context. |
| tags? | Tags[] | A list of tags to apply to the context. |
contextName
Type:
string
The name of the context.
Must be unique to your account in an AWS Region.
contextType
Type:
string
The context type.
source
Type:
IResolvable | Source
The source type, ID, and URI.
description?
Type:
string
(optional)
The description of the context.
properties?
Type:
IResolvable | { [string]: string }
(optional)
A list of properties to add to the context.
tags?
Type:
Tags[]
(optional)
A list of tags to apply to the context.

.NET
Go
Java
Python
TypeScript