Interface CanaryCodeOutput.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CanaryCodeOutput.Builder,,- CanaryCodeOutput> - SdkBuilder<CanaryCodeOutput.Builder,,- CanaryCodeOutput> - SdkPojo
- Enclosing class:
- CanaryCodeOutput
- 
Method SummaryModifier and TypeMethodDescriptionblueprintTypes(String... blueprintTypes) BlueprintTypesis a list of templates that enable simplified canary creation.blueprintTypes(Collection<String> blueprintTypes) BlueprintTypesis a list of templates that enable simplified canary creation.dependencies(Collection<Dependency> dependencies) A list of dependencies that are used for running this canary.dependencies(Consumer<Dependency.Builder>... dependencies) A list of dependencies that are used for running this canary.dependencies(Dependency... dependencies) A list of dependencies that are used for running this canary.The entry point to use for the source code when running the canary.sourceLocationArn(String sourceLocationArn) The ARN of the Lambda layer where Synthetics stores the canary script code.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sourceLocationArnThe ARN of the Lambda layer where Synthetics stores the canary script code. - Parameters:
- sourceLocationArn- The ARN of the Lambda layer where Synthetics stores the canary script code.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
handlerThe entry point to use for the source code when running the canary. This field is required when you don't specify BlueprintTypesand is not allowed when you specifyBlueprintTypes.- Parameters:
- handler- The entry point to use for the source code when running the canary.- This field is required when you don't specify - BlueprintTypesand is not allowed when you specify- BlueprintTypes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
blueprintTypesBlueprintTypesis a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value ismulti-checks.Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.BlueprintTypesis supported only on canaries for syn-nodejs-3.0 runtime or later.- Parameters:
- blueprintTypes-- BlueprintTypesis a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is- multi-checks.- Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify - BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.- BlueprintTypesis supported only on canaries for syn-nodejs-3.0 runtime or later.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
blueprintTypesBlueprintTypesis a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value ismulti-checks.Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.BlueprintTypesis supported only on canaries for syn-nodejs-3.0 runtime or later.- Parameters:
- blueprintTypes-- BlueprintTypesis a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is- multi-checks.- Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify - BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.- BlueprintTypesis supported only on canaries for syn-nodejs-3.0 runtime or later.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dependenciesA list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference. - Parameters:
- dependencies- A list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dependenciesA list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference. - Parameters:
- dependencies- A list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dependenciesA list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference. This is a convenience method that creates an instance of theDependency.Builderavoiding the need to create one manually viaDependency.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todependencies(List<Dependency>).- Parameters:
- dependencies- a consumer that will call methods on- Dependency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-