Cfn/Resource/AWS/FSx/FileSystem.pm

filter: Statementstmt 92.8% 91 / 98 Branchbran 33.3% 2 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 81.2% 13 / 16 Podpod 0.0% 0 / 2 totaltotal 86.8% 106 / 122 CC 4 SCAR 6.4
CC
4
Cov
89%
__ANON__
6.0
__ANON__
2.3
__ANON__
2.3
CRAP 1.9
« Cfn/Resource/AWS/ElasticBeanstalk/ConfigurationTemplate.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/UsagePlan.pm »
1 # AWS::FSx::FileSystem generated from spec 34.0.0
2 2 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::FSx::FileSystem',
5 from 'HashRef',
6 4 ▶ via { Cfn::Resource::Properties::AWS::FSx::FileSystem->new( %$_ ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
7  
8 2 package Cfn::Resource::AWS::FSx::FileSystem {
9 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 extends 'Cfn::Resource';
11 2 has Properties => (isa => 'Cfn::Resource::Properties::AWS::FSx::FileSystem', is => 'rw', coerce => 1);
12
13 0 ▶ sub AttributeList {
Subroutine AttributeList: not called CC=1 SCAR=6.9
Pod undocumented
14 0 [ 'LustreMountName' ]
15 }
16 0 ▶ sub supported_regions {
Subroutine supported_regions: not called CC=1 SCAR=6.9
Pod undocumented
17 0 [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
18 }
19 }
20  
21  
22  
23 2 subtype 'Cfn::Resource::Properties::AWS::FSx::FileSystem::SelfManagedActiveDirectoryConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::FSx::FileSystem::SelfManagedActiveDirectoryConfiguration',
27 from 'HashRef',
28 0 ▶ via {
Subroutine __ANON__: not called CC=2 SCAR=17.9
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::SelfManagedActiveDirectoryConfiguration->new( %$_ );
33 }
34 2 };
35  
36 2 package Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::SelfManagedActiveDirectoryConfiguration {
37 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 2 extends 'Cfn::Value::TypedValue';
40
41 2 has DnsIps => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 2 has DomainName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
43 2 has FileSystemAdministratorsGroup => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
44 2 has OrganizationalUnitDistinguishedName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
45 2 has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46 2 has UserName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
47 }
48  
49 2 subtype 'Cfn::Resource::Properties::AWS::FSx::FileSystem::WindowsConfiguration',
50 as 'Cfn::Value';
51  
52 coerce 'Cfn::Resource::Properties::AWS::FSx::FileSystem::WindowsConfiguration',
53 from 'HashRef',
54 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
55 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
56 0 return $f
57 } else {
58 2 return Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::WindowsConfiguration->new( %$_ );
59 }
60 2 };
61  
62 2 package Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::WindowsConfiguration {
63 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
64 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
65 2 extends 'Cfn::Value::TypedValue';
66
67 2 has ActiveDirectoryId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
68 2 has Aliases => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
69 2 has AutomaticBackupRetentionDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
70 2 has CopyTagsToBackups => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
71 2 has DailyAutomaticBackupStartTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
72 2 has DeploymentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
73 2 has PreferredSubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
74 2 has SelfManagedActiveDirectoryConfiguration => (isa => 'Cfn::Resource::Properties::AWS::FSx::FileSystem::SelfManagedActiveDirectoryConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75 2 has ThroughputCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 2 has WeeklyMaintenanceStartTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 }
78  
79 2 subtype 'Cfn::Resource::Properties::AWS::FSx::FileSystem::LustreConfiguration',
80 as 'Cfn::Value';
81  
82 coerce 'Cfn::Resource::Properties::AWS::FSx::FileSystem::LustreConfiguration',
83 from 'HashRef',
84 2 ▶ via {
Subroutine __ANON__: called CC=2 SCAR=8.1
85 2 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 2 2
86 0 return $f
87 } else {
88 2 return Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::LustreConfiguration->new( %$_ );
89 }
90 2 };
91  
92 2 package Cfn::Resource::Properties::Object::AWS::FSx::FileSystem::LustreConfiguration {
93 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
94 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
95 2 extends 'Cfn::Value::TypedValue';
96
97 2 has AutoImportPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
98 2 has AutomaticBackupRetentionDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
99 2 has CopyTagsToBackups => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
100 2 has DailyAutomaticBackupStartTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101 2 has DeploymentType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
102 2 has DriveCacheType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
103 2 has ExportPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
104 2 has ImportedFileChunkSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
105 2 has ImportPath => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
106 2 has PerUnitStorageThroughput => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
107 2 has WeeklyMaintenanceStartTime => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
108 }
109  
110 2 package Cfn::Resource::Properties::AWS::FSx::FileSystem {
111 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
112 2 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
113 2 extends 'Cfn::Resource::Properties';
114
115 2 has BackupId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
116 2 has FileSystemType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
117 2 has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
118 2 has LustreConfiguration => (isa => 'Cfn::Resource::Properties::AWS::FSx::FileSystem::LustreConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
119 2 has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
120 2 has StorageCapacity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
121 2 has StorageType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
122 2 has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
123 2 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
124 2 has WindowsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::FSx::FileSystem::WindowsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
125 }
126  
127 2 1;
128 ### main pod documentation begin ###
129  
130 =encoding UTF-8
131  
132 =head1 NAME
133  
134 Cfn::Resource::AWS::FSx::FileSystem - Cfn resource for AWS::FSx::FileSystem
135  
136 =head1 DESCRIPTION
137  
138 This module implements a Perl module that represents the CloudFormation object AWS::FSx::FileSystem.
139  
140 See L<Cfn> for more information on how to use it.
141  
142 =head1 AUTHOR
143  
144 Jose Luis Martinez
145 CAPSiDE
146 jlmartinez@capside.com
147  
148 =head1 COPYRIGHT and LICENSE
149  
150 Copyright (c) 2013 by CAPSiDE
151 This code is distributed under the Apache 2 License. The full text of the
152 license can be found in the LICENSE file included with this module.
153  
154 =cut
« Cfn/Resource/AWS/ElasticBeanstalk/ConfigurationTemplate.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/UsagePlan.pm »