File Coverage

blib/lib/Cfn/Resource/AWS/Glue/SecurityConfiguration.pm
Criterion Covered Total %
statement 44 44 100.0
branch n/a
condition n/a
subroutine 16 16 100.0
pod 0 2 0.0
total 60 62 96.7


line stmt bran cond sub pod time code
1             # AWS::Glue::SecurityConfiguration generated from spec 3.2.0
2 1     1   725 use Moose::Util::TypeConstraints;
  1         4  
  1         11  
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 1     1   2296 use Moose;
  1         3  
  1         7  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 3 [ ]
15             }
16             sub supported_regions {
17 1     1 0 1141 [ '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','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::AWS::Glue::SecurityConfiguration::S3EncryptionsValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3EncryptionsValue {
37 1     1   7088 use Moose;
  1         3  
  1         5  
38 1     1   6602 use MooseX::StrictConstructor;
  1         3  
  1         11  
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::AWS::Glue::SecurityConfiguration::JobBookmarksEncryptionValue->new( %$_ );
53             }
54             };
55              
56             package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::JobBookmarksEncryptionValue {
57 1     1   3569 use Moose;
  1         4  
  1         6  
58 1     1   6570 use MooseX::StrictConstructor;
  1         3  
  1         5  
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::AWS::Glue::SecurityConfiguration::CloudWatchEncryptionValue->new( %$_ );
75             }
76             };
77              
78             package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::CloudWatchEncryptionValue {
79 1     1   3373 use Moose;
  1         3  
  1         7  
80 1     1   6513 use MooseX::StrictConstructor;
  1         2  
  1         4  
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::AWS::Glue::SecurityConfiguration::S3EncryptionValue->new( %$_ );
97             }
98             };
99              
100             package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::S3EncryptionValue {
101 1     1   3394 use Moose;
  1         3  
  1         6  
102 1     1   6539 use MooseX::StrictConstructor;
  1         2  
  1         6  
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::AWS::Glue::SecurityConfiguration::EncryptionConfigurationValue->new( %$_ );
119             }
120             };
121              
122             package Cfn::Resource::Properties::AWS::Glue::SecurityConfiguration::EncryptionConfigurationValue {
123 1     1   3318 use Moose;
  1         2  
  1         5  
124 1     1   6593 use MooseX::StrictConstructor;
  1         3  
  1         5  
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 1     1   3677 use Moose;
  1         8  
  1         6  
134 1     1   6526 use MooseX::StrictConstructor;
  1         2  
  1         6  
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;