CodeDeploy.Client.create_application(**kwargs)¶Creates an application.
See also: AWS API Documentation
Request Syntax
response = client.create_application(
applicationName='string',
computePlatform='Server'|'Lambda'|'ECS',
tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.
Lambda , Server , or ECS ).The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
Information about a tag.
The tag's key.
The tag's value.
dict
Response Syntax
{
'applicationId': 'string'
}
Response Structure
(dict) --
Represents the output of a CreateApplication operation.
applicationId (string) --
A unique application ID.
Exceptions
CodeDeploy.Client.exceptions.ApplicationNameRequiredExceptionCodeDeploy.Client.exceptions.InvalidApplicationNameExceptionCodeDeploy.Client.exceptions.ApplicationAlreadyExistsExceptionCodeDeploy.Client.exceptions.ApplicationLimitExceededExceptionCodeDeploy.Client.exceptions.InvalidComputePlatformExceptionCodeDeploy.Client.exceptions.InvalidTagsToAddException