All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.connect.inputs.GetLambdaFunctionAssociationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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.connect.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 GetLambdaFunctionAssociationArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLambdaFunctionAssociationArgs Empty = new GetLambdaFunctionAssociationArgs();

    /**
     * ARN of the Lambda Function, omitting any version or alias qualifier.
     * 
     */
    @Import(name="functionArn", required=true)
    private Output functionArn;

    /**
     * @return ARN of the Lambda Function, omitting any version or alias qualifier.
     * 
     */
    public Output functionArn() {
        return this.functionArn;
    }

    /**
     * Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    private GetLambdaFunctionAssociationArgs() {}

    private GetLambdaFunctionAssociationArgs(GetLambdaFunctionAssociationArgs $) {
        this.functionArn = $.functionArn;
        this.instanceId = $.instanceId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetLambdaFunctionAssociationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetLambdaFunctionAssociationArgs $;

        public Builder() {
            $ = new GetLambdaFunctionAssociationArgs();
        }

        public Builder(GetLambdaFunctionAssociationArgs defaults) {
            $ = new GetLambdaFunctionAssociationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param functionArn ARN of the Lambda Function, omitting any version or alias qualifier.
         * 
         * @return builder
         * 
         */
        public Builder functionArn(Output functionArn) {
            $.functionArn = functionArn;
            return this;
        }

        /**
         * @param functionArn ARN of the Lambda Function, omitting any version or alias qualifier.
         * 
         * @return builder
         * 
         */
        public Builder functionArn(String functionArn) {
            return functionArn(Output.of(functionArn));
        }

        /**
         * @param instanceId Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        public GetLambdaFunctionAssociationArgs build() {
            if ($.functionArn == null) {
                throw new MissingRequiredPropertyException("GetLambdaFunctionAssociationArgs", "functionArn");
            }
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("GetLambdaFunctionAssociationArgs", "instanceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy