public static interface CfnProject.EnvironmentVariableProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codebuild.*; EnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder() .name("name") .value("value") // the properties below are optional .type("type") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnProject.EnvironmentVariableProperty.Builder
A builder for
CfnProject.EnvironmentVariableProperty |
static class |
CfnProject.EnvironmentVariableProperty.Jsii$Proxy
An implementation for
CfnProject.EnvironmentVariableProperty |
Modifier and Type | Method and Description |
---|---|
static CfnProject.EnvironmentVariableProperty.Builder |
builder() |
java.lang.String |
getName()
The name or key of the environment variable.
|
default java.lang.String |
getType()
The type of environment variable.
|
java.lang.String |
getValue()
The value of the environment variable.
|
java.lang.String getName()
java.lang.String getValue()
We strongly discourage the use of
PLAINTEXT
environment variables to store sensitive values, especially AWS secret key IDs and secret access keys.PLAINTEXT
environment 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_STORE
orSECRETS_MANAGER
.
default java.lang.String getType()
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 .static CfnProject.EnvironmentVariableProperty.Builder builder()