Class: AWSCDK::EKS::CfnCluster::ProviderProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::ProviderProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
Identifies the AWS Key Management Service ( AWS ) key used to encrypt the secrets.
Instance Attribute Summary collapse
-
#key_arn ⇒ String?
readonly
Amazon Resource Name (ARN) or alias of the KMS key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_arn: nil) ⇒ ProviderProperty
constructor
A new instance of ProviderProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_arn: nil) ⇒ ProviderProperty
Returns a new instance of ProviderProperty.
1485 1486 1487 1488 |
# File 'eks/cfn_cluster.rb', line 1485 def initialize(key_arn: nil) @key_arn = key_arn Jsii::Type.check_type(@key_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyArn") unless @key_arn.nil? end |
Instance Attribute Details
#key_arn ⇒ String? (readonly)
Amazon Resource Name (ARN) or alias of the KMS key.
The KMS key must be symmetric and created in the same AWS Region as the cluster. If the KMS key was created in a different account, the IAM principal must have access to the KMS key. For more information, see Allowing users in other accounts to use a KMS key in the AWS Key Management Service Developer Guide .
1496 1497 1498 |
# File 'eks/cfn_cluster.rb', line 1496 def key_arn @key_arn end |
Class Method Details
.jsii_properties ⇒ Object
1498 1499 1500 1501 1502 |
# File 'eks/cfn_cluster.rb', line 1498 def self.jsii_properties { :key_arn => "keyArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1504 1505 1506 1507 1508 1509 1510 |
# File 'eks/cfn_cluster.rb', line 1504 def to_jsii result = {} result.merge!({ "keyArn" => @key_arn, }) result.compact end |