File Coverage

blib/lib/Cfn/Resource/AWS/IoT/DomainConfiguration.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 12 12 100.0
pod 0 2 0.0
total 44 46 95.6


line stmt bran cond sub pod time code
1             # AWS::IoT::DomainConfiguration generated from spec 20.1.0
2 1     1   723 use Moose::Util::TypeConstraints;
  1         3  
  1         13  
3              
4             coerce 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::IoT::DomainConfiguration->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::IoT::DomainConfiguration {
9 1     1   2207 use Moose;
  1         3  
  1         9  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 6 [ 'Arn','DomainType','ServerCertificates' ]
15             }
16             sub supported_regions {
17 1     1 0 1172 [ 'us-east-1' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::Tags',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::Tags',
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::IoT::DomainConfiguration::Tags->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::IoT::DomainConfiguration::Tags {
37 1     1   7446 use Moose;
  1         2  
  1         5  
38 1     1   6737 use MooseX::StrictConstructor;
  1         4  
  1         10  
39             extends 'Cfn::Value::TypedValue';
40            
41             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             }
43              
44             subtype 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::ServerCertificateSummary',
45             as 'Cfn::Value';
46              
47             coerce 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::ServerCertificateSummary',
48             from 'HashRef',
49             via {
50             if (my $f = Cfn::TypeLibrary::try_function($_)) {
51             return $f
52             } else {
53             return Cfn::Resource::Properties::Object::AWS::IoT::DomainConfiguration::ServerCertificateSummary->new( %$_ );
54             }
55             };
56              
57             package Cfn::Resource::Properties::Object::AWS::IoT::DomainConfiguration::ServerCertificateSummary {
58 1     1   3647 use Moose;
  1         3  
  1         6  
59 1     1   6645 use MooseX::StrictConstructor;
  1         4  
  1         5  
60             extends 'Cfn::Value::TypedValue';
61            
62             has ServerCertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
63             has ServerCertificateStatus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has ServerCertificateStatusDetail => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             }
66              
67             subtype 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::AuthorizerConfig',
68             as 'Cfn::Value';
69              
70             coerce 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::AuthorizerConfig',
71             from 'HashRef',
72             via {
73             if (my $f = Cfn::TypeLibrary::try_function($_)) {
74             return $f
75             } else {
76             return Cfn::Resource::Properties::Object::AWS::IoT::DomainConfiguration::AuthorizerConfig->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::Object::AWS::IoT::DomainConfiguration::AuthorizerConfig {
81 1     1   3431 use Moose;
  1         3  
  1         6  
82 1     1   6778 use MooseX::StrictConstructor;
  1         3  
  1         7  
83             extends 'Cfn::Value::TypedValue';
84            
85             has AllowAuthorizerOverride => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86             has DefaultAuthorizerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87             }
88              
89             package Cfn::Resource::Properties::AWS::IoT::DomainConfiguration {
90 1     1   3342 use Moose;
  1         5  
  1         7  
91 1     1   6616 use MooseX::StrictConstructor;
  1         3  
  1         5  
92             extends 'Cfn::Resource::Properties';
93            
94             has AuthorizerConfig => (isa => 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::AuthorizerConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
95             has DomainConfigurationName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
96             has DomainConfigurationStatus => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
97             has DomainName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
98             has ServerCertificateArns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
99             has ServiceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
100             has Tags => (isa => 'Cfn::Resource::Properties::AWS::IoT::DomainConfiguration::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101             has ValidationCertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
102             }
103              
104             1;
105             ### main pod documentation begin ###
106              
107             =encoding UTF-8
108              
109             =head1 NAME
110              
111             Cfn::Resource::AWS::IoT::DomainConfiguration - Cfn resource for AWS::IoT::DomainConfiguration
112              
113             =head1 DESCRIPTION
114              
115             This module implements a Perl module that represents the CloudFormation object AWS::IoT::DomainConfiguration.
116              
117             See L<Cfn> for more information on how to use it.
118              
119             =head1 AUTHOR
120              
121             Jose Luis Martinez
122             CAPSiDE
123             jlmartinez@capside.com
124              
125             =head1 COPYRIGHT and LICENSE
126              
127             Copyright (c) 2013 by CAPSiDE
128             This code is distributed under the Apache 2 License. The full text of the
129             license can be found in the LICENSE file included with this module.
130              
131             =cut