---
title: "AWS Cognito -konfiguraatio"
description: "Seuraava JSON on esimerkki t\u00E4st\u00E4 standardoidusta konfiguraatiokomponentista."
language: fi
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/fi/docs/application-setting-components/aws-cognito-configuration
original: https://documentation.invantive.eu/en/docs/application-setting-components/aws-cognito-configuration
updated: 2026-12-03T18:12:23Z
license: https://documentation.invantive.eu/fi/
---

## Esimerkit
Seuraava JSON on esimerkki tästä standardoidusta konfiguraationimikomponentista:
```json
{ "ClientId": "1234567890abcdef"
, "ClientSecret": "secret"
, "MetadataAddress": "https://cognito-idp.eu-west-1.amazonaws.com/eu-central-ID/.well-known/openid-configuration"
}
```

## Määritelmä
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "CognitoConfig.schema.json",
  "title": "CognitoConfig",
  "description": "AWS Cognito configuration.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "MetadataType": {
      "type": [
        "string",
        "null"
      ],
      "default": "Invantive.Cloud.Shared.Models.CognitoConfig",
      "description": "Type.",
      "readOnly": true
    },
    "ClientId": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito client ID."
    },
    "ClientSecret": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito client secret."
    },
    "MetadataAddress": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito OpenID metadata address."
    }
  }
}
```
