We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi
Resource type definition for AWS::SageMaker::Context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities.
Create Context Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Context(name: string, args: ContextArgs, opts?: CustomResourceOptions);@overload
def Context(resource_name: str,
args: ContextArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Context(resource_name: str,
opts: Optional[ResourceOptions] = None,
context_type: Optional[str] = None,
source: Optional[SourcePropertiesArgs] = None,
context_name: Optional[str] = None,
description: Optional[str] = None,
properties: Optional[Mapping[str, str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewContext(ctx *Context, name string, args ContextArgs, opts ...ResourceOption) (*Context, error)public Context(string name, ContextArgs args, CustomResourceOptions? opts = null)
public Context(String name, ContextArgs args)
public Context(String name, ContextArgs args, CustomResourceOptions options)
type: aws-native:sagemaker:Context
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_sagemaker_context" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ContextArgs
- 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 ContextArgs
- 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 ContextArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContextArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Context 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 Context resource accepts the following input properties:
- Context
Type string - The context type.
- Source
Pulumi.
Aws Native. Sage Maker. Inputs. Source Properties - The source type, ID, and URI.
- Context
Name string - The name of the context. Must be unique to your account in an AWS Region.
- Description string
- The description of the context.
- Properties Dictionary<string, string>
- A list of properties to add to the context.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to apply to the context.
- Context
Type string - The context type.
- Source
Source
Properties Args - The source type, ID, and URI.
- Context
Name string - The name of the context. Must be unique to your account in an AWS Region.
- Description string
- The description of the context.
- Properties map[string]string
- A list of properties to add to the context.
-
Tag
Args - A list of tags to apply to the context.
- context_
type string - The context type.
- source object
- The source type, ID, and URI.
- context_
name string - The name of the context. Must be unique to your account in an AWS Region.
- description string
- The description of the context.
- properties map(string)
- A list of properties to add to the context.
- list(object)
- A list of tags to apply to the context.
- context
Type String - The context type.
- source
Source
Properties - The source type, ID, and URI.
- context
Name String - The name of the context. Must be unique to your account in an AWS Region.
- description String
- The description of the context.
- properties Map<String,String>
- A list of properties to add to the context.
- List<Tag>
- A list of tags to apply to the context.
- context
Type string - The context type.
- source
Source
Properties - The source type, ID, and URI.
- context
Name string - The name of the context. Must be unique to your account in an AWS Region.
- description string
- The description of the context.
- properties {[key: string]: string}
- A list of properties to add to the context.
- Tag[]
- A list of tags to apply to the context.
- context_
type str - The context type.
- source
Source
Properties Args - The source type, ID, and URI.
- context_
name str - The name of the context. Must be unique to your account in an AWS Region.
- description str
- The description of the context.
- properties Mapping[str, str]
- A list of properties to add to the context.
-
Sequence[Tag
Args] - A list of tags to apply to the context.
- context
Type String - The context type.
- source Property Map
- The source type, ID, and URI.
- context
Name String - The name of the context. Must be unique to your account in an AWS Region.
- description String
- The description of the context.
- properties Map<String>
- A list of properties to add to the context.
- List<Property Map>
- A list of tags to apply to the context.
Outputs
All input properties are implicitly available as output properties. Additionally, the Context resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the context.
- Creation
Time string - When the context was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - When the context was last modified.
- Arn string
- The Amazon Resource Name (ARN) of the context.
- Creation
Time string - When the context was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - When the context was last modified.
- arn string
- The Amazon Resource Name (ARN) of the context.
- creation_
time string - When the context was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
modified_ stringtime - When the context was last modified.
- arn String
- The Amazon Resource Name (ARN) of the context.
- creation
Time String - When the context was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - When the context was last modified.
- arn string
- The Amazon Resource Name (ARN) of the context.
- creation
Time string - When the context was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringTime - When the context was last modified.
- arn str
- The Amazon Resource Name (ARN) of the context.
- creation_
time str - When the context was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strtime - When the context was last modified.
- arn String
- The Amazon Resource Name (ARN) of the context.
- creation
Time String - When the context was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringTime - When the context was last modified.
Supporting Types
SourceProperties, SourcePropertiesArgs
The source type, ID, and URI.- 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.
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 17, 2026 by Pulumi