Class CfnCanaryMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnCanaryMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCanaryMixinProps
CfnCanaryMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.synthetics.CfnCanaryMixinProps
CfnCanaryMixinProps.Builder, CfnCanaryMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnCanaryMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCanaryMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.final StringThe location in Amazon S3 where Synthetics stores artifacts from the runs of this canary.final ObjectA structure that specifies the browser type to use for a canary run.final ObjectgetCode()Use this structure to input your script code for the canary.final Object(deprecated) Deletes associated lambda resources created by Synthetics if set to True.final ObjectSpecifies whether to perform a dry run before updating the canary.final ObjectThe ARN of the IAM role to be used to run the canary.final NumberThe number of days to retain data about failed runs of this canary.final StringgetName()The name for this canary.final StringSpecifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted.To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the valuelambda-function.final ObjectA structure that contains input information for a canary run.final StringSpecifies the runtime version to use for the canary.final ObjectA structure that contains information about how often the canary is to run, and when these runs are to stop.final ObjectSpecify TRUE to have the canary start making runs immediately after it is created.final NumberThe number of days to retain data about successful runs of this canary.getTags()The list of key-value pairs that are associated with the canary.final ObjectReturns union: eitherIResolvableorCfnCanaryPropsMixin.VisualReferencePropertyfinal ObjectA list of visual reference configurations for the canary, one for each browser type that the canary is configured to run on.final ObjectIf this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCanaryMixinProps.Builder.
-
-
Method Details
-
getArtifactConfig
Description copied from interface:CfnCanaryMixinPropsA structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.Returns union: either
IResolvableorCfnCanaryPropsMixin.ArtifactConfigProperty- Specified by:
getArtifactConfigin interfaceCfnCanaryMixinProps- See Also:
-
getArtifactS3Location
Description copied from interface:CfnCanaryMixinPropsThe location in Amazon S3 where Synthetics stores artifacts from the runs of this canary.Artifacts include the log file, screenshots, and HAR files. Specify the full location path, including
s3://at the beginning of the path.- Specified by:
getArtifactS3Locationin interfaceCfnCanaryMixinProps- See Also:
-
getBrowserConfigs
Description copied from interface:CfnCanaryMixinPropsA structure that specifies the browser type to use for a canary run.CloudWatch Synthetics supports running canaries on both
CHROMEandFIREFOXbrowsers.If not specified,
browserConfigsdefaults to Chrome.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCanaryPropsMixin.BrowserConfigProperty>- Specified by:
getBrowserConfigsin interfaceCfnCanaryMixinProps- See Also:
-
getCode
Description copied from interface:CfnCanaryMixinPropsUse this structure to input your script code for the canary.This structure contains the Lambda handler with the location where the canary should start running the script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included. If the script is passed into the canary directly, the script code is contained in the value of
Script.Returns union: either
IResolvableorCfnCanaryPropsMixin.CodeProperty- Specified by:
getCodein interfaceCfnCanaryMixinProps- See Also:
-
getDeleteLambdaResourcesOnCanaryDeletion
Description copied from interface:CfnCanaryMixinProps(deprecated) Deletes associated lambda resources created by Synthetics if set to True.Default is False
Returns union: either
BooleanorIResolvable- Specified by:
getDeleteLambdaResourcesOnCanaryDeletionin interfaceCfnCanaryMixinProps- See Also:
-
getDryRunAndUpdate
Description copied from interface:CfnCanaryMixinPropsSpecifies whether to perform a dry run before updating the canary.If set to
true, CloudFormation will execute a dry run to validate the changes before applying them to the canary. If the dry run succeeds, the canary will be updated with the changes. If the dry run fails, the CloudFormation deployment will fail with the dry run’s failure reason.If set to
falseor omitted, the canary will be updated directly without first performing a dry run. The default value isfalse.For more information, see Performing safe canary updates .
Returns union: either
BooleanorIResolvable- Specified by:
getDryRunAndUpdatein interfaceCfnCanaryMixinProps- See Also:
-
getExecutionRoleArn
Description copied from interface:CfnCanaryMixinPropsThe ARN of the IAM role to be used to run the canary.This role must already exist, and must include
lambda.amazonaws.com.rproxy.govskope.usas a principal in the trust policy. The role must also have the following permissions:s3:PutObjects3:GetBucketLocations3:ListAllMyBucketscloudwatch:PutMetricDatalogs:CreateLogGrouplogs:CreateLogStreamlogs:PutLogEvents
- Specified by:
getExecutionRoleArnin interfaceCfnCanaryMixinProps- See Also:
-
getFailureRetentionPeriod
Description copied from interface:CfnCanaryMixinPropsThe number of days to retain data about failed runs of this canary.If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
This setting affects the range of information returned by GetCanaryRuns , as well as the range of information displayed in the Synthetics console.
- Specified by:
getFailureRetentionPeriodin interfaceCfnCanaryMixinProps- See Also:
-
getName
Description copied from interface:CfnCanaryMixinPropsThe name for this canary.Be sure to give it a descriptive name that distinguishes it from other canaries in your account.
Do not include secrets or proprietary information in your canary names. The canary name makes up part of the canary ARN, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries .
- Specified by:
getNamein interfaceCfnCanaryMixinProps- See Also:
-
getProvisionedResourceCleanup
Description copied from interface:CfnCanaryMixinPropsSpecifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted.If it is
AUTOMATIC, 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 theDeleteLambdaparameter of the DeleteCanary operation determines whether the Lambda functions and layers will be deleted.- Specified by:
getProvisionedResourceCleanupin interfaceCfnCanaryMixinProps- See Also:
-
getResourcesToReplicateTags
Description copied from interface:CfnCanaryMixinPropsTo have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this property with the valuelambda-function.If you do this, CloudWatch Synthetics will keep the tags of the canary and the Lambda function synchronized. Any future changes you make to the canary's tags will also be applied to the function.
- Specified by:
getResourcesToReplicateTagsin interfaceCfnCanaryMixinProps- See Also:
-
getRunConfig
Description copied from interface:CfnCanaryMixinPropsA structure that contains input information for a canary run.If you omit this structure, the frequency of the canary is used as canary's timeout value, up to a maximum of 900 seconds.
Returns union: either
IResolvableorCfnCanaryPropsMixin.RunConfigProperty- Specified by:
getRunConfigin interfaceCfnCanaryMixinProps- See Also:
-
getRuntimeVersion
Description copied from interface:CfnCanaryMixinPropsSpecifies the runtime version to use for the canary.For more information about runtime versions, see Canary Runtime Versions .
- Specified by:
getRuntimeVersionin interfaceCfnCanaryMixinProps- See Also:
-
getSchedule
Description copied from interface:CfnCanaryMixinPropsA structure that contains information about how often the canary is to run, and when these runs are to stop.Returns union: either
IResolvableorCfnCanaryPropsMixin.ScheduleProperty- Specified by:
getSchedulein interfaceCfnCanaryMixinProps- See Also:
-
getStartCanaryAfterCreation
Description copied from interface:CfnCanaryMixinPropsSpecify TRUE to have the canary start making runs immediately after it is created.A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
Returns union: either
BooleanorIResolvable- Specified by:
getStartCanaryAfterCreationin interfaceCfnCanaryMixinProps- See Also:
-
getSuccessRetentionPeriod
Description copied from interface:CfnCanaryMixinPropsThe number of days to retain data about successful runs of this canary.If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days.
This setting affects the range of information returned by GetCanaryRuns , as well as the range of information displayed in the Synthetics console.
- Specified by:
getSuccessRetentionPeriodin interfaceCfnCanaryMixinProps- See Also:
-
getTags
Description copied from interface:CfnCanaryMixinPropsThe list of key-value pairs that are associated with the canary.- Specified by:
getTagsin interfaceCfnCanaryMixinProps- See Also:
-
getVisualReference
Description copied from interface:CfnCanaryMixinPropsReturns union: eitherIResolvableorCfnCanaryPropsMixin.VisualReferenceProperty- Specified by:
getVisualReferencein interfaceCfnCanaryMixinProps- See Also:
-
getVisualReferences
Description copied from interface:CfnCanaryMixinPropsA list of visual reference configurations for the canary, one for each browser type that the canary is configured to run on.Visual references are used for visual monitoring comparisons.
syn-nodejs-puppeteer-11.0and above, andsyn-nodejs-playwright-3.0and above, only supportsvisualReferences.visualReferencefield is not supported.Versions older than
syn-nodejs-puppeteer-11.0supports bothvisualReferenceandvisualReferencesfor backward compatibility. It is recommended to usevisualReferencesfor consistency and future compatibility.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCanaryPropsMixin.VisualReferenceProperty>- Specified by:
getVisualReferencesin interfaceCfnCanaryMixinProps- See Also:
-
getVpcConfig
Description copied from interface:CfnCanaryMixinPropsIf this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint.For more information, see Running a Canary in a VPC .
Returns union: either
IResolvableorCfnCanaryPropsMixin.VPCConfigProperty- Specified by:
getVpcConfigin interfaceCfnCanaryMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-