DataProcessorBindOptions

class aws_cdk.aws_kinesisfirehose.DataProcessorBindOptions(*, role, dynamic_partitioning_enabled=None, prefix=None)

Bases: object

Options when binding a DataProcessor to a delivery stream destination.

Parameters:
  • role (IRole) – The IAM role assumed by Amazon Data Firehose to write to the destination that this DataProcessor will bind to.

  • dynamic_partitioning_enabled (Optional[bool]) – Whether the dynamic partitioning is enabled. Default: false

  • prefix (Optional[str]) – S3 bucket prefix. Default: - No prefix

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iam as iam
from aws_cdk import aws_kinesisfirehose as kinesisfirehose

# role: iam.Role

data_processor_bind_options = kinesisfirehose.DataProcessorBindOptions(
    role=role,

    # the properties below are optional
    dynamic_partitioning_enabled=False,
    prefix="prefix"
)

Attributes

dynamic_partitioning_enabled

Whether the dynamic partitioning is enabled.

Default:

false

prefix

S3 bucket prefix.

Default:
  • No prefix

role

The IAM role assumed by Amazon Data Firehose to write to the destination that this DataProcessor will bind to.