| Package | Description |
|---|---|
| software.amazon.awssdk.services.synthetics.model |
| Modifier and Type | Method and Description |
|---|---|
static CanaryCodeInput.Builder |
CanaryCodeInput.builder() |
CanaryCodeInput.Builder |
CanaryCodeInput.Builder.handler(String handler)
The entry point to use for the source code when running the canary.
|
CanaryCodeInput.Builder |
CanaryCodeInput.Builder.s3Bucket(String s3Bucket)
If your canary script is located in S3, specify the bucket name here.
|
CanaryCodeInput.Builder |
CanaryCodeInput.Builder.s3Key(String s3Key)
The S3 key of your script.
|
CanaryCodeInput.Builder |
CanaryCodeInput.Builder.s3Version(String s3Version)
The S3 version ID of your script.
|
CanaryCodeInput.Builder |
CanaryCodeInput.toBuilder() |
CanaryCodeInput.Builder |
CanaryCodeInput.Builder.zipFile(SdkBytes zipFile)
If you input your canary script directly into the canary instead of referring to an S3 location, the value of
this parameter is the base64-encoded contents of the .zip file that contains the script.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CanaryCodeInput.Builder> |
CanaryCodeInput.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default CreateCanaryRequest.Builder |
CreateCanaryRequest.Builder.code(Consumer<CanaryCodeInput.Builder> code)
A structure that includes the entry point from which the canary should start running your script.
|
default UpdateCanaryRequest.Builder |
UpdateCanaryRequest.Builder.code(Consumer<CanaryCodeInput.Builder> code)
A structure that includes the entry point from which the canary should start running your script.
|
Copyright © 2023. All rights reserved.