1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudwatch
  6. getSpace

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::CloudWatch::Space. A space is where you work in CloudWatch Omni. It gives you access to telemetry from the account and Region in which the space is hosted, and controls who can see it.

    Using getSpace

    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 getSpace(args: GetSpaceArgs, opts?: InvokeOptions): Promise<GetSpaceResult>
    function getSpaceOutput(args: GetSpaceOutputArgs, opts?: InvokeOutputOptions): Output<GetSpaceResult>
    def get_space(arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetSpaceResult
    def get_space_output(arn: pulumi.Input[Optional[str]] = None,
                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetSpaceResult]
    func LookupSpace(ctx *Context, args *LookupSpaceArgs, opts ...InvokeOption) (*LookupSpaceResult, error)
    func LookupSpaceOutput(ctx *Context, args *LookupSpaceOutputArgs, opts ...InvokeOption) LookupSpaceResultOutput

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

    public static class GetSpace 
    {
        public static Task<GetSpaceResult> InvokeAsync(GetSpaceArgs args, InvokeOptions? opts = null)
        public static Output<GetSpaceResult> Invoke(GetSpaceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSpaceResult> Invoke(GetSpaceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
    public static Output<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
    public static Output<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:cloudwatch:getSpace
      arguments:
        # arguments dictionary
    data "aws-native_cloudwatch_get_space" "name" {
        # arguments
    }

    The following arguments are supported:

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

    getSpace Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the space.
    CreatedAt string
    The timestamp when the space was created.
    EncryptionConfiguration Pulumi.AwsNative.CloudWatch.Outputs.SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    Name string
    A name that identifies the space.
    OwnerAccountId string
    AWS account ID that owns this space.
    Region string
    The region where this space was created.
    SpaceId string
    The unique ID of the space.
    Status Pulumi.AwsNative.CloudWatch.SpaceStatus
    The status of the space.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    UpdatedAt string
    The timestamp when the space was last updated.
    Arn string
    The Amazon Resource Name (ARN) of the space.
    CreatedAt string
    The timestamp when the space was created.
    EncryptionConfiguration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    Name string
    A name that identifies the space.
    OwnerAccountId string
    AWS account ID that owns this space.
    Region string
    The region where this space was created.
    SpaceId string
    The unique ID of the space.
    Status SpaceStatus
    The status of the space.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    UpdatedAt string
    The timestamp when the space was last updated.
    arn string
    The Amazon Resource Name (ARN) of the space.
    created_at string
    The timestamp when the space was created.
    encryption_configuration object
    How the space's data at rest is encrypted. Always populated.
    name string
    A name that identifies the space.
    owner_account_id string
    AWS account ID that owns this space.
    region string
    The region where this space was created.
    space_id string
    The unique ID of the space.
    status "ACTIVE" | "SUSPENDED" | "MOVING"
    The status of the space.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    updated_at string
    The timestamp when the space was last updated.
    arn String
    The Amazon Resource Name (ARN) of the space.
    createdAt String
    The timestamp when the space was created.
    encryptionConfiguration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    name String
    A name that identifies the space.
    ownerAccountId String
    AWS account ID that owns this space.
    region String
    The region where this space was created.
    spaceId String
    The unique ID of the space.
    status SpaceStatus
    The status of the space.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    updatedAt String
    The timestamp when the space was last updated.
    arn string
    The Amazon Resource Name (ARN) of the space.
    createdAt string
    The timestamp when the space was created.
    encryptionConfiguration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    name string
    A name that identifies the space.
    ownerAccountId string
    AWS account ID that owns this space.
    region string
    The region where this space was created.
    spaceId string
    The unique ID of the space.
    status SpaceStatus
    The status of the space.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    updatedAt string
    The timestamp when the space was last updated.
    arn str
    The Amazon Resource Name (ARN) of the space.
    created_at str
    The timestamp when the space was created.
    encryption_configuration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    name str
    A name that identifies the space.
    owner_account_id str
    AWS account ID that owns this space.
    region str
    The region where this space was created.
    space_id str
    The unique ID of the space.
    status SpaceStatus
    The status of the space.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    updated_at str
    The timestamp when the space was last updated.
    arn String
    The Amazon Resource Name (ARN) of the space.
    createdAt String
    The timestamp when the space was created.
    encryptionConfiguration Property Map
    How the space's data at rest is encrypted. Always populated.
    name String
    A name that identifies the space.
    ownerAccountId String
    AWS account ID that owns this space.
    region String
    The region where this space was created.
    spaceId String
    The unique ID of the space.
    status "ACTIVE" | "SUSPENDED" | "MOVING"
    The status of the space.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    updatedAt String
    The timestamp when the space was last updated.

    Supporting Types

    SpaceEncryptionConfiguration

    EncryptionStrategy Pulumi.AwsNative.CloudWatch.SpaceEncryptionConfigurationEncryptionStrategy
    Which kind of key to use. Required.
    KmsKeyArn string
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    EncryptionStrategy SpaceEncryptionConfigurationEncryptionStrategy
    Which kind of key to use. Required.
    KmsKeyArn string
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    encryption_strategy "AWS_OWNED" | "CUSTOMER_MANAGED"
    Which kind of key to use. Required.
    kms_key_arn string
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    encryptionStrategy SpaceEncryptionConfigurationEncryptionStrategy
    Which kind of key to use. Required.
    kmsKeyArn String
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    encryptionStrategy SpaceEncryptionConfigurationEncryptionStrategy
    Which kind of key to use. Required.
    kmsKeyArn string
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    encryption_strategy SpaceEncryptionConfigurationEncryptionStrategy
    Which kind of key to use. Required.
    kms_key_arn str
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
    encryptionStrategy "AWS_OWNED" | "CUSTOMER_MANAGED"
    Which kind of key to use. Required.
    kmsKeyArn String
    Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.

    SpaceEncryptionConfigurationEncryptionStrategy

    NameValue
    AwsOwnedAWS_OWNED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    SpaceEncryptionConfigurationEncryptionStrategyAwsOwnedAWS_OWNED
    SpaceEncryptionConfigurationEncryptionStrategyCustomerManagedCUSTOMER_MANAGED
    Value
    AWS_OWNED
    CUSTOMER_MANAGED
    NameValue
    AwsOwnedAWS_OWNED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    AwsOwnedAWS_OWNED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    AWS_OWNEDAWS_OWNED
    CUSTOMER_MANAGEDCUSTOMER_MANAGED
    Value
    AWS_OWNED
    CUSTOMER_MANAGED

    SpaceStatus

    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    MovingMOVING
    NameValue
    SpaceStatusActiveACTIVE
    SpaceStatusSuspendedSUSPENDED
    SpaceStatusMovingMOVING
    Value
    ACTIVE
    SUSPENDED
    MOVING
    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    MovingMOVING
    NameValue
    ActiveACTIVE
    SuspendedSUSPENDED
    MovingMOVING
    NameValue
    ACTIVEACTIVE
    SUSPENDEDSUSPENDED
    MOVINGMOVING
    Value
    ACTIVE
    SUSPENDED
    MOVING

    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 AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial