Interface CfnActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:11.162Z")
@Stability(Stable)
public interface CfnActionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAction.
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.*;
CfnActionProps cfnActionProps = CfnActionProps.builder()
.actionName("actionName")
.actionType("actionType")
.source(ActionSourceProperty.builder()
.sourceUri("sourceUri")
// the properties below are optional
.sourceId("sourceId")
.sourceType("sourceType")
.build())
// the properties below are optional
.description("description")
.metadataProperties(MetadataPropertiesProperty.builder()
.commitId("commitId")
.generatedBy("generatedBy")
.projectId("projectId")
.repository("repository")
.build())
.properties(Map.of(
"propertiesKey", "properties"))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnActionPropsstatic final classAn implementation forCfnActionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnActionProps.Builderbuilder()The name of the action.The action type.default StringThe description of the action.default ObjectReturns union: eitherIResolvableorCfnAction.MetadataPropertiesPropertydefault ObjectA list of properties to add to the action.Returns union: eitherIResolvableorCfnAction.ActionSourcePropertydefault StringThe status of the action.getTags()A list of tags to apply to the action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionName
The name of the action.Must be unique to your account in an AWS Region.
- See Also:
-
getActionType
The action type.- See Also:
-
getSource
Returns union: eitherIResolvableorCfnAction.ActionSourceProperty- See Also:
-
getDescription
The description of the action.- See Also:
-
getMetadataProperties
Returns union: eitherIResolvableorCfnAction.MetadataPropertiesProperty- See Also:
-
getProperties
A list of properties to add to the action.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getStatus
The status of the action.- See Also:
-
getTags
A list of tags to apply to the action.- See Also:
-
builder
- Returns:
- a
CfnActionProps.BuilderofCfnActionProps
-