MaintenanceWindowTaskInvocationParameters.fromJson constructor
MaintenanceWindowTaskInvocationParameters.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MaintenanceWindowTaskInvocationParameters.fromJson(
Map<String, dynamic> json) {
return MaintenanceWindowTaskInvocationParameters(
automation: json['Automation'] != null
? MaintenanceWindowAutomationParameters.fromJson(
json['Automation'] as Map<String, dynamic>)
: null,
lambda: json['Lambda'] != null
? MaintenanceWindowLambdaParameters.fromJson(
json['Lambda'] as Map<String, dynamic>)
: null,
runCommand: json['RunCommand'] != null
? MaintenanceWindowRunCommandParameters.fromJson(
json['RunCommand'] as Map<String, dynamic>)
: null,
stepFunctions: json['StepFunctions'] != null
? MaintenanceWindowStepFunctionsParameters.fromJson(
json['StepFunctions'] as Map<String, dynamic>)
: null,
);
}