Class CfnEventStream.Builder

java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnEventStream.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventStream>
Enclosing class:
CfnEventStream

@Stability(Stable) public static final class CfnEventStream.Builder extends Object implements software.amazon.jsii.Builder<CfnEventStream>
A fluent builder for CfnEventStream.
  • Method Details

    • create

      @Stability(Stable) public static CfnEventStream.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnEventStream.Builder.
    • applicationId

      @Stability(Stable) public CfnEventStream.Builder applicationId(String applicationId)
      The unique identifier for the Amazon Pinpoint application that you want to export data from.

      Parameters:
      applicationId - The unique identifier for the Amazon Pinpoint application that you want to export data from. This parameter is required.
      Returns:
      this
    • destinationStreamArn

      @Stability(Stable) public CfnEventStream.Builder destinationStreamArn(String destinationStreamArn)
      The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.

      For a Kinesis data stream, the ARN format is: arn:aws:kinesis: region : account-id :stream/ stream_name

      For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose: region : account-id :deliverystream/ stream_name

      Parameters:
      destinationStreamArn - The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnEventStream.Builder roleArn(String roleArn)
      The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

      Parameters:
      roleArn - The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account. This parameter is required.
      Returns:
      this
    • build

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