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

com.pulumi.aws.kinesis.inputs.AnalyticsApplicationOutputLambdaArgs Maven / Gradle / Ivy

Go to download

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.kinesis.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 AnalyticsApplicationOutputLambdaArgs extends com.pulumi.resources.ResourceArgs {

    public static final AnalyticsApplicationOutputLambdaArgs Empty = new AnalyticsApplicationOutputLambdaArgs();

    /**
     * The ARN of the Lambda function.
     * 
     */
    @Import(name="resourceArn", required=true)
    private Output resourceArn;

    /**
     * @return The ARN of the Lambda function.
     * 
     */
    public Output resourceArn() {
        return this.resourceArn;
    }

    /**
     * The ARN of the IAM Role used to access the Lambda function.
     * 
     */
    @Import(name="roleArn", required=true)
    private Output roleArn;

    /**
     * @return The ARN of the IAM Role used to access the Lambda function.
     * 
     */
    public Output roleArn() {
        return this.roleArn;
    }

    private AnalyticsApplicationOutputLambdaArgs() {}

    private AnalyticsApplicationOutputLambdaArgs(AnalyticsApplicationOutputLambdaArgs $) {
        this.resourceArn = $.resourceArn;
        this.roleArn = $.roleArn;
    }

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

    public static final class Builder {
        private AnalyticsApplicationOutputLambdaArgs $;

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

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

        /**
         * @param resourceArn The ARN of the Lambda function.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(Output resourceArn) {
            $.resourceArn = resourceArn;
            return this;
        }

        /**
         * @param resourceArn The ARN of the Lambda function.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(String resourceArn) {
            return resourceArn(Output.of(resourceArn));
        }

        /**
         * @param roleArn The ARN of the IAM Role used to access the Lambda function.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The ARN of the IAM Role used to access the Lambda function.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        public AnalyticsApplicationOutputLambdaArgs build() {
            if ($.resourceArn == null) {
                throw new MissingRequiredPropertyException("AnalyticsApplicationOutputLambdaArgs", "resourceArn");
            }
            if ($.roleArn == null) {
                throw new MissingRequiredPropertyException("AnalyticsApplicationOutputLambdaArgs", "roleArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy