From b06511c0f30787436272aa4b7b3edf9606028d06 Mon Sep 17 00:00:00 2001
From: awstools Permanently deletes the specified canary. If you specify If the canary's Other resources used and created by the canary are not automatically deleted.
- * After you delete a canary that you do not intend to
- * use again, you
+ * After you delete a canary, you
* should also delete the following: A structure that contains information about a canary run. Specifies whether to also delete the Lambda functions and layers used by this canary
+ * when the canary is deleted. If it is If the value of this parameter is The list of key-value pairs that are associated with the canary. To have the tags that you apply to this canary also be applied to the Lambda function that
* the canary uses, specify this parameter with the value If you specify this parameter and don't specify any tags in the DeleteLambda
to true
, CloudWatch Synthetics also deletes
+ * ProvisionedResourceCleanup
field is set to AUTOMATIC
+ * or you specify DeleteLambda
in this operation as true
, CloudWatch Synthetics also deletes
* the Lambda functions and layers that are used by the canary.
*
AUTOMATIC
, the Lambda functions and layers will be deleted
+ * when the canary is deleted.OFF
, then the value of the DeleteLambda
parameter
+ * of the DeleteCanary operation
+ * determines whether the Lambda functions and layers will be deleted.lambda-function
.Tags
- * parameter, the canary creation fails.
Specifies whether to also delete the Lambda functions and layers used by this canary
+ * when the canary is deleted. If you omit this parameter, the default of AUTOMATIC
is used, which means
+ * that the Lambda functions and layers will be deleted when the canary is deleted.
If the value of this parameter is OFF
, then the value of the DeleteLambda
parameter
+ * of the DeleteCanary operation
+ * determines whether the Lambda functions and layers will be deleted.
A list of key-value pairs to associate with the canary. * You can associate as many as 50 tags with a canary.
@@ -1201,7 +1238,10 @@ export interface DeleteCanaryRequest { /** *Specifies whether to also delete the Lambda functions and layers used by this canary. The default - * is false.
+ * isfalse
.
+ * Your setting for this parameter is used only if the canary doesn't have AUTOMATIC
for its
+ * ProvisionedResourceCleanup
field. If that field is set to AUTOMATIC
, then the
+ * Lambda functions and layers will be deleted when this canary is deleted.
Type: Boolean
* @public */ @@ -2037,6 +2077,16 @@ export interface UpdateCanaryRequest { * @public */ ArtifactConfig?: ArtifactConfigInput; + + /** + *Specifies whether to also delete the Lambda functions and layers used by this canary + * when the canary is deleted.
+ *If the value of this parameter is OFF
, then the value of the DeleteLambda
parameter
+ * of the DeleteCanary operation
+ * determines whether the Lambda functions and layers will be deleted.
If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates\n of any parts of the screen to ignore during the visual monitoring comparison.
" } }, + "ProvisionedResourceCleanup": { + "target": "com.amazonaws.synthetics#ProvisionedResourceCleanupSetting", + "traits": { + "smithy.api#documentation": "Specifies whether to also delete the Lambda functions and layers used by this canary\n when the canary is deleted. If it is AUTOMATIC
, the Lambda functions and layers will be deleted\n when the canary is deleted.
If the value of this parameter is OFF
, then the value of the DeleteLambda
parameter\n of the DeleteCanary operation\n determines whether the Lambda functions and layers will be deleted.
To have the tags that you apply to this canary also be applied to the Lambda function that\n the canary uses, specify this parameter with the value lambda-function
.
If you specify this parameter and don't specify any tags in the Tags
\n parameter, the canary creation fails.
To have the tags that you apply to this canary also be applied to the Lambda function that\n the canary uses, specify this parameter with the value lambda-function
.
If you specify this parameter and don't specify any tags in the Tags
\n parameter, the canary creation fails.
Specifies whether to also delete the Lambda functions and layers used by this canary\n when the canary is deleted. If you omit this parameter, the default of AUTOMATIC
is used, which means\n that the Lambda functions and layers will be deleted when the canary is deleted.
If the value of this parameter is OFF
, then the value of the DeleteLambda
parameter\n of the DeleteCanary operation\n determines whether the Lambda functions and layers will be deleted.
Permanently deletes the specified canary.
\nIf you specify DeleteLambda
to true
, CloudWatch Synthetics also deletes\n the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. \n After you delete a canary that you do not intend to\n use again, you\n should also delete the following:
\nThe CloudWatch alarms created for this canary. These alarms have a name of\n Synthetics-Alarm-first-198-characters-of-canary-name-canaryId-alarm number\n
\n
Amazon S3 objects and buckets, such as the canary's artifact location.
\nIAM roles created for the canary. If they were created in the console, these roles\n have the name \n role/service-role/CloudWatchSyntheticsRole-First-21-Characters-of-CanaryName\n
\n
CloudWatch Logs log groups created for the canary. These logs groups have the name\n /aws/lambda/cwsyn-First-21-Characters-of-CanaryName\n
\n
Before you delete a canary, you might want to use GetCanary
to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.
Permanently deletes the specified canary.
\nIf the canary's ProvisionedResourceCleanup
field is set to AUTOMATIC
\n or you specify DeleteLambda
in this operation as true
, CloudWatch Synthetics also deletes\n the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. \n After you delete a canary, you\n should also delete the following:
\nThe CloudWatch alarms created for this canary. These alarms have a name of\n Synthetics-Alarm-first-198-characters-of-canary-name-canaryId-alarm number\n
\n
Amazon S3 objects and buckets, such as the canary's artifact location.
\nIAM roles created for the canary. If they were created in the console, these roles\n have the name \n role/service-role/CloudWatchSyntheticsRole-First-21-Characters-of-CanaryName\n
\n
CloudWatch Logs log groups created for the canary. These logs groups have the name\n /aws/lambda/cwsyn-First-21-Characters-of-CanaryName\n
\n
Before you delete a canary, you might want to use GetCanary
to display\n the information about this canary. Make\n note of the information returned by this operation so that you can delete these resources\n after you delete the canary.
Specifies whether to also delete the Lambda functions and layers used by this canary. The default\n is false.
\nType: Boolean
", + "smithy.api#documentation": "Specifies whether to also delete the Lambda functions and layers used by this canary. The default\n is false
.
Your setting for this parameter is used only if the canary doesn't have AUTOMATIC
for its \n ProvisionedResourceCleanup
field. If that field is set to AUTOMATIC
, then the \n Lambda functions and layers will be deleted when this canary is deleted.
Type: Boolean
", "smithy.api#httpQuery": "deleteLambda" } } @@ -2242,6 +2254,23 @@ "smithy.api#pattern": "^.+$" } }, + "com.amazonaws.synthetics#ProvisionedResourceCleanupSetting": { + "type": "enum", + "members": { + "AUTOMATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOMATIC" + } + }, + "OFF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFF" + } + } + } + }, "com.amazonaws.synthetics#RequestEntityTooLargeException": { "type": "structure", "members": { @@ -3914,6 +3943,12 @@ "traits": { "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, \n including the encryption-at-rest settings for artifacts that \n the canary uploads to Amazon S3.
" } + }, + "ProvisionedResourceCleanup": { + "target": "com.amazonaws.synthetics#ProvisionedResourceCleanupSetting", + "traits": { + "smithy.api#documentation": "Specifies whether to also delete the Lambda functions and layers used by this canary\n when the canary is deleted.
\nIf the value of this parameter is OFF
, then the value of the DeleteLambda
parameter\n of the DeleteCanary operation\n determines whether the Lambda functions and layers will be deleted.