Interface IApplication.Jsii$Default
- All Superinterfaces:
IApplication
,IConstruct
,software.constructs.IConstruct
,IConstruct.Jsii$Default
,software.constructs.IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IGrantable
,IGrantable.Jsii$Default
,IResource
,IResource.Jsii$Default
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IApplication.Jsii$Proxy
- Enclosing interface:
IApplication
IApplication
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesis.analytics.flink.IApplication
IApplication.Jsii$Default, IApplication.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault Boolean
addToRolePolicy
(PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.default void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.default String
(experimental) The application ARN.default String
(experimental) The name of the Flink application.default ResourceEnvironment
getEnv()
The environment this resource belongs to.default IPrincipal
The principal to grant permissions to.default ConstructNode
getNode()
The construct tree node for this construct.default IRole
getRole()
(experimental) The application IAM role.default Stack
getStack()
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
(experimental) The time (in milliseconds) this task or operator is back pressured per second.default Metric
(experimental) The time (in milliseconds) this task or operator is busy (neither idle nor back pressured) per second.default Metric
(experimental) The overall percentage of CPU utilization across task managers.default Metric
(experimental) The last watermark this application/operator/task/thread has received.default Metric
(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
(experimental) Overall heap memory utilization across task managers.default Metric
(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
(experimental) The time it took to complete the last checkpoint.default Metric
(experimental) The total size of the last checkpoint.default Metric
(experimental) The total amount of managed memory.default Metric
(experimental) The amount of managed memory currently used.default Metric
(experimental) Derived from managedMemoryUsed/managedMemoryTotal.default Metric
(experimental) The number of times checkpointing has failed.default Metric
(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
(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
(experimental) The total number of records this application, operator or task has emitted per second.default Metric
(experimental) The total number of old garbage collection operations that have occurred across all task managers.default Metric
(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.Methods inherited from interface software.amazon.awscdk.services.kinesis.analytics.flink.IApplication
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
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNode
in interfaceIConstruct
- Specified by:
getNode
in interfaceIConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.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.
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipal
in interfaceIGrantable
- Specified by:
getGrantPrincipal
in interfaceIGrantable.Jsii$Default
-
getApplicationArn
(experimental) The application ARN.- Specified by:
getApplicationArn
in interfaceIApplication
-
getApplicationName
(experimental) The name of the Flink application.- Specified by:
getApplicationName
in interfaceIApplication
-
getRole
(experimental) The application IAM role.- Specified by:
getRole
in interfaceIApplication
-
applyRemovalPolicy
Apply the given removal policy to this resource.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
).- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
addToRolePolicy
@Stability(Experimental) @NotNull default Boolean addToRolePolicy(@NotNull PolicyStatement policyStatement) (experimental) Convenience method for adding a policy statement to the application role.- Specified by:
addToRolePolicy
in interfaceIApplication
- Parameters:
policyStatement
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return a CloudWatch metric associated with this Flink application.- Specified by:
metric
in interfaceIApplication
- Parameters:
metricName
- The name of the metric. This parameter is required.props
- Customization properties.
-
metricBackPressuredTimeMsPerSecond
@Stability(Experimental) @NotNull default 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
- Specified by:
metricBackPressuredTimeMsPerSecond
in interfaceIApplication
- Parameters:
props
-
-
metricBusyTimePerMsPerSecond
@Stability(Experimental) @NotNull default 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
- Specified by:
metricBusyTimePerMsPerSecond
in interfaceIApplication
- Parameters:
props
-
-
metricCpuUtilization
@Stability(Experimental) @NotNull default Metric metricCpuUtilization(@Nullable MetricOptions props) (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
- Specified by:
metricCpuUtilization
in interfaceIApplication
- Parameters:
props
-
-
metricCurrentInputWatermark
@Stability(Experimental) @NotNull default Metric metricCurrentInputWatermark(@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
- Specified by:
metricCurrentInputWatermark
in interfaceIApplication
- Parameters:
props
-
-
metricCurrentOutputWatermark
@Stability(Experimental) @NotNull default 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
- Specified by:
metricCurrentOutputWatermark
in interfaceIApplication
- Parameters:
props
-
-
metricDowntime
(experimental) The time elapsed during an outage for failing/recovering jobs.Units: Milliseconds
Reporting Level: Application
Default: average over 5 minutes
- Specified by:
metricDowntime
in interfaceIApplication
- 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
- Specified by:
metricFullRestarts
in interfaceIApplication
- Parameters:
props
-
-
metricHeapMemoryUtilization
@Stability(Experimental) @NotNull default Metric metricHeapMemoryUtilization(@Nullable MetricOptions props) (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
- Specified by:
metricHeapMemoryUtilization
in interfaceIApplication
- Parameters:
props
-
-
metricIdleTimeMsPerSecond
@Stability(Experimental) @NotNull default Metric metricIdleTimeMsPerSecond(@Nullable MetricOptions props) (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
- Specified by:
metricIdleTimeMsPerSecond
in interfaceIApplication
- 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
- Specified by:
metricKpus
in interfaceIApplication
- Parameters:
props
-
-
metricLastCheckpointDuration
@Stability(Experimental) @NotNull default 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
- Specified by:
metricLastCheckpointDuration
in interfaceIApplication
- Parameters:
props
-
-
metricLastCheckpointSize
@Stability(Experimental) @NotNull default Metric metricLastCheckpointSize(@Nullable MetricOptions props) (experimental) The total size of the last checkpoint.Units: Bytes
Reporting Level: Application
Default: maximum over 5 minutes
- Specified by:
metricLastCheckpointSize
in interfaceIApplication
- Parameters:
props
-
-
metricManagedMemoryTotal
@Stability(Experimental) @NotNull default Metric metricManagedMemoryTotal(@Nullable MetricOptions props) (experimental) The total amount of managed memory.Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
- Specified by:
metricManagedMemoryTotal
in interfaceIApplication
- Parameters:
props
-
-
metricManagedMemoryUsed
@Stability(Experimental) @NotNull default Metric metricManagedMemoryUsed(@Nullable MetricOptions props) (experimental) The amount of managed memory currently used.Units: Bytes
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
- Specified by:
metricManagedMemoryUsed
in interfaceIApplication
- Parameters:
props
-
-
metricManagedMemoryUtilization
@Stability(Experimental) @NotNull default Metric metricManagedMemoryUtilization(@Nullable MetricOptions props) (experimental) Derived from managedMemoryUsed/managedMemoryTotal.Units: Percentage
Reporting Level: Application, Operator, Task, Parallelism
Default: average over 5 minutes
- Specified by:
metricManagedMemoryUtilization
in interfaceIApplication
- Parameters:
props
-
-
metricNumberOfFailedCheckpoints
@Stability(Experimental) @NotNull default Metric metricNumberOfFailedCheckpoints(@Nullable MetricOptions props) (experimental) The number of times checkpointing has failed.Units: Count
Reporting Level: Application
Default: sum over 5 minutes
- Specified by:
metricNumberOfFailedCheckpoints
in interfaceIApplication
- Parameters:
props
-
-
metricNumLateRecordsDropped
@Stability(Experimental) @NotNull default Metric metricNumLateRecordsDropped(@Nullable MetricOptions props) (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
- Specified by:
metricNumLateRecordsDropped
in interfaceIApplication
- 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
- Specified by:
metricNumRecordsIn
in interfaceIApplication
- Parameters:
props
-
-
metricNumRecordsInPerSecond
@Stability(Experimental) @NotNull default Metric metricNumRecordsInPerSecond(@Nullable MetricOptions props) (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
- Specified by:
metricNumRecordsInPerSecond
in interfaceIApplication
- 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
- Specified by:
metricNumRecordsOut
in interfaceIApplication
- Parameters:
props
-
-
metricNumRecordsOutPerSecond
@Stability(Experimental) @NotNull default 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
- Specified by:
metricNumRecordsOutPerSecond
in interfaceIApplication
- Parameters:
props
-
-
metricOldGenerationGCCount
@Stability(Experimental) @NotNull default Metric metricOldGenerationGCCount(@Nullable MetricOptions props) (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
- Specified by:
metricOldGenerationGCCount
in interfaceIApplication
- Parameters:
props
-
-
metricOldGenerationGCTime
@Stability(Experimental) @NotNull default Metric metricOldGenerationGCTime(@Nullable MetricOptions props) (experimental) The total time spent performing old garbage collection operations.Units: Milliseconds
Reporting Level: Application
Default: sum over 5 minutes
- Specified by:
metricOldGenerationGCTime
in interfaceIApplication
- Parameters:
props
-
-
metricThreadsCount
(experimental) The total number of live threads used by the application.Units: Count
Reporting Level: Application
Default: average over 5 minutes
- Specified by:
metricThreadsCount
in interfaceIApplication
- 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
- Specified by:
metricUptime
in interfaceIApplication
- Parameters:
props
-
-