Struct aws_sdk_codepipeline::types::ArtifactStore
source · #[non_exhaustive]pub struct ArtifactStore {
pub type: ArtifactStoreType,
pub location: String,
pub encryption_key: Option<EncryptionKey>,
}
Expand description
The S3 bucket where artifacts for the pipeline are stored.
You must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
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.type: ArtifactStoreType
The type of the artifact store, such as S3.
location: String
The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.
encryption_key: Option<EncryptionKey>
The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.
Implementations§
source§impl ArtifactStore
impl ArtifactStore
sourcepub fn type(&self) -> &ArtifactStoreType
pub fn type(&self) -> &ArtifactStoreType
The type of the artifact store, such as S3.
sourcepub fn location(&self) -> &str
pub fn location(&self) -> &str
The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.
sourcepub fn encryption_key(&self) -> Option<&EncryptionKey>
pub fn encryption_key(&self) -> Option<&EncryptionKey>
The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.
source§impl ArtifactStore
impl ArtifactStore
sourcepub fn builder() -> ArtifactStoreBuilder
pub fn builder() -> ArtifactStoreBuilder
Creates a new builder-style object to manufacture ArtifactStore
.
Trait Implementations§
source§impl Clone for ArtifactStore
impl Clone for ArtifactStore
source§fn clone(&self) -> ArtifactStore
fn clone(&self) -> ArtifactStore
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArtifactStore
impl Debug for ArtifactStore
source§impl PartialEq for ArtifactStore
impl PartialEq for ArtifactStore
source§fn eq(&self, other: &ArtifactStore) -> bool
fn eq(&self, other: &ArtifactStore) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArtifactStore
Auto Trait Implementations§
impl Freeze for ArtifactStore
impl RefUnwindSafe for ArtifactStore
impl Send for ArtifactStore
impl Sync for ArtifactStore
impl Unpin for ArtifactStore
impl UnwindSafe for ArtifactStore
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more