Interface IDeliveryStream
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,IDeliveryStreamRef,software.constructs.IDependable,IEnvironmentAware,IGrantable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDeliveryStream.Jsii$Default
- All Known Implementing Classes:
DeliveryStream,IDeliveryStream.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIDeliveryStream.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the delivery stream.The name of the delivery stream.getEnv()The environment this resource belongs to.software.constructs.NodegetNode()The tree node.grant(IGrantable grantee, String... actions) Grant thegranteeidentity permissions to performactions.grantPutRecords(IGrantable grantee) Grant thegranteeidentity permissions to performfirehose:PutRecordandfirehose:PutRecordBatchactions on this delivery stream.Return the given named metric for this delivery stream.metric(String metricName, MetricOptions props) Return the given named metric for this delivery stream.Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.Metric for the number of records delivered to Amazon S3 for backup over the specified time period.Metric for the number of records delivered to Amazon S3 for backup over the specified time period.Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.metricIncomingBytes(MetricOptions props) Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.amazon.awscdk.interfaces.kinesisfirehose.IDeliveryStreamRef
getDeliveryStreamRefMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeliveryStreamArn
The ARN of the delivery stream. -
getDeliveryStreamName
The name of the delivery stream. -
grant
Grant thegranteeidentity permissions to performactions.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantPutRecords
Grant thegranteeidentity permissions to performfirehose:PutRecordandfirehose:PutRecordBatchactions on this delivery stream.- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this delivery stream.- Parameters:
metricName- This parameter is required.props-
-
metric
Return the given named metric for this delivery stream.- Parameters:
metricName- This parameter is required.
-
metricBackupToS3Bytes
Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.By default, this metric will be calculated as an average over a period of 5 minutes.
- Parameters:
props-
-
metricBackupToS3Bytes
Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.By default, this metric will be calculated as an average over a period of 5 minutes.
-
metricBackupToS3DataFreshness
Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.Any record older than this age has been delivered to the Amazon S3 bucket for backup.
By default, this metric will be calculated as an average over a period of 5 minutes.
- Parameters:
props-
-
metricBackupToS3DataFreshness
Metric for the age (from getting into Amazon Data Firehose to now) of the oldest record in Amazon Data Firehose.Any record older than this age has been delivered to the Amazon S3 bucket for backup.
By default, this metric will be calculated as an average over a period of 5 minutes.
-
metricBackupToS3Records
Metric for the number of records delivered to Amazon S3 for backup over the specified time period.By default, this metric will be calculated as an average over a period of 5 minutes.
- Parameters:
props-
-
metricBackupToS3Records
Metric for the number of records delivered to Amazon S3 for backup over the specified time period.By default, this metric will be calculated as an average over a period of 5 minutes.
-
metricIncomingBytes
Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.By default, this metric will be calculated as an average over a period of 5 minutes.
- Parameters:
props-
-
metricIncomingBytes
Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.By default, this metric will be calculated as an average over a period of 5 minutes.
-
metricIncomingRecords
Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.By default, this metric will be calculated as an average over a period of 5 minutes.
- Parameters:
props-
-
metricIncomingRecords
Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.By default, this metric will be calculated as an average over a period of 5 minutes.
-
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
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
-