Class LambdaApplication
A CodeDeploy Application that deploys to an AWS Lambda function.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaApplication : Resource, ILambdaApplication, IResource
Syntax (vb)
Public Class LambdaApplication
Inherits Resource
Implements ILambdaApplication, IResource
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
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(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
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 Constructs.Construct
the parent Construct for this new Construct.
- id System.String
the logical ID of this new Construct.
- lambdaApplicationArn System.String
the ARN of the application to import.
Returns
a Construct representing a reference to an existing Application
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
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
.