@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.273Z") public interface IApplication extends IResource, IGrantable
Modifier and Type | Interface and Description |
---|---|
static interface |
IApplication.Jsii$Default
Internal default implementation for
IApplication . |
static class |
IApplication.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
addToRolePolicy(PolicyStatement policyStatement)
(experimental) Convenience method for adding a policy statement to the application role.
|
java.lang.String |
getApplicationArn()
(experimental) The application ARN.
|
java.lang.String |
getApplicationName()
(experimental) The name of the Flink application.
|
default IRole |
getRole()
(experimental) The application IAM role.
|
Metric |
metric(java.lang.String metricName)
(experimental) Return a CloudWatch metric associated with this Flink application.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
(experimental) Return a CloudWatch metric associated with this Flink application.
|
Metric |
metricBackPressuredTimeMsPerSecond()
(experimental) The time (in milliseconds) this task or operator is back pressured per second.
|
Metric |
metricBackPressuredTimeMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is back pressured per second.
|
Metric |
metricBusyTimePerMsPerSecond()
(experimental) The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second.
|
Metric |
metricBusyTimePerMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second.
|
Metric |
metricCpuUtilization()
(experimental) The overall percentage of CPU utilization across task managers.
|
Metric |
metricCpuUtilization(MetricOptions props)
(experimental) The overall percentage of CPU utilization across task managers.
|
Metric |
metricCurrentInputWatermark()
(experimental) The last watermark this application/operator/task/thread has received.
|
Metric |
metricCurrentInputWatermark(MetricOptions props)
(experimental) The last watermark this application/operator/task/thread has received.
|
Metric |
metricCurrentOutputWatermark()
(experimental) The last watermark this application/operator/task/thread has received.
|
Metric |
metricCurrentOutputWatermark(MetricOptions props)
(experimental) The last watermark this application/operator/task/thread has received.
|
Metric |
metricDowntime()
(experimental) The time elapsed during an outage for failing/recovering jobs.
|
Metric |
metricDowntime(MetricOptions props)
(experimental) The time elapsed during an outage for failing/recovering jobs.
|
Metric |
metricFullRestarts()
(experimental) The total number of times this job has fully restarted since it was submitted.
|
Metric |
metricFullRestarts(MetricOptions props)
(experimental) The total number of times this job has fully restarted since it was submitted.
|
Metric |
metricHeapMemoryUtilization()
(experimental) Overall heap memory utilization across task managers.
|
Metric |
metricHeapMemoryUtilization(MetricOptions props)
(experimental) Overall heap memory utilization across task managers.
|
Metric |
metricIdleTimeMsPerSecond()
(experimental) The time (in milliseconds) this task or operator is idle (has no data to process) per second.
|
Metric |
metricIdleTimeMsPerSecond(MetricOptions props)
(experimental) The time (in milliseconds) this task or operator is idle (has no data to process) per second.
|
Metric |
metricKpus()
(experimental) The number of Kinesis Processing Units that are used to run your stream processing application.
|
Metric |
metricKpus(MetricOptions props)
(experimental) The number of Kinesis Processing Units that are used to run your stream processing application.
|
Metric |
metricLastCheckpointDuration()
(experimental) The time it took to complete the last checkpoint.
|
Metric |
metricLastCheckpointDuration(MetricOptions props)
(experimental) The time it took to complete the last checkpoint.
|
Metric |
metricLastCheckpointSize()
(experimental) The total size of the last checkpoint.
|
Metric |
metricLastCheckpointSize(MetricOptions props)
(experimental) The total size of the last checkpoint.
|
Metric |
metricManagedMemoryTotal()
(experimental) The total amount of managed memory.
|
Metric |
metricManagedMemoryTotal(MetricOptions props)
(experimental) The total amount of managed memory.
|
Metric |
metricManagedMemoryUsed()
(experimental) The amount of managed memory currently used.
|
Metric |
metricManagedMemoryUsed(MetricOptions props)
(experimental) The amount of managed memory currently used.
|
Metric |
metricManagedMemoryUtilization()
(experimental) Derived from managedMemoryUsed/managedMemoryTotal.
|
Metric |
metricManagedMemoryUtilization(MetricOptions props)
(experimental) Derived from managedMemoryUsed/managedMemoryTotal.
|
Metric |
metricNumberOfFailedCheckpoints()
(experimental) The number of times checkpointing has failed.
|
Metric |
metricNumberOfFailedCheckpoints(MetricOptions props)
(experimental) The number of times checkpointing has failed.
|
Metric |
metricNumLateRecordsDropped()
(experimental) The number of records this operator or task has dropped due to arriving late.
|
Metric |
metricNumLateRecordsDropped(MetricOptions props)
(experimental) The number of records this operator or task has dropped due to arriving late.
|
Metric |
metricNumRecordsIn()
(experimental) The total number of records this application, operator, or task has received.
|
Metric |
metricNumRecordsIn(MetricOptions props)
(experimental) The total number of records this application, operator, or task has received.
|
Metric |
metricNumRecordsInPerSecond()
(experimental) The total number of records this application, operator or task has received per second.
|
Metric |
metricNumRecordsInPerSecond(MetricOptions props)
(experimental) The total number of records this application, operator or task has received per second.
|
Metric |
metricNumRecordsOut()
(experimental) The total number of records this application, operator or task has emitted.
|
Metric |
metricNumRecordsOut(MetricOptions props)
(experimental) The total number of records this application, operator or task has emitted.
|
Metric |
metricNumRecordsOutPerSecond()
(experimental) The total number of records this application, operator or task has emitted per second.
|
Metric |
metricNumRecordsOutPerSecond(MetricOptions props)
(experimental) The total number of records this application, operator or task has emitted per second.
|
Metric |
metricOldGenerationGCCount()
(experimental) The total number of old garbage collection operations that have occurred across all task managers.
|
Metric |
metricOldGenerationGCCount(MetricOptions props)
(experimental) The total number of old garbage collection operations that have occurred across all task managers.
|
Metric |
metricOldGenerationGCTime()
(experimental) The total time spent performing old garbage collection operations.
|
Metric |
metricOldGenerationGCTime(MetricOptions props)
(experimental) The total time spent performing old garbage collection operations.
|
Metric |
metricThreadsCount()
(experimental) The total number of live threads used by the application.
|
Metric |
metricThreadsCount(MetricOptions props)
(experimental) The total number of live threads used by the application.
|
Metric |
metricUptime()
(experimental) The time that the job has been running without interruption.
|
Metric |
metricUptime(MetricOptions props)
(experimental) The time that the job has been running without interruption.
|
applyRemovalPolicy, getEnv, getStack
getNode
getGrantPrincipal
java.lang.String getApplicationArn()
java.lang.String getApplicationName()
default IRole getRole()
java.lang.Boolean addToRolePolicy(PolicyStatement policyStatement)
policyStatement
- This parameter is required.Metric metric(java.lang.String metricName, MetricOptions props)
metricName
- The name of the metric. This parameter is required.props
- Customization properties.Metric metric(java.lang.String metricName)
metricName
- The name of the metric. This parameter is required.Metric metricBackPressuredTimeMsPerSecond(MetricOptions props)
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricBackPressuredTimeMsPerSecond()
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricBusyTimePerMsPerSecond(MetricOptions props)
Can be NaN, if the value could not be calculated.
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricBusyTimePerMsPerSecond()
Can be NaN, if the value could not be calculated.
Units: Milliseconds
Reporting Level: Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricCpuUtilization(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
props
- Metric metricCpuUtilization()
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
Metric metricCurrentInputWatermark(MetricOptions props)
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
props
- Metric metricCurrentInputWatermark()
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
Metric metricCurrentOutputWatermark(MetricOptions props)
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
props
- Metric metricCurrentOutputWatermark()
Units: Milliseconds
Reporting Level: Application, Operator, Task, Parallelism
Default: maximum over 5 minutes
Metric metricDowntime(MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: average over 5 minutes
props
- Metric metricDowntime()
Units: Milliseconds
Reporting Level: Application
Default: average over 5 minutes
Metric metricFullRestarts(MetricOptions props)
This metric does not measure fine-grained restarts.
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
props
- Metric metricFullRestarts()
This metric does not measure fine-grained restarts.
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
Metric metricHeapMemoryUtilization(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
props
- Metric metricHeapMemoryUtilization()
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
Metric metricIdleTimeMsPerSecond(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
props
- Metric metricIdleTimeMsPerSecond()
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
Metric metricKpus(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
props
- Metric metricKpus()
The average number of KPUs used each hour determines the billing for your application.
Units: Count
Reporting Level: Application
Default: average over 5 minutes
Metric metricLastCheckpointDuration(MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: maximum over 5 minutes
props
- Metric metricLastCheckpointDuration()
Units: Milliseconds
Reporting Level: Application
Default: maximum over 5 minutes
Metric metricLastCheckpointSize(MetricOptions props)
Units: Bytes
Reporting Level: Application
Default: maximum over 5 minutes
props
- Metric metricLastCheckpointSize()
Units: Bytes
Reporting Level: Application
Default: maximum over 5 minutes
Metric metricManagedMemoryTotal(MetricOptions props)
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricManagedMemoryTotal()
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricManagedMemoryUsed(MetricOptions props)
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricManagedMemoryUsed()
Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricManagedMemoryUtilization(MetricOptions props)
Units: Percentage
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricManagedMemoryUtilization()
Units: Percentage
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricNumberOfFailedCheckpoints(MetricOptions props)
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
props
- Metric metricNumberOfFailedCheckpoints()
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
Metric metricNumLateRecordsDropped(MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: sum over 5 minutes
props
- Metric metricNumLateRecordsDropped()
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: sum over 5 minutes
Metric metricNumRecordsIn(MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricNumRecordsIn()
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricNumRecordsInPerSecond(MetricOptions props)
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricNumRecordsInPerSecond()
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricNumRecordsOut(MetricOptions props)
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricNumRecordsOut()
Units: Count
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricNumRecordsOutPerSecond(MetricOptions props)
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
props
- Metric metricNumRecordsOutPerSecond()
Units: Count/Second
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
Metric metricOldGenerationGCCount(MetricOptions props)
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
props
- Metric metricOldGenerationGCCount()
Units: Count
Reporting Level: Application
Default: sum over 5 minutes
Metric metricOldGenerationGCTime(MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: sum over 5 minutes
props
- Metric metricOldGenerationGCTime()
Units: Milliseconds
Reporting Level: Application
Default: sum over 5 minutes
Metric metricThreadsCount(MetricOptions props)
Units: Count
Reporting Level: Application
Default: average over 5 minutes
props
- Metric metricThreadsCount()
Units: Count
Reporting Level: Application
Default: average over 5 minutes
Metric metricUptime(MetricOptions props)
Units: Milliseconds
Reporting Level: Application
Default: sample count over 5 minutes
props
- Metric metricUptime()
Units: Milliseconds
Reporting Level: Application
Default: sample count over 5 minutes