workspace
Gets an individual workspace
resource
Overview
Name | workspace |
Type | Resource |
Description | workspace |
Id | awscc.aps.workspace |
Fields
Name | Datatype | Description |
---|---|---|
workspace_id | string | Required to identify a specific APS Workspace. |
alias | string | AMP Workspace alias. |
arn | string | Workspace arn. |
alert_manager_definition | string | The AMP Workspace alert manager definition data |
prometheus_endpoint | string | AMP Workspace prometheus endpoint |
logging_configuration | object | |
kms_key_arn | string | KMS Key ARN used to encrypt and decrypt AMP workspace data. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
workspace_id,
alias,
arn,
alert_manager_definition,
prometheus_endpoint,
logging_configuration,
kms_key_arn,
tags
FROM awscc.aps.workspace
WHERE data__Identifier = '<Arn>';
Permissions
To operate on the workspace
resource, the following permissions are required:
Read
aps:DescribeWorkspace,
aps:ListTagsForResource,
aps:DescribeAlertManagerDefinition,
aps:DescribeLoggingConfiguration
Update
aps:UpdateWorkspaceAlias,
aps:DescribeWorkspace,
aps:TagResource,
aps:UntagResource,
aps:ListTagsForResource,
aps:CreateAlertManagerDefinition,
aps:PutAlertManagerDefinition,
aps:DeleteAlertManagerDefinition,
aps:CreateLoggingConfiguration,
aps:DescribeLoggingConfiguration,
aps:UpdateLoggingConfiguration,
aps:DeleteLoggingConfiguration,
logs:CreateLogDelivery,
logs:GetLogDelivery,
logs:UpdateLogDelivery,
logs:ListLogDeliveries,
logs:DeleteLogDelivery,
logs:PutResourcePolicy
Delete
aps:DeleteWorkspace,
aps:DescribeWorkspace,
aps:DeleteAlertManagerDefinition,
aps:DeleteLoggingConfiguration,
logs:DeleteLogDelivery