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:
objectProperties 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 requestedTermsName, assign a URL. A selection ofcognito:defaultdisplays 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.
- enforcement
This parameter is reserved for future use and currently accepts one value.
- links
A map of URLs to languages.
For each localized language that will view the requested
TermsName, assign a URL. A selection ofcognito:defaultdisplays 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
The type and friendly name of the terms documents.
- terms_source
This parameter is reserved for future use and currently accepts one value.
- user_pool_id
The ID of the user pool that contains the terms documents.