CfnTermsMixinProps

class aws_cdk.mixins_preview.aws_cognito.mixins.CfnTermsMixinProps(*, client_id=None, enforcement=None, links=None, terms_name=None, terms_source=None, user_pool_id=None)

Bases: object

Properties for CfnTermsPropsMixin.

Parameters:
  • client_id (Optional[str]) – The ID of the app client that the terms documents are assigned to.

  • enforcement (Optional[str]) – This parameter is reserved for future use and currently accepts one value.

  • links (Union[Mapping[str, str], IResolvable, None]) – A map of URLs to languages. For each localized language that will view the requested TermsName , assign a URL. A selection of cognito:default displays for all languages that don’t have a language-specific URL. For example, "cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es" .

  • terms_name (Optional[str]) – The type and friendly name of the terms documents.

  • terms_source (Optional[str]) – This parameter is reserved for future use and currently accepts one value.

  • user_pool_id (Optional[str]) – The ID of the user pool that contains the terms documents.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cognito import mixins as cognito_mixins

cfn_terms_mixin_props = cognito_mixins.CfnTermsMixinProps(
    client_id="clientId",
    enforcement="enforcement",
    links={
        "links_key": "links"
    },
    terms_name="termsName",
    terms_source="termsSource",
    user_pool_id="userPoolId"
)

Attributes

client_id

The ID of the app client that the terms documents are assigned to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-clientid

enforcement

This parameter is reserved for future use and currently accepts one value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-enforcement

A map of URLs to languages.

For each localized language that will view the requested TermsName , assign a URL. A selection of cognito:default displays for all languages that don’t have a language-specific URL.

For example, "cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es" .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-links

terms_name

The type and friendly name of the terms documents.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-termsname

terms_source

This parameter is reserved for future use and currently accepts one value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-termssource

user_pool_id

The ID of the user pool that contains the terms documents.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-userpoolid