Interface CfnMaintenanceWindowTask.IMaintenanceWindowLambdaParametersProperty
The MaintenanceWindowLambdaParameters
property type specifies the parameters for a LAMBDA
task type for a maintenance window task in AWS Systems Manager .
public interface CfnMaintenanceWindowTask.IMaintenanceWindowLambdaParametersProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var maintenanceWindowLambdaParametersProperty = new MaintenanceWindowLambdaParametersProperty {
ClientContext = "clientContext",
Payload = "payload",
Qualifier = "qualifier"
};
Remarks
MaintenanceWindowLambdaParameters
is a property of the TaskInvocationParameters property type.
ExampleMetadata: fixture=_generated
Properties
ClientContext
Client-specific information to pass to the AWS Lambda function that you're invoking.
string? ClientContext { get; }
Property Value
Remarks
You can then use the context
variable to process the client information in your AWS Lambda function.
Payload
JSON to provide to your AWS Lambda function as input.
string? Payload { get; }
Property Value
Remarks
Although <code>Type</code> is listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object.
Length Constraint: 4096
Qualifier
An AWS Lambda function version or alias name.
string? Qualifier { get; }
Property Value
Remarks
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.