Class PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.pubsub_topic.PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PubsubTopicIngestionDataSourceSettingsAwsKinesis>
- Enclosing interface:
- PubsubTopicIngestionDataSourceSettingsAwsKinesis
@Stability(Stable) public static final class PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder extends Object implements software.amazon.jsii.Builder<PubsubTopicIngestionDataSourceSettingsAwsKinesis>
A builder forPubsubTopicIngestionDataSourceSettingsAwsKinesis
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubsubTopicIngestionDataSourceSettingsAwsKinesis.BuilderawsRoleArn(String awsRoleArn)Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getAwsRoleArn()PubsubTopicIngestionDataSourceSettingsAwsKinesisbuild()Builds the configured instance.PubsubTopicIngestionDataSourceSettingsAwsKinesis.BuilderconsumerArn(String consumerArn)Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getConsumerArn()PubsubTopicIngestionDataSourceSettingsAwsKinesis.BuildergcpServiceAccount(String gcpServiceAccount)Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getGcpServiceAccount()PubsubTopicIngestionDataSourceSettingsAwsKinesis.BuilderstreamArn(String streamArn)Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getStreamArn()
-
-
-
Method Detail
-
awsRoleArn
@Stability(Stable) public PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder awsRoleArn(String awsRoleArn)
Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getAwsRoleArn()- Parameters:
awsRoleArn- AWS role ARN to be used for Federated Identity authentication with Kinesis. This parameter is required. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#aws_role_arn PubsubTopic#aws_role_arn}- Returns:
this
-
consumerArn
@Stability(Stable) public PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder consumerArn(String consumerArn)
Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getConsumerArn()- Parameters:
consumerArn- The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. This parameter is required. The consumer must be already created and ready to be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#consumer_arn PubsubTopic#consumer_arn}- Returns:
this
-
gcpServiceAccount
@Stability(Stable) public PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder gcpServiceAccount(String gcpServiceAccount)
Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getGcpServiceAccount()- Parameters:
gcpServiceAccount- The GCP service account to be used for Federated Identity authentication with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided role). This parameter is required. The 'awsRoleArn' must be set up with 'accounts.google.com:sub' equals to this service account number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#gcp_service_account PubsubTopic#gcp_service_account}- Returns:
this
-
streamArn
@Stability(Stable) public PubsubTopicIngestionDataSourceSettingsAwsKinesis.Builder streamArn(String streamArn)
Sets the value ofPubsubTopicIngestionDataSourceSettingsAwsKinesis.getStreamArn()- Parameters:
streamArn- The Kinesis stream ARN to ingest data from. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#stream_arn PubsubTopic#stream_arn}- Returns:
this
-
build
@Stability(Stable) public PubsubTopicIngestionDataSourceSettingsAwsKinesis build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PubsubTopicIngestionDataSourceSettingsAwsKinesis>- Returns:
- a new instance of
PubsubTopicIngestionDataSourceSettingsAwsKinesis - Throws:
NullPointerException- if any required attribute was not provided
-
-