1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cognito
  6. Terms

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    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)
    public Terms(String name, TermsArgs args)
    public Terms(String name, TermsArgs args, CustomResourceOptions options)
    
    type: aws-native:cognito:Terms
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_cognito_terms" "name" {
        # resource properties
    }

    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.AwsNative.Cognito.TermsEnforcementType
    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 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" .

    TermsSource Pulumi.AwsNative.Cognito.TermsSourceType
    This parameter is reserved for future use and currently accepts one value.
    UserPoolId string
    The ID of the user pool that contains the terms documents.
    ClientId string
    The ID of the app client that the terms documents are assigned to.
    TermsName string
    The type and friendly name of the terms documents.
    Enforcement TermsEnforcementType
    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 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" .

    TermsSource TermsSourceType
    This parameter is reserved for future use and currently accepts one value.
    UserPoolId string
    The ID of the user pool that contains the terms documents.
    ClientId string
    The ID of the app client that the terms documents are assigned to.
    TermsName string
    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 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_source "LINK"
    This parameter is reserved for future use and currently accepts one value.
    user_pool_id string
    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 TermsEnforcementType
    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 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" .

    termsSource TermsSourceType
    This parameter is reserved for future use and currently accepts one value.
    userPoolId String
    The ID of the user pool that contains the terms documents.
    clientId String
    The ID of the app client that the terms documents are assigned to.
    termsName String
    The type and friendly name of the terms documents.
    enforcement TermsEnforcementType
    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 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" .

    termsSource TermsSourceType
    This parameter is reserved for future use and currently accepts one value.
    userPoolId string
    The ID of the user pool that contains the terms documents.
    clientId string
    The ID of the app client that the terms documents are assigned to.
    termsName string
    The type and friendly name of the terms documents.
    enforcement TermsEnforcementType
    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 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_source TermsSourceType
    This parameter is reserved for future use and currently accepts one value.
    user_pool_id str
    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 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" .

    termsSource "LINK"
    This parameter is reserved for future use and currently accepts one value.
    userPoolId String
    The ID of the user pool that contains the terms documents.
    clientId String
    The ID of the app client that the terms documents are assigned to.
    termsName 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    TermsId string
    The ID of the terms documents.
    Id string
    The provider-assigned unique ID for this managed resource.
    TermsId string
    The ID of the terms documents.
    id string
    The provider-assigned unique ID for this managed resource.
    terms_id string
    The ID of the terms documents.
    id String
    The provider-assigned unique ID for this managed resource.
    termsId String
    The ID of the terms documents.
    id string
    The provider-assigned unique ID for this managed resource.
    termsId string
    The ID of the terms documents.
    id str
    The provider-assigned unique ID for this managed resource.
    terms_id str
    The ID of the terms documents.
    id String
    The provider-assigned unique ID for this managed resource.
    termsId String
    The ID of the terms documents.

    Look up Existing Terms Resource

    Get an existing Terms resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Terms
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Terms
    func GetTerms(ctx *Context, name string, id IDInput, state *TermsState, opts ...ResourceOption) (*Terms, error)
    public static Terms Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Terms get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingTerms:    type: aws-native:cognito:Terms    get:      id: ${id}
    import {
      to = aws-native_cognito_terms.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state TermsState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    TermsEnforcementType

    NameValue
    NoneNONE
    NameValue
    TermsEnforcementTypeNoneNONE
    Value
    NONE
    NameValue
    NoneNONE
    NameValue
    NoneNONE
    NameValue
    NONENONE
    Value
    NONE

    TermsSourceType

    NameValue
    LinkLINK
    NameValue
    TermsSourceTypeLinkLINK
    Value
    LINK
    NameValue
    LinkLINK
    NameValue
    LinkLINK
    NameValue
    LINKLINK
    Value
    LINK

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial