pub struct BucketPolicyResult {
pub bucket: Output<String>,
pub policy: Output<String>,
}
Fields§
§bucket: Output<String>
Name of the bucket to which to apply the policy.
policy: Output<String>
Text of the policy. Although this is a bucket policy rather than an IAM policy, the aws.iam.getPolicyDocument
data source may be used, so long as it specifies a principal. For more information about building AWS IAM policy documents, see the AWS IAM Policy Document Guide. Note: Bucket policies are limited to 20 KB in size.
Auto Trait Implementations§
impl Freeze for BucketPolicyResult
impl RefUnwindSafe for BucketPolicyResult
impl Send for BucketPolicyResult
impl Sync for BucketPolicyResult
impl Unpin for BucketPolicyResult
impl UnwindSafe for BucketPolicyResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more