MaintenanceWindowLambdaParametersProperty Struct
The MaintenanceWindowLambdaParameters property type specifies the parameters for a LAMBDA task type for a maintenance window task in AWS Systems Manager .
MaintenanceWindowLambdaParameters is a property of the TaskInvocationParameters property type.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const maintenanceWindowLambdaParametersProperty: ssm.CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty = {
clientContext: 'clientContext',
payload: 'payload',
qualifier: 'qualifier',
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm
maintenance_window_lambda_parameters_property = ssm.CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty(
client_context="clientContext",
payload="payload",
qualifier="qualifier"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
MaintenanceWindowLambdaParametersProperty maintenanceWindowLambdaParametersProperty = MaintenanceWindowLambdaParametersProperty.builder()
.clientContext("clientContext")
.payload("payload")
.qualifier("qualifier")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
maintenanceWindowLambdaParametersProperty := &MaintenanceWindowLambdaParametersProperty{
ClientContext: jsii.String("clientContext"),
Payload: jsii.String("payload"),
Qualifier: jsii.String("qualifier"),
}
Properties
clientContextoptionalstringclient_contextoptionalstrclientContextoptionalStringClientContextoptionalstringClientContextoptional*string #You can then use the context variable to process the client information in your AWS Lambda function.
payloadoptionalstringpayloadoptionalstrpayloadoptionalStringPayloadoptionalstringPayloadoptional*string #Although
Typeis listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object.
Length Constraint: 4096
qualifieroptionalstringqualifieroptionalstrqualifieroptionalStringQualifieroptionalstringQualifieroptional*string #notes
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.