1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. awsexternalanthropic
  6. getWorkspace

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

Viewing docs for AWS Cloud Control v1.67.0
published on Monday, May 25, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.67.0
published on Monday, May 25, 2026 by Pulumi

    Resource type definition for AWS::AWSExternalAnthropic::Workspace

    Using getWorkspace

    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 getWorkspace(args: GetWorkspaceArgs, opts?: InvokeOptions): Promise<GetWorkspaceResult>
    function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceResult>
    def get_workspace(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetWorkspaceResult
    def get_workspace_output(arn: pulumi.Input[Optional[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceResult]
    func LookupWorkspace(ctx *Context, args *LookupWorkspaceArgs, opts ...InvokeOption) (*LookupWorkspaceResult, error)
    func LookupWorkspaceOutput(ctx *Context, args *LookupWorkspaceOutputArgs, opts ...InvokeOption) LookupWorkspaceResultOutput

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

    public static class GetWorkspace 
    {
        public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkspaceResult> Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
    public static Output<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:awsexternalanthropic:getWorkspace
      arguments:
        # arguments dictionary
    data "aws-native_awsexternalanthropic_getworkspace" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The ARN of the workspace.
    Arn string
    The ARN of the workspace.
    arn string
    The ARN of the workspace.
    arn String
    The ARN of the workspace.
    arn string
    The ARN of the workspace.
    arn str
    The ARN of the workspace.
    arn String
    The ARN of the workspace.

    getWorkspace Result

    The following output properties are available:

    Arn string
    The ARN of the workspace.
    CreatedAt string
    The timestamp when the workspace was created.
    Id string
    The unique identifier of the workspace.
    Name string
    The name of the workspace.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The ARN of the workspace.
    CreatedAt string
    The timestamp when the workspace was created.
    Id string
    The unique identifier of the workspace.
    Name string
    The name of the workspace.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn string
    The ARN of the workspace.
    created_at string
    The timestamp when the workspace was created.
    id string
    The unique identifier of the workspace.
    name string
    The name of the workspace.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the workspace.
    createdAt String
    The timestamp when the workspace was created.
    id String
    The unique identifier of the workspace.
    name String
    The name of the workspace.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The ARN of the workspace.
    createdAt string
    The timestamp when the workspace was created.
    id string
    The unique identifier of the workspace.
    name string
    The name of the workspace.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The ARN of the workspace.
    created_at str
    The timestamp when the workspace was created.
    id str
    The unique identifier of the workspace.
    name str
    The name of the workspace.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the workspace.
    createdAt String
    The timestamp when the workspace was created.
    id String
    The unique identifier of the workspace.
    name String
    The name of the workspace.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    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

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

    Viewing docs for AWS Cloud Control v1.67.0
    published on Monday, May 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial