{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-s3-location-structure.json",
  "name": "S3Location",
  "description": "The Amazon S3 artifact location for an action's artifacts.",
  "type": "object",
  "properties": {
    "bucket": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3Bucket"
        },
        {
          "description": "The Amazon S3 artifact bucket for an action's artifacts."
        }
      ]
    },
    "key": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3Key"
        },
        {
          "description": "The artifact name."
        }
      ]
    }
  }
}