com.pulumi.aws.lambda.inputs.GetInvocationPlainArgs 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.
// *** 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetInvocationPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetInvocationPlainArgs Empty = new GetInvocationPlainArgs();
/**
* Name of the lambda function.
*
*/
@Import(name="functionName", required=true)
private String functionName;
/**
* @return Name of the lambda function.
*
*/
public String functionName() {
return this.functionName;
}
/**
* String in JSON format that is passed as payload to the lambda function.
*
*/
@Import(name="input", required=true)
private String input;
/**
* @return String in JSON format that is passed as payload to the lambda function.
*
*/
public String input() {
return this.input;
}
/**
* Qualifier (a.k.a version) of the lambda function. Defaults
* to `$LATEST`.
*
*/
@Import(name="qualifier")
private @Nullable String qualifier;
/**
* @return Qualifier (a.k.a version) of the lambda function. Defaults
* to `$LATEST`.
*
*/
public Optional qualifier() {
return Optional.ofNullable(this.qualifier);
}
private GetInvocationPlainArgs() {}
private GetInvocationPlainArgs(GetInvocationPlainArgs $) {
this.functionName = $.functionName;
this.input = $.input;
this.qualifier = $.qualifier;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInvocationPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetInvocationPlainArgs $;
public Builder() {
$ = new GetInvocationPlainArgs();
}
public Builder(GetInvocationPlainArgs defaults) {
$ = new GetInvocationPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param functionName Name of the lambda function.
*
* @return builder
*
*/
public Builder functionName(String functionName) {
$.functionName = functionName;
return this;
}
/**
* @param input String in JSON format that is passed as payload to the lambda function.
*
* @return builder
*
*/
public Builder input(String input) {
$.input = input;
return this;
}
/**
* @param qualifier Qualifier (a.k.a version) of the lambda function. Defaults
* to `$LATEST`.
*
* @return builder
*
*/
public Builder qualifier(@Nullable String qualifier) {
$.qualifier = qualifier;
return this;
}
public GetInvocationPlainArgs build() {
if ($.functionName == null) {
throw new MissingRequiredPropertyException("GetInvocationPlainArgs", "functionName");
}
if ($.input == null) {
throw new MissingRequiredPropertyException("GetInvocationPlainArgs", "input");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy