@Internal public static interface IApplication.Jsii$Default extends IApplication, IResource.Jsii$Default, IGrantable.Jsii$Default
IApplication.IApplication.Jsii$Default, IApplication.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default Boolean |
addToRolePolicy(PolicyStatement policyStatement)
(experimental) Convenience method for adding a policy statement to the application role.
|
default void |
applyRemovalPolicy(RemovalPolicy policy)
(experimental) Apply the given removal policy to this resource.
|
default String |
getApplicationArn()
(experimental) The application ARN.
|
default String |
getApplicationName()
(experimental) The name of the Flink application.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default IPrincipal |
getGrantPrincipal()
(experimental) The principal to grant permissions to.
|
default ConstructNode |
getNode()
(experimental) The construct tree node for this construct.
|
default IRole |
getRole()
(experimental) The application IAM role.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return a CloudWatch metric associated with this Flink application.
|
default Metric |
metricBackPressuredTimeMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is back pressured per second.
|
default Metric |
metricBusyTimePerMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second.
|
default Metric |
metricCpuUtilization(MetricOptions props)
(experimental) The overall percentage of CPU utilization across task managers.
|
default Metric |
metricCurrentInputWatermark(MetricOptions props)
(experimental) The last watermark this application/operator/task/thread has received.
|
default Metric |
metricCurrentOutputWatermark(MetricOptions props)
(experimental) The last watermark this application/operator/task/thread has received.
|
default Metric |
metricDowntime(MetricOptions props)
(experimental) The time elapsed during an outage for failing/recovering jobs.
|
default Metric |
metricFullRestarts(MetricOptions props)
(experimental) The total number of times this job has fully restarted since it was submitted.
|
default Metric |
metricHeapMemoryUtilization(MetricOptions props)
(experimental) Overall heap memory utilization across task managers.
|
default Metric |
metricIdleTimeMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is idle (has no data to process) per second.
|
default Metric |
metricKpus(MetricOptions props)
(experimental) The number of Kinesis Processing Units that are used to run your stream processing application.
|
default Metric |
metricLastCheckpointDuration(MetricOptions props)
(experimental) The time it took to complete the last checkpoint.
|
default Metric |
metricLastCheckpointSize(MetricOptions props)
(experimental) The total size of the last checkpoint.
|
default Metric |
metricManagedMemoryTotal(MetricOptions props)
(experimental) The total amount of managed memory.
|
default Metric |
metricManagedMemoryUsed(MetricOptions props)
(experimental) The amount of managed memory currently used.
|
default Metric |
metricManagedMemoryUtilization(MetricOptions props)
(experimental) Derived from managedMemoryUsed/managedMemoryTotal.
|
default Metric |
metricNumberOfFailedCheckpoints(MetricOptions props)
(experimental) The number of times checkpointing has failed.
|
default Metric |
metricNumLateRecordsDropped(MetricOptions props)
(experimental) The number of records this operator or task has dropped due to arriving late.
|
default Metric |
metricNumRecordsIn(MetricOptions props)
(experimental) The total number of records this application, operator, or task has received.
|
default Metric |
metricNumRecordsInPerSecond(MetricOptions props)
(experimental) The total number of records this application, operator or task has received per second.
|
default Metric |
metricNumRecordsOut(MetricOptions props)
(experimental) The total number of records this application, operator or task has emitted.
|
default Metric |
metricNumRecordsOutPerSecond(MetricOptions props)
(experimental) The total number of records this application, operator or task has emitted per second.
|
default Metric |
metricOldGenerationGCCount(MetricOptions props)
(experimental) The total number of old garbage collection operations that have occurred across all task managers.
|
default Metric |
metricOldGenerationGCTime(MetricOptions props)
(experimental) The total time spent performing old garbage collection operations.
|
default Metric |
metricThreadsCount(MetricOptions props)
(experimental) The total number of live threads used by the application.
|
default Metric |
metricUptime(MetricOptions props)
(experimental) The time that the job has been running without interruption.
|
metric, metricBackPressuredTimeMsPerSecond, metricBusyTimePerMsPerSecond, metricCpuUtilization, metricCurrentInputWatermark, metricCurrentOutputWatermark, metricDowntime, metricFullRestarts, metricHeapMemoryUtilization, metricIdleTimeMsPerSecond, metricKpus, metricLastCheckpointDuration, metricLastCheckpointSize, metricManagedMemoryTotal, metricManagedMemoryUsed, metricManagedMemoryUtilization, metricNumberOfFailedCheckpoints, metricNumLateRecordsDropped, metricNumRecordsIn, metricNumRecordsInPerSecond, metricNumRecordsOut, metricNumRecordsOutPerSecond, metricOldGenerationGCCount, metricOldGenerationGCTime, metricThreadsCount, metricUptime@Stability(value=Experimental) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantablegetGrantPrincipal in interface IGrantable.Jsii$Default@Stability(value=Experimental) @NotNull default String getApplicationArn()
getApplicationArn in interface IApplication@Stability(value=Experimental) @NotNull default String getApplicationName()
getApplicationName in interface IApplication@Stability(value=Experimental) @Nullable default IRole getRole()
getRole in interface IApplication@Stability(value=Experimental)
default void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Experimental) @NotNull default Boolean addToRolePolicy(@NotNull PolicyStatement policyStatement)
addToRolePolicy in interface IApplicationpolicyStatement - This parameter is required.@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metric in interface IApplicationmetricName - The name of the metric. This parameter is required.props - Customization properties.@Stability(value=Experimental) @NotNull default Metric metricBackPressuredTimeMsPerSecond(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
metricBackPressuredTimeMsPerSecond in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricBusyTimePerMsPerSecond(@Nullable MetricOptions props)
Can be NaN, if the value could not be calculated.
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
metricBusyTimePerMsPerSecond in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricCpuUtilization(@Nullable MetricOptions props)
For example, if there are five task managers, Kinesis Data Analytics publishes five samples of this metric per reporting interval.
Units: Percentage
Reporting Level: Application
Default: average over 5 minutes
metricCpuUtilization in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricCurrentInputWatermark(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
metricCurrentInputWatermark in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricCurrentOutputWatermark(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
metricCurrentOutputWatermark in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricDowntime(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: average over 5 minutes
metricDowntime in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricFullRestarts(@Nullable MetricOptions props)
This metric does not measure fine-grained restarts.
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
metricFullRestarts in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricHeapMemoryUtilization(@Nullable MetricOptions props)
For example, if there are five task managers, Kinesis Data Analytics publishes five samples of this metric per reporting interval.
Units: Percentage
Reporting Level: Application
Default: average over 5 minutes
metricHeapMemoryUtilization in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricIdleTimeMsPerSecond(@Nullable MetricOptions props)
Idle time excludes back pressured time, so if the task is back pressured it is not idle.
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
metricIdleTimeMsPerSecond in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricKpus(@Nullable MetricOptions props)
The average number of KPUs used each hour determines the billing for your application.
Units: Count
Reporting Level: Application
Default: average over 5 minutes
metricKpus in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricLastCheckpointDuration(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: maximum over 5 minutes
metricLastCheckpointDuration in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricLastCheckpointSize(@Nullable MetricOptions props)
Units: Bytes
Reporting Level: Application
Default: maximum over 5 minutes
metricLastCheckpointSize in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricManagedMemoryTotal(@Nullable MetricOptions props)
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricManagedMemoryTotal in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricManagedMemoryUsed(@Nullable MetricOptions props)
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricManagedMemoryUsed in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricManagedMemoryUtilization(@Nullable MetricOptions props)
Units: Percentage
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricManagedMemoryUtilization in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumberOfFailedCheckpoints(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
metricNumberOfFailedCheckpoints in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumLateRecordsDropped(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: sum over 5 minutes
metricNumLateRecordsDropped in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumRecordsIn(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricNumRecordsIn in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumRecordsInPerSecond(@Nullable MetricOptions props)
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricNumRecordsInPerSecond in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumRecordsOut(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricNumRecordsOut in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricNumRecordsOutPerSecond(@Nullable MetricOptions props)
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
metricNumRecordsOutPerSecond in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricOldGenerationGCCount(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
metricOldGenerationGCCount in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricOldGenerationGCTime(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: sum over 5 minutes
metricOldGenerationGCTime in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricThreadsCount(@Nullable MetricOptions props)
Units: Count
Reporting Level: Application
Default: average over 5 minutes
metricThreadsCount in interface IApplicationprops - @Stability(value=Experimental) @NotNull default Metric metricUptime(@Nullable MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: sample count over 5 minutes
metricUptime in interface IApplicationprops - Copyright © 2022. All rights reserved.