Class: AWSCDK::ECS::CfnService::ServiceConnectTLSConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::CfnService::ServiceConnectTLSConfigurationProperty
- Defined in:
- ecs/cfn_service.rb
Overview
The key that encrypts and decrypts your resources for Service Connect TLS.
Instance Attribute Summary collapse
-
#issuer_certificate_authority ⇒ AWSCDK::IResolvable, AWSCDK::ECS::CfnService::ServiceConnectTLSCertificateAuthorityProperty
readonly
The signer certificate authority.
-
#kms_key ⇒ String?
readonly
The AWS Key Management Service key.
-
#role_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(issuer_certificate_authority:, kms_key: nil, role_arn: nil) ⇒ ServiceConnectTLSConfigurationProperty
constructor
A new instance of ServiceConnectTLSConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(issuer_certificate_authority:, kms_key: nil, role_arn: nil) ⇒ ServiceConnectTLSConfigurationProperty
Returns a new instance of ServiceConnectTLSConfigurationProperty.
2870 2871 2872 2873 2874 2875 2876 2877 |
# File 'ecs/cfn_service.rb', line 2870 def initialize(issuer_certificate_authority:, kms_key: nil, role_arn: nil) @issuer_certificate_authority = .is_a?(Hash) ? ::AWSCDK::ECS::CfnService::ServiceConnectTLSCertificateAuthorityProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@issuer_certificate_authority, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lY3MuQ2ZuU2VydmljZS5TZXJ2aWNlQ29ubmVjdFRsc0NlcnRpZmljYXRlQXV0aG9yaXR5UHJvcGVydHkifV19fQ==")), "issuerCertificateAuthority") @kms_key = kms_key Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKey") unless @kms_key.nil? @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil? end |
Instance Attribute Details
#issuer_certificate_authority ⇒ AWSCDK::IResolvable, AWSCDK::ECS::CfnService::ServiceConnectTLSCertificateAuthorityProperty (readonly)
The signer certificate authority.
2883 2884 2885 |
# File 'ecs/cfn_service.rb', line 2883 def @issuer_certificate_authority end |
#kms_key ⇒ String? (readonly)
The AWS Key Management Service key.
2888 2889 2890 |
# File 'ecs/cfn_service.rb', line 2888 def kms_key @kms_key end |
#role_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.
2893 2894 2895 |
# File 'ecs/cfn_service.rb', line 2893 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
2895 2896 2897 2898 2899 2900 2901 |
# File 'ecs/cfn_service.rb', line 2895 def self.jsii_properties { :issuer_certificate_authority => "issuerCertificateAuthority", :kms_key => "kmsKey", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
2903 2904 2905 2906 2907 2908 2909 2910 2911 |
# File 'ecs/cfn_service.rb', line 2903 def to_jsii result = {} result.merge!({ "issuerCertificateAuthority" => @issuer_certificate_authority, "kmsKey" => @kms_key, "roleArn" => @role_arn, }) result.compact end |