@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:43.174Z") public class ServerApplication extends Resource implements IServerApplication
Example:
ServerApplication application = ServerApplication.Builder.create(this, "CodeDeployApplication") .applicationName("MyApplication") .build();
Modifier and Type | Class and Description |
---|---|
static class |
ServerApplication.Builder
A fluent builder for
ServerApplication . |
IServerApplication.Jsii$Default, IServerApplication.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
ServerApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ServerApplication(software.amazon.jsii.JsiiObjectRef objRef) |
|
ServerApplication(software.constructs.Construct scope,
java.lang.String id) |
|
ServerApplication(software.constructs.Construct scope,
java.lang.String id,
ServerApplicationProps props) |
Modifier and Type | Method and Description |
---|---|
static IServerApplication |
fromServerApplicationName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String serverApplicationName)
Import an Application defined either outside the CDK app, or in a different region.
|
java.lang.String |
getApplicationArn() |
java.lang.String |
getApplicationName() |
protected java.util.List<java.lang.String> |
validate()
Validate the current construct.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected ServerApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected ServerApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public ServerApplication(software.constructs.Construct scope, java.lang.String id, ServerApplicationProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public ServerApplication(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static IServerApplication fromServerApplicationName(software.constructs.Construct scope, java.lang.String id, java.lang.String serverApplicationName)
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.protected java.util.List<java.lang.String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
public java.lang.String getApplicationArn()
getApplicationArn
in interface IServerApplication
public java.lang.String getApplicationName()
getApplicationName
in interface IServerApplication