Class IStream.Jsii$Proxy
- All Implemented Interfaces:
IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,IStream,IStream.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IStream
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesis.IStream
IStream.Jsii$Default, IStream.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToResourcePolicy(PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.final voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final IKeyOptional KMS encryption key associated with this stream.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final software.constructs.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final StringThe ARN of the stream.final StringThe name of the stream.final Grantgrant(IGrantable grantee, String... actions) Grant the indicated permissions on this stream to the provided IAM principal.final GrantgrantRead(IGrantable grantee) Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).final GrantgrantReadWrite(IGrantable grantee) Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).final GrantgrantWrite(IGrantable grantee) Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).final MetricReturn stream metric based from its metric name.final Metricmetric(String metricName, MetricOptions props) Return stream metric based from its metric name.final MetricThe number of records retrieved from the shard, measured over the specified time period.final MetricmetricGetRecords(MetricOptions props) The number of records retrieved from the shard, measured over the specified time period.final MetricThe number of bytes retrieved from the Kinesis stream, measured over the specified time period.final MetricThe number of bytes retrieved from the Kinesis stream, measured over the specified time period.final MetricThe age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.final MetricThe age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.final MetricThe time taken per GetRecords operation, measured over the specified time period.final MetricThe time taken per GetRecords operation, measured over the specified time period.final MetricThe number of successful GetRecords operations per stream, measured over the specified time period.final MetricThe number of successful GetRecords operations per stream, measured over the specified time period.final MetricThe number of bytes successfully put to the Kinesis stream over the specified time period.final MetricmetricIncomingBytes(MetricOptions props) The number of bytes successfully put to the Kinesis stream over the specified time period.final MetricThe number of records successfully put to the Kinesis stream over the specified time period.final MetricThe number of records successfully put to the Kinesis stream over the specified time period.final MetricThe number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.final MetricThe number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.final MetricThe time taken per PutRecord operation, measured over the specified time period.final MetricThe time taken per PutRecord operation, measured over the specified time period.final MetricThe number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.final MetricThe number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.final MetricThe number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe time taken per PutRecords operation, measured over the specified time period.final MetricThe time taken per PutRecords operation, measured over the specified time period.final MetricThe number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.final MetricThe number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.final MetricThe number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.final MetricThe number of successful PutRecord operations per Kinesis stream, measured over the specified time period.final MetricThe number of successful PutRecord operations per Kinesis stream, measured over the specified time period.final MetricThe number of GetRecords calls throttled for the stream over the specified time period.final MetricThe number of GetRecords calls throttled for the stream over the specified time period.final MetricThe number of records rejected due to throttling for the stream over the specified time period.final MetricThe number of records rejected due to throttling for the stream over the specified time period.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default- Specified by:
getNodein interfaceIStream.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default- Specified by:
getEnvin interfaceIStream.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default- Specified by:
getStackin interfaceIStream.Jsii$Default
-
getStreamArn
The ARN of the stream.- Specified by:
getStreamArnin interfaceIStream- Specified by:
getStreamArnin interfaceIStream.Jsii$Default
-
getStreamName
The name of the stream.- Specified by:
getStreamNamein interfaceIStream- Specified by:
getStreamNamein interfaceIStream.Jsii$Default
-
getEncryptionKey
Optional KMS encryption key associated with this stream.- Specified by:
getEncryptionKeyin interfaceIStream- Specified by:
getEncryptionKeyin interfaceIStream.Jsii$Default
-
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:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIStream.Jsii$Default- Parameters:
policy- This parameter is required.
-
addToResourcePolicy
@Stability(Stable) @NotNull public final AddToResourcePolicyResult addToResourcePolicy(@NotNull PolicyStatement statement) Adds a statement to the IAM resource policy associated with this stream.If this stream was created in this stack (
new Stream), a resource policy will be automatically created upon the first call toaddToResourcePolicy. If the stream is imported (Stream.import), then this is a no-op.- Specified by:
addToResourcePolicyin interfaceIStream- Specified by:
addToResourcePolicyin interfaceIStream.Jsii$Default- Parameters:
statement- This parameter is required.
-
grant
@Stability(Stable) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Grant the indicated permissions on this stream to the provided IAM principal.- Specified by:
grantin interfaceIStream- Specified by:
grantin interfaceIStream.Jsii$Default- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantRead
Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).If an encryption key is used, permission to ues the key to decrypt the contents of the stream will also be granted.
- Specified by:
grantReadin interfaceIStream- Specified by:
grantReadin interfaceIStream.Jsii$Default- Parameters:
grantee- This parameter is required.
-
grantReadWrite
Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).If an encryption key is used, permission to use the key for encrypt/decrypt will also be granted.
- Specified by:
grantReadWritein interfaceIStream- Specified by:
grantReadWritein interfaceIStream.Jsii$Default- Parameters:
grantee- This parameter is required.
-
grantWrite
Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).If an encryption key is used, permission to ues the key to encrypt the contents of the stream will also be granted.
- Specified by:
grantWritein interfaceIStream- Specified by:
grantWritein interfaceIStream.Jsii$Default- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return stream metric based from its metric name.- Specified by:
metricin interfaceIStream- Specified by:
metricin interfaceIStream.Jsii$Default- Parameters:
metricName- name of the stream metric. This parameter is required.props- properties of the metric.
-
metric
Return stream metric based from its metric name. -
metricGetRecords
The number of records retrieved from the shard, measured over the specified time period.Minimum, Maximum, and Average statistics represent the records in a single GetRecords operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsin interfaceIStream- Specified by:
metricGetRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricGetRecords
The number of records retrieved from the shard, measured over the specified time period.Minimum, Maximum, and Average statistics represent the records in a single GetRecords operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsin interfaceIStream
-
metricGetRecordsBytes
@Stability(Stable) @NotNull public final Metric metricGetRecordsBytes(@Nullable MetricOptions props) The number of bytes retrieved from the Kinesis stream, measured over the specified time period.Minimum, Maximum, and Average statistics represent the bytes in a single GetRecords operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsBytesin interfaceIStream- Specified by:
metricGetRecordsBytesin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricGetRecordsBytes
The number of bytes retrieved from the Kinesis stream, measured over the specified time period.Minimum, Maximum, and Average statistics represent the bytes in a single GetRecords operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsBytesin interfaceIStream
-
metricGetRecordsIteratorAgeMilliseconds
@Stability(Stable) @NotNull public final Metric metricGetRecordsIteratorAgeMilliseconds(@Nullable MetricOptions props) The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.Age is the difference between the current time and when the last record of the GetRecords call was written to the stream. The Minimum and Maximum statistics can be used to track the progress of Kinesis consumer applications. A value of zero indicates that the records being read are completely caught up with the stream.
The metric defaults to maximum over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsIteratorAgeMillisecondsin interfaceIStream- Specified by:
metricGetRecordsIteratorAgeMillisecondsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricGetRecordsIteratorAgeMilliseconds
The age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.Age is the difference between the current time and when the last record of the GetRecords call was written to the stream. The Minimum and Maximum statistics can be used to track the progress of Kinesis consumer applications. A value of zero indicates that the records being read are completely caught up with the stream.
The metric defaults to maximum over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsIteratorAgeMillisecondsin interfaceIStream
-
metricGetRecordsLatency
@Stability(Stable) @NotNull public final Metric metricGetRecordsLatency(@Nullable MetricOptions props) The time taken per GetRecords operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsLatencyin interfaceIStream- Specified by:
metricGetRecordsLatencyin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricGetRecordsLatency
The time taken per GetRecords operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsLatencyin interfaceIStream
-
metricGetRecordsSuccess
@Stability(Stable) @NotNull public final Metric metricGetRecordsSuccess(@Nullable MetricOptions props) The number of successful GetRecords operations per stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsSuccessin interfaceIStream- Specified by:
metricGetRecordsSuccessin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricGetRecordsSuccess
The number of successful GetRecords operations per stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricGetRecordsSuccessin interfaceIStream
-
metricIncomingBytes
The number of bytes successfully put to the Kinesis stream over the specified time period.This metric includes bytes from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the bytes in a single put operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricIncomingBytesin interfaceIStream- Specified by:
metricIncomingBytesin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricIncomingBytes
The number of bytes successfully put to the Kinesis stream over the specified time period.This metric includes bytes from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the bytes in a single put operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricIncomingBytesin interfaceIStream
-
metricIncomingRecords
@Stability(Stable) @NotNull public final Metric metricIncomingRecords(@Nullable MetricOptions props) The number of records successfully put to the Kinesis stream over the specified time period.This metric includes record counts from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the records in a single put operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricIncomingRecordsin interfaceIStream- Specified by:
metricIncomingRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricIncomingRecords
The number of records successfully put to the Kinesis stream over the specified time period.This metric includes record counts from PutRecord and PutRecords operations. Minimum, Maximum, and Average statistics represent the records in a single put operation for the stream in the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricIncomingRecordsin interfaceIStream
-
metricPutRecordBytes
The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordBytesin interfaceIStream- Specified by:
metricPutRecordBytesin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordBytes
The number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordBytesin interfaceIStream
-
metricPutRecordLatency
@Stability(Stable) @NotNull public final Metric metricPutRecordLatency(@Nullable MetricOptions props) The time taken per PutRecord operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordLatencyin interfaceIStream- Specified by:
metricPutRecordLatencyin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordLatency
The time taken per PutRecord operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordLatencyin interfaceIStream
-
metricPutRecordsBytes
@Stability(Stable) @NotNull public final Metric metricPutRecordsBytes(@Nullable MetricOptions props) The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsBytesin interfaceIStream- Specified by:
metricPutRecordsBytesin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsBytes
The number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsBytesin interfaceIStream
-
metricPutRecordsFailedRecords
@Stability(Stable) @NotNull public final Metric metricPutRecordsFailedRecords(@Nullable MetricOptions props) The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.Occasional internal failures are to be expected and should be retried.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsFailedRecordsin interfaceIStream- Specified by:
metricPutRecordsFailedRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsFailedRecords
The number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.Occasional internal failures are to be expected and should be retried.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsFailedRecordsin interfaceIStream
-
metricPutRecordsLatency
@Stability(Stable) @NotNull public final Metric metricPutRecordsLatency(@Nullable MetricOptions props) The time taken per PutRecords operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsLatencyin interfaceIStream- Specified by:
metricPutRecordsLatencyin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsLatency
The time taken per PutRecords operation, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsLatencyin interfaceIStream
-
metricPutRecordsSuccess
@Stability(Stable) @NotNull public final Metric metricPutRecordsSuccess(@Nullable MetricOptions props) The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsSuccessin interfaceIStream- Specified by:
metricPutRecordsSuccessin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsSuccess
The number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsSuccessin interfaceIStream
-
metricPutRecordsSuccessfulRecords
@Stability(Stable) @NotNull public final Metric metricPutRecordsSuccessfulRecords(@Nullable MetricOptions props) The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsSuccessfulRecordsin interfaceIStream- Specified by:
metricPutRecordsSuccessfulRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsSuccessfulRecords
The number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsSuccessfulRecordsin interfaceIStream
-
metricPutRecordsThrottledRecords
@Stability(Stable) @NotNull public final Metric metricPutRecordsThrottledRecords(@Nullable MetricOptions props) The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsThrottledRecordsin interfaceIStream- Specified by:
metricPutRecordsThrottledRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsThrottledRecords
The number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsThrottledRecordsin interfaceIStream
-
metricPutRecordsTotalRecords
@Stability(Stable) @NotNull public final Metric metricPutRecordsTotalRecords(@Nullable MetricOptions props) The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsTotalRecordsin interfaceIStream- Specified by:
metricPutRecordsTotalRecordsin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordsTotalRecords
The total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordsTotalRecordsin interfaceIStream
-
metricPutRecordSuccess
@Stability(Stable) @NotNull public final Metric metricPutRecordSuccess(@Nullable MetricOptions props) The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.Average reflects the percentage of successful writes to a stream.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordSuccessin interfaceIStream- Specified by:
metricPutRecordSuccessin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricPutRecordSuccess
The number of successful PutRecord operations per Kinesis stream, measured over the specified time period.Average reflects the percentage of successful writes to a stream.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricPutRecordSuccessin interfaceIStream
-
metricReadProvisionedThroughputExceeded
@Stability(Stable) @NotNull public final Metric metricReadProvisionedThroughputExceeded(@Nullable MetricOptions props) The number of GetRecords calls throttled for the stream over the specified time period.The most commonly used statistic for this metric is Average.
When the Minimum statistic has a value of 1, all records were throttled for the stream during the specified time period.
When the Maximum statistic has a value of 0 (zero), no records were throttled for the stream during the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties- Specified by:
metricReadProvisionedThroughputExceededin interfaceIStream- Specified by:
metricReadProvisionedThroughputExceededin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricReadProvisionedThroughputExceeded
The number of GetRecords calls throttled for the stream over the specified time period.The most commonly used statistic for this metric is Average.
When the Minimum statistic has a value of 1, all records were throttled for the stream during the specified time period.
When the Maximum statistic has a value of 0 (zero), no records were throttled for the stream during the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties- Specified by:
metricReadProvisionedThroughputExceededin interfaceIStream
-
metricWriteProvisionedThroughputExceeded
@Stability(Stable) @NotNull public final Metric metricWriteProvisionedThroughputExceeded(@Nullable MetricOptions props) The number of records rejected due to throttling for the stream over the specified time period.This metric includes throttling from PutRecord and PutRecords operations.
When the Minimum statistic has a non-zero value, records were being throttled for the stream during the specified time period.
When the Maximum statistic has a value of 0 (zero), no records were being throttled for the stream during the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricWriteProvisionedThroughputExceededin interfaceIStream- Specified by:
metricWriteProvisionedThroughputExceededin interfaceIStream.Jsii$Default- Parameters:
props- properties of the metric.
-
metricWriteProvisionedThroughputExceeded
The number of records rejected due to throttling for the stream over the specified time period.This metric includes throttling from PutRecord and PutRecords operations.
When the Minimum statistic has a non-zero value, records were being throttled for the stream during the specified time period.
When the Maximum statistic has a value of 0 (zero), no records were being throttled for the stream during the specified time period.
The metric defaults to average over 5 minutes, it can be changed by passing
statisticandperiodproperties.- Specified by:
metricWriteProvisionedThroughputExceededin interfaceIStream
-