Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_add_custom_attributes: Adds additional user attributes to the user pool schema

Description

Adds additional user attributes to the user pool schema.

Usage

cognitoidentityprovider_add_custom_attributes(UserPoolId,
  CustomAttributes)

Arguments

UserPoolId

[required] The user pool ID for the user pool where you want to add custom attributes.

CustomAttributes

[required] An array of custom attributes, such as Mutable and Name.

Request syntax

svc$add_custom_attributes(
  UserPoolId = "string",
  CustomAttributes = list(
    list(
      Name = "string",
      AttributeDataType = "String"|"Number"|"DateTime"|"Boolean",
      DeveloperOnlyAttribute = TRUE|FALSE,
      Mutable = TRUE|FALSE,
      Required = TRUE|FALSE,
      NumberAttributeConstraints = list(
        MinValue = "string",
        MaxValue = "string"
      ),
      StringAttributeConstraints = list(
        MinLength = "string",
        MaxLength = "string"
      )
    )
  )
)