agent-claw: automated task changes
This commit is contained in:
66
cdk/node_modules/aws-cdk-lib/aws-kinesisfirehose/lib/source.d.ts
generated
vendored
Normal file
66
cdk/node_modules/aws-cdk-lib/aws-kinesisfirehose/lib/source.d.ts
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { CfnDeliveryStream } from './kinesisfirehose.generated';
|
||||
import type * as iam from '../../aws-iam';
|
||||
import type * as kinesis from '../../aws-kinesis';
|
||||
/**
|
||||
* An Amazon Data Firehose delivery stream source configuration.
|
||||
*/
|
||||
interface SourceConfig {
|
||||
/**
|
||||
* Configuration for using a Kinesis Data Stream as a source for the delivery stream.
|
||||
*
|
||||
* This will be returned by the _bind method depending on what type of Source class is specified.
|
||||
*
|
||||
* @default - Kinesis Data Stream Source configuration property is not provided.
|
||||
*/
|
||||
readonly kinesisStreamSourceConfiguration?: CfnDeliveryStream.KinesisStreamSourceConfigurationProperty;
|
||||
/**
|
||||
* Configuration for using an MSK (Managed Streaming for Kafka) cluster as a source for the delivery stream.
|
||||
*
|
||||
* This will be returned by the _bind method depending on what type of Source class is specified.
|
||||
*
|
||||
* @default - MSK Source configuration property is not provided.
|
||||
*/
|
||||
readonly mskSourceConfiguration?: CfnDeliveryStream.MSKSourceConfigurationProperty;
|
||||
}
|
||||
/**
|
||||
* An interface for defining a source that can be used in an Amazon Data Firehose delivery stream.
|
||||
*/
|
||||
export interface ISource {
|
||||
/**
|
||||
* Binds this source to the Amazon Data Firehose delivery stream.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
_bind(scope: Construct, roleArn?: string): SourceConfig;
|
||||
/**
|
||||
* Grant read permissions for this source resource and its contents to an IAM
|
||||
* principal (the delivery stream).
|
||||
*
|
||||
* If an encryption key is used, permission to use the key to decrypt the
|
||||
* contents of the stream will also be granted.
|
||||
*/
|
||||
grantRead(grantee: iam.IGrantable): iam.Grant;
|
||||
}
|
||||
/**
|
||||
* An Amazon Data Firehose delivery stream source.
|
||||
*/
|
||||
export declare class KinesisStreamSource implements ISource {
|
||||
private readonly stream;
|
||||
/**
|
||||
* Creates a new KinesisStreamSource.
|
||||
*/
|
||||
constructor(stream: kinesis.IStream);
|
||||
/**
|
||||
* [disable-awslint:no-grants]
|
||||
*/
|
||||
grantRead(grantee: iam.IGrantable): iam.Grant;
|
||||
/**
|
||||
* Binds the Kinesis stream as a source for the Amazon Data Firehose delivery stream.
|
||||
*
|
||||
* @returns The configuration needed to use this Kinesis stream as the delivery stream source.
|
||||
* @internal
|
||||
*/
|
||||
_bind(_scope: Construct, roleArn: string): SourceConfig;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user