@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:02.426Z") @Stability(value=Experimental) public class Application extends Resource implements IApplication
| Modifier and Type | Class and Description |
|---|---|
static class |
Application.Builder
(experimental) A fluent builder for
Application. |
software.amazon.jsii.JsiiObject.InitializationModeIApplication.Jsii$Default, IApplication.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Application(software.constructs.Construct scope,
String id,
ApplicationProps props) |
protected |
Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Application(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
addToRolePolicy(PolicyStatement policyStatement)
(experimental) Implement the convenience
IApplication.addToPrincipalPolicy method. |
static IApplication |
fromApplicationArn(software.constructs.Construct scope,
String id,
String applicationArn)
(experimental) Import an existing application defined outside of CDK code by applicationArn.
|
static IApplication |
fromApplicationName(software.constructs.Construct scope,
String id,
String applicationName)
(experimental) Import an existing Flink application defined outside of CDK code by applicationName.
|
String |
getApplicationArn()
(experimental) The application ARN.
|
String |
getApplicationName()
(experimental) The name of the Flink application.
|
IPrincipal |
getGrantPrincipal()
(experimental) The principal to grant permissions to.
|
IRole |
getRole()
(experimental) The application IAM role.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Application(software.amazon.jsii.JsiiObjectRef objRef)
protected Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Application(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ApplicationProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IApplication fromApplicationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationArn)
scope - This parameter is required.id - This parameter is required.applicationArn - This parameter is required.@Stability(value=Experimental) @NotNull public static IApplication fromApplicationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationName)
scope - This parameter is required.id - This parameter is required.applicationName - This parameter is required.@Stability(value=Experimental) @NotNull public Boolean addToRolePolicy(@NotNull PolicyStatement policyStatement)
IApplication.addToPrincipalPolicy method.
addToRolePolicy in interface IApplicationpolicyStatement - This parameter is required.@Stability(value=Experimental) @NotNull public String getApplicationArn()
getApplicationArn in interface IApplication@Stability(value=Experimental) @NotNull public String getApplicationName()
getApplicationName in interface IApplication@Stability(value=Experimental) @NotNull public IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantable@Stability(value=Experimental) @Nullable public IRole getRole()
getRole in interface IApplicationCopyright © 2021. All rights reserved.