File Coverage

blib/lib/Cfn/Resource/AWS/AppStream/Fleet.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::AppStream::Fleet generated from spec 20.1.0
2 1     1   801 use Moose::Util::TypeConstraints;
  1         3  
  1         10  
3              
4             coerce 'Cfn::Resource::Properties::AWS::AppStream::Fleet',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::AppStream::Fleet->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::AppStream::Fleet {
9 1     1   2336 use Moose;
  1         5  
  1         12  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppStream::Fleet', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 3 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1166 [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','eu-central-1','eu-west-1','us-east-1','us-gov-west-1','us-west-2' ]
18             }
19             }
20              
21              
22              
23             subtype 'Cfn::Resource::Properties::AWS::AppStream::Fleet::VpcConfig',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::AppStream::Fleet::VpcConfig',
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::AppStream::Fleet::VpcConfig->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::AppStream::Fleet::VpcConfig {
37 1     1   7656 use Moose;
  1         3  
  1         7  
38 1     1   6706 use MooseX::StrictConstructor;
  1         4  
  1         11  
39             extends 'Cfn::Value::TypedValue';
40            
41             has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             }
44              
45             subtype 'Cfn::Resource::Properties::AWS::AppStream::Fleet::DomainJoinInfo',
46             as 'Cfn::Value';
47              
48             coerce 'Cfn::Resource::Properties::AWS::AppStream::Fleet::DomainJoinInfo',
49             from 'HashRef',
50             via {
51             if (my $f = Cfn::TypeLibrary::try_function($_)) {
52             return $f
53             } else {
54             return Cfn::Resource::Properties::Object::AWS::AppStream::Fleet::DomainJoinInfo->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::Object::AWS::AppStream::Fleet::DomainJoinInfo {
59 1     1   3820 use Moose;
  1         3  
  1         5  
60 1     1   6746 use MooseX::StrictConstructor;
  1         4  
  1         5  
61             extends 'Cfn::Value::TypedValue';
62            
63             has DirectoryName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
64             has OrganizationalUnitDistinguishedName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65             }
66              
67             subtype 'Cfn::Resource::Properties::AWS::AppStream::Fleet::ComputeCapacity',
68             as 'Cfn::Value';
69              
70             coerce 'Cfn::Resource::Properties::AWS::AppStream::Fleet::ComputeCapacity',
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::AppStream::Fleet::ComputeCapacity->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::Object::AWS::AppStream::Fleet::ComputeCapacity {
81 1     1   3474 use Moose;
  1         3  
  1         5  
82 1     1   6670 use MooseX::StrictConstructor;
  1         5  
  1         6  
83             extends 'Cfn::Value::TypedValue';
84            
85             has DesiredInstances => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86             }
87              
88             package Cfn::Resource::Properties::AWS::AppStream::Fleet {
89 1     1   3454 use Moose;
  1         2  
  1         6  
90 1     1   6807 use MooseX::StrictConstructor;
  1         4  
  1         5  
91             extends 'Cfn::Resource::Properties';
92            
93             has ComputeCapacity => (isa => 'Cfn::Resource::Properties::AWS::AppStream::Fleet::ComputeCapacity', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
94             has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
95             has DisconnectTimeoutInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
96             has DisplayName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
97             has DomainJoinInfo => (isa => 'Cfn::Resource::Properties::AWS::AppStream::Fleet::DomainJoinInfo', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
98             has EnableDefaultInternetAccess => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
99             has FleetType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
100             has IamRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101             has IdleDisconnectTimeoutInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102             has ImageArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
103             has ImageName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
104             has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105             has MaxUserDurationInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
106             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
107             has StreamView => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109             has VpcConfig => (isa => 'Cfn::Resource::Properties::AWS::AppStream::Fleet::VpcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
110             }
111              
112             1;
113             ### main pod documentation begin ###
114              
115             =encoding UTF-8
116              
117             =head1 NAME
118              
119             Cfn::Resource::AWS::AppStream::Fleet - Cfn resource for AWS::AppStream::Fleet
120              
121             =head1 DESCRIPTION
122              
123             This module implements a Perl module that represents the CloudFormation object AWS::AppStream::Fleet.
124              
125             See L<Cfn> for more information on how to use it.
126              
127             =head1 AUTHOR
128              
129             Jose Luis Martinez
130             CAPSiDE
131             jlmartinez@capside.com
132              
133             =head1 COPYRIGHT and LICENSE
134              
135             Copyright (c) 2013 by CAPSiDE
136             This code is distributed under the Apache 2 License. The full text of the
137             license can be found in the LICENSE file included with this module.
138              
139             =cut