CustomAttributeProps

class aws_cdk.aws_cognito.CustomAttributeProps(*, mutable=None)

Bases: object

__init__(*, mutable=None)

Constraints that can be applied to a custom attribute of any type.

Parameters

mutable (Optional[bool]) – Specifies whether the value of the attribute can be changed. 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

stability :stability: experimental

Return type

None

Attributes

mutable

Specifies whether the value of the attribute can be changed.

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 :default: false

stability :stability: experimental

Return type

Optional[bool]