-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathcodestarconnections.py
More file actions
60 lines (46 loc) · 1.78 KB
/
codestarconnections.py
File metadata and controls
60 lines (46 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright (c) 2012-2025, Mark Peek <[email protected]>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, PropsDictType, Tags
from .validators.codestarconnections import validate_connection_providertype
class Connection(AWSObject):
"""
`Connection <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html>`__
"""
resource_type = "AWS::CodeStarConnections::Connection"
props: PropsDictType = {
"ConnectionName": (str, True),
"HostArn": (str, False),
"ProviderType": (validate_connection_providertype, False),
"Tags": (Tags, False),
}
class RepositoryLink(AWSObject):
"""
`RepositoryLink <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-repositorylink.html>`__
"""
resource_type = "AWS::CodeStarConnections::RepositoryLink"
props: PropsDictType = {
"ConnectionArn": (str, True),
"EncryptionKeyArn": (str, False),
"OwnerId": (str, True),
"RepositoryName": (str, True),
"Tags": (Tags, False),
}
class SyncConfiguration(AWSObject):
"""
`SyncConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-syncconfiguration.html>`__
"""
resource_type = "AWS::CodeStarConnections::SyncConfiguration"
props: PropsDictType = {
"Branch": (str, True),
"ConfigFile": (str, True),
"PublishDeploymentStatus": (str, False),
"RepositoryLinkId": (str, True),
"ResourceName": (str, True),
"RoleArn": (str, True),
"SyncType": (str, True),
"TriggerResourceUpdateOn": (str, False),
}