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

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

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::Experiment. An experiment is a collection of related trials used to organize and track machine learning workflows.

    Using getExperiment

    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 getExperiment(args: GetExperimentArgs, opts?: InvokeOptions): Promise<GetExperimentResult>
    function getExperimentOutput(args: GetExperimentOutputArgs, opts?: InvokeOutputOptions): Output<GetExperimentResult>
    def get_experiment(arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetExperimentResult
    def get_experiment_output(arn: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetExperimentResult]
    func LookupExperiment(ctx *Context, args *LookupExperimentArgs, opts ...InvokeOption) (*LookupExperimentResult, error)
    func LookupExperimentOutput(ctx *Context, args *LookupExperimentOutputArgs, opts ...InvokeOption) LookupExperimentResultOutput

    > Note: This function is named LookupExperiment in the Go SDK.

    public static class GetExperiment 
    {
        public static Task<GetExperimentResult> InvokeAsync(GetExperimentArgs args, InvokeOptions? opts = null)
        public static Output<GetExperimentResult> Invoke(GetExperimentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetExperimentResult> Invoke(GetExperimentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetExperimentResult> getExperiment(GetExperimentArgs args, InvokeOptions options)
    public static Output<GetExperimentResult> getExperiment(GetExperimentArgs args, InvokeOptions options)
    public static Output<GetExperimentResult> getExperiment(GetExperimentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getExperiment
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_experiment" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the experiment.
    Arn string
    The Amazon Resource Name (ARN) of the experiment.
    arn string
    The Amazon Resource Name (ARN) of the experiment.
    arn String
    The Amazon Resource Name (ARN) of the experiment.
    arn string
    The Amazon Resource Name (ARN) of the experiment.
    arn str
    The Amazon Resource Name (ARN) of the experiment.
    arn String
    The Amazon Resource Name (ARN) of the experiment.

    getExperiment Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the experiment.
    CreationTime string
    When the experiment was created.
    Description string
    The description of the experiment.
    DisplayName string
    The name of the experiment as displayed. The name does not need to be unique.
    LastModifiedTime string
    When the experiment was last modified.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags to associate with the experiment.
    Arn string
    The Amazon Resource Name (ARN) of the experiment.
    CreationTime string
    When the experiment was created.
    Description string
    The description of the experiment.
    DisplayName string
    The name of the experiment as displayed. The name does not need to be unique.
    LastModifiedTime string
    When the experiment was last modified.
    Tags Tag
    A list of tags to associate with the experiment.
    arn string
    The Amazon Resource Name (ARN) of the experiment.
    creation_time string
    When the experiment was created.
    description string
    The description of the experiment.
    display_name string
    The name of the experiment as displayed. The name does not need to be unique.
    last_modified_time string
    When the experiment was last modified.
    tags list(object)
    A list of tags to associate with the experiment.
    arn String
    The Amazon Resource Name (ARN) of the experiment.
    creationTime String
    When the experiment was created.
    description String
    The description of the experiment.
    displayName String
    The name of the experiment as displayed. The name does not need to be unique.
    lastModifiedTime String
    When the experiment was last modified.
    tags List<Tag>
    A list of tags to associate with the experiment.
    arn string
    The Amazon Resource Name (ARN) of the experiment.
    creationTime string
    When the experiment was created.
    description string
    The description of the experiment.
    displayName string
    The name of the experiment as displayed. The name does not need to be unique.
    lastModifiedTime string
    When the experiment was last modified.
    tags Tag[]
    A list of tags to associate with the experiment.
    arn str
    The Amazon Resource Name (ARN) of the experiment.
    creation_time str
    When the experiment was created.
    description str
    The description of the experiment.
    display_name str
    The name of the experiment as displayed. The name does not need to be unique.
    last_modified_time str
    When the experiment was last modified.
    tags Sequence[root_Tag]
    A list of tags to associate with the experiment.
    arn String
    The Amazon Resource Name (ARN) of the experiment.
    creationTime String
    When the experiment was created.
    description String
    The description of the experiment.
    displayName String
    The name of the experiment as displayed. The name does not need to be unique.
    lastModifiedTime String
    When the experiment was last modified.
    tags List<Property Map>
    A list of tags to associate with the experiment.

    Supporting Types

    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 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

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

    Viewing docs for AWS Cloud Control v1.75.0
    published on Monday, Aug 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial