@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:46.844Z")
public interface CustomAttributeConfig
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; CustomAttributeConfig customAttributeConfig = CustomAttributeConfig.builder() .dataType("dataType") // the properties below are optional .mutable(false) .numberConstraints(NumberAttributeConstraints.builder() .max(123) .min(123) .build()) .stringConstraints(StringAttributeConstraints.builder() .maxLen(123) .minLen(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CustomAttributeConfig.Builder
A builder for
CustomAttributeConfig |
static class |
CustomAttributeConfig.Jsii$Proxy
An implementation for
CustomAttributeConfig |
Modifier and Type | Method and Description |
---|---|
static CustomAttributeConfig.Builder |
builder() |
java.lang.String |
getDataType()
The data type of the custom attribute.
|
default java.lang.Boolean |
getMutable()
Specifies whether the value of the attribute can be changed.
|
default NumberAttributeConstraints |
getNumberConstraints()
The constraints for a custom attribute of the 'Number' data type.
|
default StringAttributeConstraints |
getStringConstraints()
The constraints for a custom attribute of 'String' data type.
|
java.lang.String getDataType()
default java.lang.Boolean getMutable()
For any user pool attribute that's mapped to an identity provider attribute, you must set this parameter to true. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute.
Default: false
default NumberAttributeConstraints getNumberConstraints()
Default: - None.
default StringAttributeConstraints getStringConstraints()
Default: - None.
static CustomAttributeConfig.Builder builder()
CustomAttributeConfig.Builder
of CustomAttributeConfig