2022/04/04 - AWS Proton - 1 updated api methods
Changes SDK release to support tagging for AWS Proton Repository resource
{'tags': [{'key': 'string', 'value': 'string'}]}
Create and register a link to a repository that can be used with self-managed provisioning (infrastructure or pipelines) or for template sync configurations. When you create a repository link, Proton creates a service-linked role for you.
For more information, see Self-managed provisioning , Template bundles , and Template sync configurations in the Proton Administrator Guide .
See also: AWS API Documentation
Request Syntax
client.create_repository( connectionArn='string', encryptionKey='string', name='string', provider='GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET', tags=[ { 'key': 'string', 'value': 'string' }, ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar connection. For more information, see Setting up for Proton in the Proton Administrator Guide .
string
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
string
[REQUIRED]
The repository name (for example, myrepos/myrepo ).
string
[REQUIRED]
The repository provider.
list
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide .
(dict) --
A description of a resource tag.
key (string) -- [REQUIRED]
The key of the resource tag.
value (string) -- [REQUIRED]
The value of the resource tag.
dict
Response Syntax
{ 'repository': { 'arn': 'string', 'connectionArn': 'string', 'encryptionKey': 'string', 'name': 'string', 'provider': 'GITHUB'|'GITHUB_ENTERPRISE'|'BITBUCKET' } }
Response Structure
(dict) --
repository (dict) --
The repository detail data that's returned by Proton.
arn (string) --
The repository Amazon Resource Name (ARN).
connectionArn (string) --
The repository Amazon Web Services CodeStar connection that connects Proton to your repository.
encryptionKey (string) --
Your customer Amazon Web Services KMS encryption key.
name (string) --
The repository name.
provider (string) --
The repository provider.