{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-backup/json-schema/aws-backup-create-tiering-configuration-input-schema.json",
  "title": "CreateTieringConfigurationInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-backup-tiering-configurations-api-openapi.yml#/components/schemas/CreateTieringConfigurationInput",
  "type": "object",
  "properties": {
    "TieringConfiguration": {
      "$ref": "#/$defs/TieringConfigurationInputForCreate"
    },
    "TieringConfigurationTags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to assign to the tiering configuration."
    },
    "CreatorRequestId": {
      "type": "string",
      "description": "This is a unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters."
    }
  },
  "required": [
    "TieringConfiguration"
  ],
  "$defs": {
    "ResourceSelection": {
      "type": "object",
      "properties": {
        "Resources": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of strings that either contains ARNs of the associated resources or contains a wildcard * to specify all resources. You can specify up to 100 specific resources per tiering configuration."
        },
        "TieringDownSettingsInDays": {
          "type": "integer",
          "description": "The number of days after creation within a backup vault that an object can transition to the low cost warm storage tier. Must be a positive integer between 60 and 36500 days."
        },
        "ResourceType": {
          "type": "string",
          "description": "The type of Amazon Web Services resource; for example, S3 for Amazon S3. For tiering configurations, this is currently limited to S3."
        }
      },
      "required": [
        "Resources",
        "TieringDownSettingsInDays",
        "ResourceType"
      ]
    },
    "TieringConfigurationInputForCreate": {
      "type": "object",
      "properties": {
        "TieringConfigurationName": {
          "type": "string",
          "description": "The unique name of the tiering configuration. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores."
        },
        "BackupVaultName": {
          "type": "string",
          "description": "The name of the backup vault where the tiering configuration applies. Use * to apply to all backup vaults."
        },
        "ResourceSelection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceSelection"
          },
          "description": "An array of resource selection objects that specify which resources are included in the tiering configuration and their tiering settings."
        }
      },
      "required": [
        "TieringConfigurationName",
        "BackupVaultName",
        "ResourceSelection"
      ]
    }
  }
}