We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Cognito::Terms
Create Terms Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Terms(name: string, args: TermsArgs, opts?: CustomResourceOptions);@overload
def Terms(resource_name: str,
args: TermsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Terms(resource_name: str,
opts: Optional[ResourceOptions] = None,
enforcement: Optional[TermsEnforcementType] = None,
links: Optional[Mapping[str, str]] = None,
terms_source: Optional[TermsSourceType] = None,
user_pool_id: Optional[str] = None,
client_id: Optional[str] = None,
terms_name: Optional[str] = None)func NewTerms(ctx *Context, name string, args TermsArgs, opts ...ResourceOption) (*Terms, error)public Terms(string name, TermsArgs args, CustomResourceOptions? opts = null)type: aws-native:cognito:Terms
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TermsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TermsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TermsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TermsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TermsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Terms Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Terms resource accepts the following input properties:
- Enforcement
Pulumi.
Aws Native. Cognito. Terms Enforcement Type - This parameter is reserved for future use and currently accepts one value.
- Links Dictionary<string, string>
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
Source Pulumi.Aws Native. Cognito. Terms Source Type - This parameter is reserved for future use and currently accepts one value.
- User
Pool stringId - The ID of the user pool that contains the terms documents.
- Client
Id string - The ID of the app client that the terms documents are assigned to.
- Terms
Name string - The type and friendly name of the terms documents.
- Enforcement
Terms
Enforcement Type - This parameter is reserved for future use and currently accepts one value.
- Links map[string]string
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
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- User
Pool stringId - The ID of the user pool that contains the terms documents.
- Client
Id string - The ID of the app client that the terms documents are assigned to.
- Terms
Name string - The type and friendly name of the terms documents.
- enforcement
Terms
Enforcement Type - This parameter is reserved for future use and currently accepts one value.
- links Map<String,String>
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
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- user
Pool StringId - The ID of the user pool that contains the terms documents.
- client
Id String - The ID of the app client that the terms documents are assigned to.
- terms
Name String - The type and friendly name of the terms documents.
- enforcement
Terms
Enforcement Type - This parameter is reserved for future use and currently accepts one value.
- links {[key: string]: string}
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
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- user
Pool stringId - The ID of the user pool that contains the terms documents.
- client
Id string - The ID of the app client that the terms documents are assigned to.
- terms
Name string - The type and friendly name of the terms documents.
- enforcement
Terms
Enforcement Type - This parameter is reserved for future use and currently accepts one value.
- links Mapping[str, str]
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_
source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- user_
pool_ strid - The ID of the user pool that contains the terms documents.
- client_
id str - The ID of the app client that the terms documents are assigned to.
- terms_
name str - The type and friendly name of the terms documents.
- enforcement "NONE"
- This parameter is reserved for future use and currently accepts one value.
- links Map<String>
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
Source "LINK" - This parameter is reserved for future use and currently accepts one value.
- user
Pool StringId - The ID of the user pool that contains the terms documents.
- client
Id String - The ID of the app client that the terms documents are assigned to.
- terms
Name String - The type and friendly name of the terms documents.
Outputs
All input properties are implicitly available as output properties. Additionally, the Terms resource produces the following output properties:
Supporting Types
TermsEnforcementType, TermsEnforcementTypeArgs
- None
- NONE
- Terms
Enforcement Type None - NONE
- None
- NONE
- None
- NONE
- NONE
- NONE
- "NONE"
- NONE
TermsSourceType, TermsSourceTypeArgs
- Link
- LINK
- Terms
Source Type Link - LINK
- Link
- LINK
- Link
- LINK
- LINK
- LINK
- "LINK"
- LINK
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
