Skip to content

CreateSpaceInput

Source code in docs_src/capo_cloudwatchomni/types/create_space_input.py
class CreateSpaceInput(TypedDict, closed=True):
    name: "str"
    """A name that identifies the space. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens."""
    domain_id: "capo_cloudwatchomni.types.domain_id.DomainId"
    """The ID of the domain to create the space in."""
    data_access_role_arn: "capo_cloudwatchomni.types.arn.Arn"
    """The ARN of the IAM role used for data access. The role must be in the caller's account."""
    agent_core_evaluation_role_arn: NotRequired["capo_cloudwatchomni.types.arn.Arn"]
    """The ARN of the IAM role used by AgentCore online evaluation. Must be in the caller's account. Omit if the space does not use AgentCore online evaluation."""
    encryption_configuration: NotRequired[
        "capo_cloudwatchomni.types.encryption_configuration.EncryptionConfiguration"
    ]
    """How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passing `encryptionStrategy` AWS_OWNED."""
    tags: NotRequired["capo_cloudwatchomni.types.tag_map.TagMap"]
    """The tags to associate with the space."""
    client_token: NotRequired["capo_cloudwatchomni.types.client_token.ClientToken"]
    """Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate."""

agent_core_evaluation_role_arn instance-attribute

agent_core_evaluation_role_arn: NotRequired[Arn]

The ARN of the IAM role used by AgentCore online evaluation. Must be in the caller's account. Omit if the space does not use AgentCore online evaluation.

client_token instance-attribute

client_token: NotRequired[ClientToken]

Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.

data_access_role_arn instance-attribute

data_access_role_arn: Arn

The ARN of the IAM role used for data access. The role must be in the caller's account.

domain_id instance-attribute

domain_id: DomainId

The ID of the domain to create the space in.

encryption_configuration instance-attribute

encryption_configuration: NotRequired[EncryptionConfiguration]

How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passing encryptionStrategy AWS_OWNED.

name instance-attribute

name: str

A name that identifies the space. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to associate with the space.