Interface CfnTermsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTermsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-08T14:57:02.408Z")
@Stability(Stable)
public interface CfnTermsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTerms.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CfnTermsProps cfnTermsProps = CfnTermsProps.builder()
.enforcement("enforcement")
.links(Map.of(
"linksKey", "links"))
.termsName("termsName")
.termsSource("termsSource")
.userPoolId("userPoolId")
// the properties below are optional
.clientId("clientId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTermsPropsstatic final classAn implementation forCfnTermsProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTermsProps.Builderbuilder()default StringThe ID of the app client that the terms documents are assigned to.This parameter is reserved for future use and currently accepts one value.getLinks()A map of URLs to languages.The type and friendly name of the terms documents.This parameter is reserved for future use and currently accepts one value.The ID of the user pool that contains the terms documents.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnforcement
This parameter is reserved for future use and currently accepts one value.- See Also:
-
getLinks
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".Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getTermsName
The type and friendly name of the terms documents.- See Also:
-
getTermsSource
This parameter is reserved for future use and currently accepts one value.- See Also:
-
getUserPoolId
The ID of the user pool that contains the terms documents.- See Also:
-
getClientId
The ID of the app client that the terms documents are assigned to.- See Also:
-
builder
- Returns:
- a
CfnTermsProps.BuilderofCfnTermsProps
-