Class CfnCanaryProps.Jsii$Proxy
- All Implemented Interfaces:
CfnCanaryProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnCanaryProps
CfnCanaryProps-
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.services.synthetics.CfnCanaryProps
CfnCanaryProps.Builder, CfnCanaryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnCanaryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnCanaryProps.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 ObjectgetCode()Use this structure to input your script code for the canary.final ObjectAWS::Synthetics::Canary.DeleteLambdaResourcesOnCanaryDeletion.final StringThe 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 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 ObjectIf 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 of any parts of the screen to ignore during the visual monitoring comparison.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 theCfnCanaryProps.Builder.
-
-
Method Details
-
getArtifactS3Location
Description copied from interface:CfnCanaryPropsThe 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 interfaceCfnCanaryProps
-
getCode
Description copied from interface:CfnCanaryPropsUse 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.- Specified by:
getCodein interfaceCfnCanaryProps
-
getExecutionRoleArn
Description copied from interface:CfnCanaryPropsThe 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.caas 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 interfaceCfnCanaryProps
-
getName
Description copied from interface:CfnCanaryPropsThe 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 interfaceCfnCanaryProps
-
getRuntimeVersion
Description copied from interface:CfnCanaryPropsSpecifies the runtime version to use for the canary.For more information about runtime versions, see Canary Runtime Versions .
- Specified by:
getRuntimeVersionin interfaceCfnCanaryProps
-
getSchedule
Description copied from interface:CfnCanaryPropsA structure that contains information about how often the canary is to run, and when these runs are to stop.- Specified by:
getSchedulein interfaceCfnCanaryProps
-
getArtifactConfig
Description copied from interface:CfnCanaryPropsA structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.- Specified by:
getArtifactConfigin interfaceCfnCanaryProps
-
getDeleteLambdaResourcesOnCanaryDeletion
Description copied from interface:CfnCanaryPropsAWS::Synthetics::Canary.DeleteLambdaResourcesOnCanaryDeletion.- Specified by:
getDeleteLambdaResourcesOnCanaryDeletionin interfaceCfnCanaryProps
-
getFailureRetentionPeriod
Description copied from interface:CfnCanaryPropsThe 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.
- Specified by:
getFailureRetentionPeriodin interfaceCfnCanaryProps
-
getRunConfig
Description copied from interface:CfnCanaryPropsA 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.
- Specified by:
getRunConfigin interfaceCfnCanaryProps
-
getStartCanaryAfterCreation
Description copied from interface:CfnCanaryPropsSpecify 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.
- Specified by:
getStartCanaryAfterCreationin interfaceCfnCanaryProps
-
getSuccessRetentionPeriod
Description copied from interface:CfnCanaryPropsThe 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.
- Specified by:
getSuccessRetentionPeriodin interfaceCfnCanaryProps
-
getTags
Description copied from interface:CfnCanaryPropsThe list of key-value pairs that are associated with the canary.- Specified by:
getTagsin interfaceCfnCanaryProps
-
getVisualReference
Description copied from interface:CfnCanaryPropsIf 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 of any parts of the screen to ignore during the visual monitoring comparison.- Specified by:
getVisualReferencein interfaceCfnCanaryProps
-
getVpcConfig
Description copied from interface:CfnCanaryPropsIf 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 .
- Specified by:
getVpcConfigin interfaceCfnCanaryProps
-
$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()
-