| 1 | # AWS::AppMesh::VirtualGateway generated from spec 21.0.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::AppMesh::VirtualGateway { | |||||||||
| 9 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | extends 'Cfn::Resource'; | |||||||||
| 11 | 1 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn','MeshName','MeshOwner','ResourceOwner','Uid','VirtualGatewayName' ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','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 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', | ||||||||||
| 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
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust { | |||||||||
| 37 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 1 | has CertificateChain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', | |||||||||
| 45 | as 'Cfn::Value'; | ||||||||||
| 46 | |||||||||||
| 47 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', | ||||||||||
| 48 | from 'HashRef', | ||||||||||
| 49 | via { | ||||||||||
| 50 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 51 | 0 | return $f | |||||||||
| 52 | } else { | ||||||||||
| 53 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 1 | }; | |||||||||
| 56 | |||||||||||
| 57 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust { | |||||||||
| 58 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 59 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 61 | |||||||||||
| 62 | 1 | has CertificateAuthorityArns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 63 | } | ||||||||||
| 64 | |||||||||||
| 65 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', | |||||||||
| 66 | as 'Cfn::Value'; | ||||||||||
| 67 | |||||||||||
| 68 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', | ||||||||||
| 69 | from 'HashRef', | ||||||||||
| 70 | via { | ||||||||||
| 71 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 72 | 0 | return $f | |||||||||
| 73 | } else { | ||||||||||
| 74 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust->new( %$_ ); | |||||||||
| 75 | } | ||||||||||
| 76 | 1 | }; | |||||||||
| 77 | |||||||||||
| 78 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust { | |||||||||
| 79 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 80 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 81 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 82 | |||||||||||
| 83 | 1 | has ACM => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 84 | 1 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | } | ||||||||||
| 86 | |||||||||||
| 87 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', | |||||||||
| 88 | as 'Cfn::Value'; | ||||||||||
| 89 | |||||||||||
| 90 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', | ||||||||||
| 91 | from 'HashRef', | ||||||||||
| 92 | via { | ||||||||||
| 93 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 94 | 0 | return $f | |||||||||
| 95 | } else { | ||||||||||
| 96 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext->new( %$_ ); | |||||||||
| 97 | } | ||||||||||
| 98 | 1 | }; | |||||||||
| 99 | |||||||||||
| 100 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext { | |||||||||
| 101 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 102 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 103 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 104 | |||||||||||
| 105 | 1 | has Trust => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 106 | } | ||||||||||
| 107 | |||||||||||
| 108 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', | |||||||||
| 109 | as 'Cfn::Value'; | ||||||||||
| 110 | |||||||||||
| 111 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', | ||||||||||
| 112 | from 'HashRef', | ||||||||||
| 113 | via { | ||||||||||
| 114 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 115 | 0 | return $f | |||||||||
| 116 | } else { | ||||||||||
| 117 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate->new( %$_ ); | |||||||||
| 118 | } | ||||||||||
| 119 | 1 | }; | |||||||||
| 120 | |||||||||||
| 121 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate { | |||||||||
| 122 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 123 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 124 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 125 | |||||||||||
| 126 | 1 | has CertificateChain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 127 | 1 | has PrivateKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 128 | } | ||||||||||
| 129 | |||||||||||
| 130 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', | |||||||||
| 131 | as 'Cfn::Value'; | ||||||||||
| 132 | |||||||||||
| 133 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', | ||||||||||
| 134 | from 'HashRef', | ||||||||||
| 135 | via { | ||||||||||
| 136 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 137 | 0 | return $f | |||||||||
| 138 | } else { | ||||||||||
| 139 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate->new( %$_ ); | |||||||||
| 140 | } | ||||||||||
| 141 | 1 | }; | |||||||||
| 142 | |||||||||||
| 143 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate { | |||||||||
| 144 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 145 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 146 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 147 | |||||||||||
| 148 | 1 | has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 149 | } | ||||||||||
| 150 | |||||||||||
| 151 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', | |||||||||
| 152 | as 'Cfn::Value'; | ||||||||||
| 153 | |||||||||||
| 154 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', | ||||||||||
| 155 | from 'HashRef', | ||||||||||
| 156 | via { | ||||||||||
| 157 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 158 | 0 | return $f | |||||||||
| 159 | } else { | ||||||||||
| 160 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate->new( %$_ ); | |||||||||
| 161 | } | ||||||||||
| 162 | 1 | }; | |||||||||
| 163 | |||||||||||
| 164 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate { | |||||||||
| 165 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 166 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 167 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 168 | |||||||||||
| 169 | 1 | has ACM => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 170 | 1 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 171 | } | ||||||||||
| 172 | |||||||||||
| 173 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', | |||||||||
| 174 | as 'Cfn::Value'; | ||||||||||
| 175 | |||||||||||
| 176 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', | ||||||||||
| 177 | from 'HashRef', | ||||||||||
| 178 | via { | ||||||||||
| 179 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 180 | 0 | return $f | |||||||||
| 181 | } else { | ||||||||||
| 182 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool->new( %$_ ); | |||||||||
| 183 | } | ||||||||||
| 184 | 1 | }; | |||||||||
| 185 | |||||||||||
| 186 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool { | |||||||||
| 187 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 188 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 189 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 190 | |||||||||||
| 191 | 1 | has MaxConnections => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 192 | 1 | has MaxPendingRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 193 | } | ||||||||||
| 194 | |||||||||||
| 195 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', | |||||||||
| 196 | as 'Cfn::Value'; | ||||||||||
| 197 | |||||||||||
| 198 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', | ||||||||||
| 199 | from 'HashRef', | ||||||||||
| 200 | via { | ||||||||||
| 201 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 202 | 0 | return $f | |||||||||
| 203 | } else { | ||||||||||
| 204 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool->new( %$_ ); | |||||||||
| 205 | } | ||||||||||
| 206 | 1 | }; | |||||||||
| 207 | |||||||||||
| 208 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool { | |||||||||
| 209 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 210 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 211 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 212 | |||||||||||
| 213 | 1 | has MaxRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 214 | } | ||||||||||
| 215 | |||||||||||
| 216 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', | |||||||||
| 217 | as 'Cfn::Value'; | ||||||||||
| 218 | |||||||||||
| 219 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', | ||||||||||
| 220 | from 'HashRef', | ||||||||||
| 221 | via { | ||||||||||
| 222 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 223 | 0 | return $f | |||||||||
| 224 | } else { | ||||||||||
| 225 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool->new( %$_ ); | |||||||||
| 226 | } | ||||||||||
| 227 | 1 | }; | |||||||||
| 228 | |||||||||||
| 229 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool { | |||||||||
| 230 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 231 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 232 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 233 | |||||||||||
| 234 | 1 | has MaxRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 235 | } | ||||||||||
| 236 | |||||||||||
| 237 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', | |||||||||
| 238 | as 'Cfn::Value'; | ||||||||||
| 239 | |||||||||||
| 240 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', | ||||||||||
| 241 | from 'HashRef', | ||||||||||
| 242 | via { | ||||||||||
| 243 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 244 | 0 | return $f | |||||||||
| 245 | } else { | ||||||||||
| 246 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog->new( %$_ ); | |||||||||
| 247 | } | ||||||||||
| 248 | 1 | }; | |||||||||
| 249 | |||||||||||
| 250 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog { | |||||||||
| 251 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 252 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 253 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 254 | |||||||||||
| 255 | 1 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 256 | } | ||||||||||
| 257 | |||||||||||
| 258 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', | |||||||||
| 259 | as 'Cfn::Value'; | ||||||||||
| 260 | |||||||||||
| 261 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', | ||||||||||
| 262 | from 'HashRef', | ||||||||||
| 263 | via { | ||||||||||
| 264 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 265 | 0 | return $f | |||||||||
| 266 | } else { | ||||||||||
| 267 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls->new( %$_ ); | |||||||||
| 268 | } | ||||||||||
| 269 | 1 | }; | |||||||||
| 270 | |||||||||||
| 271 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls { | |||||||||
| 272 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 273 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 274 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 275 | |||||||||||
| 276 | 1 | has Enforce => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 277 | 1 | has Ports => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 278 | 1 | has Validation => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 279 | } | ||||||||||
| 280 | |||||||||||
| 281 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', | |||||||||
| 282 | as 'Cfn::Value'; | ||||||||||
| 283 | |||||||||||
| 284 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', | ||||||||||
| 285 | from 'HashRef', | ||||||||||
| 286 | via { | ||||||||||
| 287 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 288 | 0 | return $f | |||||||||
| 289 | } else { | ||||||||||
| 290 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping->new( %$_ ); | |||||||||
| 291 | } | ||||||||||
| 292 | 1 | }; | |||||||||
| 293 | |||||||||||
| 294 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping { | |||||||||
| 295 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 296 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 297 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 298 | |||||||||||
| 299 | 1 | has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 300 | 1 | has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 301 | } | ||||||||||
| 302 | |||||||||||
| 303 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', | |||||||||
| 304 | as 'Cfn::Value'; | ||||||||||
| 305 | |||||||||||
| 306 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', | ||||||||||
| 307 | from 'HashRef', | ||||||||||
| 308 | via { | ||||||||||
| 309 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 310 | 0 | return $f | |||||||||
| 311 | } else { | ||||||||||
| 312 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls->new( %$_ ); | |||||||||
| 313 | } | ||||||||||
| 314 | 1 | }; | |||||||||
| 315 | |||||||||||
| 316 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls { | |||||||||
| 317 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 318 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 319 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 320 | |||||||||||
| 321 | 1 | has Certificate => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 322 | 1 | has Mode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 323 | } | ||||||||||
| 324 | |||||||||||
| 325 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', | |||||||||
| 326 | as 'Cfn::Value'; | ||||||||||
| 327 | |||||||||||
| 328 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', | ||||||||||
| 329 | from 'HashRef', | ||||||||||
| 330 | via { | ||||||||||
| 331 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 332 | 0 | return $f | |||||||||
| 333 | } else { | ||||||||||
| 334 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy->new( %$_ ); | |||||||||
| 335 | } | ||||||||||
| 336 | 1 | }; | |||||||||
| 337 | |||||||||||
| 338 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy { | |||||||||
| 339 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 340 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 341 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 342 | |||||||||||
| 343 | 1 | has HealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 344 | 1 | has IntervalMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 345 | 1 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 346 | 1 | has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 347 | 1 | has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 348 | 1 | has TimeoutMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 349 | 1 | has UnhealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 350 | } | ||||||||||
| 351 | |||||||||||
| 352 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', | |||||||||
| 353 | as 'Cfn::Value'; | ||||||||||
| 354 | |||||||||||
| 355 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', | ||||||||||
| 356 | from 'HashRef', | ||||||||||
| 357 | via { | ||||||||||
| 358 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 359 | 0 | return $f | |||||||||
| 360 | } else { | ||||||||||
| 361 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool->new( %$_ ); | |||||||||
| 362 | } | ||||||||||
| 363 | 1 | }; | |||||||||
| 364 | |||||||||||
| 365 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool { | |||||||||
| 366 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 367 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 368 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 369 | |||||||||||
| 370 | 1 | has GRPC => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 371 | 1 | has HTTP => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 372 | 1 | has HTTP2 => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 373 | } | ||||||||||
| 374 | |||||||||||
| 375 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', | |||||||||
| 376 | as 'Cfn::Value'; | ||||||||||
| 377 | |||||||||||
| 378 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', | ||||||||||
| 379 | from 'HashRef', | ||||||||||
| 380 | via { | ||||||||||
| 381 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 382 | 0 | return $f | |||||||||
| 383 | } else { | ||||||||||
| 384 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy->new( %$_ ); | |||||||||
| 385 | } | ||||||||||
| 386 | 1 | }; | |||||||||
| 387 | |||||||||||
| 388 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy { | |||||||||
| 389 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 390 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 391 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 392 | |||||||||||
| 393 | 1 | has TLS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 394 | } | ||||||||||
| 395 | |||||||||||
| 396 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', | |||||||||
| 397 | as 'Cfn::Value'; | ||||||||||
| 398 | |||||||||||
| 399 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', | ||||||||||
| 400 | from 'HashRef', | ||||||||||
| 401 | via { | ||||||||||
| 402 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 403 | 0 | return $f | |||||||||
| 404 | } else { | ||||||||||
| 405 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog->new( %$_ ); | |||||||||
| 406 | } | ||||||||||
| 407 | 1 | }; | |||||||||
| 408 | |||||||||||
| 409 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog { | |||||||||
| 410 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 411 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 412 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 413 | |||||||||||
| 414 | 1 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 415 | } | ||||||||||
| 416 | |||||||||||
| 417 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', | |||||||||
| 418 | as 'Cfn::Value'; | ||||||||||
| 419 | |||||||||||
| 420 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', | ||||||||||
| 421 | from 'HashRef', | ||||||||||
| 422 | via { | ||||||||||
| 423 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 424 | 0 | return $f | |||||||||
| 425 | } else { | ||||||||||
| 426 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging->new( %$_ ); | |||||||||
| 427 | } | ||||||||||
| 428 | 1 | }; | |||||||||
| 429 | |||||||||||
| 430 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging { | |||||||||
| 431 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 432 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 433 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 434 | |||||||||||
| 435 | 1 | has AccessLog => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 436 | } | ||||||||||
| 437 | subtype 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||||||||||
| 438 | as 'Cfn::Value', | ||||||||||
| 439 | 0 | ▶ | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 440 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 441 | |||||||||||
| 442 | coerce 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||||||||||
| 443 | from 'HashRef', | ||||||||||
| 444 | via { | ||||||||||
| 445 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 446 | 0 | return $f | |||||||||
| 447 | } else { | ||||||||||
| 448 | 0 | die 'Only accepts functions'; | |||||||||
| 449 | } | ||||||||||
| 450 | }, | ||||||||||
| 451 | from 'ArrayRef', | ||||||||||
| 452 | via { | ||||||||||
| 453 | Cfn::Value::Array->new(Value => [ | ||||||||||
| 454 | map { | ||||||||||
| 455 | 0 | ▶ | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener')->coerce($_) | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 456 | } @$_ | ||||||||||
| 457 | ]); | ||||||||||
| 458 | 1 | }; | |||||||||
| 459 | |||||||||||
| 460 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | |||||||||
| 461 | as 'Cfn::Value'; | ||||||||||
| 462 | |||||||||||
| 463 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||||||||||
| 464 | from 'HashRef', | ||||||||||
| 465 | via { | ||||||||||
| 466 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 467 | 0 | return $f | |||||||||
| 468 | } else { | ||||||||||
| 469 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListener->new( %$_ ); | |||||||||
| 470 | } | ||||||||||
| 471 | 1 | }; | |||||||||
| 472 | |||||||||||
| 473 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListener { | |||||||||
| 474 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 475 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 476 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 477 | |||||||||||
| 478 | 1 | has ConnectionPool => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 479 | 1 | has HealthCheck => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 480 | 1 | has PortMapping => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 481 | 1 | has TLS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 482 | } | ||||||||||
| 483 | |||||||||||
| 484 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', | |||||||||
| 485 | as 'Cfn::Value'; | ||||||||||
| 486 | |||||||||||
| 487 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', | ||||||||||
| 488 | from 'HashRef', | ||||||||||
| 489 | via { | ||||||||||
| 490 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 491 | 0 | return $f | |||||||||
| 492 | } else { | ||||||||||
| 493 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults->new( %$_ ); | |||||||||
| 494 | } | ||||||||||
| 495 | 1 | }; | |||||||||
| 496 | |||||||||||
| 497 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults { | |||||||||
| 498 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 499 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 500 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 501 | |||||||||||
| 502 | 1 | has ClientPolicy => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 503 | } | ||||||||||
| 504 | |||||||||||
| 505 | 1 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', | |||||||||
| 506 | as 'Cfn::Value'; | ||||||||||
| 507 | |||||||||||
| 508 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', | ||||||||||
| 509 | from 'HashRef', | ||||||||||
| 510 | via { | ||||||||||
| 511 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 512 | 0 | return $f | |||||||||
| 513 | } else { | ||||||||||
| 514 | 0 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec->new( %$_ ); | |||||||||
| 515 | } | ||||||||||
| 516 | 1 | }; | |||||||||
| 517 | |||||||||||
| 518 | 1 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec { | |||||||||
| 519 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 520 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 521 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 522 | |||||||||||
| 523 | 1 | has BackendDefaults => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 524 | 1 | has Listeners => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 525 | 1 | has Logging => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 526 | } | ||||||||||
| 527 | |||||||||||
| 528 | 1 | package Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway { | |||||||||
| 529 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 530 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 531 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 532 | |||||||||||
| 533 | 1 | has MeshName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 534 | 1 | has MeshOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 535 | 1 | has Spec => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 536 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 537 | 1 | has VirtualGatewayName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 538 | } | ||||||||||
| 539 | |||||||||||
| 540 | 1 | 1; | |||||||||
| 541 | ### main pod documentation begin ### | ||||||||||
| 542 | |||||||||||
| 543 | =encoding UTF-8 | ||||||||||
| 544 | |||||||||||
| 545 | =head1 NAME | ||||||||||
| 546 | |||||||||||
| 547 | Cfn::Resource::AWS::AppMesh::VirtualGateway - Cfn resource for AWS::AppMesh::VirtualGateway | ||||||||||
| 548 | |||||||||||
| 549 | =head1 DESCRIPTION | ||||||||||
| 550 | |||||||||||
| 551 | This module implements a Perl module that represents the CloudFormation object AWS::AppMesh::VirtualGateway. | ||||||||||
| 552 | |||||||||||
| 553 | See L<Cfn> for more information on how to use it. | ||||||||||
| 554 | |||||||||||
| 555 | =head1 AUTHOR | ||||||||||
| 556 | |||||||||||
| 557 | Jose Luis Martinez | ||||||||||
| 558 | CAPSiDE | ||||||||||
| 559 | jlmartinez@capside.com | ||||||||||
| 560 | |||||||||||
| 561 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 562 | |||||||||||
| 563 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 564 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 565 | license can be found in the LICENSE file included with this module. | ||||||||||
| 566 | |||||||||||
| 567 | =cut | ||||||||||