AwsIamInstanceProfileRole.fromJson constructor

AwsIamInstanceProfileRole.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AwsIamInstanceProfileRole.fromJson(Map<String, dynamic> json) {
  return AwsIamInstanceProfileRole(
    arn: json['Arn'] as String?,
    assumeRolePolicyDocument: json['AssumeRolePolicyDocument'] as String?,
    createDate: json['CreateDate'] as String?,
    path: json['Path'] as String?,
    roleId: json['RoleId'] as String?,
    roleName: json['RoleName'] as String?,
  );
}