Class: AWSCDK::EMRContainers::CfnSecurityConfiguration::TLSCertificateConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
emr_containers/cfn_security_configuration.rb

Overview

TLS certificate configuration for in-transit encryption.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_provider_type: nil, private_key_secret_arn: nil, public_key_secret_arn: nil) ⇒ TLSCertificateConfigurationProperty

Returns a new instance of TLSCertificateConfigurationProperty.

Parameters:

  • certificate_provider_type (String, nil) (defaults to: nil)

    The certificate provider type.

  • private_key_secret_arn (String, nil) (defaults to: nil)

    The ARN of the secret containing the private key.

  • public_key_secret_arn (String, nil) (defaults to: nil)

    The ARN of the secret containing the public key.



1213
1214
1215
1216
1217
1218
1219
1220
# File 'emr_containers/cfn_security_configuration.rb', line 1213

def initialize(certificate_provider_type: nil, private_key_secret_arn: nil, public_key_secret_arn: nil)
  @certificate_provider_type = certificate_provider_type
  Jsii::Type.check_type(@certificate_provider_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateProviderType") unless @certificate_provider_type.nil?
  @private_key_secret_arn = private_key_secret_arn
  Jsii::Type.check_type(@private_key_secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateKeySecretArn") unless @private_key_secret_arn.nil?
  @public_key_secret_arn = public_key_secret_arn
  Jsii::Type.check_type(@public_key_secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "publicKeySecretArn") unless @public_key_secret_arn.nil?
end

Instance Attribute Details

#certificate_provider_typeString? (readonly)

The certificate provider type.



1226
1227
1228
# File 'emr_containers/cfn_security_configuration.rb', line 1226

def certificate_provider_type
  @certificate_provider_type
end

#private_key_secret_arnString? (readonly)

The ARN of the secret containing the private key.



1231
1232
1233
# File 'emr_containers/cfn_security_configuration.rb', line 1231

def private_key_secret_arn
  @private_key_secret_arn
end

#public_key_secret_arnString? (readonly)

The ARN of the secret containing the public key.



1236
1237
1238
# File 'emr_containers/cfn_security_configuration.rb', line 1236

def public_key_secret_arn
  @public_key_secret_arn
end

Class Method Details

.jsii_propertiesObject



1238
1239
1240
1241
1242
1243
1244
# File 'emr_containers/cfn_security_configuration.rb', line 1238

def self.jsii_properties
  {
    :certificate_provider_type => "certificateProviderType",
    :private_key_secret_arn => "privateKeySecretArn",
    :public_key_secret_arn => "publicKeySecretArn",
  }
end

Instance Method Details

#to_jsiiObject



1246
1247
1248
1249
1250
1251
1252
1253
1254
# File 'emr_containers/cfn_security_configuration.rb', line 1246

def to_jsii
  result = {}
  result.merge!({
    "certificateProviderType" => @certificate_provider_type,
    "privateKeySecretArn" => @private_key_secret_arn,
    "publicKeySecretArn" => @public_key_secret_arn,
  })
  result.compact
end