Class: AWSCDK::ECS::ServiceConnectTLSConfiguration
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::ServiceConnectTLSConfiguration
- Defined in:
- ecs/service_connect_tls_configuration.rb
Overview
TLS configuration for Service Connect service.
Instance Attribute Summary collapse
-
#aws_pca_authority_arn ⇒ String?
readonly
The ARN of the certificate root authority that secures your service.
-
#kms_key ⇒ AWSCDK::Interfaces::AWSKMS::IKeyRef?
readonly
The KMS key used for encryption and decryption.
-
#role ⇒ AWSCDK::IAM::IRole?
readonly
The IAM role that's associated with the Service Connect TLS.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_pca_authority_arn: nil, kms_key: nil, role: nil) ⇒ ServiceConnectTLSConfiguration
constructor
A new instance of ServiceConnectTLSConfiguration.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_pca_authority_arn: nil, kms_key: nil, role: nil) ⇒ ServiceConnectTLSConfiguration
Returns a new instance of ServiceConnectTLSConfiguration.
10 11 12 13 14 15 16 17 |
# File 'ecs/service_connect_tls_configuration.rb', line 10 def initialize(aws_pca_authority_arn: nil, kms_key: nil, role: nil) @aws_pca_authority_arn = Jsii::Type.check_type(@aws_pca_authority_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsPcaAuthorityArn") unless @aws_pca_authority_arn.nil? @kms_key = kms_key Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19rbXMuSUtleVJlZiJ9")), "kmsKey") unless @kms_key.nil? @role = role Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "role") unless @role.nil? end |
Instance Attribute Details
#aws_pca_authority_arn ⇒ String? (readonly)
Note:
Default: - none
The ARN of the certificate root authority that secures your service.
23 24 25 |
# File 'ecs/service_connect_tls_configuration.rb', line 23 def @aws_pca_authority_arn end |
#kms_key ⇒ AWSCDK::Interfaces::AWSKMS::IKeyRef? (readonly)
Note:
Default: - none
The KMS key used for encryption and decryption.
28 29 30 |
# File 'ecs/service_connect_tls_configuration.rb', line 28 def kms_key @kms_key end |
#role ⇒ AWSCDK::IAM::IRole? (readonly)
Note:
Default: - none
The IAM role that's associated with the Service Connect TLS.
33 34 35 |
# File 'ecs/service_connect_tls_configuration.rb', line 33 def role @role end |
Class Method Details
.jsii_properties ⇒ Object
35 36 37 38 39 40 41 |
# File 'ecs/service_connect_tls_configuration.rb', line 35 def self.jsii_properties { :aws_pca_authority_arn => "awsPcaAuthorityArn", :kms_key => "kmsKey", :role => "role", } end |
Instance Method Details
#to_jsii ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'ecs/service_connect_tls_configuration.rb', line 43 def to_jsii result = {} result.merge!({ "awsPcaAuthorityArn" => @aws_pca_authority_arn, "kmsKey" => @kms_key, "role" => @role, }) result.compact end |