Class: AWSCDK::AppRunner::CfnService::EncryptionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_runner/cfn_service.rb

Overview

Describes a custom encryption key that AWS App Runner uses to encrypt copies of the source repository and service logs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kms_key:) ⇒ EncryptionConfigurationProperty

Returns a new instance of EncryptionConfigurationProperty.

Parameters:

  • kms_key (String)

    The ARN of the KMS key that's used for encryption.



969
970
971
972
# File 'app_runner/cfn_service.rb', line 969

def initialize(kms_key:)
  @kms_key = kms_key
  Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKey")
end

Instance Attribute Details

#kms_keyString (readonly)

The ARN of the KMS key that's used for encryption.



978
979
980
# File 'app_runner/cfn_service.rb', line 978

def kms_key
  @kms_key
end

Class Method Details

.jsii_propertiesObject



980
981
982
983
984
# File 'app_runner/cfn_service.rb', line 980

def self.jsii_properties
  {
    :kms_key => "kmsKey",
  }
end

Instance Method Details

#to_jsiiObject



986
987
988
989
990
991
992
# File 'app_runner/cfn_service.rb', line 986

def to_jsii
  result = {}
  result.merge!({
    "kmsKey" => @kms_key,
  })
  result.compact
end