Class CfnPipeline.EncryptionKeyProperty.Jsii$Proxy

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

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

    • getId

      public final String getId()
      Description copied from interface: CfnPipeline.EncryptionKeyProperty
      The ID used to identify the key.

      For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN.

      Aliases are recognized only in the account that created the AWS KMS key. For cross-account actions, you can only use the key ID or key ARN to identify the key. Cross-account actions involve using the role from the other account (AccountB), so specifying the key ID will use the key from the other account (AccountB).

      Specified by:
      getId in interface CfnPipeline.EncryptionKeyProperty
    • getType

      public final String getType()
      Description copied from interface: CfnPipeline.EncryptionKeyProperty
      The type of encryption key, such as an AWS KMS key.

      When creating or updating a pipeline, the value must be set to 'KMS'.

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