toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'cloudwatchConfig': ?pulumi.Input.mapOptionalInputValue<MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig, Map<String, dynamic>>(cloudwatchConfig, (value) => value.toMap()),
    'comment': ?comment,
    'documentHash': ?documentHash,
    'documentHashType': ?documentHashType,
    'documentVersion': ?documentVersion,
    'notificationConfig': ?pulumi.Input.mapOptionalInputValue<MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig, Map<String, dynamic>>(notificationConfig, (value) => value.toMap()),
    'outputS3Bucket': ?outputS3Bucket,
    'outputS3KeyPrefix': ?outputS3KeyPrefix,
    'parameters': ?pulumi.Input.mapOptionalInputValue<List<MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter>, List<Map<String, dynamic>>>(parameters, (value) => pulumi.Input.encodeList<MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter, Map<String, dynamic>>(value, (value) => value.toMap())),
    'serviceRoleArn': ?serviceRoleArn,
    'timeoutSeconds': ?timeoutSeconds,
  };
}