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

com.pulumi.aws.cloudwatch.inputs.EventTargetHttpTargetArgs 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.cloudwatch.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EventTargetHttpTargetArgs extends com.pulumi.resources.ResourceArgs {

    public static final EventTargetHttpTargetArgs Empty = new EventTargetHttpTargetArgs();

    /**
     * Enables you to specify HTTP headers to add to the request.
     * 
     */
    @Import(name="headerParameters")
    private @Nullable Output> headerParameters;

    /**
     * @return Enables you to specify HTTP headers to add to the request.
     * 
     */
    public Optional>> headerParameters() {
        return Optional.ofNullable(this.headerParameters);
    }

    /**
     * The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
     * 
     */
    @Import(name="pathParameterValues")
    private @Nullable Output> pathParameterValues;

    /**
     * @return The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
     * 
     */
    public Optional>> pathParameterValues() {
        return Optional.ofNullable(this.pathParameterValues);
    }

    /**
     * Represents keys/values of query string parameters that are appended to the invoked endpoint.
     * 
     */
    @Import(name="queryStringParameters")
    private @Nullable Output> queryStringParameters;

    /**
     * @return Represents keys/values of query string parameters that are appended to the invoked endpoint.
     * 
     */
    public Optional>> queryStringParameters() {
        return Optional.ofNullable(this.queryStringParameters);
    }

    private EventTargetHttpTargetArgs() {}

    private EventTargetHttpTargetArgs(EventTargetHttpTargetArgs $) {
        this.headerParameters = $.headerParameters;
        this.pathParameterValues = $.pathParameterValues;
        this.queryStringParameters = $.queryStringParameters;
    }

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

    public static final class Builder {
        private EventTargetHttpTargetArgs $;

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

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

        /**
         * @param headerParameters Enables you to specify HTTP headers to add to the request.
         * 
         * @return builder
         * 
         */
        public Builder headerParameters(@Nullable Output> headerParameters) {
            $.headerParameters = headerParameters;
            return this;
        }

        /**
         * @param headerParameters Enables you to specify HTTP headers to add to the request.
         * 
         * @return builder
         * 
         */
        public Builder headerParameters(Map headerParameters) {
            return headerParameters(Output.of(headerParameters));
        }

        /**
         * @param pathParameterValues The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
         * 
         * @return builder
         * 
         */
        public Builder pathParameterValues(@Nullable Output> pathParameterValues) {
            $.pathParameterValues = pathParameterValues;
            return this;
        }

        /**
         * @param pathParameterValues The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
         * 
         * @return builder
         * 
         */
        public Builder pathParameterValues(List pathParameterValues) {
            return pathParameterValues(Output.of(pathParameterValues));
        }

        /**
         * @param pathParameterValues The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
         * 
         * @return builder
         * 
         */
        public Builder pathParameterValues(String... pathParameterValues) {
            return pathParameterValues(List.of(pathParameterValues));
        }

        /**
         * @param queryStringParameters Represents keys/values of query string parameters that are appended to the invoked endpoint.
         * 
         * @return builder
         * 
         */
        public Builder queryStringParameters(@Nullable Output> queryStringParameters) {
            $.queryStringParameters = queryStringParameters;
            return this;
        }

        /**
         * @param queryStringParameters Represents keys/values of query string parameters that are appended to the invoked endpoint.
         * 
         * @return builder
         * 
         */
        public Builder queryStringParameters(Map queryStringParameters) {
            return queryStringParameters(Output.of(queryStringParameters));
        }

        public EventTargetHttpTargetArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy