« Cfn/Resource/AWS/IoTWireless/Destination.pm
↑ Summary
Cfn/Resource/AWS/IoTWireless/ServiceProfile.pm »
| 1 | # AWS::IoTWireless::DeviceProfile generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::IoTWireless::DeviceProfile { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','Id' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'eu-west-1','us-east-1' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile::LoRaWANDeviceProfile', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile::LoRaWANDeviceProfile', | ||
| 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::DeviceProfile::LoRaWANDeviceProfile->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::IoTWireless::DeviceProfile::LoRaWANDeviceProfile { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has ClassBTimeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has ClassCTimeout => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has MacVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | has MaxDutyCycle => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 45 | has MaxEirp => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 46 | has PingSlotDr => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 47 | has PingSlotFreq => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 48 | has PingSlotPeriod => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 49 | has RegParamsRevision => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 50 | has RfRegion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 51 | has Supports32BitFCnt => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 52 | has SupportsClassB => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 53 | has SupportsClassC => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 54 | has SupportsJoin => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 55 | } | ||
| 56 | |||
| 57 | package Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile { | ||
| 58 | use Moose; | ||
| 59 | use MooseX::StrictConstructor; | ||
| 60 | extends 'Cfn::Resource::Properties'; | ||
| 61 | |||
| 62 | has LoRaWAN => (isa => 'Cfn::Resource::Properties::AWS::IoTWireless::DeviceProfile::LoRaWANDeviceProfile', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 63 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 64 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | } | ||
| 66 | |||
| 67 | 1; | ||
| 68 | ### main pod documentation begin ### | ||
| 69 | |||
| 70 | =encoding UTF-8 | ||
| 71 | |||
| 72 | =head1 NAME | ||
| 73 | |||
| 74 | Cfn::Resource::AWS::IoTWireless::DeviceProfile - Cfn resource for AWS::IoTWireless::DeviceProfile | ||
| 75 | |||
| 76 | =head1 DESCRIPTION | ||
| 77 | |||
| 78 | This module implements a Perl module that represents the CloudFormation object AWS::IoTWireless::DeviceProfile. | ||
| 79 | |||
| 80 | See L<Cfn> for more information on how to use it. | ||
| 81 | |||
| 82 | =head1 AUTHOR | ||
| 83 | |||
| 84 | Jose Luis Martinez | ||
| 85 | CAPSiDE | ||
| 86 | jlmartinez@capside.com | ||
| 87 | |||
| 88 | =head1 COPYRIGHT and LICENSE | ||
| 89 | |||
| 90 | Copyright (c) 2013 by CAPSiDE | ||
| 91 | This code is distributed under the Apache 2 License. The full text of the | ||
| 92 | license can be found in the LICENSE file included with this module. | ||
| 93 | |||
| 94 | =cut |