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