Bucket access policies allow you to define precise, S3-compatible access control for one bucket. They are evaluated after organization access policies. See Manage Bucket Policies for examples and further information. This data source provides a type-safe data structure for creating an S3-compatible JSON bucket policy.Documentation Index
Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
Use this file to discover all available pages before exploring further.
Example usage
Schema
Optional
id(String) An optional policy identifierstatement(Block List) The main policy element that defines the access rules for buckets and objects. Multiple statement blocks can be specified. (see below for nested schema)version(String) The policy version, e.g."2012-10-17"
Read-Only
json(String) The rendered policy document as JSON
Nested Schema for statement
Optional:
action(List of String) List of action strings, e.g.["s3:PutObject"]condition(Map of Map of String) Map of condition operators to JSON expressionseffect(String)AlloworDenyprincipal(Map of List of String) Map of principal types to ARNsresource(List of String) List of resource ARNs, e.g.["arn:aws:s3:::bucket/*"]sid(String) An optional statement identifier