Class CfnJobDefinition.SecretProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnJobDefinition.SecretProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnJobDefinition.SecretProperty
An implementation for CfnJobDefinition.SecretProperty
  • 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(CfnJobDefinition.SecretProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnJobDefinition.SecretProperty.Builder.
  • Method Details

    • getName

      public final String getName()
      Description copied from interface: CfnJobDefinition.SecretProperty
      The name of the secret.
      Specified by:
      getName in interface CfnJobDefinition.SecretProperty
    • getValueFrom

      public final String getValueFrom()
      Description copied from interface: CfnJobDefinition.SecretProperty
      The secret to expose to the container.

      The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.

      If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.

      Specified by:
      getValueFrom in interface CfnJobDefinition.SecretProperty
    • $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