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.
Using getContext
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getContext(args: GetContextArgs, opts?: InvokeOptions): Promise<GetContextResult>
function getContextOutput(args: GetContextOutputArgs, opts?: InvokeOutputOptions): Output<GetContextResult>def get_context(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContextResult
def get_context_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetContextResult]func LookupContext(ctx *Context, args *LookupContextArgs, opts ...InvokeOption) (*LookupContextResult, error)
func LookupContextOutput(ctx *Context, args *LookupContextOutputArgs, opts ...InvokeOption) LookupContextResultOutput> Note: This function is named LookupContext in the Go SDK.
public static class GetContext
{
public static Task<GetContextResult> InvokeAsync(GetContextArgs args, InvokeOptions? opts = null)
public static Output<GetContextResult> Invoke(GetContextInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetContextResult> Invoke(GetContextInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetContextResult> getContext(GetContextArgs args, InvokeOptions options)
public static Output<GetContextResult> getContext(GetContextArgs args, InvokeOptions options)
public static Output<GetContextResult> getContext(GetContextArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:sagemaker:getContext
arguments:
# arguments dictionarydata "aws-native_sagemaker_get_context" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the context.
- Arn string
- The Amazon Resource Name (ARN) of the context.
- arn string
- The Amazon Resource Name (ARN) of the context.
- arn String
- The Amazon Resource Name (ARN) of the context.
- arn string
- The Amazon Resource Name (ARN) of the context.
- arn str
- The Amazon Resource Name (ARN) of the context.
- arn String
- The Amazon Resource Name (ARN) of the context.
getContext Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the context.
- Creation
Time string - When the context was created.
- Description string
- The description of the context.
- Last
Modified stringTime - When the context was last modified.
- Properties Dictionary<string, string>
- A list of properties to add to the context.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of tags to apply to the context.
- Arn string
- The Amazon Resource Name (ARN) of the context.
- Creation
Time string - When the context was created.
- Description string
- The description of the context.
- Last
Modified stringTime - When the context was last modified.
- Properties map[string]string
- A list of properties to add to the context.
- Tag
- A list of tags to apply to the context.
- arn string
- The Amazon Resource Name (ARN) of the context.
- creation_
time string - When the context was created.
- description string
- The description of the context.
- last_
modified_ stringtime - When the context was last modified.
- properties map(string)
- A list of properties to add to the context.
- list(object)
- A list of tags to apply to the context.
- arn String
- The Amazon Resource Name (ARN) of the context.
- creation
Time String - When the context was created.
- description String
- The description of the context.
- last
Modified StringTime - When the context was last modified.
- properties Map<String,String>
- A list of properties to add to the context.
- List<Tag>
- A list of tags to apply to the context.
- arn string
- The Amazon Resource Name (ARN) of the context.
- creation
Time string - When the context was created.
- description string
- The description of the context.
- last
Modified stringTime - When the context was last modified.
- properties {[key: string]: string}
- A list of properties to add to the context.
- Tag[]
- A list of tags to apply to the context.
- arn str
- The Amazon Resource Name (ARN) of the context.
- creation_
time str - When the context was created.
- description str
- The description of the context.
- last_
modified_ strtime - When the context was last modified.
- properties Mapping[str, str]
- A list of properties to add to the context.
- Sequence[root_Tag]
- A list of tags to apply to the context.
- arn String
- The Amazon Resource Name (ARN) of the context.
- creation
Time String - When the context was created.
- description String
- The description of the context.
- last
Modified StringTime - When the context was last modified.
- properties Map<String>
- A list of properties to add to the context.
- List<Property Map>
- A list of tags to apply to the context.
Supporting Types
Tag
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