line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# AWS::NetworkFirewall::Firewall generated from spec 21.0.0 |
2
|
1
|
|
|
1
|
|
768
|
use Moose::Util::TypeConstraints; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall', |
5
|
|
|
|
|
|
|
from 'HashRef', |
6
|
|
|
|
|
|
|
via { Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall->new( %$_ ) }; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Cfn::Resource::AWS::NetworkFirewall::Firewall { |
9
|
1
|
|
|
1
|
|
2207
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
extends 'Cfn::Resource'; |
11
|
|
|
|
|
|
|
has Properties => (isa => 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall', is => 'rw', coerce => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub AttributeList { |
14
|
1
|
|
|
1
|
0
|
7
|
[ 'EndpointIds','FirewallArn','FirewallId' ] |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
sub supported_regions { |
17
|
1
|
|
|
1
|
0
|
1166
|
[ 'eu-west-1','us-east-1','us-west-2' ] |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::Tags', |
24
|
|
|
|
|
|
|
as 'Cfn::Value'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::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::NetworkFirewall::Firewall::Tags->new( %$_ ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
}; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::NetworkFirewall::Firewall::Tags { |
37
|
1
|
|
|
1
|
|
7256
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
38
|
1
|
|
|
1
|
|
6684
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
9
|
|
39
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
subtype 'ArrayOfCfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping', |
44
|
|
|
|
|
|
|
as 'Cfn::Value', |
45
|
|
|
|
|
|
|
where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, |
46
|
|
|
|
|
|
|
message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
coerce 'ArrayOfCfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping', |
49
|
|
|
|
|
|
|
from 'HashRef', |
50
|
|
|
|
|
|
|
via { |
51
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
52
|
|
|
|
|
|
|
return $f |
53
|
|
|
|
|
|
|
} else { |
54
|
|
|
|
|
|
|
die 'Only accepts functions'; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
}, |
57
|
|
|
|
|
|
|
from 'ArrayRef', |
58
|
|
|
|
|
|
|
via { |
59
|
|
|
|
|
|
|
Cfn::Value::Array->new(Value => [ |
60
|
|
|
|
|
|
|
map { |
61
|
|
|
|
|
|
|
Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping')->coerce($_) |
62
|
|
|
|
|
|
|
} @$_ |
63
|
|
|
|
|
|
|
]); |
64
|
|
|
|
|
|
|
}; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
subtype 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping', |
67
|
|
|
|
|
|
|
as 'Cfn::Value'; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
coerce 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping', |
70
|
|
|
|
|
|
|
from 'HashRef', |
71
|
|
|
|
|
|
|
via { |
72
|
|
|
|
|
|
|
if (my $f = Cfn::TypeLibrary::try_function($_)) { |
73
|
|
|
|
|
|
|
return $f |
74
|
|
|
|
|
|
|
} else { |
75
|
|
|
|
|
|
|
return Cfn::Resource::Properties::Object::AWS::NetworkFirewall::Firewall::SubnetMapping->new( %$_ ); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
}; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
package Cfn::Resource::Properties::Object::AWS::NetworkFirewall::Firewall::SubnetMapping { |
80
|
1
|
|
|
1
|
|
3854
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
81
|
1
|
|
|
1
|
|
6967
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
5
|
|
82
|
|
|
|
|
|
|
extends 'Cfn::Value::TypedValue'; |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
has SubnetId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
package Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall { |
88
|
1
|
|
|
1
|
|
3325
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
89
|
1
|
|
|
1
|
|
6600
|
use MooseX::StrictConstructor; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
90
|
|
|
|
|
|
|
extends 'Cfn::Resource::Properties'; |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
has DeleteProtection => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
93
|
|
|
|
|
|
|
has Description => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
94
|
|
|
|
|
|
|
has FirewallName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
95
|
|
|
|
|
|
|
has FirewallPolicyArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
96
|
|
|
|
|
|
|
has FirewallPolicyChangeProtection => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
97
|
|
|
|
|
|
|
has SubnetChangeProtection => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
98
|
|
|
|
|
|
|
has SubnetMappings => (isa => 'ArrayOfCfn::Resource::Properties::AWS::NetworkFirewall::Firewall::SubnetMapping', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
99
|
|
|
|
|
|
|
has Tags => (isa => 'Cfn::Resource::Properties::AWS::NetworkFirewall::Firewall::Tags', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); |
100
|
|
|
|
|
|
|
has VpcId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
1; |
104
|
|
|
|
|
|
|
### main pod documentation begin ### |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=encoding UTF-8 |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 NAME |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Cfn::Resource::AWS::NetworkFirewall::Firewall - Cfn resource for AWS::NetworkFirewall::Firewall |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 DESCRIPTION |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
This module implements a Perl module that represents the CloudFormation object AWS::NetworkFirewall::Firewall. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
See L<Cfn> for more information on how to use it. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head1 AUTHOR |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Jose Luis Martinez |
121
|
|
|
|
|
|
|
CAPSiDE |
122
|
|
|
|
|
|
|
jlmartinez@capside.com |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head1 COPYRIGHT and LICENSE |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Copyright (c) 2013 by CAPSiDE |
127
|
|
|
|
|
|
|
This code is distributed under the Apache 2 License. The full text of the |
128
|
|
|
|
|
|
|
license can be found in the LICENSE file included with this module. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |