Class CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty>
- Enclosing interface:
CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty
@Stability(Stable)
public static final class CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clientContext
(String clientContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientContext
@Stability(Stable) public CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder clientContext(String clientContext) Sets the value ofCfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.getClientContext()
- Parameters:
clientContext
- Client-specific information to pass to the AWS Lambda function that you're invoking. You can then use thecontext
variable to process the client information in your AWS Lambda function.- Returns:
this
-
payload
@Stability(Stable) public CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder payload(String payload) - Parameters:
payload
- JSON to provide to your AWS Lambda function as input.Although
Type
is listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object.Length Constraint: 4096
- Returns:
this
-
qualifier
@Stability(Stable) public CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Builder qualifier(String qualifier) - Parameters:
qualifier
- An AWS Lambda function version or alias name. If you specify a function version, the action uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the action uses the alias ARN to invoke the Lambda function version that the alias points to.- Returns:
this
-
build
@Stability(Stable) public CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty>
- Returns:
- a new instance of
CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-