Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 376

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To add a custom attribute**

This example adds a custom attribute CustomAttr1 to a user pool. It is a String type,
and requires a minimum of 1 character and a maximum of 15. It is not required.

Command::

  aws cognito-idp add-custom-attributes --user-pool-id us-west-2_aaaaaaaaa --custom-attributes Name="CustomAttr1",AttributeDataType="String",DeveloperOnlyAttribute=false,Required=false,StringAttributeConstraints="{MinLength=1,MaxLength=15}"