@aws-cdk_aws-kinesisfirehose-alpha.IDeliveryStream

interface IDeliveryStream ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.KinesisFirehose.Alpha.IDeliveryStream
Gogithub.com/aws/aws-cdk-go/awscdkkinesisfirehosealpha/v2#IDeliveryStream
Javasoftware.amazon.awscdk.services.kinesisfirehose.alpha.IDeliveryStream
Pythonaws_cdk.aws_kinesisfirehose_alpha.IDeliveryStream
TypeScript (source)@aws-cdk/aws-kinesisfirehose-alpha ยป IDeliveryStream

Implemented by DeliveryStream

Obtainable from DeliveryStream.fromDeliveryStreamArn(), DeliveryStream.fromDeliveryStreamAttributes(), DeliveryStream.fromDeliveryStreamName()

Represents a Kinesis Data Firehose delivery stream.

Properties

NameTypeDescription
connections๐Ÿ”นConnectionsThe network connections associated with this resource.
deliveryStreamArn๐Ÿ”นstringThe ARN of the delivery stream.
deliveryStreamName๐Ÿ”นstringThe name of the delivery stream.
env๐Ÿ”นResourceEnvironmentThe environment this resource belongs to.
grantPrincipal๐Ÿ”นIPrincipalThe principal to grant permissions to.
node๐Ÿ”นNodeThe tree node.
stack๐Ÿ”นStackThe stack in which this resource is defined.

connections๐Ÿ”น

Type: Connections

The network connections associated with this resource.


deliveryStreamArn๐Ÿ”น

Type: string

The ARN of the delivery stream.


deliveryStreamName๐Ÿ”น

Type: string

The name of the delivery stream.


env๐Ÿ”น

Type: ResourceEnvironment

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.


grantPrincipal๐Ÿ”น

Type: IPrincipal

The principal to grant permissions to.


node๐Ÿ”น

Type: Node

The tree node.


stack๐Ÿ”น

Type: Stack

The stack in which this resource is defined.

Methods

NameDescription
applyRemovalPolicy(policy)๐Ÿ”นApply the given removal policy to this resource.
grant(grantee, ...actions)๐Ÿ”นGrant the grantee identity permissions to perform actions.
grantPutRecords(grantee)๐Ÿ”นGrant the grantee identity permissions to perform firehose:PutRecord and firehose:PutRecordBatch actions on this delivery stream.
metric(metricName, props?)๐Ÿ”นReturn the given named metric for this delivery stream.
metricBackupToS3Bytes(props?)๐Ÿ”นMetric for the number of bytes delivered to Amazon S3 for backup over the specified time period.
metricBackupToS3DataFreshness(props?)๐Ÿ”นMetric for the age (from getting into Kinesis Data Firehose to now) of the oldest record in Kinesis Data Firehose.
metricBackupToS3Records(props?)๐Ÿ”นMetric for the number of records delivered to Amazon S3 for backup over the specified time period.
metricIncomingBytes(props?)๐Ÿ”นMetric for the number of bytes ingested successfully into the delivery stream over the specified time period after throttling.
metricIncomingRecords(props?)๐Ÿ”นMetric for the number of records ingested successfully into the delivery stream over the specified time period after throttling.

applyRemovalPolicy(policy)๐Ÿ”น

public applyRemovalPolicy(policy: RemovalPolicy): void

Parameters

  • policy RemovalPolicy

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).


grant(grantee, ...actions)๐Ÿ”น

public grant(grantee: IGrantable, ...actions: string[]): Grant

Parameters

  • grantee IGrantable
  • actions string

Returns

  • Grant

Grant the grantee identity permissions to perform actions.


grantPutRecords(grantee)๐Ÿ”น

public grantPutRecords(grantee: IGrantable): Grant

Parameters

  • grantee IGrantable

Returns

  • Grant

Grant the grantee identity permissions to perform firehose:PutRecord and firehose:PutRecordBatch actions on this delivery stream.


metric(metricName, props?)๐Ÿ”น

public metric(metricName: string, props?: MetricOptions): Metric

Parameters

  • metricName string
  • props MetricOptions

Returns

  • Metric

Return the given named metric for this delivery stream.


metricBackupToS3Bytes(props?)๐Ÿ”น

public metricBackupToS3Bytes(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

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(props?)๐Ÿ”น

public metricBackupToS3DataFreshness(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

Metric for the age (from getting into Kinesis Data Firehose to now) of the oldest record in Kinesis 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(props?)๐Ÿ”น

public metricBackupToS3Records(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

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(props?)๐Ÿ”น

public metricIncomingBytes(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

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(props?)๐Ÿ”น

public metricIncomingRecords(props?: MetricOptions): Metric

Parameters

  • props MetricOptions

Returns

  • Metric

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.