« Cfn/Resource/AWS/CodeArtifact/Repository.pm
↑ Summary
Cfn/Resource/AWS/CodeBuild/SourceCredential.pm »
| 1 | # AWS::CodeBuild::ReportGroup generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::CodeBuild::ReportGroup { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-1','eu-central-1','eu-north-1','eu-south-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::CodeBuild::ReportGroup::S3ReportExportConfig', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup::S3ReportExportConfig', | ||
| 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::CodeBuild::ReportGroup::S3ReportExportConfig->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::CodeBuild::ReportGroup::S3ReportExportConfig { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has Bucket => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has BucketOwner => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has EncryptionDisabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | has EncryptionKey => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 45 | has Packaging => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 46 | has Path => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 47 | } | ||
| 48 | |||
| 49 | subtype 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup::ReportExportConfig', | ||
| 50 | as 'Cfn::Value'; | ||
| 51 | |||
| 52 | coerce 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup::ReportExportConfig', | ||
| 53 | from 'HashRef', | ||
| 54 | via { | ||
| 55 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 56 | return $f | ||
| 57 | } else { | ||
| 58 | return Cfn::Resource::Properties::Object::AWS::CodeBuild::ReportGroup::ReportExportConfig->new( %$_ ); | ||
| 59 | } | ||
| 60 | }; | ||
| 61 | |||
| 62 | package Cfn::Resource::Properties::Object::AWS::CodeBuild::ReportGroup::ReportExportConfig { | ||
| 63 | use Moose; | ||
| 64 | use MooseX::StrictConstructor; | ||
| 65 | extends 'Cfn::Value::TypedValue'; | ||
| 66 | |||
| 67 | has ExportConfigType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 68 | has S3Destination => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup::S3ReportExportConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 69 | } | ||
| 70 | |||
| 71 | package Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup { | ||
| 72 | use Moose; | ||
| 73 | use MooseX::StrictConstructor; | ||
| 74 | extends 'Cfn::Resource::Properties'; | ||
| 75 | |||
| 76 | has DeleteReports => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 77 | has ExportConfig => (isa => 'Cfn::Resource::Properties::AWS::CodeBuild::ReportGroup::ReportExportConfig', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 78 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 79 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 80 | has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 81 | } | ||
| 82 | |||
| 83 | 1; | ||
| 84 | ### main pod documentation begin ### | ||
| 85 | |||
| 86 | =encoding UTF-8 | ||
| 87 | |||
| 88 | =head1 NAME | ||
| 89 | |||
| 90 | Cfn::Resource::AWS::CodeBuild::ReportGroup - Cfn resource for AWS::CodeBuild::ReportGroup | ||
| 91 | |||
| 92 | =head1 DESCRIPTION | ||
| 93 | |||
| 94 | This module implements a Perl module that represents the CloudFormation object AWS::CodeBuild::ReportGroup. | ||
| 95 | |||
| 96 | See L<Cfn> for more information on how to use it. | ||
| 97 | |||
| 98 | =head1 AUTHOR | ||
| 99 | |||
| 100 | Jose Luis Martinez | ||
| 101 | CAPSiDE | ||
| 102 | jlmartinez@capside.com | ||
| 103 | |||
| 104 | =head1 COPYRIGHT and LICENSE | ||
| 105 | |||
| 106 | Copyright (c) 2013 by CAPSiDE | ||
| 107 | This code is distributed under the Apache 2 License. The full text of the | ||
| 108 | license can be found in the LICENSE file included with this module. | ||
| 109 | |||
| 110 | =cut |