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
Using getTerms
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTerms(args: GetTermsArgs, opts?: InvokeOptions): Promise<GetTermsResult>
function getTermsOutput(args: GetTermsOutputArgs, opts?: InvokeOptions): Output<GetTermsResult>def get_terms(terms_id: Optional[str] = None,
user_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTermsResult
def get_terms_output(terms_id: Optional[pulumi.Input[str]] = None,
user_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTermsResult]func LookupTerms(ctx *Context, args *LookupTermsArgs, opts ...InvokeOption) (*LookupTermsResult, error)
func LookupTermsOutput(ctx *Context, args *LookupTermsOutputArgs, opts ...InvokeOption) LookupTermsResultOutput> Note: This function is named LookupTerms in the Go SDK.
public static class GetTerms
{
public static Task<GetTermsResult> InvokeAsync(GetTermsArgs args, InvokeOptions? opts = null)
public static Output<GetTermsResult> Invoke(GetTermsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTermsResult> getTerms(GetTermsArgs args, InvokeOptions options)
public static Output<GetTermsResult> getTerms(GetTermsArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:cognito:getTerms
arguments:
# arguments dictionaryThe following arguments are supported:
- Terms
Id string - The ID of the terms documents.
- User
Pool stringId - The ID of the user pool that contains the terms documents.
- Terms
Id string - The ID of the terms documents.
- User
Pool stringId - The ID of the user pool that contains the terms documents.
- terms
Id String - The ID of the terms documents.
- user
Pool StringId - The ID of the user pool that contains the terms documents.
- terms
Id string - The ID of the terms documents.
- user
Pool stringId - The ID of the user pool that contains the terms documents.
- terms_
id str - The ID of the terms documents.
- user_
pool_ strid - The ID of the user pool that contains the terms documents.
- terms
Id String - The ID of the terms documents.
- user
Pool StringId - The ID of the user pool that contains the terms documents.
getTerms Result
The following output properties are available:
- 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
Id string - The ID of the terms documents.
- Terms
Name string - The type and friendly name of the terms documents.
- Terms
Source Pulumi.Aws Native. Cognito. Terms Source Type - This parameter is reserved for future use and currently accepts one value.
- 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
Id string - The ID of the terms documents.
- Terms
Name string - The type and friendly name of the terms documents.
- Terms
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- 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
Id String - The ID of the terms documents.
- terms
Name String - The type and friendly name of the terms documents.
- terms
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- 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
Id string - The ID of the terms documents.
- terms
Name string - The type and friendly name of the terms documents.
- terms
Source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- 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_
id str - The ID of the terms documents.
- terms_
name str - The type and friendly name of the terms documents.
- terms_
source TermsSource Type - This parameter is reserved for future use and currently accepts one value.
- 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
Id String - The ID of the terms documents.
- terms
Name String - The type and friendly name of the terms documents.
- terms
Source "LINK" - This parameter is reserved for future use and currently accepts one value.
Supporting Types
TermsEnforcementType
TermsSourceType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
