Package com.pulumi.aws.lambda.inputs
Class FunctionDeadLetterConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lambda.inputs.FunctionDeadLetterConfigArgs.Builder
-
- Enclosing class:
- FunctionDeadLetterConfigArgs
public static final class FunctionDeadLetterConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FunctionDeadLetterConfigArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionDeadLetterConfigArgs
build()
FunctionDeadLetterConfigArgs.Builder
targetArn(com.pulumi.core.Output<java.lang.String> targetArn)
FunctionDeadLetterConfigArgs.Builder
targetArn(java.lang.String targetArn)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FunctionDeadLetterConfigArgs defaults)
-
-
Method Detail
-
targetArn
public FunctionDeadLetterConfigArgs.Builder targetArn(com.pulumi.core.Output<java.lang.String> targetArn)
- Parameters:
targetArn
- ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.- Returns:
- builder
-
targetArn
public FunctionDeadLetterConfigArgs.Builder targetArn(java.lang.String targetArn)
- Parameters:
targetArn
- ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.- Returns:
- builder
-
build
public FunctionDeadLetterConfigArgs build()
-
-