CfnPipelineProps

class aws_cdk.aws_osis.CfnPipelineProps(*, max_units, min_units, pipeline_configuration_body, pipeline_name, buffer_options=None, encryption_at_rest_options=None, log_publishing_options=None, tags=None, vpc_options=None)

Bases: object

Properties for defining a CfnPipeline.

Parameters:
  • max_units (Union[int, float]) – The maximum pipeline capacity, in Ingestion Compute Units (ICUs).

  • min_units (Union[int, float]) – The minimum pipeline capacity, in Ingestion Compute Units (ICUs).

  • pipeline_configuration_body (str) – The Data Prepper pipeline configuration in YAML format.

  • pipeline_name (str) – The name of the pipeline.

  • buffer_options (Union[IResolvable, BufferOptionsProperty, Dict[str, Any], None]) – Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions . For more information, see Persistent buffering .

  • encryption_at_rest_options (Union[IResolvable, EncryptionAtRestOptionsProperty, Dict[str, Any], None]) – Options to control how OpenSearch encrypts buffer data.

  • log_publishing_options (Union[IResolvable, LogPublishingOptionsProperty, Dict[str, Any], None]) – Key-value pairs that represent log publishing settings.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – List of tags to add to the pipeline upon creation.

  • vpc_options (Union[IResolvable, VpcOptionsProperty, Dict[str, Any], None]) – Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html

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_osis as osis

cfn_pipeline_props = osis.CfnPipelineProps(
    max_units=123,
    min_units=123,
    pipeline_configuration_body="pipelineConfigurationBody",
    pipeline_name="pipelineName",

    # the properties below are optional
    buffer_options=osis.CfnPipeline.BufferOptionsProperty(
        persistent_buffer_enabled=False
    ),
    encryption_at_rest_options=osis.CfnPipeline.EncryptionAtRestOptionsProperty(
        kms_key_arn="kmsKeyArn"
    ),
    log_publishing_options=osis.CfnPipeline.LogPublishingOptionsProperty(
        cloud_watch_log_destination=osis.CfnPipeline.CloudWatchLogDestinationProperty(
            log_group="logGroup"
        ),
        is_logging_enabled=False
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_options=osis.CfnPipeline.VpcOptionsProperty(
        subnet_ids=["subnetIds"],

        # the properties below are optional
        security_group_ids=["securityGroupIds"]
    )
)

Attributes

buffer_options

Options that specify the configuration of a persistent buffer.

To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions . For more information, see Persistent buffering .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-bufferoptions

encryption_at_rest_options

Options to control how OpenSearch encrypts buffer data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-encryptionatrestoptions

log_publishing_options

Key-value pairs that represent log publishing settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-logpublishingoptions

max_units

The maximum pipeline capacity, in Ingestion Compute Units (ICUs).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-maxunits

min_units

The minimum pipeline capacity, in Ingestion Compute Units (ICUs).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-minunits

pipeline_configuration_body

The Data Prepper pipeline configuration in YAML format.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-pipelineconfigurationbody

pipeline_name

The name of the pipeline.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-pipelinename

tags

List of tags to add to the pipeline upon creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-tags

vpc_options

Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-vpcoptions