@Stability(value=Experimental) public static final class BuildEnvironmentVariable.Builder extends Object implements software.amazon.jsii.Builder<BuildEnvironmentVariable>
BuildEnvironmentVariable| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BuildEnvironmentVariable |
build()
Builds the configured instance.
|
BuildEnvironmentVariable.Builder |
type(BuildEnvironmentVariableType type)
Sets the value of
BuildEnvironmentVariable.getType() |
BuildEnvironmentVariable.Builder |
value(Object value)
Sets the value of
BuildEnvironmentVariable.getValue() |
@Stability(value=Experimental) public BuildEnvironmentVariable.Builder value(Object value)
BuildEnvironmentVariable.getValue()value - The value of the environment variable. This parameter is required.
For plain-text variables (the default), this is the literal value of variable.
For SSM parameter variables, pass the name of the parameter here (parameterName property of IParameter).
For SecretsManager variables secrets, pass either the secret name (secretName property of ISecret)
or the secret ARN (secretArn property of ISecret) here,
along with optional SecretsManager qualifiers separated by ':', like the JSON key, or the version or stage
(see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager for details).this@Stability(value=Experimental) public BuildEnvironmentVariable.Builder type(BuildEnvironmentVariableType type)
BuildEnvironmentVariable.getType()type - The type of environment variable.this@Stability(value=Experimental) public BuildEnvironmentVariable build()
build in interface software.amazon.jsii.Builder<BuildEnvironmentVariable>BuildEnvironmentVariableNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.