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