Cfn/Resource/AWS/FSx/FileSystem.pm

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