Documentation
¶
Overview ¶
The CDK Construct Library for AWS::KinesisFirehose
Index ¶
- func DeliveryStream_IsConstruct(x interface{}) *bool
- func DeliveryStream_IsResource(construct constructs.IConstruct) *bool
- func NewDeliveryStream_Override(d DeliveryStream, scope constructs.Construct, id *string, ...)
- func NewLambdaFunctionProcessor_Override(l LambdaFunctionProcessor, lambdaFunction awslambda.IFunction, ...)
- type DataProcessorBindOptions
- type DataProcessorConfig
- type DataProcessorIdentifier
- type DataProcessorProps
- type DeliveryStream
- type DeliveryStreamAttributes
- type DeliveryStreamProps
- type DestinationBindOptions
- type DestinationConfig
- type IDataProcessor
- type IDeliveryStream
- func DeliveryStream_FromDeliveryStreamArn(scope constructs.Construct, id *string, deliveryStreamArn *string) IDeliveryStream
- func DeliveryStream_FromDeliveryStreamAttributes(scope constructs.Construct, id *string, attrs *DeliveryStreamAttributes) IDeliveryStream
- func DeliveryStream_FromDeliveryStreamName(scope constructs.Construct, id *string, deliveryStreamName *string) IDeliveryStream
- type IDestination
- type LambdaFunctionProcessor
- type StreamEncryption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeliveryStream_IsConstruct ¶
func DeliveryStream_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func DeliveryStream_IsResource ¶
func DeliveryStream_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewDeliveryStream_Override ¶
func NewDeliveryStream_Override(d DeliveryStream, scope constructs.Construct, id *string, props *DeliveryStreamProps)
Experimental.
func NewLambdaFunctionProcessor_Override ¶
func NewLambdaFunctionProcessor_Override(l LambdaFunctionProcessor, lambdaFunction awslambda.IFunction, props *DataProcessorProps)
Experimental.
Types ¶
type DataProcessorBindOptions ¶
type DataProcessorBindOptions struct { // The IAM role assumed by Kinesis Data Firehose to write to the destination that this DataProcessor will bind to. // Experimental. Role awsiam.IRole `json:"role"` }
Options when binding a DataProcessor to a delivery stream destination. Experimental.
type DataProcessorConfig ¶
type DataProcessorConfig struct { // The key-value pair that identifies the underlying processor resource. // Experimental. ProcessorIdentifier *DataProcessorIdentifier `json:"processorIdentifier"` // The type of the underlying processor resource. // // Must be an accepted value in `CfnDeliveryStream.ProcessorProperty.Type`. // // TODO: EXAMPLE // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processor.html#cfn-kinesisfirehose-deliverystream-processor-type // // Experimental. ProcessorType *string `json:"processorType"` }
The full configuration of a data processor. Experimental.
type DataProcessorIdentifier ¶
type DataProcessorIdentifier struct { // The parameter name that corresponds to the processor resource's identifier. // // Must be an accepted value in `CfnDeliveryStream.ProcessoryParameterProperty.ParameterName`. // Experimental. ParameterName *string `json:"parameterName"` // The identifier of the underlying processor resource. // Experimental. ParameterValue *string `json:"parameterValue"` }
The key-value pair that identifies the underlying processor resource. See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processorparameter.html
Experimental.
type DataProcessorProps ¶
type DataProcessorProps struct { // The length of time Kinesis Data Firehose will buffer incoming data before calling the processor. // // s // Experimental. BufferInterval awscdk.Duration `json:"bufferInterval"` // The amount of incoming data Kinesis Data Firehose will buffer before calling the processor. // Experimental. BufferSize awscdk.Size `json:"bufferSize"` // The number of times Kinesis Data Firehose will retry the processor invocation after a failure due to network timeout or invocation limits. // Experimental. Retries *float64 `json:"retries"` }
Configure the data processor. Experimental.
type DeliveryStream ¶
type DeliveryStream interface { awscdk.Resource IDeliveryStream Connections() awsec2.Connections DeliveryStreamArn() *string DeliveryStreamName() *string Env() *awscdk.ResourceEnvironment GrantPrincipal() awsiam.IPrincipal Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant GrantPutRecords(grantee awsiam.IGrantable) awsiam.Grant Metric(metricName *string, props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricBackupToS3Bytes(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricBackupToS3DataFreshness(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricBackupToS3Records(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricIncomingBytes(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricIncomingRecords(props *awscloudwatch.MetricOptions) awscloudwatch.Metric ToString() *string }
Create a Kinesis Data Firehose delivery stream. Experimental.
func NewDeliveryStream ¶
func NewDeliveryStream(scope constructs.Construct, id *string, props *DeliveryStreamProps) DeliveryStream
Experimental.
type DeliveryStreamAttributes ¶
type DeliveryStreamAttributes struct { // The ARN of the delivery stream. // // At least one of deliveryStreamArn and deliveryStreamName must be provided. // Experimental. DeliveryStreamArn *string `json:"deliveryStreamArn"` // The name of the delivery stream. // // At least one of deliveryStreamName and deliveryStreamArn must be provided. // Experimental. DeliveryStreamName *string `json:"deliveryStreamName"` // The IAM role associated with this delivery stream. // // Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. // Experimental. Role awsiam.IRole `json:"role"` }
A full specification of a delivery stream that can be used to import it fluently into the CDK application. Experimental.
type DeliveryStreamProps ¶
type DeliveryStreamProps struct { // The destinations that this delivery stream will deliver data to. // // Only a singleton array is supported at this time. // Experimental. Destinations *[]IDestination `json:"destinations"` // A name for the delivery stream. // Experimental. DeliveryStreamName *string `json:"deliveryStreamName"` // Indicates the type of customer master key (CMK) to use for server-side encryption, if any. // Experimental. Encryption StreamEncryption `json:"encryption"` // Customer managed key to server-side encrypt data in the stream. // Experimental. EncryptionKey awskms.IKey `json:"encryptionKey"` // The IAM role associated with this delivery stream. // // Assumed by Kinesis Data Firehose to read from sources and encrypt data server-side. // Experimental. Role awsiam.IRole `json:"role"` // The Kinesis data stream to use as a source for this delivery stream. // Experimental. SourceStream awskinesis.IStream `json:"sourceStream"` }
Properties for a new delivery stream. Experimental.
type DestinationBindOptions ¶
type DestinationBindOptions struct { }
Options when binding a destination to a delivery stream. Experimental.
type DestinationConfig ¶
type DestinationConfig struct { // Any resources that were created by the destination when binding it to the stack that must be deployed before the delivery stream is deployed. // Experimental. Dependables *[]constructs.IDependable `json:"dependables"` // S3 destination configuration properties. // Experimental. ExtendedS3DestinationConfiguration *awskinesisfirehose.CfnDeliveryStream_ExtendedS3DestinationConfigurationProperty `json:"extendedS3DestinationConfiguration"` }
A Kinesis Data Firehose delivery stream destination configuration. Experimental.
type IDataProcessor ¶
type IDataProcessor interface { // Binds this processor to a destination of a delivery stream. // // Implementers should use this method to grant processor invocation permissions to the provided stream and return the // necessary configuration to register as a processor. // Experimental. Bind(scope constructs.Construct, options *DataProcessorBindOptions) *DataProcessorConfig // The constructor props of the DataProcessor. // Experimental. Props() *DataProcessorProps }
A data processor that Kinesis Data Firehose will call to transform records before delivering data. Experimental.
type IDeliveryStream ¶
type IDeliveryStream interface { awsec2.IConnectable awsiam.IGrantable awscdk.IResource // Grant the `grantee` identity permissions to perform `actions`. // Experimental. Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant // Grant the `grantee` identity permissions to perform `firehose:PutRecord` and `firehose:PutRecordBatch` actions on this delivery stream. // Experimental. GrantPutRecords(grantee awsiam.IGrantable) awsiam.Grant // Return the given named metric for this delivery stream. // Experimental. Metric(metricName *string, props *awscloudwatch.MetricOptions) awscloudwatch.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. // Experimental. MetricBackupToS3Bytes(props *awscloudwatch.MetricOptions) awscloudwatch.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. // Experimental. MetricBackupToS3DataFreshness(props *awscloudwatch.MetricOptions) awscloudwatch.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. // Experimental. MetricBackupToS3Records(props *awscloudwatch.MetricOptions) awscloudwatch.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. // Experimental. MetricIncomingBytes(props *awscloudwatch.MetricOptions) awscloudwatch.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. // Experimental. MetricIncomingRecords(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // The ARN of the delivery stream. // Experimental. DeliveryStreamArn() *string // The name of the delivery stream. // Experimental. DeliveryStreamName() *string }
Represents a Kinesis Data Firehose delivery stream. Experimental.
func DeliveryStream_FromDeliveryStreamArn ¶
func DeliveryStream_FromDeliveryStreamArn(scope constructs.Construct, id *string, deliveryStreamArn *string) IDeliveryStream
Import an existing delivery stream from its ARN. Experimental.
func DeliveryStream_FromDeliveryStreamAttributes ¶
func DeliveryStream_FromDeliveryStreamAttributes(scope constructs.Construct, id *string, attrs *DeliveryStreamAttributes) IDeliveryStream
Import an existing delivery stream from its attributes. Experimental.
func DeliveryStream_FromDeliveryStreamName ¶
func DeliveryStream_FromDeliveryStreamName(scope constructs.Construct, id *string, deliveryStreamName *string) IDeliveryStream
Import an existing delivery stream from its name. Experimental.
type IDestination ¶
type IDestination interface { // Binds this destination to the Kinesis Data Firehose delivery stream. // // Implementers should use this method to bind resources to the stack and initialize values using the provided stream. // Experimental. Bind(scope constructs.Construct, options *DestinationBindOptions) *DestinationConfig }
A Kinesis Data Firehose delivery stream destination. Experimental.
type LambdaFunctionProcessor ¶
type LambdaFunctionProcessor interface { IDataProcessor Props() *DataProcessorProps Bind(_scope constructs.Construct, options *DataProcessorBindOptions) *DataProcessorConfig }
Use an AWS Lambda function to transform records. Experimental.
func NewLambdaFunctionProcessor ¶
func NewLambdaFunctionProcessor(lambdaFunction awslambda.IFunction, props *DataProcessorProps) LambdaFunctionProcessor
Experimental.
type StreamEncryption ¶
type StreamEncryption string
Options for server-side encryption of a delivery stream. Experimental.
const ( StreamEncryption_UNENCRYPTED StreamEncryption = "UNENCRYPTED" StreamEncryption_CUSTOMER_MANAGED StreamEncryption = "CUSTOMER_MANAGED" StreamEncryption_AWS_OWNED StreamEncryption = "AWS_OWNED" )