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 java.lang.String |
getDeliveryStreamArn()
(experimental) The ARN of the delivery stream.
|
default java.lang.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,
java.lang.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(java.lang.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
default ConstructNode getNode()
getNode
in interface IConstruct
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
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 IResource
getEnv
in interface IResource.Jsii$Default
default Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
default IPrincipal getGrantPrincipal()
getGrantPrincipal
in interface IGrantable
getGrantPrincipal
in interface IGrantable.Jsii$Default
default Connections getConnections()
getConnections
in interface IConnectable
getConnections
in interface IConnectable.Jsii$Default
default java.lang.String getDeliveryStreamArn()
getDeliveryStreamArn
in interface IDeliveryStream
default java.lang.String getDeliveryStreamName()
getDeliveryStreamName
in interface IDeliveryStream
default void applyRemovalPolicy(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 IResource
applyRemovalPolicy
in interface IResource.Jsii$Default
policy
- This parameter is required.default Grant grant(IGrantable grantee, java.lang.String... actions)
grant
in interface IDeliveryStream
grantee
- This parameter is required.actions
- This parameter is required.default Grant grantPutRecords(IGrantable grantee)
grantPutRecords
in interface IDeliveryStream
grantee
- This parameter is required.default Metric metric(java.lang.String metricName, MetricOptions props)
metric
in interface IDeliveryStream
metricName
- This parameter is required.props
- default Metric metricBackupToS3Bytes(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Bytes
in interface IDeliveryStream
props
- default Metric metricBackupToS3DataFreshness(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 IDeliveryStream
props
- default Metric metricBackupToS3Records(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Records
in interface IDeliveryStream
props
- default Metric metricIncomingBytes(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingBytes
in interface IDeliveryStream
props
- default Metric metricIncomingRecords(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingRecords
in interface IDeliveryStream
props
-