Class CfnService.SecretProperty.Jsii$Proxy

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

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

    • getName

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

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

      The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

      For information about the require AWS Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide .

      If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full 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 CfnService.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