| 1 | # AWS::Glue::SecurityConfiguration generated from spec 18.4.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::Glue::SecurityConfiguration { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-northwest-1','eu-central-1','eu-north-1','eu-west-1','eu-west-2','eu-west-3','us-east-1','us-east-2','us-west-1','us-west-2' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3Encryptions', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3Encryptions', | ||
| 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::Glue::SecurityConfiguration::S3Encryptions->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::S3Encryptions { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | } | ||
| 42 | |||
| 43 | subtype 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::JobBookmarksEncryption', | ||
| 44 | as 'Cfn::Value'; | ||
| 45 | |||
| 46 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::JobBookmarksEncryption', | ||
| 47 | from 'HashRef', | ||
| 48 | via { | ||
| 49 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 50 | return $f | ||
| 51 | } else { | ||
| 52 | return Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::JobBookmarksEncryption->new( %$_ ); | ||
| 53 | } | ||
| 54 | }; | ||
| 55 | |||
| 56 | package Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::JobBookmarksEncryption { | ||
| 57 | use Moose; | ||
| 58 | use MooseX::StrictConstructor; | ||
| 59 | extends 'Cfn::Value::TypedValue'; | ||
| 60 | |||
| 61 | has JobBookmarksEncryptionMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 62 | has KmsKeyArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 63 | } | ||
| 64 | |||
| 65 | subtype 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::CloudWatchEncryption', | ||
| 66 | as 'Cfn::Value'; | ||
| 67 | |||
| 68 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::CloudWatchEncryption', | ||
| 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::Glue::SecurityConfiguration::CloudWatchEncryption->new( %$_ ); | ||
| 75 | } | ||
| 76 | }; | ||
| 77 | |||
| 78 | package Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::CloudWatchEncryption { | ||
| 79 | use Moose; | ||
| 80 | use MooseX::StrictConstructor; | ||
| 81 | extends 'Cfn::Value::TypedValue'; | ||
| 82 | |||
| 83 | has CloudWatchEncryptionMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 84 | has KmsKeyArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 85 | } | ||
| 86 | |||
| 87 | subtype 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3Encryption', | ||
| 88 | as 'Cfn::Value'; | ||
| 89 | |||
| 90 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3Encryption', | ||
| 91 | from 'HashRef', | ||
| 92 | via { | ||
| 93 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 94 | return $f | ||
| 95 | } else { | ||
| 96 | return Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::S3Encryption->new( %$_ ); | ||
| 97 | } | ||
| 98 | }; | ||
| 99 | |||
| 100 | package Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::S3Encryption { | ||
| 101 | use Moose; | ||
| 102 | use MooseX::StrictConstructor; | ||
| 103 | extends 'Cfn::Value::TypedValue'; | ||
| 104 | |||
| 105 | has KmsKeyArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 106 | has S3EncryptionMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 107 | } | ||
| 108 | |||
| 109 | subtype 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::EncryptionConfiguration', | ||
| 110 | as 'Cfn::Value'; | ||
| 111 | |||
| 112 | coerce 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::EncryptionConfiguration', | ||
| 113 | from 'HashRef', | ||
| 114 | via { | ||
| 115 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 116 | return $f | ||
| 117 | } else { | ||
| 118 | return Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::EncryptionConfiguration->new( %$_ ); | ||
| 119 | } | ||
| 120 | }; | ||
| 121 | |||
| 122 | package Cfn::Resource::Properties::Object::AWS::Glue::SecurityConfiguration::EncryptionConfiguration { | ||
| 123 | use Moose; | ||
| 124 | use MooseX::StrictConstructor; | ||
| 125 | extends 'Cfn::Value::TypedValue'; | ||
| 126 | |||
| 127 | has CloudWatchEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::CloudWatchEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 128 | has JobBookmarksEncryption => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::JobBookmarksEncryption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 129 | has S3Encryptions => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3Encryptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 130 | } | ||
| 131 | |||
| 132 | package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration { | ||
| 133 | use Moose; | ||
| 134 | use MooseX::StrictConstructor; | ||
| 135 | extends 'Cfn::Resource::Properties'; | ||
| 136 | |||
| 137 | has EncryptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::EncryptionConfiguration', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 138 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 139 | } | ||
| 140 | |||
| 141 | 1; | ||
| 142 | ### main pod documentation begin ### | ||
| 143 | |||
| 144 | =encoding UTF-8 | ||
| 145 | |||
| 146 | =head1 NAME | ||
| 147 | |||
| 148 | Cfn::Resource::AWS::Glue::SecurityConfiguration - Cfn resource for AWS::Glue::SecurityConfiguration | ||
| 149 | |||
| 150 | =head1 DESCRIPTION | ||
| 151 | |||
| 152 | This module implements a Perl module that represents the CloudFormation object AWS::Glue::SecurityConfiguration. | ||
| 153 | |||
| 154 | See L<Cfn> for more information on how to use it. | ||
| 155 | |||
| 156 | =head1 AUTHOR | ||
| 157 | |||
| 158 | Jose Luis Martinez | ||
| 159 | CAPSiDE | ||
| 160 | jlmartinez@capside.com | ||
| 161 | |||
| 162 | =head1 COPYRIGHT and LICENSE | ||
| 163 | |||
| 164 | Copyright (c) 2013 by CAPSiDE | ||
| 165 | This code is distributed under the Apache 2 License. The full text of the | ||
| 166 | license can be found in the LICENSE file included with this module. | ||
| 167 | |||
| 168 | =cut |