Class: AWSCDK::IoTWireless::CfnWirelessDevice::SessionKeysAbpV11Property

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

Overview

Session keys for ABP v1.1.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app_s_key:, f_nwk_s_int_key:, nwk_s_enc_key:, s_nwk_s_int_key:) ⇒ SessionKeysAbpV11Property

Returns a new instance of SessionKeysAbpV11Property.

Parameters:

  • app_s_key (String)

    The AppSKey is a secret key, which you should handle in a similar way as you would an application password.

  • f_nwk_s_int_key (String)

    The FNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password.

  • nwk_s_enc_key (String)

    The NwkSEncKey is a secret key, which you should handle in a similar way as you would an application password.

  • s_nwk_s_int_key (String)

    The SNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password.



1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
# File 'io_t_wireless/cfn_wireless_device.rb', line 1089

def initialize(app_s_key:, f_nwk_s_int_key:, nwk_s_enc_key:, s_nwk_s_int_key:)
  @app_s_key = app_s_key
  Jsii::Type.check_type(@app_s_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appSKey")
  @f_nwk_s_int_key = f_nwk_s_int_key
  Jsii::Type.check_type(@f_nwk_s_int_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fNwkSIntKey")
  @nwk_s_enc_key = nwk_s_enc_key
  Jsii::Type.check_type(@nwk_s_enc_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nwkSEncKey")
  @s_nwk_s_int_key = s_nwk_s_int_key
  Jsii::Type.check_type(@s_nwk_s_int_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sNwkSIntKey")
end

Instance Attribute Details

#app_s_keyString (readonly)

The AppSKey is a secret key, which you should handle in a similar way as you would an application password.

You can protect the AppSKey value by storing it in the AWS Secrets Manager and use the secretsmanager to reference this value.



1106
1107
1108
# File 'io_t_wireless/cfn_wireless_device.rb', line 1106

def app_s_key
  @app_s_key
end

#f_nwk_s_int_keyString (readonly)

The FNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password.

You can protect the FNwkSIntKey value by storing it in the AWS Secrets Manager and use the secretsmanager to reference this value.



1113
1114
1115
# File 'io_t_wireless/cfn_wireless_device.rb', line 1113

def f_nwk_s_int_key
  @f_nwk_s_int_key
end

#nwk_s_enc_keyString (readonly)

The NwkSEncKey is a secret key, which you should handle in a similar way as you would an application password.

You can protect the NwkSEncKey value by storing it in the AWS Secrets Manager and use the secretsmanager to reference this value.



1120
1121
1122
# File 'io_t_wireless/cfn_wireless_device.rb', line 1120

def nwk_s_enc_key
  @nwk_s_enc_key
end

#s_nwk_s_int_keyString (readonly)

The SNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password.

You can protect the SNwkSIntKey value by storing it in the AWS Secrets Manager and use the secretsmanager to reference this value.



1127
1128
1129
# File 'io_t_wireless/cfn_wireless_device.rb', line 1127

def s_nwk_s_int_key
  @s_nwk_s_int_key
end

Class Method Details

.jsii_propertiesObject



1129
1130
1131
1132
1133
1134
1135
1136
# File 'io_t_wireless/cfn_wireless_device.rb', line 1129

def self.jsii_properties
  {
    :app_s_key => "appSKey",
    :f_nwk_s_int_key => "fNwkSIntKey",
    :nwk_s_enc_key => "nwkSEncKey",
    :s_nwk_s_int_key => "sNwkSIntKey",
  }
end

Instance Method Details

#to_jsiiObject



1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'io_t_wireless/cfn_wireless_device.rb', line 1138

def to_jsii
  result = {}
  result.merge!({
    "appSKey" => @app_s_key,
    "fNwkSIntKey" => @f_nwk_s_int_key,
    "nwkSEncKey" => @nwk_s_enc_key,
    "sNwkSIntKey" => @s_nwk_s_int_key,
  })
  result.compact
end