{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AddLayerVersionPermissionRequest", "title": "AddLayerVersionPermissionRequest", "type": "object", "required": [ "StatementId", "Action", "Principal" ], "properties": { "StatementId": { "allOf": [ { "$ref": "#/components/schemas/StatementId" }, { "description": "An identifier that distinguishes the policy from others on the same layer version." } ] }, "Action": { "allOf": [ { "$ref": "#/components/schemas/LayerPermissionAllowedAction" }, { "description": "The API action that grants access to the layer. For example, lambda:GetLayerVersion." } ] }, "Principal": { "allOf": [ { "$ref": "#/components/schemas/LayerPermissionAllowedPrincipal" }, { "description": "An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer. " } ] }, "OrganizationId": { "allOf": [ { "$ref": "#/components/schemas/OrganizationId" }, { "description": "With the principal set to *, grant permission to all accounts in the specified organization." } ] } } }