We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Action
Type string - The action type.
- Source
Pulumi.
Aws Native. Sage Maker. Inputs. Action Source - 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 Pulumi.Aws Native. Sage Maker. Inputs. Action Metadata Properties - 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.
Aws Native. Sage Maker. Action Status - The status of the action.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to apply to the action.
- Action
Type string - The action type.
- Source
Action
Source Args - 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 ActionMetadata Properties Args - Metadata properties of the tracking entity, trial, or trial component.
- Properties map[string]string
- A list of properties to add to the action.
- Status
Action
Status - The status of the action.
-
Tag
Args - 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" | "In
Progress" | "Completed" | "Failed" | "Stopping" | "Stopped" - The status of the action.
- list(object)
- A list of tags to apply to the action.
- action
Type String - The action type.
- source
Action
Source - 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 ActionMetadata Properties - Metadata properties of the tracking entity, trial, or trial component.
- properties Map<String,String>
- A list of properties to add to the action.
- status
Action
Status - The status of the action.
- List<Tag>
- A list of tags to apply to the action.
- action
Type string - The action type.
- source
Action
Source - 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 ActionMetadata Properties - Metadata properties of the tracking entity, trial, or trial component.
- properties {[key: string]: string}
- A list of properties to add to the action.
- status
Action
Status - The status of the action.
- Tag[]
- A list of tags to apply to the action.
- action_
type str - The action type.
- source
Action
Source Args - 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 ActionMetadata Properties Args - Metadata properties of the tracking entity, trial, or trial component.
- properties Mapping[str, str]
- A list of properties to add to the action.
- status
Action
Status - The status of the action.
-
Sequence[Tag
Args] - A list of tags to apply to the action.
- action
Type String - The action type.
- source Property Map
- 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 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" | "In
Progress" | "Completed" | "Failed" | "Stopping" | "Stopped" - The status of the action.
- 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.
- Creation
Time string - When the action was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - 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 stringTime - 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_ stringtime - 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 StringTime - 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 stringTime - 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_ strtime - 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 StringTime - 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) -> Actionfunc 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
ActionSource, ActionSourceArgs
- Source
Uri string - The URI of the source.
- Source
Id string - The ID of the source.
- Source
Type 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.
- source_
uri string - The URI of the source.
- source_
id string - The ID of the source.
- source_
type 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.
- source
Uri string - The URI of the source.
- source
Id string - The ID of the source.
- source
Type 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.
- source
Uri String - The URI of the source.
- source
Id String - The ID of the source.
- source
Type String - The type of the source.
ActionStatus
The status of the action.
| Name | Value |
|---|---|
| Unknown | Unknown |
| In | InProgress |
| Completed | Completed |
| Failed | Failed |
| Stopping | Stopping |
| Stopped | Stopped |
| Name | Value |
|---|---|
| Action | Unknown |
| Action | InProgress |
| Action | Completed |
| Action | Failed |
| Action | Stopping |
| Action | Stopped |
| Value |
|---|
Unknown |
InProgress |
Completed |
Failed |
Stopping |
Stopped |
| Name | Value |
|---|---|
| Unknown | Unknown |
| In | InProgress |
| Completed | Completed |
| Failed | Failed |
| Stopping | Stopping |
| Stopped | Stopped |
| Name | Value |
|---|---|
| Unknown | Unknown |
| In | InProgress |
| Completed | Completed |
| Failed | Failed |
| Stopping | Stopping |
| Stopped | Stopped |
| Name | Value |
|---|---|
| UNKNOWN | Unknown |
| IN_PROGRESS | InProgress |
| COMPLETED | Completed |
| FAILED | Failed |
| STOPPING | Stopping |
| STOPPED | Stopped |
| Value |
|---|
Unknown |
InProgress |
Completed |
Failed |
Stopping |
Stopped |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi