#[non_exhaustive]pub struct ExportedEnvironmentVariable {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Contains information about an exported environment variable.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
During a build, the value of a variable is available starting with the install
phase. It can be updated between the start of the install
phase and the end of the post_build
phase. After the post_build
phase ends, the value of exported variables cannot change.
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.name: Option<String>
The name of the exported environment variable.
value: Option<String>
The value assigned to the exported environment variable.
Implementations§
source§impl ExportedEnvironmentVariable
impl ExportedEnvironmentVariable
sourcepub fn builder() -> ExportedEnvironmentVariableBuilder
pub fn builder() -> ExportedEnvironmentVariableBuilder
Creates a new builder-style object to manufacture ExportedEnvironmentVariable
.
Trait Implementations§
source§impl Clone for ExportedEnvironmentVariable
impl Clone for ExportedEnvironmentVariable
source§fn clone(&self) -> ExportedEnvironmentVariable
fn clone(&self) -> ExportedEnvironmentVariable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportedEnvironmentVariable
impl Debug for ExportedEnvironmentVariable
source§impl PartialEq for ExportedEnvironmentVariable
impl PartialEq for ExportedEnvironmentVariable
source§fn eq(&self, other: &ExportedEnvironmentVariable) -> bool
fn eq(&self, other: &ExportedEnvironmentVariable) -> bool
self
and other
values to be equal, and is used
by ==
.