You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::AddCustomAttributesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AddCustomAttributesRequest
- Defined in:
- (unknown)
Overview
Note:
When passing AddCustomAttributesRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
user_pool_id: "UserPoolIdType", # required
custom_attributes: [ # required
{
name: "CustomAttributeNameType",
attribute_data_type: "String", # accepts String, Number, DateTime, Boolean
developer_only_attribute: false,
mutable: false,
required: false,
number_attribute_constraints: {
min_value: "StringType",
max_value: "StringType",
},
string_attribute_constraints: {
min_length: "StringType",
max_length: "StringType",
},
},
],
}
Represents the request to add custom attributes.
Instance Attribute Summary collapse
-
#custom_attributes ⇒ Array<Types::SchemaAttributeType>
An array of custom attributes, such as Mutable and Name.
-
#user_pool_id ⇒ String
The user pool ID for the user pool where you want to add custom attributes.
Instance Attribute Details
#custom_attributes ⇒ Array<Types::SchemaAttributeType>
An array of custom attributes, such as Mutable and Name.
#user_pool_id ⇒ String
The user pool ID for the user pool where you want to add custom attributes.