Skip to main content

monitors

Creates, updates, deletes or gets a monitor resource or lists monitors in a region

Overview

Namemonitors
TypeResource
DescriptionDefinition of AWS::Deadline::Monitor Resource Type
Idaws.deadline.monitors

Fields

NameDatatypeDescription
display_namestring
identity_center_application_arnstring
identity_center_instance_arnstring
monitor_idstring
role_arnstring
subdomainstring
urlstring
arnstring
regionstringAWS region.

For more information, see AWS::Deadline::Monitor.

Methods

NameAccessible byRequired Params
create_resourceINSERTDisplayName, IdentityCenterInstanceArn, RoleArn, Subdomain, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all monitors in a region.

SELECT
region,
display_name,
identity_center_application_arn,
identity_center_instance_arn,
monitor_id,
role_arn,
subdomain,
url,
arn
FROM aws.deadline.monitors
WHERE region = 'us-east-1';

Gets all properties from an individual monitor.

SELECT
region,
display_name,
identity_center_application_arn,
identity_center_instance_arn,
monitor_id,
role_arn,
subdomain,
url,
arn
FROM aws.deadline.monitors
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new monitor resource, using stack-deploy.

/*+ create */
INSERT INTO aws.deadline.monitors (
DisplayName,
IdentityCenterInstanceArn,
RoleArn,
Subdomain,
region
)
SELECT
'{{ DisplayName }}',
'{{ IdentityCenterInstanceArn }}',
'{{ RoleArn }}',
'{{ Subdomain }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.deadline.monitors
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

To operate on the monitors resource, the following permissions are required:

Create

deadline:CreateMonitor,
deadline:GetMonitor,
iam:PassRole,
kms:CreateGrant,
sso:CreateApplication,
sso:DeleteApplication,
sso:PutApplicationAssignmentConfiguration,
sso:PutApplicationAuthenticationMethod,
sso:PutApplicationGrant

Read

deadline:GetMonitor

Update

deadline:GetMonitor,
deadline:UpdateMonitor,
iam:PassRole,
kms:CreateGrant,
sso:PutApplicationGrant,
sso:UpdateApplication

Delete

deadline:DeleteMonitor,
deadline:GetMonitor,
sso:DeleteApplication

List

deadline:ListMonitors