Class: AWSCDK::IoT::CfnCACertificate::RegistrationConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnCACertificate::RegistrationConfigProperty
- Defined in:
- io_t/cfn_ca_certificate.rb
Overview
The registration configuration.
Instance Attribute Summary collapse
-
#role_arn ⇒ String?
readonly
The ARN of the role.
-
#template_body ⇒ String?
readonly
The template body.
-
#template_name ⇒ String?
readonly
The name of the provisioning template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role_arn: nil, template_body: nil, template_name: nil) ⇒ RegistrationConfigProperty
constructor
A new instance of RegistrationConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role_arn: nil, template_body: nil, template_name: nil) ⇒ RegistrationConfigProperty
Returns a new instance of RegistrationConfigProperty.
625 626 627 628 629 630 631 632 |
# File 'io_t/cfn_ca_certificate.rb', line 625 def initialize(role_arn: nil, template_body: nil, template_name: nil) @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil? @template_body = template_body Jsii::Type.check_type(@template_body, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateBody") unless @template_body.nil? @template_name = template_name Jsii::Type.check_type(@template_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateName") unless @template_name.nil? end |
Instance Attribute Details
#role_arn ⇒ String? (readonly)
The ARN of the role.
638 639 640 |
# File 'io_t/cfn_ca_certificate.rb', line 638 def role_arn @role_arn end |
#template_body ⇒ String? (readonly)
The template body.
643 644 645 |
# File 'io_t/cfn_ca_certificate.rb', line 643 def template_body @template_body end |
#template_name ⇒ String? (readonly)
The name of the provisioning template.
648 649 650 |
# File 'io_t/cfn_ca_certificate.rb', line 648 def template_name @template_name end |
Class Method Details
.jsii_properties ⇒ Object
650 651 652 653 654 655 656 |
# File 'io_t/cfn_ca_certificate.rb', line 650 def self.jsii_properties { :role_arn => "roleArn", :template_body => "templateBody", :template_name => "templateName", } end |
Instance Method Details
#to_jsii ⇒ Object
658 659 660 661 662 663 664 665 666 |
# File 'io_t/cfn_ca_certificate.rb', line 658 def to_jsii result = {} result.merge!({ "roleArn" => @role_arn, "templateBody" => @template_body, "templateName" => @template_name, }) result.compact end |