com.pulumi.aws.lambda.inputs.FunctionEventInvokeConfigDestinationConfigOnSuccessArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.lambda.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class FunctionEventInvokeConfigDestinationConfigOnSuccessArgs extends com.pulumi.resources.ResourceArgs {
public static final FunctionEventInvokeConfigDestinationConfigOnSuccessArgs Empty = new FunctionEventInvokeConfigDestinationConfigOnSuccessArgs();
/**
* Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*
*/
@Import(name="destination", required=true)
private Output destination;
/**
* @return Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*
*/
public Output destination() {
return this.destination;
}
private FunctionEventInvokeConfigDestinationConfigOnSuccessArgs() {}
private FunctionEventInvokeConfigDestinationConfigOnSuccessArgs(FunctionEventInvokeConfigDestinationConfigOnSuccessArgs $) {
this.destination = $.destination;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FunctionEventInvokeConfigDestinationConfigOnSuccessArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FunctionEventInvokeConfigDestinationConfigOnSuccessArgs $;
public Builder() {
$ = new FunctionEventInvokeConfigDestinationConfigOnSuccessArgs();
}
public Builder(FunctionEventInvokeConfigDestinationConfigOnSuccessArgs defaults) {
$ = new FunctionEventInvokeConfigDestinationConfigOnSuccessArgs(Objects.requireNonNull(defaults));
}
/**
* @param destination Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*
* @return builder
*
*/
public Builder destination(Output destination) {
$.destination = destination;
return this;
}
/**
* @param destination Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*
* @return builder
*
*/
public Builder destination(String destination) {
return destination(Output.of(destination));
}
public FunctionEventInvokeConfigDestinationConfigOnSuccessArgs build() {
if ($.destination == null) {
throw new MissingRequiredPropertyException("FunctionEventInvokeConfigDestinationConfigOnSuccessArgs", "destination");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy