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

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

Viewing docs for AWS Cloud Control v1.73.1
published on Monday, Jul 27, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.73.1
published on Monday, Jul 27, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::Hub

    Using getHub

    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 getHub(args: GetHubArgs, opts?: InvokeOptions): Promise<GetHubResult>
    function getHubOutput(args: GetHubOutputArgs, opts?: InvokeOptions): Output<GetHubResult>
    def get_hub(hub_arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetHubResult
    def get_hub_output(hub_arn: pulumi.Input[Optional[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetHubResult]
    func LookupHub(ctx *Context, args *LookupHubArgs, opts ...InvokeOption) (*LookupHubResult, error)
    func LookupHubOutput(ctx *Context, args *LookupHubOutputArgs, opts ...InvokeOption) LookupHubResultOutput

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

    public static class GetHub 
    {
        public static Task<GetHubResult> InvokeAsync(GetHubArgs args, InvokeOptions? opts = null)
        public static Output<GetHubResult> Invoke(GetHubInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
    public static Output<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getHub
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_hub" "name" {
        # arguments
    }

    The following arguments are supported:

    HubArn string
    The Amazon Resource Name (ARN) of the hub.
    HubArn string
    The Amazon Resource Name (ARN) of the hub.
    hub_arn string
    The Amazon Resource Name (ARN) of the hub.
    hubArn String
    The Amazon Resource Name (ARN) of the hub.
    hubArn string
    The Amazon Resource Name (ARN) of the hub.
    hub_arn str
    The Amazon Resource Name (ARN) of the hub.
    hubArn String
    The Amazon Resource Name (ARN) of the hub.

    getHub Result

    The following output properties are available:

    CreationTime string
    The date and time that the hub was created.
    HubArn string
    The Amazon Resource Name (ARN) of the hub.
    HubDescription string
    A description of the hub.
    HubDisplayName string
    The display name of the hub.
    HubSearchKeywords List<string>
    The searchable keywords for the hub.
    HubStatus Pulumi.AwsNative.SageMaker.HubStatus
    The status of the hub.
    LastModifiedTime string
    The date and time that the hub was last modified.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to associate with the hub.
    CreationTime string
    The date and time that the hub was created.
    HubArn string
    The Amazon Resource Name (ARN) of the hub.
    HubDescription string
    A description of the hub.
    HubDisplayName string
    The display name of the hub.
    HubSearchKeywords []string
    The searchable keywords for the hub.
    HubStatus HubStatus
    The status of the hub.
    LastModifiedTime string
    The date and time that the hub was last modified.
    Tags Tag
    Tags to associate with the hub.
    creation_time string
    The date and time that the hub was created.
    hub_arn string
    The Amazon Resource Name (ARN) of the hub.
    hub_description string
    A description of the hub.
    hub_display_name string
    The display name of the hub.
    hub_search_keywords list(string)
    The searchable keywords for the hub.
    hub_status "InService" | "Creating" | "Updating" | "Deleting" | "CreateFailed" | "UpdateFailed" | "DeleteFailed"
    The status of the hub.
    last_modified_time string
    The date and time that the hub was last modified.
    tags list(object)
    Tags to associate with the hub.
    creationTime String
    The date and time that the hub was created.
    hubArn String
    The Amazon Resource Name (ARN) of the hub.
    hubDescription String
    A description of the hub.
    hubDisplayName String
    The display name of the hub.
    hubSearchKeywords List<String>
    The searchable keywords for the hub.
    hubStatus HubStatus
    The status of the hub.
    lastModifiedTime String
    The date and time that the hub was last modified.
    tags List<Tag>
    Tags to associate with the hub.
    creationTime string
    The date and time that the hub was created.
    hubArn string
    The Amazon Resource Name (ARN) of the hub.
    hubDescription string
    A description of the hub.
    hubDisplayName string
    The display name of the hub.
    hubSearchKeywords string[]
    The searchable keywords for the hub.
    hubStatus HubStatus
    The status of the hub.
    lastModifiedTime string
    The date and time that the hub was last modified.
    tags Tag[]
    Tags to associate with the hub.
    creation_time str
    The date and time that the hub was created.
    hub_arn str
    The Amazon Resource Name (ARN) of the hub.
    hub_description str
    A description of the hub.
    hub_display_name str
    The display name of the hub.
    hub_search_keywords Sequence[str]
    The searchable keywords for the hub.
    hub_status HubStatus
    The status of the hub.
    last_modified_time str
    The date and time that the hub was last modified.
    tags Sequence[root_Tag]
    Tags to associate with the hub.
    creationTime String
    The date and time that the hub was created.
    hubArn String
    The Amazon Resource Name (ARN) of the hub.
    hubDescription String
    A description of the hub.
    hubDisplayName String
    The display name of the hub.
    hubSearchKeywords List<String>
    The searchable keywords for the hub.
    hubStatus "InService" | "Creating" | "Updating" | "Deleting" | "CreateFailed" | "UpdateFailed" | "DeleteFailed"
    The status of the hub.
    lastModifiedTime String
    The date and time that the hub was last modified.
    tags List<Property Map>
    Tags to associate with the hub.

    Supporting Types

    HubStatus

    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

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

    Viewing docs for AWS Cloud Control v1.73.1
    published on Monday, Jul 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial