pub struct BucketPolicyArgs {
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.
Implementations§
source§impl BucketPolicyArgs
impl BucketPolicyArgs
sourcepub fn builder() -> BucketPolicyArgsBuilder
pub fn builder() -> BucketPolicyArgsBuilder
Create an instance of BucketPolicyArgs
using the builder syntax
Trait Implementations§
source§impl Clone for BucketPolicyArgs
impl Clone for BucketPolicyArgs
source§fn clone(&self) -> BucketPolicyArgs
fn clone(&self) -> BucketPolicyArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BucketPolicyArgs
impl RefUnwindSafe for BucketPolicyArgs
impl Send for BucketPolicyArgs
impl Sync for BucketPolicyArgs
impl Unpin for BucketPolicyArgs
impl UnwindSafe for BucketPolicyArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)