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.mapOptionalInputValue<UserPoolSchemaNumberAttributeConstraints, Map<String, dynamic>>(numberAttributeConstraints, (value) => value.toMap()),
    'required': ?required,
    'stringAttributeConstraints': ?pulumi.Input.mapOptionalInputValue<UserPoolSchemaStringAttributeConstraints, Map<String, dynamic>>(stringAttributeConstraints, (value) => value.toMap()),
  };
}