interface CfnActionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnActionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnActionProps |
Java | software.amazon.awscdk.services.sagemaker.CfnActionProps |
Python | aws_cdk.aws_sagemaker.CfnActionProps |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnActionProps |
Properties for defining a CfnAction.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-action.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 cfnActionProps: sagemaker.CfnActionProps = {
actionName: 'actionName',
actionType: 'actionType',
source: {
sourceUri: 'sourceUri',
// the properties below are optional
sourceId: 'sourceId',
sourceType: 'sourceType',
},
// the properties below are optional
description: 'description',
metadataProperties: {
commitId: 'commitId',
generatedBy: 'generatedBy',
projectId: 'projectId',
repository: 'repository',
},
properties: {
propertiesKey: 'properties',
},
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | The name of the action. |
| action | string | The action type. |
| source | IResolvable | Action | |
| description? | string | The description of the action. |
| metadata | IResolvable | Metadata | |
| properties? | IResolvable | { [string]: string } | A list of properties to add to the action. |
| status? | string | The status of the action. |
| tags? | Cfn[] | A list of tags to apply to the action. |
actionName
Type:
string
The name of the action.
Must be unique to your account in an AWS Region.
actionType
Type:
string
The action type.
source
Type:
IResolvable | Action
description?
Type:
string
(optional)
The description of the action.
metadataProperties?
Type:
IResolvable | Metadata
(optional)
properties?
Type:
IResolvable | { [string]: string }
(optional)
A list of properties to add to the action.
status?
Type:
string
(optional)
The status of the action.
tags?
Type:
Cfn[]
(optional)
A list of tags to apply to the action.

.NET
Go
Java
Python
TypeScript