public static interface Secret.Builder extends SdkPojo, CopyableBuilder<Secret.Builder,Secret>
Modifier and Type | Method and Description |
---|---|
Secret.Builder |
name(String name)
The name of the secret.
|
Secret.Builder |
valueFrom(String valueFrom)
The secret to expose to the container.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Secret.Builder name(String name)
The name of the secret.
name
- The name of the secret.Secret.Builder valueFrom(String valueFrom)
The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.
If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
valueFrom
- The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets
Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you are launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
Copyright © 2021. All rights reserved.