Skip to content

CreateCIMDPolicyRequest

Source code in docs_src/capo_cognito_identity_provider/types/create_cimd_policy_request.py
class CreateCIMDPolicyRequest(TypedDict, closed=True):
    user_pool_id: (
        "capo_cognito_identity_provider.types.user_pool_id_type.UserPoolIdType"
    )
    """<p>The ID of the user pool where you want to create the CIMD policy.</p>"""
    client_id: "capo_cognito_identity_provider.types.client_id_type.ClientIdType"
    """<p>The ID of the app client that you want to associate with the CIMD policy.</p>"""
    policy_name: (
        "capo_cognito_identity_provider.types.cimd_policy_name_type.CIMDPolicyNameType"
    )
    """<p>A friendly name for the CIMD policy.</p>"""
    cache_duration: NotRequired[
        "capo_cognito_identity_provider.types.cache_duration_type.CacheDurationType"
    ]
    """<p>The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy. The value must be between 86,400 seconds (one day) and 31,556,952 seconds (one year).</p>"""
    url_patterns: (
        "capo_cognito_identity_provider.types.url_pattern_list_type.URLPatternListType"
    )
    """<p>One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the <code>*</code> wildcard character.</p>"""

cache_duration instance-attribute

cache_duration: NotRequired[CacheDurationType]

The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy. The value must be between 86,400 seconds (one day) and 31,556,952 seconds (one year).

client_id instance-attribute

client_id: ClientIdType

The ID of the app client that you want to associate with the CIMD policy.

policy_name instance-attribute

policy_name: CIMDPolicyNameType

A friendly name for the CIMD policy.

url_patterns instance-attribute

url_patterns: URLPatternListType

One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the * wildcard character.

user_pool_id instance-attribute

user_pool_id: UserPoolIdType

The ID of the user pool where you want to create the CIMD policy.