1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. Action

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::Action. An action is a lineage tracking entity that represents an action or activity, such as a model deployment or an HPO job.

    Create Action Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Action(name: string, args: ActionArgs, opts?: CustomResourceOptions);
    @overload
    def Action(resource_name: str,
               args: ActionArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Action(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               action_type: Optional[str] = None,
               source: Optional[ActionSourceArgs] = None,
               action_name: Optional[str] = None,
               description: Optional[str] = None,
               metadata_properties: Optional[ActionMetadataPropertiesArgs] = None,
               properties: Optional[Mapping[str, str]] = None,
               status: Optional[ActionStatus] = None,
               tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAction(ctx *Context, name string, args ActionArgs, opts ...ResourceOption) (*Action, error)
    public Action(string name, ActionArgs args, CustomResourceOptions? opts = null)
    public Action(String name, ActionArgs args)
    public Action(String name, ActionArgs args, CustomResourceOptions options)
    
    type: aws-native:sagemaker:Action
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_sagemaker_action" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Action Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Action resource accepts the following input properties:

    ActionType string
    The action type.
    Source Pulumi.AwsNative.SageMaker.Inputs.ActionSource
    The source type, ID, and URI.
    ActionName string
    The name of the action. Must be unique to your account in an AWS Region.
    Description string
    The description of the action.
    MetadataProperties Pulumi.AwsNative.SageMaker.Inputs.ActionMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    Properties Dictionary<string, string>
    A list of properties to add to the action.
    Status Pulumi.AwsNative.SageMaker.ActionStatus
    The status of the action.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A list of tags to apply to the action.
    ActionType string
    The action type.
    Source ActionSourceArgs
    The source type, ID, and URI.
    ActionName string
    The name of the action. Must be unique to your account in an AWS Region.
    Description string
    The description of the action.
    MetadataProperties ActionMetadataPropertiesArgs
    Metadata properties of the tracking entity, trial, or trial component.
    Properties map[string]string
    A list of properties to add to the action.
    Status ActionStatus
    The status of the action.
    Tags TagArgs
    A list of tags to apply to the action.
    action_type string
    The action type.
    source object
    The source type, ID, and URI.
    action_name string
    The name of the action. Must be unique to your account in an AWS Region.
    description string
    The description of the action.
    metadata_properties object
    Metadata properties of the tracking entity, trial, or trial component.
    properties map(string)
    A list of properties to add to the action.
    status "Unknown" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the action.
    tags list(object)
    A list of tags to apply to the action.
    actionType String
    The action type.
    source ActionSource
    The source type, ID, and URI.
    actionName String
    The name of the action. Must be unique to your account in an AWS Region.
    description String
    The description of the action.
    metadataProperties ActionMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    properties Map<String,String>
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags List<Tag>
    A list of tags to apply to the action.
    actionType string
    The action type.
    source ActionSource
    The source type, ID, and URI.
    actionName string
    The name of the action. Must be unique to your account in an AWS Region.
    description string
    The description of the action.
    metadataProperties ActionMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    properties {[key: string]: string}
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags Tag[]
    A list of tags to apply to the action.
    action_type str
    The action type.
    source ActionSourceArgs
    The source type, ID, and URI.
    action_name str
    The name of the action. Must be unique to your account in an AWS Region.
    description str
    The description of the action.
    metadata_properties ActionMetadataPropertiesArgs
    Metadata properties of the tracking entity, trial, or trial component.
    properties Mapping[str, str]
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags Sequence[TagArgs]
    A list of tags to apply to the action.
    actionType String
    The action type.
    source Property Map
    The source type, ID, and URI.
    actionName String
    The name of the action. Must be unique to your account in an AWS Region.
    description String
    The description of the action.
    metadataProperties Property Map
    Metadata properties of the tracking entity, trial, or trial component.
    properties Map<String>
    A list of properties to add to the action.
    status "Unknown" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the action.
    tags List<Property Map>
    A list of tags to apply to the action.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Action resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the action.
    CreationTime string
    When the action was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    When the action was last modified.
    Arn string
    The Amazon Resource Name (ARN) of the action.
    CreationTime string
    When the action was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    When the action was last modified.
    arn string
    The Amazon Resource Name (ARN) of the action.
    creation_time string
    When the action was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_time string
    When the action was last modified.
    arn String
    The Amazon Resource Name (ARN) of the action.
    creationTime String
    When the action was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    When the action was last modified.
    arn string
    The Amazon Resource Name (ARN) of the action.
    creationTime string
    When the action was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    When the action was last modified.
    arn str
    The Amazon Resource Name (ARN) of the action.
    creation_time str
    When the action was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    When the action was last modified.
    arn String
    The Amazon Resource Name (ARN) of the action.
    creationTime String
    When the action was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    When the action was last modified.

    Look up Existing Action Resource

    Get an existing Action resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Action
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Action
    func GetAction(ctx *Context, name string, id IDInput, state *ActionState, opts ...ResourceOption) (*Action, error)
    public static Action Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Action get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAction:    type: aws-native:sagemaker:Action    get:      id: ${id}
    import {
      to = aws-native_sagemaker_action.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ActionState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    ActionMetadataProperties, ActionMetadataPropertiesArgs

    CommitId string
    The commit ID.
    GeneratedBy string
    The entity this entity was generated by.
    ProjectId string
    The project ID.
    Repository string
    The repository.
    CommitId string
    The commit ID.
    GeneratedBy string
    The entity this entity was generated by.
    ProjectId string
    The project ID.
    Repository string
    The repository.
    commit_id string
    The commit ID.
    generated_by string
    The entity this entity was generated by.
    project_id string
    The project ID.
    repository string
    The repository.
    commitId String
    The commit ID.
    generatedBy String
    The entity this entity was generated by.
    projectId String
    The project ID.
    repository String
    The repository.
    commitId string
    The commit ID.
    generatedBy string
    The entity this entity was generated by.
    projectId string
    The project ID.
    repository string
    The repository.
    commit_id str
    The commit ID.
    generated_by str
    The entity this entity was generated by.
    project_id str
    The project ID.
    repository str
    The repository.
    commitId String
    The commit ID.
    generatedBy String
    The entity this entity was generated by.
    projectId String
    The project ID.
    repository String
    The repository.

    ActionSource, ActionSourceArgs

    SourceUri string
    The URI of the source.
    SourceId string
    The ID of the source.
    SourceType string
    The type of the source.
    SourceUri string
    The URI of the source.
    SourceId string
    The ID of the source.
    SourceType string
    The type of the source.
    source_uri string
    The URI of the source.
    source_id string
    The ID of the source.
    source_type string
    The type of the source.
    sourceUri String
    The URI of the source.
    sourceId String
    The ID of the source.
    sourceType String
    The type of the source.
    sourceUri string
    The URI of the source.
    sourceId string
    The ID of the source.
    sourceType string
    The type of the source.
    source_uri str
    The URI of the source.
    source_id str
    The ID of the source.
    source_type str
    The type of the source.
    sourceUri String
    The URI of the source.
    sourceId String
    The ID of the source.
    sourceType String
    The type of the source.

    ActionStatus

    The status of the action.

    NameValue
    UnknownUnknown
    InProgressInProgress
    CompletedCompleted
    FailedFailed
    StoppingStopping
    StoppedStopped
    NameValue
    ActionStatusUnknownUnknown
    ActionStatusInProgressInProgress
    ActionStatusCompletedCompleted
    ActionStatusFailedFailed
    ActionStatusStoppingStopping
    ActionStatusStoppedStopped
    Value
    Unknown
    InProgress
    Completed
    Failed
    Stopping
    Stopped
    NameValue
    UnknownUnknown
    InProgressInProgress
    CompletedCompleted
    FailedFailed
    StoppingStopping
    StoppedStopped
    NameValue
    UnknownUnknown
    InProgressInProgress
    CompletedCompleted
    FailedFailed
    StoppingStopping
    StoppedStopped
    NameValue
    UNKNOWNUnknown
    IN_PROGRESSInProgress
    COMPLETEDCompleted
    FAILEDFailed
    STOPPINGStopping
    STOPPEDStopped
    Value
    Unknown
    InProgress
    Completed
    Failed
    Stopping
    Stopped

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial