Struct aws_sdk_batch::types::builders::SecretBuilder
source · #[non_exhaustive]pub struct SecretBuilder { /* private fields */ }
Expand description
A builder for Secret
.
Implementations§
source§impl SecretBuilder
impl SecretBuilder
sourcepub fn value_from(self, input: impl Into<String>) -> Self
pub fn value_from(self, input: impl Into<String>) -> Self
The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
sourcepub fn set_value_from(self, input: Option<String>) -> Self
pub fn set_value_from(self, input: Option<String>) -> Self
The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
sourcepub fn get_value_from(&self) -> &Option<String>
pub fn get_value_from(&self) -> &Option<String>
The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
Trait Implementations§
source§impl Clone for SecretBuilder
impl Clone for SecretBuilder
source§fn clone(&self) -> SecretBuilder
fn clone(&self) -> SecretBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecretBuilder
impl Debug for SecretBuilder
source§impl Default for SecretBuilder
impl Default for SecretBuilder
source§fn default() -> SecretBuilder
fn default() -> SecretBuilder
source§impl PartialEq<SecretBuilder> for SecretBuilder
impl PartialEq<SecretBuilder> for SecretBuilder
source§fn eq(&self, other: &SecretBuilder) -> bool
fn eq(&self, other: &SecretBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.