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