Class CfnProject.EnvironmentVariableProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.CfnProject.EnvironmentVariableProperty.Jsii$Proxy
All Implemented Interfaces:
CfnProject.EnvironmentVariableProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnProject.EnvironmentVariableProperty

@Stability(Stable) @Internal public static final class CfnProject.EnvironmentVariableProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnProject.EnvironmentVariableProperty
  • Constructor Details

  • Method Details

    • getName

      public final String getName()
      Description copied from interface: CfnProject.EnvironmentVariableProperty
      The name or key of the environment variable.
      Specified by:
      getName in interface CfnProject.EnvironmentVariableProperty
    • getValue

      public final String getValue()
      Description copied from interface: CfnProject.EnvironmentVariableProperty
      The value of the environment variable.

      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 type PARAMETER_STORE or SECRETS_MANAGER .

      Specified by:
      getValue in interface CfnProject.EnvironmentVariableProperty
    • getType

      public final String getType()
      Description copied from interface: CfnProject.EnvironmentVariableProperty
      The type of environment variable. Valid values include:.

      • PARAMETER_STORE : An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, 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 . For environment variables of this type, specify the name of the secret as the value of the EnvironmentVariable. The secret value will be substituted for the name at runtime. You can also define AWS Secrets Manager environment variables in the buildspec. To learn how to do so, see env/secrets-manager in the AWS CodeBuild User Guide .
      Specified by:
      getType in interface CfnProject.EnvironmentVariableProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object