File Coverage

blib/lib/Cfn/Resource/AWS/DMS/Endpoint.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::DMS::Endpoint generated from spec 5.3.0
2 1     1   760 use Moose::Util::TypeConstraints;
  1         3  
  1         12  
3              
4             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint',
5             from 'HashRef',
6             via { Cfn::Resource::Properties::AWS::DMS::Endpoint->new( %$_ ) };
7              
8             package Cfn::Resource::AWS::DMS::Endpoint {
9 1     1   2260 use Moose;
  1         4  
  1         8  
10             extends 'Cfn::Resource';
11             has Properties => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint', is => 'rw', coerce => 1);
12            
13             sub AttributeList {
14 1     1 0 5 [ 'ExternalId' ]
15             }
16             sub supported_regions {
17 1     1 0 1616 [ '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-west-1','eu-west-2','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::DMS::Endpoint::S3Settings',
24             as 'Cfn::Value';
25              
26             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings',
27             from 'HashRef',
28             via {
29             if (my $f = Cfn::TypeLibrary::try_function($_)) {
30             return $f
31             } else {
32             return Cfn::Resource::Properties::AWS::DMS::Endpoint::S3SettingsValue->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::AWS::DMS::Endpoint::S3SettingsValue {
37 1     1   7395 use Moose;
  1         3  
  1         5  
38 1     1   6396 use MooseX::StrictConstructor;
  1         4  
  1         12  
39             extends 'Cfn::Value::TypedValue';
40            
41             has BucketFolder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42             has BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43             has CompressionType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44             has CsvDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45             has CsvRowDelimiter => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
46             has ExternalTableDefinition => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
47             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
48             }
49              
50             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
51             as 'Cfn::Value';
52              
53             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
54             from 'HashRef',
55             via {
56             if (my $f = Cfn::TypeLibrary::try_function($_)) {
57             return $f
58             } else {
59             return Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettingsValue->new( %$_ );
60             }
61             };
62              
63             package Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettingsValue {
64 1     1   3724 use Moose;
  1         4  
  1         5  
65 1     1   6485 use MooseX::StrictConstructor;
  1         6  
  1         7  
66             extends 'Cfn::Value::TypedValue';
67            
68             has AuthMechanism => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
69             has AuthSource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
70             has AuthType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
71             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
72             has DocsToInvestigate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
73             has ExtractDocId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
74             has NestingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75             has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76             has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77             has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78             has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79             }
80              
81             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
82             as 'Cfn::Value';
83              
84             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
85             from 'HashRef',
86             via {
87             if (my $f = Cfn::TypeLibrary::try_function($_)) {
88             return $f
89             } else {
90             return Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettingsValue->new( %$_ );
91             }
92             };
93              
94             package Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettingsValue {
95 1     1   3462 use Moose;
  1         3  
  1         6  
96 1     1   6430 use MooseX::StrictConstructor;
  1         2  
  1         6  
97             extends 'Cfn::Value::TypedValue';
98            
99             has MessageFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101             has StreamArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102             }
103              
104             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
105             as 'Cfn::Value';
106              
107             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
108             from 'HashRef',
109             via {
110             if (my $f = Cfn::TypeLibrary::try_function($_)) {
111             return $f
112             } else {
113             return Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettingsValue->new( %$_ );
114             }
115             };
116              
117             package Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettingsValue {
118 1     1   3342 use Moose;
  1         2  
  1         5  
119 1     1   6439 use MooseX::StrictConstructor;
  1         4  
  1         5  
120             extends 'Cfn::Value::TypedValue';
121            
122             has EndpointUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
123             has ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
124             has FullLoadErrorPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
125             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
126             }
127              
128             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
129             as 'Cfn::Value';
130              
131             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
132             from 'HashRef',
133             via {
134             if (my $f = Cfn::TypeLibrary::try_function($_)) {
135             return $f
136             } else {
137             return Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettingsValue->new( %$_ );
138             }
139             };
140              
141             package Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettingsValue {
142 1     1   3370 use Moose;
  1         2  
  1         6  
143 1     1   6489 use MooseX::StrictConstructor;
  1         3  
  1         5  
144             extends 'Cfn::Value::TypedValue';
145            
146             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
147             }
148              
149             package Cfn::Resource::Properties::AWS::DMS::Endpoint {
150 1     1   3280 use Moose;
  1         7  
  1         6  
151 1     1   6441 use MooseX::StrictConstructor;
  1         3  
  1         6  
152             extends 'Cfn::Resource::Properties';
153            
154             has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
155             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
156             has DynamoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
157             has ElasticsearchSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
158             has EndpointIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
159             has EndpointType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
160             has EngineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
161             has ExtraConnectionAttributes => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
162             has KinesisSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
163             has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
164             has MongoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
165             has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
166             has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
167             has S3Settings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
168             has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
169             has SslMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
170             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
171             has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172             }
173              
174             1;