« Cfn/Resource/AWS/IoTWireless/ServiceProfile.pm
↑ Summary
Cfn/Resource/AWS/IoTWireless/WirelessGateway.pm »
| 1 | # AWS::IoTWireless::WirelessDevice generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::IoTWireless::WirelessDevice { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','Id','ThingName' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'eu-west-1','us-east-1' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV11', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV11', | ||
| 27 | from 'HashRef', | ||
| 28 | via { | ||
| 29 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 30 | return $f | ||
| 31 | } else { | ||
| 32 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV11->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV11 { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has AppSKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has FNwkSIntKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has NwkSEncKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | has SNwkSIntKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 45 | } | ||
| 46 | |||
| 47 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV10x', | ||
| 48 | as 'Cfn::Value'; | ||
| 49 | |||
| 50 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV10x', | ||
| 51 | from 'HashRef', | ||
| 52 | via { | ||
| 53 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 54 | return $f | ||
| 55 | } else { | ||
| 56 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV10x->new( %$_ ); | ||
| 57 | } | ||
| 58 | }; | ||
| 59 | |||
| 60 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV10x { | ||
| 61 | use Moose; | ||
| 62 | use MooseX::StrictConstructor; | ||
| 63 | extends 'Cfn::Value::TypedValue'; | ||
| 64 | |||
| 65 | has AppSKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | has NwkSKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 67 | } | ||
| 68 | |||
| 69 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV11', | ||
| 70 | as 'Cfn::Value'; | ||
| 71 | |||
| 72 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV11', | ||
| 73 | from 'HashRef', | ||
| 74 | via { | ||
| 75 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 76 | return $f | ||
| 77 | } else { | ||
| 78 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::OtaaV11->new( %$_ ); | ||
| 79 | } | ||
| 80 | }; | ||
| 81 | |||
| 82 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::OtaaV11 { | ||
| 83 | use Moose; | ||
| 84 | use MooseX::StrictConstructor; | ||
| 85 | extends 'Cfn::Value::TypedValue'; | ||
| 86 | |||
| 87 | has AppKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 88 | has JoinEui => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 89 | has NwkKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 90 | } | ||
| 91 | |||
| 92 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV10x', | ||
| 93 | as 'Cfn::Value'; | ||
| 94 | |||
| 95 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV10x', | ||
| 96 | from 'HashRef', | ||
| 97 | via { | ||
| 98 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 99 | return $f | ||
| 100 | } else { | ||
| 101 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::OtaaV10x->new( %$_ ); | ||
| 102 | } | ||
| 103 | }; | ||
| 104 | |||
| 105 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::OtaaV10x { | ||
| 106 | use Moose; | ||
| 107 | use MooseX::StrictConstructor; | ||
| 108 | extends 'Cfn::Value::TypedValue'; | ||
| 109 | |||
| 110 | has AppEui => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 111 | has AppKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 112 | } | ||
| 113 | |||
| 114 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV11', | ||
| 115 | as 'Cfn::Value'; | ||
| 116 | |||
| 117 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV11', | ||
| 118 | from 'HashRef', | ||
| 119 | via { | ||
| 120 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 121 | return $f | ||
| 122 | } else { | ||
| 123 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::AbpV11->new( %$_ ); | ||
| 124 | } | ||
| 125 | }; | ||
| 126 | |||
| 127 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::AbpV11 { | ||
| 128 | use Moose; | ||
| 129 | use MooseX::StrictConstructor; | ||
| 130 | extends 'Cfn::Value::TypedValue'; | ||
| 131 | |||
| 132 | has DevAddr => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 133 | has SessionKeys => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV11', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 134 | } | ||
| 135 | |||
| 136 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV10x', | ||
| 137 | as 'Cfn::Value'; | ||
| 138 | |||
| 139 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV10x', | ||
| 140 | from 'HashRef', | ||
| 141 | via { | ||
| 142 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 143 | return $f | ||
| 144 | } else { | ||
| 145 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::AbpV10x->new( %$_ ); | ||
| 146 | } | ||
| 147 | }; | ||
| 148 | |||
| 149 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::AbpV10x { | ||
| 150 | use Moose; | ||
| 151 | use MooseX::StrictConstructor; | ||
| 152 | extends 'Cfn::Value::TypedValue'; | ||
| 153 | |||
| 154 | has DevAddr => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 155 | has SessionKeys => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::SessionKeysAbpV10x', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 156 | } | ||
| 157 | |||
| 158 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::LoRaWANDevice', | ||
| 159 | as 'Cfn::Value'; | ||
| 160 | |||
| 161 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::LoRaWANDevice', | ||
| 162 | from 'HashRef', | ||
| 163 | via { | ||
| 164 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 165 | return $f | ||
| 166 | } else { | ||
| 167 | return Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::LoRaWANDevice->new( %$_ ); | ||
| 168 | } | ||
| 169 | }; | ||
| 170 | |||
| 171 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::WirelessDevice::LoRaWANDevice { | ||
| 172 | use Moose; | ||
| 173 | use MooseX::StrictConstructor; | ||
| 174 | extends 'Cfn::Value::TypedValue'; | ||
| 175 | |||
| 176 | has AbpV10x => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV10x', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 177 | has AbpV11 => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::AbpV11', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 178 | has DevEui => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 179 | has DeviceProfileId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 180 | has OtaaV10x => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV10x', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 181 | has OtaaV11 => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::OtaaV11', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 182 | has ServiceProfileId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 183 | } | ||
| 184 | |||
| 185 | package Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice { | ||
| 186 | use Moose; | ||
| 187 | use MooseX::StrictConstructor; | ||
| 188 | extends 'Cfn::Resource::Properties'; | ||
| 189 | |||
| 190 | has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 191 | has DestinationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 192 | has LastUplinkReceivedAt => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 193 | has LoRaWAN => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::WirelessDevice::LoRaWANDevice', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 194 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 195 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 196 | has ThingArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 197 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 198 | } | ||
| 199 | |||
| 200 | 1; | ||
| 201 | ### main pod documentation begin ### | ||
| 202 | |||
| 203 | =encoding UTF-8 | ||
| 204 | |||
| 205 | =head1 NAME | ||
| 206 | |||
| 207 | Cfn::Resource::AWS::IoTWireless::WirelessDevice - Cfn resource for AWS::IoTWireless::WirelessDevice | ||
| 208 | |||
| 209 | =head1 DESCRIPTION | ||
| 210 | |||
| 211 | This module implements a Perl module that represents the CloudFormation object AWS::IoTWireless::WirelessDevice. | ||
| 212 | |||
| 213 | See L<Cfn> for more information on how to use it. | ||
| 214 | |||
| 215 | =head1 AUTHOR | ||
| 216 | |||
| 217 | Jose Luis Martinez | ||
| 218 | CAPSiDE | ||
| 219 | jlmartinez@capside.com | ||
| 220 | |||
| 221 | =head1 COPYRIGHT and LICENSE | ||
| 222 | |||
| 223 | Copyright (c) 2013 by CAPSiDE | ||
| 224 | This code is distributed under the Apache 2 License. The full text of the | ||
| 225 | license can be found in the LICENSE file included with this module. | ||
| 226 | |||
| 227 | =cut |