| 1 | # AWS::AppMesh::VirtualGateway generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::AppMesh::VirtualGateway { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','MeshName','MeshOwner','ResourceOwner','Uid','VirtualGatewayName' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ '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' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust', | ||
| 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::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has SecretName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | } | ||
| 43 | |||
| 44 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', | ||
| 45 | as 'Cfn::Value'; | ||
| 46 | |||
| 47 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', | ||
| 48 | from 'HashRef', | ||
| 49 | via { | ||
| 50 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 51 | return $f | ||
| 52 | } else { | ||
| 53 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust->new( %$_ ); | ||
| 54 | } | ||
| 55 | }; | ||
| 56 | |||
| 57 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust { | ||
| 58 | use Moose; | ||
| 59 | use MooseX::StrictConstructor; | ||
| 60 | extends 'Cfn::Value::TypedValue'; | ||
| 61 | |||
| 62 | has CertificateChain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 63 | } | ||
| 64 | |||
| 65 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', | ||
| 66 | as 'Cfn::Value'; | ||
| 67 | |||
| 68 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', | ||
| 69 | from 'HashRef', | ||
| 70 | via { | ||
| 71 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 72 | return $f | ||
| 73 | } else { | ||
| 74 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust->new( %$_ ); | ||
| 75 | } | ||
| 76 | }; | ||
| 77 | |||
| 78 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust { | ||
| 79 | use Moose; | ||
| 80 | use MooseX::StrictConstructor; | ||
| 81 | extends 'Cfn::Value::TypedValue'; | ||
| 82 | |||
| 83 | has CertificateAuthorityArns => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 84 | } | ||
| 85 | |||
| 86 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNameMatchers', | ||
| 87 | as 'Cfn::Value'; | ||
| 88 | |||
| 89 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNameMatchers', | ||
| 90 | from 'HashRef', | ||
| 91 | via { | ||
| 92 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 93 | return $f | ||
| 94 | } else { | ||
| 95 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::SubjectAlternativeNameMatchers->new( %$_ ); | ||
| 96 | } | ||
| 97 | }; | ||
| 98 | |||
| 99 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::SubjectAlternativeNameMatchers { | ||
| 100 | use Moose; | ||
| 101 | use MooseX::StrictConstructor; | ||
| 102 | extends 'Cfn::Value::TypedValue'; | ||
| 103 | |||
| 104 | has Exact => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 105 | } | ||
| 106 | |||
| 107 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', | ||
| 108 | as 'Cfn::Value'; | ||
| 109 | |||
| 110 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', | ||
| 111 | from 'HashRef', | ||
| 112 | via { | ||
| 113 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 114 | return $f | ||
| 115 | } else { | ||
| 116 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust->new( %$_ ); | ||
| 117 | } | ||
| 118 | }; | ||
| 119 | |||
| 120 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust { | ||
| 121 | use Moose; | ||
| 122 | use MooseX::StrictConstructor; | ||
| 123 | extends 'Cfn::Value::TypedValue'; | ||
| 124 | |||
| 125 | has ACM => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextAcmTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 126 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 127 | has SDS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 128 | } | ||
| 129 | |||
| 130 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate', | ||
| 131 | as 'Cfn::Value'; | ||
| 132 | |||
| 133 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate', | ||
| 134 | from 'HashRef', | ||
| 135 | via { | ||
| 136 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 137 | return $f | ||
| 138 | } else { | ||
| 139 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate->new( %$_ ); | ||
| 140 | } | ||
| 141 | }; | ||
| 142 | |||
| 143 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate { | ||
| 144 | use Moose; | ||
| 145 | use MooseX::StrictConstructor; | ||
| 146 | extends 'Cfn::Value::TypedValue'; | ||
| 147 | |||
| 148 | has SecretName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 149 | } | ||
| 150 | |||
| 151 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', | ||
| 152 | as 'Cfn::Value'; | ||
| 153 | |||
| 154 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', | ||
| 155 | from 'HashRef', | ||
| 156 | via { | ||
| 157 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 158 | return $f | ||
| 159 | } else { | ||
| 160 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate->new( %$_ ); | ||
| 161 | } | ||
| 162 | }; | ||
| 163 | |||
| 164 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate { | ||
| 165 | use Moose; | ||
| 166 | use MooseX::StrictConstructor; | ||
| 167 | extends 'Cfn::Value::TypedValue'; | ||
| 168 | |||
| 169 | has CertificateChain => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 170 | has PrivateKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 171 | } | ||
| 172 | |||
| 173 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames', | ||
| 174 | as 'Cfn::Value'; | ||
| 175 | |||
| 176 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames', | ||
| 177 | from 'HashRef', | ||
| 178 | via { | ||
| 179 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 180 | return $f | ||
| 181 | } else { | ||
| 182 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames->new( %$_ ); | ||
| 183 | } | ||
| 184 | }; | ||
| 185 | |||
| 186 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames { | ||
| 187 | use Moose; | ||
| 188 | use MooseX::StrictConstructor; | ||
| 189 | extends 'Cfn::Value::TypedValue'; | ||
| 190 | |||
| 191 | has Match => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNameMatchers', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 192 | } | ||
| 193 | |||
| 194 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', | ||
| 195 | as 'Cfn::Value'; | ||
| 196 | |||
| 197 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', | ||
| 198 | from 'HashRef', | ||
| 199 | via { | ||
| 200 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 201 | return $f | ||
| 202 | } else { | ||
| 203 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext->new( %$_ ); | ||
| 204 | } | ||
| 205 | }; | ||
| 206 | |||
| 207 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext { | ||
| 208 | use Moose; | ||
| 209 | use MooseX::StrictConstructor; | ||
| 210 | extends 'Cfn::Value::TypedValue'; | ||
| 211 | |||
| 212 | has SubjectAlternativeNames => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 213 | has Trust => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextTrust', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 214 | } | ||
| 215 | |||
| 216 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContextTrust', | ||
| 217 | as 'Cfn::Value'; | ||
| 218 | |||
| 219 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContextTrust', | ||
| 220 | from 'HashRef', | ||
| 221 | via { | ||
| 222 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 223 | return $f | ||
| 224 | } else { | ||
| 225 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContextTrust->new( %$_ ); | ||
| 226 | } | ||
| 227 | }; | ||
| 228 | |||
| 229 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContextTrust { | ||
| 230 | use Moose; | ||
| 231 | use MooseX::StrictConstructor; | ||
| 232 | extends 'Cfn::Value::TypedValue'; | ||
| 233 | |||
| 234 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextFileTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 235 | has SDS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContextSdsTrust', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 236 | } | ||
| 237 | |||
| 238 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', | ||
| 239 | as 'Cfn::Value'; | ||
| 240 | |||
| 241 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', | ||
| 242 | from 'HashRef', | ||
| 243 | via { | ||
| 244 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 245 | return $f | ||
| 246 | } else { | ||
| 247 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate->new( %$_ ); | ||
| 248 | } | ||
| 249 | }; | ||
| 250 | |||
| 251 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate { | ||
| 252 | use Moose; | ||
| 253 | use MooseX::StrictConstructor; | ||
| 254 | extends 'Cfn::Value::TypedValue'; | ||
| 255 | |||
| 256 | has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 257 | } | ||
| 258 | |||
| 259 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientTlsCertificate', | ||
| 260 | as 'Cfn::Value'; | ||
| 261 | |||
| 262 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientTlsCertificate', | ||
| 263 | from 'HashRef', | ||
| 264 | via { | ||
| 265 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 266 | return $f | ||
| 267 | } else { | ||
| 268 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientTlsCertificate->new( %$_ ); | ||
| 269 | } | ||
| 270 | }; | ||
| 271 | |||
| 272 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientTlsCertificate { | ||
| 273 | use Moose; | ||
| 274 | use MooseX::StrictConstructor; | ||
| 275 | extends 'Cfn::Value::TypedValue'; | ||
| 276 | |||
| 277 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 278 | has SDS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 279 | } | ||
| 280 | |||
| 281 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContext', | ||
| 282 | as 'Cfn::Value'; | ||
| 283 | |||
| 284 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContext', | ||
| 285 | from 'HashRef', | ||
| 286 | via { | ||
| 287 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 288 | return $f | ||
| 289 | } else { | ||
| 290 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContext->new( %$_ ); | ||
| 291 | } | ||
| 292 | }; | ||
| 293 | |||
| 294 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContext { | ||
| 295 | use Moose; | ||
| 296 | use MooseX::StrictConstructor; | ||
| 297 | extends 'Cfn::Value::TypedValue'; | ||
| 298 | |||
| 299 | has SubjectAlternativeNames => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::SubjectAlternativeNames', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 300 | has Trust => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContextTrust', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 301 | } | ||
| 302 | |||
| 303 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', | ||
| 304 | as 'Cfn::Value'; | ||
| 305 | |||
| 306 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', | ||
| 307 | from 'HashRef', | ||
| 308 | via { | ||
| 309 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 310 | return $f | ||
| 311 | } else { | ||
| 312 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate->new( %$_ ); | ||
| 313 | } | ||
| 314 | }; | ||
| 315 | |||
| 316 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate { | ||
| 317 | use Moose; | ||
| 318 | use MooseX::StrictConstructor; | ||
| 319 | extends 'Cfn::Value::TypedValue'; | ||
| 320 | |||
| 321 | has ACM => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsAcmCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 322 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsFileCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 323 | has SDS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsSdsCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 324 | } | ||
| 325 | |||
| 326 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', | ||
| 327 | as 'Cfn::Value'; | ||
| 328 | |||
| 329 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', | ||
| 330 | from 'HashRef', | ||
| 331 | via { | ||
| 332 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 333 | return $f | ||
| 334 | } else { | ||
| 335 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool->new( %$_ ); | ||
| 336 | } | ||
| 337 | }; | ||
| 338 | |||
| 339 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool { | ||
| 340 | use Moose; | ||
| 341 | use MooseX::StrictConstructor; | ||
| 342 | extends 'Cfn::Value::TypedValue'; | ||
| 343 | |||
| 344 | has MaxConnections => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 345 | has MaxPendingRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 346 | } | ||
| 347 | |||
| 348 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', | ||
| 349 | as 'Cfn::Value'; | ||
| 350 | |||
| 351 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', | ||
| 352 | from 'HashRef', | ||
| 353 | via { | ||
| 354 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 355 | return $f | ||
| 356 | } else { | ||
| 357 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool->new( %$_ ); | ||
| 358 | } | ||
| 359 | }; | ||
| 360 | |||
| 361 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool { | ||
| 362 | use Moose; | ||
| 363 | use MooseX::StrictConstructor; | ||
| 364 | extends 'Cfn::Value::TypedValue'; | ||
| 365 | |||
| 366 | has MaxRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 367 | } | ||
| 368 | |||
| 369 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', | ||
| 370 | as 'Cfn::Value'; | ||
| 371 | |||
| 372 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', | ||
| 373 | from 'HashRef', | ||
| 374 | via { | ||
| 375 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 376 | return $f | ||
| 377 | } else { | ||
| 378 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool->new( %$_ ); | ||
| 379 | } | ||
| 380 | }; | ||
| 381 | |||
| 382 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool { | ||
| 383 | use Moose; | ||
| 384 | use MooseX::StrictConstructor; | ||
| 385 | extends 'Cfn::Value::TypedValue'; | ||
| 386 | |||
| 387 | has MaxRequests => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 388 | } | ||
| 389 | |||
| 390 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', | ||
| 391 | as 'Cfn::Value'; | ||
| 392 | |||
| 393 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', | ||
| 394 | from 'HashRef', | ||
| 395 | via { | ||
| 396 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 397 | return $f | ||
| 398 | } else { | ||
| 399 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog->new( %$_ ); | ||
| 400 | } | ||
| 401 | }; | ||
| 402 | |||
| 403 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog { | ||
| 404 | use Moose; | ||
| 405 | use MooseX::StrictConstructor; | ||
| 406 | extends 'Cfn::Value::TypedValue'; | ||
| 407 | |||
| 408 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 409 | } | ||
| 410 | |||
| 411 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', | ||
| 412 | as 'Cfn::Value'; | ||
| 413 | |||
| 414 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', | ||
| 415 | from 'HashRef', | ||
| 416 | via { | ||
| 417 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 418 | return $f | ||
| 419 | } else { | ||
| 420 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls->new( %$_ ); | ||
| 421 | } | ||
| 422 | }; | ||
| 423 | |||
| 424 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls { | ||
| 425 | use Moose; | ||
| 426 | use MooseX::StrictConstructor; | ||
| 427 | extends 'Cfn::Value::TypedValue'; | ||
| 428 | |||
| 429 | has Certificate => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientTlsCertificate', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 430 | has Enforce => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 431 | has Ports => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 432 | has Validation => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayTlsValidationContext', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 433 | } | ||
| 434 | |||
| 435 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', | ||
| 436 | as 'Cfn::Value'; | ||
| 437 | |||
| 438 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', | ||
| 439 | from 'HashRef', | ||
| 440 | via { | ||
| 441 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 442 | return $f | ||
| 443 | } else { | ||
| 444 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping->new( %$_ ); | ||
| 445 | } | ||
| 446 | }; | ||
| 447 | |||
| 448 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping { | ||
| 449 | use Moose; | ||
| 450 | use MooseX::StrictConstructor; | ||
| 451 | extends 'Cfn::Value::TypedValue'; | ||
| 452 | |||
| 453 | has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 454 | has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 455 | } | ||
| 456 | |||
| 457 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', | ||
| 458 | as 'Cfn::Value'; | ||
| 459 | |||
| 460 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', | ||
| 461 | from 'HashRef', | ||
| 462 | via { | ||
| 463 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 464 | return $f | ||
| 465 | } else { | ||
| 466 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls->new( %$_ ); | ||
| 467 | } | ||
| 468 | }; | ||
| 469 | |||
| 470 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls { | ||
| 471 | use Moose; | ||
| 472 | use MooseX::StrictConstructor; | ||
| 473 | extends 'Cfn::Value::TypedValue'; | ||
| 474 | |||
| 475 | has Certificate => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsCertificate', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 476 | has Mode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 477 | has Validation => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTlsValidationContext', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 478 | } | ||
| 479 | |||
| 480 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', | ||
| 481 | as 'Cfn::Value'; | ||
| 482 | |||
| 483 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', | ||
| 484 | from 'HashRef', | ||
| 485 | via { | ||
| 486 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 487 | return $f | ||
| 488 | } else { | ||
| 489 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy->new( %$_ ); | ||
| 490 | } | ||
| 491 | }; | ||
| 492 | |||
| 493 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy { | ||
| 494 | use Moose; | ||
| 495 | use MooseX::StrictConstructor; | ||
| 496 | extends 'Cfn::Value::TypedValue'; | ||
| 497 | |||
| 498 | has HealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 499 | has IntervalMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 500 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 501 | has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 502 | has Protocol => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 503 | has TimeoutMillis => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 504 | has UnhealthyThreshold => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 505 | } | ||
| 506 | |||
| 507 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', | ||
| 508 | as 'Cfn::Value'; | ||
| 509 | |||
| 510 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', | ||
| 511 | from 'HashRef', | ||
| 512 | via { | ||
| 513 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 514 | return $f | ||
| 515 | } else { | ||
| 516 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool->new( %$_ ); | ||
| 517 | } | ||
| 518 | }; | ||
| 519 | |||
| 520 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool { | ||
| 521 | use Moose; | ||
| 522 | use MooseX::StrictConstructor; | ||
| 523 | extends 'Cfn::Value::TypedValue'; | ||
| 524 | |||
| 525 | has GRPC => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayGrpcConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 526 | has HTTP => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttpConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 527 | has HTTP2 => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHttp2ConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 528 | } | ||
| 529 | |||
| 530 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', | ||
| 531 | as 'Cfn::Value'; | ||
| 532 | |||
| 533 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', | ||
| 534 | from 'HashRef', | ||
| 535 | via { | ||
| 536 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 537 | return $f | ||
| 538 | } else { | ||
| 539 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy->new( %$_ ); | ||
| 540 | } | ||
| 541 | }; | ||
| 542 | |||
| 543 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy { | ||
| 544 | use Moose; | ||
| 545 | use MooseX::StrictConstructor; | ||
| 546 | extends 'Cfn::Value::TypedValue'; | ||
| 547 | |||
| 548 | has TLS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicyTls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 549 | } | ||
| 550 | |||
| 551 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', | ||
| 552 | as 'Cfn::Value'; | ||
| 553 | |||
| 554 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', | ||
| 555 | from 'HashRef', | ||
| 556 | via { | ||
| 557 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 558 | return $f | ||
| 559 | } else { | ||
| 560 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog->new( %$_ ); | ||
| 561 | } | ||
| 562 | }; | ||
| 563 | |||
| 564 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog { | ||
| 565 | use Moose; | ||
| 566 | use MooseX::StrictConstructor; | ||
| 567 | extends 'Cfn::Value::TypedValue'; | ||
| 568 | |||
| 569 | has File => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayFileAccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 570 | } | ||
| 571 | |||
| 572 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', | ||
| 573 | as 'Cfn::Value'; | ||
| 574 | |||
| 575 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', | ||
| 576 | from 'HashRef', | ||
| 577 | via { | ||
| 578 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 579 | return $f | ||
| 580 | } else { | ||
| 581 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging->new( %$_ ); | ||
| 582 | } | ||
| 583 | }; | ||
| 584 | |||
| 585 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging { | ||
| 586 | use Moose; | ||
| 587 | use MooseX::StrictConstructor; | ||
| 588 | extends 'Cfn::Value::TypedValue'; | ||
| 589 | |||
| 590 | has AccessLog => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayAccessLog', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 591 | } | ||
| 592 | subtype 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||
| 593 | as 'Cfn::Value', | ||
| 594 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 595 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 596 | |||
| 597 | coerce 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||
| 598 | from 'HashRef', | ||
| 599 | via { | ||
| 600 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 601 | return $f | ||
| 602 | } else { | ||
| 603 | die 'Only accepts functions'; | ||
| 604 | } | ||
| 605 | }, | ||
| 606 | from 'ArrayRef', | ||
| 607 | via { | ||
| 608 | Cfn::Value::Array->new(Value => [ | ||
| 609 | map { | ||
| 610 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener')->coerce($_) | ||
| 611 | } @$_ | ||
| 612 | ]); | ||
| 613 | }; | ||
| 614 | |||
| 615 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||
| 616 | as 'Cfn::Value'; | ||
| 617 | |||
| 618 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', | ||
| 619 | from 'HashRef', | ||
| 620 | via { | ||
| 621 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 622 | return $f | ||
| 623 | } else { | ||
| 624 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListener->new( %$_ ); | ||
| 625 | } | ||
| 626 | }; | ||
| 627 | |||
| 628 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayListener { | ||
| 629 | use Moose; | ||
| 630 | use MooseX::StrictConstructor; | ||
| 631 | extends 'Cfn::Value::TypedValue'; | ||
| 632 | |||
| 633 | has ConnectionPool => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayConnectionPool', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 634 | has HealthCheck => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayHealthCheckPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 635 | has PortMapping => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayPortMapping', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 636 | has TLS => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListenerTls', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 637 | } | ||
| 638 | |||
| 639 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', | ||
| 640 | as 'Cfn::Value'; | ||
| 641 | |||
| 642 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', | ||
| 643 | from 'HashRef', | ||
| 644 | via { | ||
| 645 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 646 | return $f | ||
| 647 | } else { | ||
| 648 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults->new( %$_ ); | ||
| 649 | } | ||
| 650 | }; | ||
| 651 | |||
| 652 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults { | ||
| 653 | use Moose; | ||
| 654 | use MooseX::StrictConstructor; | ||
| 655 | extends 'Cfn::Value::TypedValue'; | ||
| 656 | |||
| 657 | has ClientPolicy => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayClientPolicy', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 658 | } | ||
| 659 | |||
| 660 | subtype 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', | ||
| 661 | as 'Cfn::Value'; | ||
| 662 | |||
| 663 | coerce 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', | ||
| 664 | from 'HashRef', | ||
| 665 | via { | ||
| 666 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 667 | return $f | ||
| 668 | } else { | ||
| 669 | return Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec->new( %$_ ); | ||
| 670 | } | ||
| 671 | }; | ||
| 672 | |||
| 673 | package Cfn::Resource::Properties::Object::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec { | ||
| 674 | use Moose; | ||
| 675 | use MooseX::StrictConstructor; | ||
| 676 | extends 'Cfn::Value::TypedValue'; | ||
| 677 | |||
| 678 | has BackendDefaults => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayBackendDefaults', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 679 | has Listeners => (isa => 'ArrayOfCfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayListener', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 680 | has Logging => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewayLogging', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 681 | } | ||
| 682 | |||
| 683 | package Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway { | ||
| 684 | use Moose; | ||
| 685 | use MooseX::StrictConstructor; | ||
| 686 | extends 'Cfn::Resource::Properties'; | ||
| 687 | |||
| 688 | has MeshName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 689 | has MeshOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 690 | has Spec => (isa => 'Cfn::Resource::Properties::AWS::AppMesh::VirtualGateway::VirtualGatewaySpec', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 691 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 692 | has VirtualGatewayName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 693 | } | ||
| 694 | |||
| 695 | 1; | ||
| 696 | ### main pod documentation begin ### | ||
| 697 | |||
| 698 | =encoding UTF-8 | ||
| 699 | |||
| 700 | =head1 NAME | ||
| 701 | |||
| 702 | Cfn::Resource::AWS::AppMesh::VirtualGateway - Cfn resource for AWS::AppMesh::VirtualGateway | ||
| 703 | |||
| 704 | =head1 DESCRIPTION | ||
| 705 | |||
| 706 | This module implements a Perl module that represents the CloudFormation object AWS::AppMesh::VirtualGateway. | ||
| 707 | |||
| 708 | See L<Cfn> for more information on how to use it. | ||
| 709 | |||
| 710 | =head1 AUTHOR | ||
| 711 | |||
| 712 | Jose Luis Martinez | ||
| 713 | CAPSiDE | ||
| 714 | jlmartinez@capside.com | ||
| 715 | |||
| 716 | =head1 COPYRIGHT and LICENSE | ||
| 717 | |||
| 718 | Copyright (c) 2013 by CAPSiDE | ||
| 719 | This code is distributed under the Apache 2 License. The full text of the | ||
| 720 | license can be found in the LICENSE file included with this module. | ||
| 721 | |||
| 722 | =cut |