« Cfn/Resource/AWS/EMR/StudioSessionMapping.pm
↑ Summary
Cfn/Resource/AWS/ElastiCache/GlobalReplicationGroup.pm »
| 1 | # AWS::EMRContainers::VirtualCluster generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::EMRContainers::VirtualCluster { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','Id' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::EksInfo', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::EksInfo', | ||
| 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::EMRContainers::VirtualCluster::EksInfo->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::EMRContainers::VirtualCluster::EksInfo { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has Namespace => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 42 | } | ||
| 43 | |||
| 44 | subtype 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerInfo', | ||
| 45 | as 'Cfn::Value'; | ||
| 46 | |||
| 47 | coerce 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerInfo', | ||
| 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::EMRContainers::VirtualCluster::ContainerInfo->new( %$_ ); | ||
| 54 | } | ||
| 55 | }; | ||
| 56 | |||
| 57 | package Cfn::Resource::Properties::Object::AWS::EMRContainers::VirtualCluster::ContainerInfo { | ||
| 58 | use Moose; | ||
| 59 | use MooseX::StrictConstructor; | ||
| 60 | extends 'Cfn::Value::TypedValue'; | ||
| 61 | |||
| 62 | has EksInfo => (isa => 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::EksInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 63 | } | ||
| 64 | |||
| 65 | subtype 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerProvider', | ||
| 66 | as 'Cfn::Value'; | ||
| 67 | |||
| 68 | coerce 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerProvider', | ||
| 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::EMRContainers::VirtualCluster::ContainerProvider->new( %$_ ); | ||
| 75 | } | ||
| 76 | }; | ||
| 77 | |||
| 78 | package Cfn::Resource::Properties::Object::AWS::EMRContainers::VirtualCluster::ContainerProvider { | ||
| 79 | use Moose; | ||
| 80 | use MooseX::StrictConstructor; | ||
| 81 | extends 'Cfn::Value::TypedValue'; | ||
| 82 | |||
| 83 | has Id => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 84 | has Info => (isa => 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerInfo', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 85 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 86 | } | ||
| 87 | |||
| 88 | package Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster { | ||
| 89 | use Moose; | ||
| 90 | use MooseX::StrictConstructor; | ||
| 91 | extends 'Cfn::Resource::Properties'; | ||
| 92 | |||
| 93 | has ContainerProvider => (isa => 'Cfn::Resource::Properties::AWS::EMRContainers::VirtualCluster::ContainerProvider', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 94 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 95 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 96 | } | ||
| 97 | |||
| 98 | 1; | ||
| 99 | ### main pod documentation begin ### | ||
| 100 | |||
| 101 | =encoding UTF-8 | ||
| 102 | |||
| 103 | =head1 NAME | ||
| 104 | |||
| 105 | Cfn::Resource::AWS::EMRContainers::VirtualCluster - Cfn resource for AWS::EMRContainers::VirtualCluster | ||
| 106 | |||
| 107 | =head1 DESCRIPTION | ||
| 108 | |||
| 109 | This module implements a Perl module that represents the CloudFormation object AWS::EMRContainers::VirtualCluster. | ||
| 110 | |||
| 111 | See L<Cfn> for more information on how to use it. | ||
| 112 | |||
| 113 | =head1 AUTHOR | ||
| 114 | |||
| 115 | Jose Luis Martinez | ||
| 116 | CAPSiDE | ||
| 117 | jlmartinez@capside.com | ||
| 118 | |||
| 119 | =head1 COPYRIGHT and LICENSE | ||
| 120 | |||
| 121 | Copyright (c) 2013 by CAPSiDE | ||
| 122 | This code is distributed under the Apache 2 License. The full text of the | ||
| 123 | license can be found in the LICENSE file included with this module. | ||
| 124 | |||
| 125 | =cut |