Class CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty
The MaintenanceWindowLambdaParameters
property type specifies the parameters for a LAMBDA
task type for a maintenance window task in AWS Systems Manager .
Inheritance
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MaintenanceWindowLambdaParametersProperty : Object, CfnMaintenanceWindowTask.IMaintenanceWindowLambdaParametersProperty
Syntax (vb)
Public Class MaintenanceWindowLambdaParametersProperty
Inherits Object
Implements CfnMaintenanceWindowTask.IMaintenanceWindowLambdaParametersProperty
Remarks
MaintenanceWindowLambdaParameters
is a property of the TaskInvocationParameters property type.
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Constructors
MaintenanceWindowLambdaParametersProperty() |
Properties
ClientContext | Client-specific information to pass to the AWS Lambda function that you're invoking. |
Payload | JSON to provide to your AWS Lambda function as input. |
Qualifier | An AWS Lambda function version or alias name. |
Constructors
MaintenanceWindowLambdaParametersProperty()
public MaintenanceWindowLambdaParametersProperty()
Properties
ClientContext
Client-specific information to pass to the AWS Lambda function that you're invoking.
public string ClientContext { get; set; }
Property Value
System.String
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.
public string Payload { get; set; }
Property Value
System.String
Remarks
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
Qualifier
An AWS Lambda function version or alias name.
public string Qualifier { get; set; }
Property Value
System.String
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.