File Coverage

blib/lib/Cfn/Resource/AWS/DMS/Endpoint.pm
Criterion Covered Total %
statement 56 56 100.0
branch n/a
condition n/a
subroutine 20 20 100.0
pod 0 2 0.0
total 76 78 97.4


line stmt bran cond sub pod time code
1             # AWS::DMS::Endpoint generated from spec 18.4.0
2 1     1   730 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   2234 use Moose;
  1         2  
  1         9  
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 1209 [ '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::Object::AWS::DMS::Endpoint::S3Settings->new( %$_ );
33             }
34             };
35              
36             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::S3Settings {
37 1     1   7433 use Moose;
  1         3  
  1         6  
38 1     1   6764 use MooseX::StrictConstructor;
  1         3  
  1         10  
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::NeptuneSettings',
51             as 'Cfn::Value';
52              
53             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::NeptuneSettings',
54             from 'HashRef',
55             via {
56             if (my $f = Cfn::TypeLibrary::try_function($_)) {
57             return $f
58             } else {
59             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::NeptuneSettings->new( %$_ );
60             }
61             };
62              
63             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::NeptuneSettings {
64 1     1   3744 use Moose;
  1         3  
  1         6  
65 1     1   6630 use MooseX::StrictConstructor;
  1         4  
  1         7  
66             extends 'Cfn::Value::TypedValue';
67            
68             has ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
69             has IamAuthEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
70             has MaxFileSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
71             has MaxRetryCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
72             has S3BucketFolder => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
73             has S3BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
74             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
75             }
76              
77             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
78             as 'Cfn::Value';
79              
80             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings',
81             from 'HashRef',
82             via {
83             if (my $f = Cfn::TypeLibrary::try_function($_)) {
84             return $f
85             } else {
86             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::MongoDbSettings->new( %$_ );
87             }
88             };
89              
90             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::MongoDbSettings {
91 1     1   3433 use Moose;
  1         6  
  1         5  
92 1     1   6646 use MooseX::StrictConstructor;
  1         7  
  1         4  
93             extends 'Cfn::Value::TypedValue';
94            
95             has AuthMechanism => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
96             has AuthSource => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
97             has AuthType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
98             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
99             has DocsToInvestigate => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100             has ExtractDocId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
101             has NestingLevel => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
102             has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
103             has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
104             has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
105             has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
106             }
107              
108             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
109             as 'Cfn::Value';
110              
111             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings',
112             from 'HashRef',
113             via {
114             if (my $f = Cfn::TypeLibrary::try_function($_)) {
115             return $f
116             } else {
117             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KinesisSettings->new( %$_ );
118             }
119             };
120              
121             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KinesisSettings {
122 1     1   3715 use Moose;
  1         4  
  1         8  
123 1     1   6995 use MooseX::StrictConstructor;
  1         4  
  1         6  
124             extends 'Cfn::Value::TypedValue';
125            
126             has MessageFormat => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
127             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
128             has StreamArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
129             }
130              
131             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings',
132             as 'Cfn::Value';
133              
134             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings',
135             from 'HashRef',
136             via {
137             if (my $f = Cfn::TypeLibrary::try_function($_)) {
138             return $f
139             } else {
140             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KafkaSettings->new( %$_ );
141             }
142             };
143              
144             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::KafkaSettings {
145 1     1   3391 use Moose;
  1         3  
  1         4  
146 1     1   6685 use MooseX::StrictConstructor;
  1         7  
  1         7  
147             extends 'Cfn::Value::TypedValue';
148            
149             has Broker => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
150             has Topic => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
151             }
152              
153             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
154             as 'Cfn::Value';
155              
156             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings',
157             from 'HashRef',
158             via {
159             if (my $f = Cfn::TypeLibrary::try_function($_)) {
160             return $f
161             } else {
162             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::ElasticsearchSettings->new( %$_ );
163             }
164             };
165              
166             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::ElasticsearchSettings {
167 1     1   3408 use Moose;
  1         4  
  1         5  
168 1     1   6769 use MooseX::StrictConstructor;
  1         8  
  1         6  
169             extends 'Cfn::Value::TypedValue';
170            
171             has EndpointUri => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
172             has ErrorRetryDuration => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
173             has FullLoadErrorPercentage => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
174             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
175             }
176              
177             subtype 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
178             as 'Cfn::Value';
179              
180             coerce 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings',
181             from 'HashRef',
182             via {
183             if (my $f = Cfn::TypeLibrary::try_function($_)) {
184             return $f
185             } else {
186             return Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::DynamoDbSettings->new( %$_ );
187             }
188             };
189              
190             package Cfn::Resource::Properties::Object::AWS::DMS::Endpoint::DynamoDbSettings {
191 1     1   3486 use Moose;
  1         3  
  1         14  
192 1     1   6873 use MooseX::StrictConstructor;
  1         3  
  1         6  
193             extends 'Cfn::Value::TypedValue';
194            
195             has ServiceAccessRoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
196             }
197              
198             package Cfn::Resource::Properties::AWS::DMS::Endpoint {
199 1     1   3338 use Moose;
  1         4  
  1         7  
200 1     1   6648 use MooseX::StrictConstructor;
  1         7  
  1         5  
201             extends 'Cfn::Resource::Properties';
202            
203             has CertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
204             has DatabaseName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
205             has DynamoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::DynamoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
206             has ElasticsearchSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::ElasticsearchSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
207             has EndpointIdentifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
208             has EndpointType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
209             has EngineName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
210             has ExtraConnectionAttributes => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
211             has KafkaSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KafkaSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
212             has KinesisSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::KinesisSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
213             has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
214             has MongoDbSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::MongoDbSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
215             has NeptuneSettings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::NeptuneSettings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
216             has Password => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
217             has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
218             has S3Settings => (isa => 'Cfn::Resource::Properties::AWS::DMS::Endpoint::S3Settings', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
219             has ServerName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
220             has SslMode => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
221             has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
222             has Username => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
223             }
224              
225             1;
226             ### main pod documentation begin ###
227              
228             =encoding UTF-8
229              
230             =head1 NAME
231              
232             Cfn::Resource::AWS::DMS::Endpoint - Cfn resource for AWS::DMS::Endpoint
233              
234             =head1 DESCRIPTION
235              
236             This module implements a Perl module that represents the CloudFormation object AWS::DMS::Endpoint.
237              
238             See L<Cfn> for more information on how to use it.
239              
240             =head1 AUTHOR
241              
242             Jose Luis Martinez
243             CAPSiDE
244             jlmartinez@capside.com
245              
246             =head1 COPYRIGHT and LICENSE
247              
248             Copyright (c) 2013 by CAPSiDE
249             This code is distributed under the Apache 2 License. The full text of the
250             license can be found in the LICENSE file included with this module.
251              
252             =cut