This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudWatch::Space
Resource type definition for AWS::CloudWatch::Space
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CloudWatch::Space", "Properties" : { "AgentCoreEvaluationRoleArn" :String, "DataAccessRoleArn" :String, "DomainId" :String, "EncryptionConfiguration" :EncryptionConfiguration, "Name" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::CloudWatch::Space Properties: AgentCoreEvaluationRoleArn:StringDataAccessRoleArn:StringDomainId:StringEncryptionConfiguration:EncryptionConfigurationName:StringTags:- Tag
Properties
AgentCoreEvaluationRoleArn-
The Amazon Resource Name (ARN) of the IAM role used for AgentCore evaluation.
Required: No
Type: String
Pattern:
^arn:.+$Minimum:
1Maximum:
2048Update requires: Replacement
DataAccessRoleArn-
The Amazon Resource Name (ARN) of the IAM role the space uses to access observability data.
Required: Yes
Type: String
Pattern:
^arn:.+$Minimum:
1Maximum:
2048Update requires: Replacement
DomainId-
The identifier of the domain the space belongs to.
Required: Yes
Type: String
Pattern:
^d-[0-9a-z]{1,25}$Update requires: Replacement
EncryptionConfiguration-
The encryption configuration for the space.
Required: No
Type: EncryptionConfiguration
Update requires: No interruption
Name-
The name of the space.
Required: Yes
Type: String
Pattern:
^[a-z0-9]+(-[a-z0-9]+)*$Minimum:
3Maximum:
64Update requires: No interruption
-
An array of key-value pairs to apply to this resource.
Required: No
Type: Array of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the value of the Arn property.
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
Arn-
The Amazon Resource Name (ARN) of the space.
CreatedAt-
The time the space was created.
OwnerAccountId-
The AWS account that owns the space.
Region-
The AWS Region the space resides in.
SpaceId-
The unique identifier of the space.
Status-
The status of the space.
UpdatedAt-
The time the space was last updated.