Class: AWSCDK::SSM::CfnMaintenanceWindowTask::MaintenanceWindowLambdaParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSM::CfnMaintenanceWindowTask::MaintenanceWindowLambdaParametersProperty
- Defined in:
- ssm/cfn_maintenance_window_task.rb
Overview
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.
Instance Attribute Summary collapse
-
#client_context ⇒ String?
readonly
Client-specific information to pass to the AWS Lambda function that you're invoking.
-
#payload ⇒ String?
readonly
JSON to provide to your AWS Lambda function as input.
-
#qualifier ⇒ String?
readonly
An AWS Lambda function version or alias name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_context: nil, payload: nil, qualifier: nil) ⇒ MaintenanceWindowLambdaParametersProperty
constructor
A new instance of MaintenanceWindowLambdaParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_context: nil, payload: nil, qualifier: nil) ⇒ MaintenanceWindowLambdaParametersProperty
Returns a new instance of MaintenanceWindowLambdaParametersProperty.
837 838 839 840 841 842 843 844 |
# File 'ssm/cfn_maintenance_window_task.rb', line 837 def initialize(client_context: nil, payload: nil, qualifier: nil) @client_context = client_context Jsii::Type.check_type(@client_context, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientContext") unless @client_context.nil? @payload = payload Jsii::Type.check_type(@payload, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "payload") unless @payload.nil? @qualifier = qualifier Jsii::Type.check_type(@qualifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "qualifier") unless @qualifier.nil? end |
Instance Attribute Details
#client_context ⇒ String? (readonly)
Client-specific information to pass to the AWS Lambda function that you're invoking.
You can then use the context variable to process the client information in your AWS Lambda function.
852 853 854 |
# File 'ssm/cfn_maintenance_window_task.rb', line 852 def client_context @client_context end |
#payload ⇒ String? (readonly)
JSON to provide to your AWS Lambda function as input.
Although
Typeis listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object.
Length Constraint: 4096
861 862 863 |
# File 'ssm/cfn_maintenance_window_task.rb', line 861 def payload @payload end |
#qualifier ⇒ String? (readonly)
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.
868 869 870 |
# File 'ssm/cfn_maintenance_window_task.rb', line 868 def qualifier @qualifier end |
Class Method Details
.jsii_properties ⇒ Object
870 871 872 873 874 875 876 |
# File 'ssm/cfn_maintenance_window_task.rb', line 870 def self.jsii_properties { :client_context => "clientContext", :payload => "payload", :qualifier => "qualifier", } end |
Instance Method Details
#to_jsii ⇒ Object
878 879 880 881 882 883 884 885 886 |
# File 'ssm/cfn_maintenance_window_task.rb', line 878 def to_jsii result = {} result.merge!({ "clientContext" => @client_context, "payload" => @payload, "qualifier" => @qualifier, }) result.compact end |