Class: AWSCDK::DMS::CfnCertificateProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DMS::CfnCertificateProps
- Defined in:
- dms/cfn_certificate_props.rb
Overview
Properties for defining a CfnCertificate.
Instance Attribute Summary collapse
-
#certificate_identifier ⇒ String?
readonly
A customer-assigned name for the certificate.
-
#certificate_pem ⇒ String?
readonly
The contents of a
.pemfile, which contains an X.509 certificate. -
#certificate_wallet ⇒ String?
readonly
The location of an imported Oracle Wallet certificate for use with SSL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_identifier: nil, certificate_pem: nil, certificate_wallet: nil) ⇒ CfnCertificateProps
constructor
A new instance of CfnCertificateProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_identifier: nil, certificate_pem: nil, certificate_wallet: nil) ⇒ CfnCertificateProps
Returns a new instance of CfnCertificateProps.
12 13 14 15 16 17 18 19 |
# File 'dms/cfn_certificate_props.rb', line 12 def initialize(certificate_identifier: nil, certificate_pem: nil, certificate_wallet: nil) @certificate_identifier = certificate_identifier Jsii::Type.check_type(@certificate_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateIdentifier") unless @certificate_identifier.nil? @certificate_pem = certificate_pem Jsii::Type.check_type(@certificate_pem, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificatePem") unless @certificate_pem.nil? @certificate_wallet = certificate_wallet Jsii::Type.check_type(@certificate_wallet, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateWallet") unless @certificate_wallet.nil? end |
Instance Attribute Details
#certificate_identifier ⇒ String? (readonly)
A customer-assigned name for the certificate.
Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
27 28 29 |
# File 'dms/cfn_certificate_props.rb', line 27 def certificate_identifier @certificate_identifier end |
#certificate_pem ⇒ String? (readonly)
The contents of a .pem file, which contains an X.509 certificate.
32 33 34 |
# File 'dms/cfn_certificate_props.rb', line 32 def certificate_pem @certificate_pem end |
#certificate_wallet ⇒ String? (readonly)
The location of an imported Oracle Wallet certificate for use with SSL.
An example is: filebase64("${path.root}/rds-ca-2019-root.sso")
39 40 41 |
# File 'dms/cfn_certificate_props.rb', line 39 def certificate_wallet @certificate_wallet end |
Class Method Details
.jsii_properties ⇒ Object
41 42 43 44 45 46 47 |
# File 'dms/cfn_certificate_props.rb', line 41 def self.jsii_properties { :certificate_identifier => "certificateIdentifier", :certificate_pem => "certificatePem", :certificate_wallet => "certificateWallet", } end |
Instance Method Details
#to_jsii ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'dms/cfn_certificate_props.rb', line 49 def to_jsii result = {} result.merge!({ "certificateIdentifier" => @certificate_identifier, "certificatePem" => @certificate_pem, "certificateWallet" => @certificate_wallet, }) result.compact end |