#[non_exhaustive]pub struct MaintenanceWindowLambdaParameters {
pub client_context: Option<String>,
pub qualifier: Option<String>,
pub payload: Option<Blob>,
}
Expand description
The parameters for a LAMBDA
task type.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow
and UpdateMaintenanceWindowTask
.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters
.
For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and LoggingInfo.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_context: Option<String>
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
qualifier: Option<String>
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
payload: Option<Blob>
JSON to provide to your Lambda function as input.
Implementations§
source§impl MaintenanceWindowLambdaParameters
impl MaintenanceWindowLambdaParameters
sourcepub fn client_context(&self) -> Option<&str>
pub fn client_context(&self) -> Option<&str>
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
sourcepub fn qualifier(&self) -> Option<&str>
pub fn qualifier(&self) -> Option<&str>
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
source§impl MaintenanceWindowLambdaParameters
impl MaintenanceWindowLambdaParameters
sourcepub fn builder() -> MaintenanceWindowLambdaParametersBuilder
pub fn builder() -> MaintenanceWindowLambdaParametersBuilder
Creates a new builder-style object to manufacture MaintenanceWindowLambdaParameters
.
Trait Implementations§
source§impl Clone for MaintenanceWindowLambdaParameters
impl Clone for MaintenanceWindowLambdaParameters
source§fn clone(&self) -> MaintenanceWindowLambdaParameters
fn clone(&self) -> MaintenanceWindowLambdaParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for MaintenanceWindowLambdaParameters
impl PartialEq for MaintenanceWindowLambdaParameters
source§fn eq(&self, other: &MaintenanceWindowLambdaParameters) -> bool
fn eq(&self, other: &MaintenanceWindowLambdaParameters) -> bool
self
and other
values to be equal, and is used
by ==
.