You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to deploy an L1 construct in the CDK (CfnMaintenanceWindowTask). However, the CloudFormation resource is not allowing me to declare the CloudWatchOutputConfig options for the task, which is sending a run command AWS-RunPatchBaselineWithHooks.
Where am I supposed to declare this? Under Parameters is where I receive an error when the stack is deployed.
Cannot deserialize instance of `java.util.ArrayList<java.lang.Object>` out of START_OBJECT token at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazonaws.services.ssm.model.UpdateMaintenanceWindowTaskRequest["TaskInvocationParameters"]->com.amazonaws.services.ssm.model.MaintenanceWindowTaskInvocationParameters["MaintenanceWindowRunCommandParameters"]->com.amazonaws.services.ssm.model.MaintenanceWindowRunCommandParameters["Parameters"]->java.util.LinkedHashMap["Parameters"])
Hello,
I am trying to deploy an L1 construct in the CDK (CfnMaintenanceWindowTask). However, the CloudFormation resource is not allowing me to declare the CloudWatchOutputConfig options for the task, which is sending a run command AWS-RunPatchBaselineWithHooks.
Where am I supposed to declare this? Under Parameters is where I receive an error when the stack is deployed.
References:
https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CloudWatchOutputConfig.html
https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-about-aws-runpatchbaselinewithhooks.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ssm.CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.html
The text was updated successfully, but these errors were encountered: