Interface IStream.Jsii$Default
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,IConstruct.Jsii$Default,software.constructs.IConstruct.Jsii$Default,IDependable,IDependable.Jsii$Default,IResource,IResource.Jsii$Default,IStream,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IStream.Jsii$Proxy
- Enclosing interface:
- IStream
IStream.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesis.IStream
IStream.Jsii$Default, IStream.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default IKeyOptional KMS encryption key associated with this stream.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default ConstructNodegetNode()The construct tree node for this construct.default StackgetStack()The stack in which this resource is defined.default StringThe ARN of the stream.default StringThe name of the stream.default Grantgrant(IGrantable grantee, @NotNull String... actions) Grant the indicated permissions on this stream to the provided IAM principal.default GrantgrantRead(IGrantable grantee) Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).default GrantgrantReadWrite(IGrantable grantee) Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).default GrantgrantWrite(IGrantable grantee) Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).default Metricmetric(String metricName, MetricOptions props) Return stream metric based from its metric name.default MetricmetricGetRecords(MetricOptions props) The number of records retrieved from the shard, measured over the specified time period.default MetricThe number of bytes retrieved from the Kinesis stream, measured over the specified time period.default MetricThe age of the last record in all GetRecords calls made against a Kinesis stream, measured over the specified time period.default MetricThe time taken per GetRecords operation, measured over the specified time period.default MetricThe number of successful GetRecords operations per stream, measured over the specified time period.default MetricmetricIncomingBytes(MetricOptions props) The number of bytes successfully put to the Kinesis stream over the specified time period.default MetricThe number of records successfully put to the Kinesis stream over the specified time period.default MetricThe number of bytes put to the Kinesis stream using the PutRecord operation over the specified time period.default MetricThe time taken per PutRecord operation, measured over the specified time period.default MetricThe number of bytes put to the Kinesis stream using the PutRecords operation over the specified time period.default MetricThe number of records rejected due to internal failures in a PutRecords operation per Kinesis data stream, measured over the specified time period.default MetricThe time taken per PutRecords operation, measured over the specified time period.default MetricThe number of PutRecords operations where at least one record succeeded, per Kinesis stream, measured over the specified time period.default MetricThe number of successful records in a PutRecords operation per Kinesis data stream, measured over the specified time period.default MetricThe number of records rejected due to throttling in a PutRecords operation per Kinesis data stream, measured over the specified time period.default MetricThe total number of records sent in a PutRecords operation per Kinesis data stream, measured over the specified time period.default MetricThe number of successful PutRecord operations per Kinesis stream, measured over the specified time period.default MetricThe number of GetRecords calls throttled for the stream over the specified time period.default MetricThe number of records rejected due to throttling for the stream over the specified time period.Methods inherited from interface software.amazon.awscdk.services.kinesis.IStream
metric, metricGetRecords, metricGetRecordsBytes, metricGetRecordsIteratorAgeMilliseconds, metricGetRecordsLatency, metricGetRecordsSuccess, metricIncomingBytes, metricIncomingRecords, metricPutRecordBytes, metricPutRecordLatency, metricPutRecordsBytes, metricPutRecordsFailedRecords, metricPutRecordsLatency, metricPutRecordsSuccess, metricPutRecordsSuccessfulRecords, metricPutRecordsThrottledRecords, metricPutRecordsTotalRecords, metricPutRecordSuccess, metricReadProvisionedThroughputExceeded, metricWriteProvisionedThroughputExceededMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein 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:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getStreamArn
The ARN of the stream.- Specified by:
getStreamArnin interfaceIStream
-
getStreamName
The name of the stream.- Specified by:
getStreamNamein interfaceIStream
-
getEncryptionKey
Optional KMS encryption key associated with this stream.- Specified by:
getEncryptionKeyin interfaceIStream
-
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- Parameters:
policy- This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions) Grant the indicated permissions on this stream to the provided IAM principal. -
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.
-
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- 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- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) 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- 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- Parameters:
props- properties of the metric.
-
metricGetRecordsIteratorAgeMilliseconds
@Stability(Stable) @NotNull default 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- 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- 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- 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- 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- 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- 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- 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- Parameters:
props- properties of the metric.
-
metricPutRecordsFailedRecords
@Stability(Stable) @NotNull default 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- 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- 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- Parameters:
props- properties of the metric.
-
metricPutRecordsSuccessfulRecords
@Stability(Stable) @NotNull default 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- Parameters:
props- properties of the metric.
-
metricPutRecordsThrottledRecords
@Stability(Stable) @NotNull default 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- Parameters:
props- properties of the metric.
-
metricPutRecordsTotalRecords
@Stability(Stable) @NotNull default 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- 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- Parameters:
props- properties of the metric.
-
metricReadProvisionedThroughputExceeded
@Stability(Stable) @NotNull default 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- Parameters:
props- properties of the metric.
-
metricWriteProvisionedThroughputExceeded
@Stability(Stable) @NotNull default 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- Parameters:
props- properties of the metric.
-