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 4.1.0
2 1     1   771 use Moose::Util::TypeConstraints;
  1         4  
  1         13  
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   2289 use Moose;
  1         3  
  1         7  
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 1065 [ 'ap-northeast-1','ap-northeast-2','ap-southeast-1','ap-southeast-2','eu-central-1','eu-west-1','us-east-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::AWS::AppStream::Fleet::VpcConfigValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::AppStream::Fleet::VpcConfigValue {
37 1     1   7975 use Moose;
  1         5  
  1         6  
38 1     1   8140 use MooseX::StrictConstructor;
  1         5  
  1         14  
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::AWS::AppStream::Fleet::DomainJoinInfoValue->new( %$_ );
55             }
56             };
57              
58             package Cfn::Resource::Properties::AWS::AppStream::Fleet::DomainJoinInfoValue {
59 1     1   4112 use Moose;
  1         3  
  1         7  
60 1     1   7091 use MooseX::StrictConstructor;
  1         3  
  1         8  
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::AWS::AppStream::Fleet::ComputeCapacityValue->new( %$_ );
77             }
78             };
79              
80             package Cfn::Resource::Properties::AWS::AppStream::Fleet::ComputeCapacityValue {
81 1     1   3584 use Moose;
  1         3  
  1         5  
82 1     1   7334 use MooseX::StrictConstructor;
  1         5  
  1         8  
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   3925 use Moose;
  1         2  
  1         6  
90 1     1   7173 use MooseX::StrictConstructor;
  1         3  
  1         7  
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 IdleDisconnectTimeoutInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101             has ImageArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102             has ImageName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
103             has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
104             has MaxUserDurationInSeconds => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105             has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
106             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
107             has VpcConfig => (isa => 'Cfn::Resource::Properties::AWS::AppStream::Fleet::VpcConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108             }
109              
110             1;