Class BuildEnvironmentVariable.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class BuildEnvironmentVariable.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BuildEnvironmentVariable
An implementation for BuildEnvironmentVariable
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BuildEnvironmentVariable.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BuildEnvironmentVariable.Builder.
  • Method Details

    • getValue

      public final Object getValue()
      Description copied from interface: BuildEnvironmentVariable
      The value of the environment variable.

      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).

      Specified by:
      getValue in interface BuildEnvironmentVariable
    • getType

      public final BuildEnvironmentVariableType getType()
      Description copied from interface: BuildEnvironmentVariable
      The type of environment variable.

      Default: PlainText

      Specified by:
      getType in interface BuildEnvironmentVariable
    • $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