@Stability(value=Stable) public static final class CfnJobDefinition.SecretProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobDefinition.SecretProperty>
CfnJobDefinition.SecretProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobDefinition.SecretProperty |
build()
Builds the configured instance.
|
CfnJobDefinition.SecretProperty.Builder |
name(String name)
Sets the value of
CfnJobDefinition.SecretProperty.getName() |
CfnJobDefinition.SecretProperty.Builder |
valueFrom(String valueFrom)
Sets the value of
CfnJobDefinition.SecretProperty.getValueFrom() |
@Stability(value=Stable) public CfnJobDefinition.SecretProperty.Builder name(String name)
CfnJobDefinition.SecretProperty.getName()name - The name of the secret. This parameter is required.this@Stability(value=Stable) public CfnJobDefinition.SecretProperty.Builder valueFrom(String valueFrom)
CfnJobDefinition.SecretProperty.getValueFrom()valueFrom - The secret to expose to the container. This parameter is required.
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're 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.
this@Stability(value=Stable) public CfnJobDefinition.SecretProperty build()
build in interface software.amazon.jsii.Builder<CfnJobDefinition.SecretProperty>CfnJobDefinition.SecretPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.