Class CfnApplicationOutputPropsMixin.LambdaOutputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalytics.CfnApplicationOutputPropsMixin.LambdaOutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationOutputPropsMixin.LambdaOutputProperty>
- Enclosing interface:
CfnApplicationOutputPropsMixin.LambdaOutputProperty
@Stability(Stable)
public static final class CfnApplicationOutputPropsMixin.LambdaOutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationOutputPropsMixin.LambdaOutputProperty>
A builder for
CfnApplicationOutputPropsMixin.LambdaOutputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceArn(String resourceArn) Sets the value ofCfnApplicationOutputPropsMixin.LambdaOutputProperty.getResourceArn()Sets the value ofCfnApplicationOutputPropsMixin.LambdaOutputProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
@Stability(Stable) public CfnApplicationOutputPropsMixin.LambdaOutputProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnApplicationOutputPropsMixin.LambdaOutputProperty.getResourceArn()- Parameters:
resourceArn- Amazon Resource Name (ARN) of the destination Lambda function to write to.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
@Stability(Stable) public CfnApplicationOutputPropsMixin.LambdaOutputProperty.Builder roleArn(String roleArn) Sets the value ofCfnApplicationOutputPropsMixin.LambdaOutputProperty.getRoleArn()- Parameters:
roleArn- ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. You need to grant the necessary permissions to this role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationOutputPropsMixin.LambdaOutputProperty>- Returns:
- a new instance of
CfnApplicationOutputPropsMixin.LambdaOutputProperty - Throws:
NullPointerException- if any required attribute was not provided
-