Class CfnAliasProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnAliasProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAliasProps
An implementation for CfnAliasProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kms.CfnAliasProps

    CfnAliasProps.Builder, CfnAliasProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnAliasProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    Specifies the alias name.
    final String
    Associates the alias with the specified customer managed key .
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CfnAliasProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnAliasProps.Builder.
  • Method Details

    • getAliasName

      public final String getAliasName()
      Description copied from interface: CfnAliasProps
      Specifies the alias name. This value must begin with alias/ followed by a name, such as alias/ExampleAlias .

      If you change the value of the AliasName property, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC).

      The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin with alias/aws/ . The alias/aws/ prefix is reserved for AWS managed keys .

      Specified by:
      getAliasName in interface CfnAliasProps
      See Also:
    • getTargetKeyId

      public final String getTargetKeyId()
      Description copied from interface: CfnAliasProps
      Associates the alias with the specified customer managed key . The KMS key must be in the same AWS account and Region.

      A valid key ID is required. If you supply a null or empty string value, this operation returns an error.

      For help finding the key ID and ARN, see Finding the key ID and ARN in the AWS Key Management Service Developer Guide .

      Specify the key ID or the key ARN of the KMS key.

      For example:

      • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
      • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

      To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey .

      Specified by:
      getTargetKeyId in interface CfnAliasProps
      See Also:
    • $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