Show / Hide Table of Contents

Class LambdaApplication

A CodeDeploy Application that deploys to an AWS Lambda function.

Inheritance
object
Resource
LambdaApplication
Implements
ILambdaApplication
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaApplication : Resource, ILambdaApplication, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class LambdaApplication Inherits Resource Implements ILambdaApplication, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Examples
var application = new LambdaApplication(this, "CodeDeployApplication", new LambdaApplicationProps {
                 ApplicationName = "MyApplication"
             });

Synopsis

Constructors

LambdaApplication(Construct, string, ILambdaApplicationProps?)

A CodeDeploy Application that deploys to an AWS Lambda function.

Properties

ApplicationArn

A CodeDeploy Application that deploys to an AWS Lambda function.

ApplicationName

A CodeDeploy Application that deploys to an AWS Lambda function.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Methods

FromLambdaApplicationArn(Construct, string, string)

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

FromLambdaApplicationName(Construct, string, string)

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

Constructors

LambdaApplication(Construct, string, ILambdaApplicationProps?)

A CodeDeploy Application that deploys to an AWS Lambda function.

public LambdaApplication(Construct scope, string id, ILambdaApplicationProps? props = null)
Parameters
scope Construct
id string
props ILambdaApplicationProps
Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Examples
var application = new LambdaApplication(this, "CodeDeployApplication", new LambdaApplicationProps {
                 ApplicationName = "MyApplication"
             });

Properties

ApplicationArn

A CodeDeploy Application that deploys to an AWS Lambda function.

public virtual string ApplicationArn { get; }
Property Value

string

Remarks

Attribute: true

ApplicationName

A CodeDeploy Application that deploys to an AWS Lambda function.

public virtual string ApplicationName { get; }
Property Value

string

Remarks

Attribute: true

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

Methods

FromLambdaApplicationArn(Construct, string, string)

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

public static ILambdaApplication FromLambdaApplicationArn(Construct scope, string id, string lambdaApplicationArn)
Parameters
scope Construct

the parent Construct for this new Construct.

id string

the logical ID of this new Construct.

lambdaApplicationArn string

the ARN of the application to import.

Returns

ILambdaApplication

a Construct representing a reference to an existing Application

Remarks

Resource: AWS::CodeDeploy::Application

ExampleMetadata: infused

FromLambdaApplicationName(Construct, string, string)

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

public static ILambdaApplication FromLambdaApplicationName(Construct scope, string id, string lambdaApplicationName)
Parameters
scope Construct

the parent Construct for this new Construct.

id string

the logical ID of this new Construct.

lambdaApplicationName string

the name of the application to import.

Returns

ILambdaApplication

a Construct representing a reference to an existing Application

Remarks

The Application's account and region are assumed to be the same as the stack it is being imported into. If not, use fromLambdaApplicationArn.

Implements

ILambdaApplication
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX