Class LambdaApplication
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.codedeploy.LambdaApplication
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,ILambdaApplication
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.377Z")
@Stability(Stable)
public class LambdaApplication
extends Resource
implements ILambdaApplication
A CodeDeploy Application that deploys to an AWS Lambda function.
Example:
LambdaApplication application = LambdaApplication.Builder.create(this, "CodeDeployApplication") .applicationName("MyApplication") .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.ILambdaApplication
ILambdaApplication.Jsii$Default, ILambdaApplication.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
LambdaApplication
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaApplication
(software.amazon.jsii.JsiiObjectRef objRef) LambdaApplication
(software.constructs.Construct scope, String id) LambdaApplication
(software.constructs.Construct scope, String id, LambdaApplicationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ILambdaApplication
fromLambdaApplicationName
(software.constructs.Construct scope, String id, String lambdaApplicationName) Import an Application defined either outside the CDK, or in a different CDK Stack.validate()
Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
LambdaApplication
protected LambdaApplication(software.amazon.jsii.JsiiObjectRef objRef) -
LambdaApplication
protected LambdaApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LambdaApplication
@Stability(Stable) public LambdaApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable LambdaApplicationProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
LambdaApplication
@Stability(Stable) public LambdaApplication(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
fromLambdaApplicationName
@Stability(Stable) @NotNull public static ILambdaApplication fromLambdaApplicationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String lambdaApplicationName) Import an Application defined either outside the CDK, or in a different CDK Stack.- Parameters:
scope
- the parent Construct for this new Construct. This parameter is required.id
- the logical ID of this new Construct. This parameter is required.lambdaApplicationName
- the name of the application to import. This parameter is required.- Returns:
- a Construct representing a reference to an existing Application
-
validate
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getApplicationArn
- Specified by:
getApplicationArn
in interfaceILambdaApplication
-
getApplicationName
- Specified by:
getApplicationName
in interfaceILambdaApplication
-