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.ApplicationNameRequiredException
CodeDeploy.Client.exceptions.InvalidApplicationNameException
CodeDeploy.Client.exceptions.ApplicationAlreadyExistsException
CodeDeploy.Client.exceptions.ApplicationLimitExceededException
CodeDeploy.Client.exceptions.InvalidComputePlatformException
CodeDeploy.Client.exceptions.InvalidTagsToAddException