Class ServerApplication
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.ServerApplication
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IServerApplication
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.388Z")
@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 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.core.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.IServerApplication
IServerApplication.Jsii$Default, IServerApplication.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServerApplication
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ServerApplication
(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 IServerApplication
fromServerApplicationName
(software.constructs.Construct scope, String id, String serverApplicationName) Import an Application defined either outside the CDK app, or in a different region.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
-
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
-
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.- 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
-
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 interfaceIServerApplication
-
getApplicationName
- Specified by:
getApplicationName
in interfaceIServerApplication
-