Skip to main content

launches

Creates, updates, deletes or gets a launch resource or lists launches in a region

Overview

Namelaunches
TypeResource
DescriptionResource Type definition for AWS::Evidently::Launch.
Idaws.evidently.launches

Fields

NameDatatypeDescription
arnstring
namestring
projectstring
descriptionstring
randomization_saltstring
scheduled_splits_configarray
groupsarray
metric_monitorsarray
tagsarrayAn array of key-value pairs to apply to this resource.
execution_statusobjectStart or Stop Launch Launch. Default is not started.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Project, Groups, ScheduledSplitsConfig, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual launch.

SELECT
region,
arn,
name,
project,
description,
randomization_salt,
scheduled_splits_config,
groups,
metric_monitors,
tags,
execution_status
FROM aws.evidently.launches
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.evidently.launches (
Name,
Project,
ScheduledSplitsConfig,
Groups,
region
)
SELECT
'{{ Name }}',
'{{ Project }}',
'{{ ScheduledSplitsConfig }}',
'{{ Groups }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

evidently:CreateLaunch,
evidently:TagResource,
evidently:GetLaunch,
evidently:StartLaunch

Read

evidently:GetLaunch,
evidently:ListTagsForResource

Update

evidently:UpdateLaunch,
evidently:ListTagsForResource,
evidently:TagResource,
evidently:UntagResource,
evidently:GetLaunch,
evidently:StartLaunch,
evidently:StopLaunch

Delete

evidently:DeleteLaunch,
evidently:UntagResource,
evidently:GetLaunch