Class LambdaApplication
A CodeDeploy Application that deploys to an AWS Lambda function.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class LambdaApplication : Resource, ILambdaApplication, IResource, IConstruct, IDependable
Syntax (vb)
Public Class LambdaApplication
Inherits Resource
Implements ILambdaApplication, IResource, IConstruct, IDependable
Remarks
Resource: AWS::CodeDeploy::Application
ExampleMetadata: infused
Examples
var application = new LambdaApplication(this, "CodeDeployApplication", new LambdaApplicationProps {
ApplicationName = "MyApplication"
});
Synopsis
Constructors
LambdaApplication(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
LambdaApplication(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
LambdaApplication(Construct, String, ILambdaApplicationProps) |
Properties
ApplicationArn | |
ApplicationName |
Methods
FromLambdaApplicationName(Construct, String, String) | Import an Application defined either outside the CDK, or in a different CDK Stack. |
Validate() | Validate the current construct. |
Constructors
LambdaApplication(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected LambdaApplication(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
LambdaApplication(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected LambdaApplication(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
LambdaApplication(Construct, String, ILambdaApplicationProps)
public LambdaApplication(Construct scope, string id, ILambdaApplicationProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props ILambdaApplicationProps
Properties
ApplicationArn
public virtual string ApplicationArn { get; }
Property Value
System.String
ApplicationName
public virtual string ApplicationName { get; }
Property Value
System.String
Methods
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 Constructs.Construct
the parent Construct for this new Construct.
- id System.String
the logical ID of this new Construct.
- lambdaApplicationName System.String
the name of the application to import.
Returns
a Construct representing a reference to an existing Application
Validate()
Validate the current construct.
protected override string[] Validate()
Returns
System.String[]
Overrides
Remarks
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.