LambdaApplication

class aws_cdk.aws_codedeploy.LambdaApplication(scope, id, *, application_name=None)

Bases: aws_cdk.core.Resource

A CodeDeploy Application that deploys to an AWS Lambda function.

resource: :resource:: AWS::CodeDeploy::Application

__init__(scope, id, *, application_name=None)
Parameters
  • scope (Construct) –

  • id (str) –

  • props

  • application_name (Optional[str]) – The physical, human-readable name of the CodeDeploy Application. Default: an auto-generated name will be used

Return type

None

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

application_arn
Return type

str

application_name
Return type

str

node

Construct tree node which offers APIs for interacting with the construct tree.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

Static Methods

classmethod from_lambda_application_name(scope, id, lambda_application_name)

Import an Application defined either outside the CDK, or in a different CDK Stack.

Parameters
  • scope (Construct) – the parent Construct for this new Construct.

  • id (str) – the logical ID of this new Construct.

  • lambda_application_name (str) – the name of the application to import.

return :rtype: ILambdaApplication :return: a Construct representing a reference to an existing Application

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool