Class IotToKinesisFirehoseToS3.Builder

java.lang.Object
software.amazon.awsconstructs.services.iotkinesisfirehoses3.IotToKinesisFirehoseToS3.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<IotToKinesisFirehoseToS3>
Enclosing class:
IotToKinesisFirehoseToS3

public static final class IotToKinesisFirehoseToS3.Builder extends Object implements software.amazon.jsii.Builder<IotToKinesisFirehoseToS3>
A fluent builder for IotToKinesisFirehoseToS3.
  • Method Details

    • create

      public static IotToKinesisFirehoseToS3.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope -
      • represents the scope for all the resources.
      This parameter is required.
      id -
      • this is a a scope-unique id.
      This parameter is required.
      Returns:
      a new instance of IotToKinesisFirehoseToS3.Builder.
    • iotTopicRuleProps

      public IotToKinesisFirehoseToS3.Builder iotTopicRuleProps(software.amazon.awscdk.services.iot.CfnTopicRuleProps iotTopicRuleProps)
      User provided CfnTopicRuleProps to override the defaults.

      Default: - Default props are used

      Parameters:
      iotTopicRuleProps - User provided CfnTopicRuleProps to override the defaults. This parameter is required.
      Returns:
      this
    • bucketProps

      public IotToKinesisFirehoseToS3.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
      User provided props to override the default props for the S3 Bucket.

      Default: - Default props are used

      Parameters:
      bucketProps - User provided props to override the default props for the S3 Bucket. This parameter is required.
      Returns:
      this
    • existingBucketObj

      public IotToKinesisFirehoseToS3.Builder existingBucketObj(software.amazon.awscdk.services.s3.IBucket existingBucketObj)
      Existing instance of S3 Bucket object, providing both this and bucketProps will cause an error.

      Default: - None

      Parameters:
      existingBucketObj - Existing instance of S3 Bucket object, providing both this and bucketProps will cause an error. This parameter is required.
      Returns:
      this
    • kinesisFirehoseProps

      public IotToKinesisFirehoseToS3.Builder kinesisFirehoseProps(Object kinesisFirehoseProps)
      Optional user provided props to override the default props.

      Default: - Default props are used

      Parameters:
      kinesisFirehoseProps - Optional user provided props to override the default props. This parameter is required.
      Returns:
      this
    • loggingBucketProps

      public IotToKinesisFirehoseToS3.Builder loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
      Optional user provided props to override the default props for the S3 Logging Bucket.

      Default: - Default props are used

      Parameters:
      loggingBucketProps - Optional user provided props to override the default props for the S3 Logging Bucket. This parameter is required.
      Returns:
      this
    • logGroupProps

      public IotToKinesisFirehoseToS3.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
      User provided props to override the default props for the CloudWatchLogs LogGroup.

      Default: - Default props are used

      Parameters:
      logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.
      Returns:
      this
    • logS3AccessLogs

      public IotToKinesisFirehoseToS3.Builder logS3AccessLogs(Boolean logS3AccessLogs)
      Whether to turn on Access Logs for the S3 bucket with the associated storage costs.

      Enabling Access Logging is a best practice.

      Default: - true

      Parameters:
      logS3AccessLogs - Whether to turn on Access Logs for the S3 bucket with the associated storage costs. This parameter is required.
      Returns:
      this
    • build

      public IotToKinesisFirehoseToS3 build()
      Specified by:
      build in interface software.amazon.jsii.Builder<IotToKinesisFirehoseToS3>
      Returns:
      a newly built instance of IotToKinesisFirehoseToS3.