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

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.

    Create Space Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Space(name: string, args: SpaceArgs, opts?: CustomResourceOptions);
    @overload
    def Space(resource_name: str,
              args: SpaceArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Space(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              data_access_role_arn: Optional[str] = None,
              domain_id: Optional[str] = None,
              agent_core_evaluation_role_arn: Optional[str] = None,
              encryption_configuration: Optional[SpaceEncryptionConfigurationArgs] = None,
              name: Optional[str] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewSpace(ctx *Context, name string, args SpaceArgs, opts ...ResourceOption) (*Space, error)
    public Space(string name, SpaceArgs args, CustomResourceOptions? opts = null)
    public Space(String name, SpaceArgs args)
    public Space(String name, SpaceArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudwatch:Space
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_cloudwatch_space" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Space Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Space resource accepts the following input properties:

    DataAccessRoleArn string
    The ARN of the IAM role used for data access.
    DomainId string
    The ID of the domain to create the space in.
    AgentCoreEvaluationRoleArn string
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    EncryptionConfiguration Pulumi.AwsNative.CloudWatch.Inputs.SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    Name string
    A name that identifies the space.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    DataAccessRoleArn string
    The ARN of the IAM role used for data access.
    DomainId string
    The ID of the domain to create the space in.
    AgentCoreEvaluationRoleArn string
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    EncryptionConfiguration SpaceEncryptionConfigurationArgs
    How the space's data at rest is encrypted. Always populated.
    Name string
    A name that identifies the space.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    data_access_role_arn string
    The ARN of the IAM role used for data access.
    domain_id string
    The ID of the domain to create the space in.
    agent_core_evaluation_role_arn string
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    encryption_configuration object
    How the space's data at rest is encrypted. Always populated.
    name string
    A name that identifies the space.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    dataAccessRoleArn String
    The ARN of the IAM role used for data access.
    domainId String
    The ID of the domain to create the space in.
    agentCoreEvaluationRoleArn String
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    encryptionConfiguration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    name String
    A name that identifies the space.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    dataAccessRoleArn string
    The ARN of the IAM role used for data access.
    domainId string
    The ID of the domain to create the space in.
    agentCoreEvaluationRoleArn string
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    encryptionConfiguration SpaceEncryptionConfiguration
    How the space's data at rest is encrypted. Always populated.
    name string
    A name that identifies the space.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    data_access_role_arn str
    The ARN of the IAM role used for data access.
    domain_id str
    The ID of the domain to create the space in.
    agent_core_evaluation_role_arn str
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    encryption_configuration SpaceEncryptionConfigurationArgs
    How the space's data at rest is encrypted. Always populated.
    name str
    A name that identifies the space.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    dataAccessRoleArn String
    The ARN of the IAM role used for data access.
    domainId String
    The ID of the domain to create the space in.
    agentCoreEvaluationRoleArn String
    The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
    encryptionConfiguration Property Map
    How the space's data at rest is encrypted. Always populated.
    name String
    A name that identifies the space.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Space resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the space.
    CreatedAt string
    The timestamp when the space was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    updatedAt String
    The timestamp when the space was last updated.

    Look up Existing Space Resource

    Get an existing Space resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Space
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Space
    func GetSpace(ctx *Context, name string, id IDInput, state *SpaceState, opts ...ResourceOption) (*Space, error)
    public static Space Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Space get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingSpace:    type: aws-native:cloudwatch:Space    get:      id: ${id}
    import {
      to = aws-native_cloudwatch_space.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state SpaceState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    SpaceEncryptionConfiguration, SpaceEncryptionConfigurationArgs

    The encryption configuration for the space.

    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

    Which kind of key to use. Required.

    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

    The status of the space.

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

    A set of tags to apply to the resource.

    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