@Stability(value=Stable) public static final class CfnProject.EnvironmentVariableProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnProject.EnvironmentVariableProperty>
CfnProject.EnvironmentVariableProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnProject.EnvironmentVariableProperty |
build()
Builds the configured instance.
|
CfnProject.EnvironmentVariableProperty.Builder |
name(String name)
Sets the value of
CfnProject.EnvironmentVariableProperty.getName() |
CfnProject.EnvironmentVariableProperty.Builder |
type(String type)
Sets the value of
CfnProject.EnvironmentVariableProperty.getType() |
CfnProject.EnvironmentVariableProperty.Builder |
value(String value)
Sets the value of
CfnProject.EnvironmentVariableProperty.getValue() |
@Stability(value=Stable) public CfnProject.EnvironmentVariableProperty.Builder name(String name)
CfnProject.EnvironmentVariableProperty.getName()name - The name or key of the environment variable. This parameter is required.this@Stability(value=Stable) public CfnProject.EnvironmentVariableProperty.Builder value(String value)
CfnProject.EnvironmentVariableProperty.getValue()value - The value of the environment variable. This parameter is required.
We strongly discourage the use of
PLAINTEXTenvironment variables to store sensitive values, especially AWS secret key IDs and secret access keys.PLAINTEXTenvironment variables can be displayed in plain text using the AWS CodeBuild console and the AWS CLI . For sensitive values, we recommend you use an environment variable of typePARAMETER_STOREorSECRETS_MANAGER.
this@Stability(value=Stable) public CfnProject.EnvironmentVariableProperty.Builder type(String type)
CfnProject.EnvironmentVariableProperty.getType()type - The type of environment variable. Valid values include:.
PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see env/parameter-store in the AWS CodeBuild User Guide .PLAINTEXT : An environment variable in plain text format. This is the default value.SECRETS_MANAGER : An environment variable stored in AWS Secrets Manager . To learn how to specify a secrets manager environment variable, see env/secrets-manager in the AWS CodeBuild User Guide .this@Stability(value=Stable) public CfnProject.EnvironmentVariableProperty build()
build in interface software.amazon.jsii.Builder<CfnProject.EnvironmentVariableProperty>CfnProject.EnvironmentVariablePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.