We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 3, 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.
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, ActionStatusArgs
- Unknown
Unknown- In
Progress InProgress- Completed
Completed- Failed
Failed- Stopping
Stopping- Stopped
Stopped
- Action
Status Unknown Unknown- Action
Status In Progress InProgress- Action
Status Completed Completed- Action
Status Failed Failed- Action
Status Stopping Stopping- Action
Status Stopped Stopped
- "Unknown"
Unknown- "In
Progress" InProgress- "Completed"
Completed- "Failed"
Failed- "Stopping"
Stopping- "Stopped"
Stopped
- Unknown
Unknown- In
Progress InProgress- Completed
Completed- Failed
Failed- Stopping
Stopping- Stopped
Stopped
- Unknown
Unknown- In
Progress InProgress- Completed
Completed- Failed
Failed- Stopping
Stopping- Stopped
Stopped
- UNKNOWN
Unknown- IN_PROGRESS
InProgress- COMPLETED
Completed- FAILED
Failed- STOPPING
Stopping- STOPPED
Stopped
- "Unknown"
Unknown- "In
Progress" InProgress- "Completed"
Completed- "Failed"
Failed- "Stopping"
Stopping- "Stopped"
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 Monday, Aug 3, 2026 by Pulumi