public static final class IDeliveryStream.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IDeliveryStream.Jsii$Default
IDeliveryStream.Jsii$Default, IDeliveryStream.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
Connections |
getConnections()
The network connections associated with this resource.
|
java.lang.String |
getDeliveryStreamArn()
(experimental) The ARN of the delivery stream.
|
java.lang.String |
getDeliveryStreamName()
(experimental) The name of the delivery stream.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
IPrincipal |
getGrantPrincipal()
The principal to grant permissions to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
Stack |
getStack()
The stack in which this resource is defined.
|
Grant |
grant(IGrantable grantee,
java.lang.String... actions)
(experimental) Grant the `grantee` identity permissions to perform `actions`.
|
Grant |
grantPutRecords(IGrantable grantee)
(experimental) Grant the `grantee` identity permissions to perform `firehose:PutRecord` and `firehose:PutRecordBatch` actions on this delivery stream.
|
Metric |
metric(java.lang.String metricName)
(experimental) Return the given named metric for this delivery stream.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
(experimental) Return the given named metric for this delivery stream.
|
Metric |
metricBackupToS3Bytes()
(experimental) Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
|
Metric |
metricBackupToS3Bytes(MetricOptions props)
(experimental) Metric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
|
Metric |
metricBackupToS3DataFreshness()
(experimental) Metric for the age (from getting into Kinesis Data Firehose to now) of the oldest record in Kinesis Data Firehose.
|
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.
|
Metric |
metricBackupToS3Records()
(experimental) Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
|
Metric |
metricBackupToS3Records(MetricOptions props)
(experimental) Metric for the number of records delivered to Amazon S3 for backup over the specified time period.
|
Metric |
metricIncomingBytes()
(experimental) Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
|
Metric |
metricIncomingBytes(MetricOptions props)
(experimental) Metric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
|
Metric |
metricIncomingRecords()
(experimental) Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
|
Metric |
metricIncomingRecords(MetricOptions props)
(experimental) Metric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.
|
public final ConstructNode getNode()
getNode
in interface IConstruct
getNode
in interface IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
getNode
in interface IDeliveryStream.Jsii$Default
public final 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
getEnv
in interface IDeliveryStream.Jsii$Default
public final Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
getStack
in interface IDeliveryStream.Jsii$Default
public final IPrincipal getGrantPrincipal()
getGrantPrincipal
in interface IGrantable
getGrantPrincipal
in interface IGrantable.Jsii$Default
getGrantPrincipal
in interface IDeliveryStream.Jsii$Default
public final Connections getConnections()
getConnections
in interface IConnectable
getConnections
in interface IConnectable.Jsii$Default
getConnections
in interface IDeliveryStream.Jsii$Default
public final java.lang.String getDeliveryStreamArn()
getDeliveryStreamArn
in interface IDeliveryStream
getDeliveryStreamArn
in interface IDeliveryStream.Jsii$Default
public final java.lang.String getDeliveryStreamName()
getDeliveryStreamName
in interface IDeliveryStream
getDeliveryStreamName
in interface IDeliveryStream.Jsii$Default
public final 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
applyRemovalPolicy
in interface IDeliveryStream.Jsii$Default
policy
- This parameter is required.public final Grant grant(IGrantable grantee, java.lang.String... actions)
grant
in interface IDeliveryStream
grant
in interface IDeliveryStream.Jsii$Default
grantee
- This parameter is required.actions
- This parameter is required.public final Grant grantPutRecords(IGrantable grantee)
grantPutRecords
in interface IDeliveryStream
grantPutRecords
in interface IDeliveryStream.Jsii$Default
grantee
- This parameter is required.public final Metric metric(java.lang.String metricName, MetricOptions props)
metric
in interface IDeliveryStream
metric
in interface IDeliveryStream.Jsii$Default
metricName
- This parameter is required.props
- public final Metric metric(java.lang.String metricName)
metric
in interface IDeliveryStream
metricName
- This parameter is required.public final Metric metricBackupToS3Bytes(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Bytes
in interface IDeliveryStream
metricBackupToS3Bytes
in interface IDeliveryStream.Jsii$Default
props
- public final Metric metricBackupToS3Bytes()
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Bytes
in interface IDeliveryStream
public final 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
metricBackupToS3DataFreshness
in interface IDeliveryStream.Jsii$Default
props
- public final Metric metricBackupToS3DataFreshness()
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
public final Metric metricBackupToS3Records(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Records
in interface IDeliveryStream
metricBackupToS3Records
in interface IDeliveryStream.Jsii$Default
props
- public final Metric metricBackupToS3Records()
By default, this metric will be calculated as an average over a period of 5 minutes.
metricBackupToS3Records
in interface IDeliveryStream
public final Metric metricIncomingBytes(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingBytes
in interface IDeliveryStream
metricIncomingBytes
in interface IDeliveryStream.Jsii$Default
props
- public final Metric metricIncomingBytes()
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingBytes
in interface IDeliveryStream
public final Metric metricIncomingRecords(MetricOptions props)
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingRecords
in interface IDeliveryStream
metricIncomingRecords
in interface IDeliveryStream.Jsii$Default
props
- public final Metric metricIncomingRecords()
By default, this metric will be calculated as an average over a period of 5 minutes.
metricIncomingRecords
in interface IDeliveryStream