Class: AWSCDK::IoT::CfnCACertificate::RegistrationConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t/cfn_ca_certificate.rb

Overview

The registration configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role_arn: nil, template_body: nil, template_name: nil) ⇒ RegistrationConfigProperty

Returns a new instance of RegistrationConfigProperty.

Parameters:

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

    The ARN of the role.

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

    The template body.

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

    The name of the provisioning template.



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_arnString? (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_bodyString? (readonly)

The template body.



643
644
645
# File 'io_t/cfn_ca_certificate.rb', line 643

def template_body
  @template_body
end

#template_nameString? (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_propertiesObject



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_jsiiObject



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