Class: AWSCDK::AppRunner::CfnService::EncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppRunner::CfnService::EncryptionConfigurationProperty
- 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
-
#kms_key ⇒ String
readonly
The ARN of the KMS key that's used for encryption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_key:) ⇒ EncryptionConfigurationProperty
constructor
A new instance of EncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_key:) ⇒ EncryptionConfigurationProperty
Returns a new instance of EncryptionConfigurationProperty.
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_key ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |