Class CfnEventStreamProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • applicationId

      @Stability(Stable) public CfnEventStreamProps.Builder applicationId(String applicationId)
      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 CfnEventStreamProps.Builder destinationStreamArn(String destinationStreamArn)
      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. 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

      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnEventStreamProps.Builder roleArn(String roleArn)
      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 CfnEventStreamProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEventStreamProps>
      Returns:
      a new instance of CfnEventStreamProps
      Throws:
      NullPointerException - if any required attribute was not provided