Class ServerApplication
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.codedeploy.ServerApplication
- All Implemented Interfaces:
IResource,IServerApplication,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.955Z")
@Stability(Stable)
public class ServerApplication
extends Resource
implements IServerApplication
A CodeDeploy Application that deploys to EC2/on-premise instances.
Example:
ServerApplication application = ServerApplication.Builder.create(this, "CodeDeployApplication")
.applicationName("MyApplication")
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.IServerApplication
IServerApplication.Jsii$Default, IServerApplication.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServerApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedServerApplication(software.amazon.jsii.JsiiObjectRef objRef) ServerApplication(software.constructs.Construct scope, String id) ServerApplication(software.constructs.Construct scope, String id, ServerApplicationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IServerApplicationfromServerApplicationArn(software.constructs.Construct scope, String id, String serverApplicationArn) Import an Application defined either outside the CDK, or in a different CDK Stack, by ARN.static IServerApplicationfromServerApplicationName(software.constructs.Construct scope, String id, String serverApplicationName) Import an Application defined either outside the CDK app, or in a different region.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
ServerApplication
protected ServerApplication(software.amazon.jsii.JsiiObjectRef objRef) -
ServerApplication
protected ServerApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ServerApplication
@Stability(Stable) public ServerApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ServerApplicationProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
ServerApplication
@Stability(Stable) public ServerApplication(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromServerApplicationArn
@Stability(Stable) @NotNull public static IServerApplication fromServerApplicationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String serverApplicationArn) Import an Application defined either outside the CDK, or in a different CDK Stack, by ARN.- 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.serverApplicationArn- the ARN of the application to import. This parameter is required.- Returns:
- a Construct representing a reference to an existing Application
-
fromServerApplicationName
@Stability(Stable) @NotNull public static IServerApplication fromServerApplicationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String serverApplicationName) Import an Application defined either outside the CDK app, or in a different region.The Application's account and region are assumed to be the same as the stack it is being imported into. If not, use
fromServerApplicationArn.- 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.serverApplicationName- the name of the application to import. This parameter is required.- Returns:
- a Construct representing a reference to an existing Application
-
getApplicationArn
- Specified by:
getApplicationArnin interfaceIServerApplication
-
getApplicationName
- Specified by:
getApplicationNamein interfaceIServerApplication
-