toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'attributeDataType': attributeDataType,
    'developerOnlyAttribute': developerOnlyAttribute,
    'mutable': mutable,
    'name': name,
    'numberAttributeConstraints': pulumi.Input.mapInputValue<List<GetUserPoolSchemaAttributeNumberAttributeConstraint>, List<Map<String, dynamic>>>(numberAttributeConstraints, (value) => pulumi.Input.encodeList<GetUserPoolSchemaAttributeNumberAttributeConstraint, Map<String, dynamic>>(value, (value) => value.toMap())),
    'required': required,
    'stringAttributeConstraints': pulumi.Input.mapInputValue<List<GetUserPoolSchemaAttributeStringAttributeConstraint>, List<Map<String, dynamic>>>(stringAttributeConstraints, (value) => pulumi.Input.encodeList<GetUserPoolSchemaAttributeStringAttributeConstraint, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}