@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:59.453Z") public class EcsApplication extends Resource implements IEcsApplication
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codedeploy.*; EcsApplication ecsApplication = EcsApplication.Builder.create(this, "MyEcsApplication") .applicationName("applicationName") .build();
Modifier and Type | Class and Description |
---|---|
static class |
EcsApplication.Builder
A fluent builder for
EcsApplication . |
IEcsApplication.Jsii$Default, IEcsApplication.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
EcsApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EcsApplication(software.amazon.jsii.JsiiObjectRef objRef) |
|
EcsApplication(software.constructs.Construct scope,
java.lang.String id) |
|
EcsApplication(software.constructs.Construct scope,
java.lang.String id,
EcsApplicationProps props) |
Modifier and Type | Method and Description |
---|---|
static IEcsApplication |
fromEcsApplicationName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String ecsApplicationName)
Import an Application defined either outside the CDK, or in a different CDK Stack.
|
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 EcsApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected EcsApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public EcsApplication(software.constructs.Construct scope, java.lang.String id, EcsApplicationProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public EcsApplication(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static IEcsApplication fromEcsApplicationName(software.constructs.Construct scope, java.lang.String id, java.lang.String ecsApplicationName)
scope
- the parent Construct for this new Construct. This parameter is required.id
- the logical ID of this new Construct. This parameter is required.ecsApplicationName
- 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 IEcsApplication
public java.lang.String getApplicationName()
getApplicationName
in interface IEcsApplication