DateTimeAttribute

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

Bases: object

The DateTime custom attribute 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

Methods

bind()

Bind this custom attribute type to the values as expected by CloudFormation.

Return type

CustomAttributeConfig