Struct aws_sdk_codebuild::model::S3LogsConfig
source · [−]#[non_exhaustive]pub struct S3LogsConfig {
pub status: Option<LogsConfigStatusType>,
pub location: Option<String>,
pub encryption_disabled: Option<bool>,
pub bucket_owner_access: Option<BucketOwnerAccess>,
}
Expand description
Information about S3 logs for a build project.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: Option<LogsConfigStatusType>
The current status of the S3 build logs. Valid values are:
-
ENABLED
: S3 build logs are enabled for this build project. -
DISABLED
: S3 build logs are not enabled for this build project.
location: Option<String>
The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket
, and your path prefix is build-log
, then acceptable formats are my-bucket/build-log
or arn:aws:s3:::my-bucket/build-log
.
encryption_disabled: Option<bool>
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
bucket_owner_access: Option<BucketOwnerAccess>
Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.
To use this property, your CodeBuild service role must have the s3:PutBucketAcl
permission. This permission allows CodeBuild to modify the access control list for the bucket.
This property can be one of the following values:
- NONE
-
The bucket owner does not have access to the objects. This is the default.
- READ_ONLY
-
The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.
- FULL
-
The bucket owner has full access to the objects. Object ownership is determined by the following criteria:
-
If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.
-
Otherwise, the uploading account retains ownership of the objects.
For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership in the Amazon Simple Storage Service User Guide.
-
Implementations
sourceimpl S3LogsConfig
impl S3LogsConfig
sourcepub fn status(&self) -> Option<&LogsConfigStatusType>
pub fn status(&self) -> Option<&LogsConfigStatusType>
The current status of the S3 build logs. Valid values are:
-
ENABLED
: S3 build logs are enabled for this build project. -
DISABLED
: S3 build logs are not enabled for this build project.
sourcepub fn location(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket
, and your path prefix is build-log
, then acceptable formats are my-bucket/build-log
or arn:aws:s3:::my-bucket/build-log
.
sourcepub fn encryption_disabled(&self) -> Option<bool>
pub fn encryption_disabled(&self) -> Option<bool>
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
sourcepub fn bucket_owner_access(&self) -> Option<&BucketOwnerAccess>
pub fn bucket_owner_access(&self) -> Option<&BucketOwnerAccess>
Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.
To use this property, your CodeBuild service role must have the s3:PutBucketAcl
permission. This permission allows CodeBuild to modify the access control list for the bucket.
This property can be one of the following values:
- NONE
-
The bucket owner does not have access to the objects. This is the default.
- READ_ONLY
-
The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.
- FULL
-
The bucket owner has full access to the objects. Object ownership is determined by the following criteria:
-
If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.
-
Otherwise, the uploading account retains ownership of the objects.
For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership in the Amazon Simple Storage Service User Guide.
-
sourceimpl S3LogsConfig
impl S3LogsConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3LogsConfig
Trait Implementations
sourceimpl Clone for S3LogsConfig
impl Clone for S3LogsConfig
sourcefn clone(&self) -> S3LogsConfig
fn clone(&self) -> S3LogsConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3LogsConfig
impl Debug for S3LogsConfig
sourceimpl PartialEq<S3LogsConfig> for S3LogsConfig
impl PartialEq<S3LogsConfig> for S3LogsConfig
sourcefn eq(&self, other: &S3LogsConfig) -> bool
fn eq(&self, other: &S3LogsConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3LogsConfig) -> bool
fn ne(&self, other: &S3LogsConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3LogsConfig
Auto Trait Implementations
impl RefUnwindSafe for S3LogsConfig
impl Send for S3LogsConfig
impl Sync for S3LogsConfig
impl Unpin for S3LogsConfig
impl UnwindSafe for S3LogsConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more