Class: AWSCDK::Interfaces::AWSIot::CACertificateReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSIot::CACertificateReference
- Defined in:
- interfaces/aws_iot/ca_certificate_reference.rb
Overview
A reference to a CACertificate resource.
Instance Attribute Summary collapse
-
#ca_certificate_arn ⇒ String
readonly
The ARN of the CACertificate resource.
-
#ca_certificate_id ⇒ String
readonly
The Id of the CACertificate resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ca_certificate_arn:, ca_certificate_id:) ⇒ CACertificateReference
constructor
A new instance of CACertificateReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ca_certificate_arn:, ca_certificate_id:) ⇒ CACertificateReference
Returns a new instance of CACertificateReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_iot/ca_certificate_reference.rb', line 9 def initialize(ca_certificate_arn:, ca_certificate_id:) @ca_certificate_arn = ca_certificate_arn Jsii::Type.check_type(@ca_certificate_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caCertificateArn") @ca_certificate_id = ca_certificate_id Jsii::Type.check_type(@ca_certificate_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caCertificateId") end |
Instance Attribute Details
#ca_certificate_arn ⇒ String (readonly)
The ARN of the CACertificate resource.
19 20 21 |
# File 'interfaces/aws_iot/ca_certificate_reference.rb', line 19 def ca_certificate_arn @ca_certificate_arn end |
#ca_certificate_id ⇒ String (readonly)
The Id of the CACertificate resource.
23 24 25 |
# File 'interfaces/aws_iot/ca_certificate_reference.rb', line 23 def ca_certificate_id @ca_certificate_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_iot/ca_certificate_reference.rb', line 25 def self.jsii_properties { :ca_certificate_arn => "caCertificateArn", :ca_certificate_id => "caCertificateId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_iot/ca_certificate_reference.rb', line 32 def to_jsii result = {} result.merge!({ "caCertificateArn" => @ca_certificate_arn, "caCertificateId" => @ca_certificate_id, }) result.compact end |