pub struct BucketLoggingV2Args {
pub bucket: Output<String>,
pub expected_bucket_owner: Output<Option<String>>,
pub target_bucket: Output<String>,
pub target_grants: Output<Option<Vec<BucketLoggingV2TargetGrant>>>,
pub target_object_key_format: Output<Option<BucketLoggingV2TargetObjectKeyFormat>>,
pub target_prefix: Output<String>,
}
Fields§
§bucket: Output<String>
Name of the bucket.
expected_bucket_owner: Output<Option<String>>
Account ID of the expected bucket owner.
target_bucket: Output<String>
Name of the bucket where you want Amazon S3 to store server access logs.
target_grants: Output<Option<Vec<BucketLoggingV2TargetGrant>>>
Set of configuration blocks with information for granting permissions. See below.
target_object_key_format: Output<Option<BucketLoggingV2TargetObjectKeyFormat>>
Amazon S3 key format for log objects. See below.
target_prefix: Output<String>
Prefix for all log object keys.
Implementations§
source§impl BucketLoggingV2Args
impl BucketLoggingV2Args
sourcepub fn builder() -> BucketLoggingV2ArgsBuilder
pub fn builder() -> BucketLoggingV2ArgsBuilder
Create an instance of BucketLoggingV2Args
using the builder syntax
Trait Implementations§
source§impl Clone for BucketLoggingV2Args
impl Clone for BucketLoggingV2Args
source§fn clone(&self) -> BucketLoggingV2Args
fn clone(&self) -> BucketLoggingV2Args
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 BucketLoggingV2Args
impl RefUnwindSafe for BucketLoggingV2Args
impl Send for BucketLoggingV2Args
impl Sync for BucketLoggingV2Args
impl Unpin for BucketLoggingV2Args
impl UnwindSafe for BucketLoggingV2Args
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
)