Struct aws_sdk_batch::model::secret::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Secret
.
Implementations§
source§impl Builder
impl Builder
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.