Class: AWSCDK::IoTWireless::CfnPartnerAccount::SidewalkAccountInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_wireless/cfn_partner_account.rb

Overview

Information about a Sidewalk account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app_server_private_key:) ⇒ SidewalkAccountInfoProperty

Returns a new instance of SidewalkAccountInfoProperty.

Parameters:

  • app_server_private_key (String)

    The Sidewalk application server private key.



608
609
610
611
# File 'io_t_wireless/cfn_partner_account.rb', line 608

def initialize(app_server_private_key:)
  @app_server_private_key = app_server_private_key
  Jsii::Type.check_type(@app_server_private_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appServerPrivateKey")
end

Instance Attribute Details

#app_server_private_keyString (readonly)

The Sidewalk application server private key.

The application server private key is a secret key, which you should handle in a similar way as you would an application password. You can protect the application server private key by storing the value in the AWS Secrets Manager and use the secretsmanager to reference this value.



619
620
621
# File 'io_t_wireless/cfn_partner_account.rb', line 619

def app_server_private_key
  @app_server_private_key
end

Class Method Details

.jsii_propertiesObject



621
622
623
624
625
# File 'io_t_wireless/cfn_partner_account.rb', line 621

def self.jsii_properties
  {
    :app_server_private_key => "appServerPrivateKey",
  }
end

Instance Method Details

#to_jsiiObject



627
628
629
630
631
632
633
# File 'io_t_wireless/cfn_partner_account.rb', line 627

def to_jsii
  result = {}
  result.merge!({
    "appServerPrivateKey" => @app_server_private_key,
  })
  result.compact
end