@Internal public static interface IDeliveryStream.Jsii$Default extends IDeliveryStream, IResource.Jsii$Default, IConnectable.Jsii$Default, IGrantable.Jsii$Default
IDeliveryStream.IDeliveryStream.Jsii$Default, IDeliveryStream.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
default Connections |
getConnections()
The network connections associated with this resource.
|
default String |
getDeliveryStreamArn()
(experimental) The ARN of the delivery stream.
|
default String |
getDeliveryStreamName()
(experimental) The name of the delivery stream.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default IPrincipal |
getGrantPrincipal()
The principal to grant permissions to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Grant the `grantee` identity permissions to perform `actions`.
|
default Grant |
grantPutRecords(IGrantable grantee)
(experimental) Grant the `grantee` identity permissions to perform `firehose:PutRecord` and `firehose:PutRecordBatch` actions on this delivery stream.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this delivery stream.
|
default Metric |
metricBackupToS3Bytes(MetricOptions props)
(experimental) Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
|
default Metric |
metricBackupToS3DataFreshness(MetricOptions props)
(experimental) Metric for the age (from getting into Kinesis Data Firehose to now) of the oldest record in Kinesis Data Firehose.
|
default Metric |
metricBackupToS3Records(MetricOptions props)
(experimental) Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
|
default Metric |
metricIncomingBytes(MetricOptions props)
(experimental) Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
|
default Metric |
metricIncomingRecords(MetricOptions props)
(experimental) Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
|
metric, metricBackupToS3Bytes, metricBackupToS3DataFreshness, metricBackupToS3Records, metricIncomingBytes, metricIncomingRecords@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantablegetGrantPrincipal in interface IGrantable.Jsii$Default@Stability(value=Stable) @NotNull default Connections getConnections()
getConnections in interface IConnectablegetConnections in interface IConnectable.Jsii$Default@Stability(value=Experimental) @NotNull default String getDeliveryStreamArn()
getDeliveryStreamArn in interface IDeliveryStream@Stability(value=Experimental) @NotNull default String getDeliveryStreamName()
getDeliveryStreamName in interface IDeliveryStream@Stability(value=Stable)
default void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
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).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
grant in interface IDeliveryStreamgrantee - This parameter is required.actions - This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantPutRecords(@NotNull IGrantable grantee)
grantPutRecords in interface IDeliveryStreamgrantee - This parameter is required.@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metric in interface IDeliveryStreammetricName - This parameter is required.props - @Stability(value=Experimental) @NotNull default Metric metricBackupToS3Bytes(@Nullable MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Bytes in interface IDeliveryStreamprops - @Stability(value=Experimental) @NotNull default Metric metricBackupToS3DataFreshness(@Nullable MetricOptions props)
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.
metricBackupToS3DataFreshness in interface IDeliveryStreamprops - @Stability(value=Experimental) @NotNull default Metric metricBackupToS3Records(@Nullable MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Records in interface IDeliveryStreamprops - @Stability(value=Experimental) @NotNull default Metric metricIncomingBytes(@Nullable MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingBytes in interface IDeliveryStreamprops - @Stability(value=Experimental) @NotNull default Metric metricIncomingRecords(@Nullable MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingRecords in interface IDeliveryStreamprops - Copyright © 2022. All rights reserved.