{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-eventbridge-pipes/refs/heads/main/json-structure/amazon-eventbridge-pipes-secret-manager-arn-or-json-path-structure.json", "name": "SecretManagerArnOrJsonPath", "description": "// For targets, can either specify an ARN or a jsonpath pointing to the ARN.", "type": "string", "pattern": "^(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$", "minLength": 1, "maxLength": 1600 }