@Stability(value=Stable)
public static interface CfnProject.EnvironmentVariableProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getName()
The name or key of the environment variable.
|
default String |
getType()
The type of environment variable.
|
String |
getValue()
The value of the environment variable.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getValue()
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.
@Stability(value=Stable) @Nullable default 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 .@Stability(value=Stable) static CfnProject.EnvironmentVariableProperty.Builder builder()
Copyright © 2022. All rights reserved.