cognitoidentityprovider_add_custom_attributes: Adds additional user attributes to the user pool schema

Description Usage Arguments Request syntax

View source: R/cognitoidentityprovider_operations.R

Description

Adds additional user attributes to the user pool schema.

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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"
      )
    )
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.