SSMValidationParameters.fromJson constructor
SSMValidationParameters.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SSMValidationParameters.fromJson(Map<String, dynamic> json) {
return SSMValidationParameters(
command: json['command'] as String?,
executionTimeoutSeconds: json['executionTimeoutSeconds'] as int?,
instanceId: json['instanceId'] as String?,
outputS3BucketName: json['outputS3BucketName'] as String?,
scriptType: (json['scriptType'] as String?)?.toScriptType(),
source: json['source'] != null
? Source.fromJson(json['source'] as Map<String, dynamic>)
: null,
);
}