{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-create-configuration-profile-request-schema.json",
  "title": "CreateConfigurationProfileRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-configurationprofiles-api-openapi.yml#/components/schemas/CreateConfigurationProfileRequest",
  "type": "object",
  "properties": {
    "ApplicationId": {
      "type": "string",
      "description": "The application ID."
    },
    "Name": {
      "type": "string",
      "description": "A name for the configuration profile."
    },
    "Description": {
      "type": "string",
      "description": "A description of the configuration profile."
    },
    "LocationUri": {
      "type": "string",
      "description": "A URI to locate the configuration. You can specify the following: For the AppConfig hosted configuration store and for feature flags, specify hosted. For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in the format ssm-parameter:// or the ARN. For an Amazon Web Services CodePipeline pipeline, specify the URI in the following format: codepipeline://. For an Secrets Manager secret, specify the URI in the following format: secretsmanager://. For an Amazon S3 object, specify the URI in the following format: s3:/// . Here is an example: s3://amzn"
    },
    "RetrievalRoleArn": {
      "type": "string",
      "description": "The ARN of an IAM role with permission to access the configuration at the specified LocationUri. A retrieval role ARN is not required for configurations stored in CodePipeline or the AppConfig hosted configuration store. It is required for all other sources that store your configuration."
    },
    "Validators": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Validator"
      },
      "description": "A list of methods for validating the configuration."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define."
    },
    "Type": {
      "type": "string",
      "description": "The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform"
    },
    "KmsKeyIdentifier": {
      "type": "string",
      "description": "The identifier for an Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used for hosted configuration types. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data managed in other configuration stores, see the documentation for how to specify an KMS key for that particular service."
    }
  },
  "required": [
    "ApplicationId",
    "Name",
    "LocationUri"
  ],
  "$defs": {
    "Validator": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "JSON_SCHEMA",
            "LAMBDA"
          ],
          "description": "AppConfig supports validators of type JSON_SCHEMA and LAMBDA"
        },
        "Content": {
          "type": "string",
          "description": "Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function."
        }
      },
      "required": [
        "Type",
        "Content"
      ]
    }
  }
}