Class CfnApplicationOutput.LambdaOutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutput.LambdaOutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationOutput.LambdaOutputProperty>
- Enclosing interface:
CfnApplicationOutput.LambdaOutputProperty
@Stability(Stable)
public static final class CfnApplicationOutput.LambdaOutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationOutput.LambdaOutputProperty>
A builder for
CfnApplicationOutput.LambdaOutputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceArn
(String resourceArn) Sets the value ofCfnApplicationOutput.LambdaOutputProperty.getResourceArn()
Sets the value ofCfnApplicationOutput.LambdaOutputProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
@Stability(Stable) public CfnApplicationOutput.LambdaOutputProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnApplicationOutput.LambdaOutputProperty.getResourceArn()
- Parameters:
resourceArn
- Amazon Resource Name (ARN) of the destination Lambda function to write to. This parameter is required.To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda
- Returns:
this
-
roleArn
Sets the value ofCfnApplicationOutput.LambdaOutputProperty.getRoleArn()
- Parameters:
roleArn
- ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. This parameter is required. You need to grant the necessary permissions to this role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationOutput.LambdaOutputProperty>
- Returns:
- a new instance of
CfnApplicationOutput.LambdaOutputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-