We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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)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:
- Data
Access stringRole Arn - 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 stringEvaluation Role Arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- Encryption
Configuration Pulumi.Aws Native. Cloud Watch. Inputs. Space Encryption Configuration - How the space's data at rest is encrypted. Always populated.
- Name string
- A name that identifies the space.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Data
Access stringRole Arn - 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 stringEvaluation Role Arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- Encryption
Configuration SpaceEncryption Configuration Args - How the space's data at rest is encrypted. Always populated.
- Name string
- A name that identifies the space.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- data_
access_ stringrole_ arn - 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_ stringevaluation_ role_ arn - 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.
- list(object)
- An array of key-value pairs to apply to this resource.
- data
Access StringRole Arn - 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 StringEvaluation Role Arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- encryption
Configuration SpaceEncryption Configuration - How the space's data at rest is encrypted. Always populated.
- name String
- A name that identifies the space.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- data
Access stringRole Arn - 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 stringEvaluation Role Arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- encryption
Configuration SpaceEncryption Configuration - How the space's data at rest is encrypted. Always populated.
- name string
- A name that identifies the space.
- Tag[]
- An array of key-value pairs to apply to this resource.
- data_
access_ strrole_ arn - 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_ strevaluation_ role_ arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- encryption_
configuration SpaceEncryption Configuration Args - How the space's data at rest is encrypted. Always populated.
- name str
- A name that identifies the space.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- data
Access StringRole Arn - 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 StringEvaluation Role Arn - The ARN of the IAM role used by AgentCore online evaluation. Absent when the space was created without one.
- encryption
Configuration Property Map - How the space's data at rest is encrypted. Always populated.
- name String
- A name that identifies the space.
- 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.
- Created
At string - The timestamp when the space was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - 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
Pulumi.
Aws Native. Cloud Watch. Space Status - 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.
- Created
At string - The timestamp when the space was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - 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
Space
Status - 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.
- created_
at string - The timestamp when the space was created.
- id string
- The provider-assigned unique ID for this managed resource.
- owner_
account_ stringid - 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.
- created
At String - The timestamp when the space was created.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - 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
Space
Status - 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.
- created
At string - The timestamp when the space was created.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Account stringId - 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
Space
Status - The status of the space.
- updated
At 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_ strid - 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
Space
Status - 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.
- created
At String - The timestamp when the space was created.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - 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.
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) -> Spacefunc 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.
- Encryption
Strategy Pulumi.Aws Native. Cloud Watch. Space Encryption Configuration Encryption Strategy - Which kind of key to use. Required.
- Kms
Key stringArn - 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 SpaceEncryption Configuration Encryption Strategy - Which kind of key to use. Required.
- Kms
Key stringArn - 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_ stringarn - 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 SpaceEncryption Configuration Encryption Strategy - Which kind of key to use. Required.
- kms
Key StringArn - 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 SpaceEncryption Configuration Encryption Strategy - Which kind of key to use. Required.
- kms
Key stringArn - 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 SpaceEncryption Configuration Encryption Strategy - Which kind of key to use. Required.
- kms_
key_ strarn - 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 StringArn - 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.
| Name | Value |
|---|---|
| Aws | AWS_OWNED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Space | AWS_OWNED |
| Space | CUSTOMER_MANAGED |
| Value |
|---|
AWS_OWNED |
CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Aws | AWS_OWNED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Aws | AWS_OWNED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| AWS_OWNED | AWS_OWNED |
| CUSTOMER_MANAGED | CUSTOMER_MANAGED |
| Value |
|---|
AWS_OWNED |
CUSTOMER_MANAGED |
SpaceStatus
The status of the space.
| Name | Value |
|---|---|
| Active | ACTIVE |
| Suspended | SUSPENDED |
| Moving | MOVING |
| Name | Value |
|---|---|
| Space | ACTIVE |
| Space | SUSPENDED |
| Space | MOVING |
| Value |
|---|
ACTIVE |
SUSPENDED |
MOVING |
| Name | Value |
|---|---|
| Active | ACTIVE |
| Suspended | SUSPENDED |
| Moving | MOVING |
| Name | Value |
|---|---|
| Active | ACTIVE |
| Suspended | SUSPENDED |
| Moving | MOVING |
| Name | Value |
|---|---|
| ACTIVE | ACTIVE |
| SUSPENDED | SUSPENDED |
| MOVING | MOVING |
| Value |
|---|
ACTIVE |
SUSPENDED |
MOVING |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi