« Cfn/Resource/AWS/ManagedBlockchain/Member.pm
↑ Summary
Cfn/Resource/AWS/Cognito/UserPoolRiskConfigurationAttachment.pm »
| 1 | # AWS::LakeFormation::Permissions generated from spec 18.4.0 | ||||||||||
| 2 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 0 | ▶ | via { Cfn::Resource::Properties::AWS::LakeFormation::Permissions->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | package Cfn::Resource::AWS::LakeFormation::Permissions { | |||||||||
| 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::LakeFormation::Permissions', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ ] | ||||||||
|
Subroutine
AttributeList: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 15 | } | ||||||||||
| 16 | sub supported_regions { | ||||||||||
| 17 | 1 | ▶ | [ 'ap-northeast-1','eu-west-1','us-east-1','us-east-2','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::LakeFormation::Permissions::TableWildcard', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWildcard', | ||||||||||
| 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::LakeFormation::Permissions::TableWildcard->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWildcard { | |||||||||
| 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 | } | ||||||||||
| 42 | |||||||||||
| 43 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard', | |||||||||
| 44 | as 'Cfn::Value'; | ||||||||||
| 45 | |||||||||||
| 46 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard', | ||||||||||
| 47 | from 'HashRef', | ||||||||||
| 48 | via { | ||||||||||
| 49 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 50 | 0 | return $f | |||||||||
| 51 | } else { | ||||||||||
| 52 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::ColumnWildcard->new( %$_ ); | |||||||||
| 53 | } | ||||||||||
| 54 | 1 | }; | |||||||||
| 55 | |||||||||||
| 56 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::ColumnWildcard { | |||||||||
| 57 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 58 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 59 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 60 | |||||||||||
| 61 | 1 | has ExcludedColumnNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 62 | } | ||||||||||
| 63 | |||||||||||
| 64 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource', | |||||||||
| 65 | as 'Cfn::Value'; | ||||||||||
| 66 | |||||||||||
| 67 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource', | ||||||||||
| 68 | from 'HashRef', | ||||||||||
| 69 | via { | ||||||||||
| 70 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 71 | 0 | return $f | |||||||||
| 72 | } else { | ||||||||||
| 73 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWithColumnsResource->new( %$_ ); | |||||||||
| 74 | } | ||||||||||
| 75 | 1 | }; | |||||||||
| 76 | |||||||||||
| 77 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableWithColumnsResource { | |||||||||
| 78 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 79 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 80 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 81 | |||||||||||
| 82 | 1 | has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 83 | 1 | has ColumnNames => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 84 | 1 | has ColumnWildcard => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::ColumnWildcard', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 85 | 1 | has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | |||||||||||
| 89 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource', | |||||||||
| 90 | as 'Cfn::Value'; | ||||||||||
| 91 | |||||||||||
| 92 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource', | ||||||||||
| 93 | from 'HashRef', | ||||||||||
| 94 | via { | ||||||||||
| 95 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 96 | 0 | return $f | |||||||||
| 97 | } else { | ||||||||||
| 98 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableResource->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 1 | }; | |||||||||
| 101 | |||||||||||
| 102 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::TableResource { | |||||||||
| 103 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 105 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 106 | |||||||||||
| 107 | 1 | has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | 1 | has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 109 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 110 | 1 | has TableWildcard => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWildcard', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 111 | } | ||||||||||
| 112 | |||||||||||
| 113 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource', | |||||||||
| 114 | as 'Cfn::Value'; | ||||||||||
| 115 | |||||||||||
| 116 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource', | ||||||||||
| 117 | from 'HashRef', | ||||||||||
| 118 | via { | ||||||||||
| 119 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 120 | 0 | return $f | |||||||||
| 121 | } else { | ||||||||||
| 122 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DatabaseResource->new( %$_ ); | |||||||||
| 123 | } | ||||||||||
| 124 | 1 | }; | |||||||||
| 125 | |||||||||||
| 126 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DatabaseResource { | |||||||||
| 127 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 128 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 129 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 130 | |||||||||||
| 131 | 1 | has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 132 | 1 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 133 | } | ||||||||||
| 134 | |||||||||||
| 135 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource', | |||||||||
| 136 | as 'Cfn::Value'; | ||||||||||
| 137 | |||||||||||
| 138 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource', | ||||||||||
| 139 | from 'HashRef', | ||||||||||
| 140 | via { | ||||||||||
| 141 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 142 | 0 | return $f | |||||||||
| 143 | } else { | ||||||||||
| 144 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLocationResource->new( %$_ ); | |||||||||
| 145 | } | ||||||||||
| 146 | 1 | }; | |||||||||
| 147 | |||||||||||
| 148 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLocationResource { | |||||||||
| 149 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 150 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 151 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 152 | |||||||||||
| 153 | 1 | has CatalogId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 154 | 1 | has S3Resource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 155 | } | ||||||||||
| 156 | |||||||||||
| 157 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource', | |||||||||
| 158 | as 'Cfn::Value'; | ||||||||||
| 159 | |||||||||||
| 160 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource', | ||||||||||
| 161 | from 'HashRef', | ||||||||||
| 162 | via { | ||||||||||
| 163 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 164 | 0 | return $f | |||||||||
| 165 | } else { | ||||||||||
| 166 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::Resource->new( %$_ ); | |||||||||
| 167 | } | ||||||||||
| 168 | 1 | }; | |||||||||
| 169 | |||||||||||
| 170 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::Resource { | |||||||||
| 171 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 172 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 173 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 174 | |||||||||||
| 175 | 1 | has DatabaseResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DatabaseResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 176 | 1 | has DataLocationResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLocationResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 177 | 1 | has TableResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 178 | 1 | has TableWithColumnsResource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::TableWithColumnsResource', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 179 | } | ||||||||||
| 180 | |||||||||||
| 181 | 1 | subtype 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal', | |||||||||
| 182 | as 'Cfn::Value'; | ||||||||||
| 183 | |||||||||||
| 184 | coerce 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal', | ||||||||||
| 185 | from 'HashRef', | ||||||||||
| 186 | via { | ||||||||||
| 187 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 188 | 0 | return $f | |||||||||
| 189 | } else { | ||||||||||
| 190 | 0 | return Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLakePrincipal->new( %$_ ); | |||||||||
| 191 | } | ||||||||||
| 192 | 1 | }; | |||||||||
| 193 | |||||||||||
| 194 | 1 | package Cfn::Resource::Properties::Object::AWS::LakeFormation::Permissions::DataLakePrincipal { | |||||||||
| 195 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 196 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 197 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 198 | |||||||||||
| 199 | 1 | has DataLakePrincipalIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 200 | } | ||||||||||
| 201 | |||||||||||
| 202 | 1 | package Cfn::Resource::Properties::AWS::LakeFormation::Permissions { | |||||||||
| 203 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 204 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 205 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 206 | |||||||||||
| 207 | 1 | has DataLakePrincipal => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::DataLakePrincipal', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 208 | 1 | has Permissions => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 209 | 1 | has PermissionsWithGrantOption => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 210 | 1 | has Resource => (isa => 'Cfn::Resource::Properties::AWS::LakeFormation::Permissions::Resource', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 211 | } | ||||||||||
| 212 | |||||||||||
| 213 | 1 | 1; | |||||||||
| 214 | ### main pod documentation begin ### | ||||||||||
| 215 | |||||||||||
| 216 | =encoding UTF-8 | ||||||||||
| 217 | |||||||||||
| 218 | =head1 NAME | ||||||||||
| 219 | |||||||||||
| 220 | Cfn::Resource::AWS::LakeFormation::Permissions - Cfn resource for AWS::LakeFormation::Permissions | ||||||||||
| 221 | |||||||||||
| 222 | =head1 DESCRIPTION | ||||||||||
| 223 | |||||||||||
| 224 | This module implements a Perl module that represents the CloudFormation object AWS::LakeFormation::Permissions. | ||||||||||
| 225 | |||||||||||
| 226 | See L<Cfn> for more information on how to use it. | ||||||||||
| 227 | |||||||||||
| 228 | =head1 AUTHOR | ||||||||||
| 229 | |||||||||||
| 230 | Jose Luis Martinez | ||||||||||
| 231 | CAPSiDE | ||||||||||
| 232 | jlmartinez@capside.com | ||||||||||
| 233 | |||||||||||
| 234 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 235 | |||||||||||
| 236 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 237 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 238 | license can be found in the LICENSE file included with this module. | ||||||||||
| 239 | |||||||||||
| 240 | =cut | ||||||||||