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

com.pulumi.aws.opensearch.inputs.DomainDomainEndpointOptionsArgs Maven / Gradle / Ivy

// *** 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.opensearch.inputs;

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


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

    public static final DomainDomainEndpointOptionsArgs Empty = new DomainDomainEndpointOptionsArgs();

    /**
     * Fully qualified domain for your custom endpoint.
     * 
     */
    @Import(name="customEndpoint")
    private @Nullable Output customEndpoint;

    /**
     * @return Fully qualified domain for your custom endpoint.
     * 
     */
    public Optional> customEndpoint() {
        return Optional.ofNullable(this.customEndpoint);
    }

    /**
     * ACM certificate ARN for your custom endpoint.
     * 
     */
    @Import(name="customEndpointCertificateArn")
    private @Nullable Output customEndpointCertificateArn;

    /**
     * @return ACM certificate ARN for your custom endpoint.
     * 
     */
    public Optional> customEndpointCertificateArn() {
        return Optional.ofNullable(this.customEndpointCertificateArn);
    }

    /**
     * Whether to enable custom endpoint for the OpenSearch domain.
     * 
     */
    @Import(name="customEndpointEnabled")
    private @Nullable Output customEndpointEnabled;

    /**
     * @return Whether to enable custom endpoint for the OpenSearch domain.
     * 
     */
    public Optional> customEndpointEnabled() {
        return Optional.ofNullable(this.customEndpointEnabled);
    }

    /**
     * Whether or not to require HTTPS. Defaults to `true`.
     * 
     */
    @Import(name="enforceHttps")
    private @Nullable Output enforceHttps;

    /**
     * @return Whether or not to require HTTPS. Defaults to `true`.
     * 
     */
    public Optional> enforceHttps() {
        return Optional.ofNullable(this.enforceHttps);
    }

    /**
     * Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
     * 
     */
    @Import(name="tlsSecurityPolicy")
    private @Nullable Output tlsSecurityPolicy;

    /**
     * @return Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
     * 
     */
    public Optional> tlsSecurityPolicy() {
        return Optional.ofNullable(this.tlsSecurityPolicy);
    }

    private DomainDomainEndpointOptionsArgs() {}

    private DomainDomainEndpointOptionsArgs(DomainDomainEndpointOptionsArgs $) {
        this.customEndpoint = $.customEndpoint;
        this.customEndpointCertificateArn = $.customEndpointCertificateArn;
        this.customEndpointEnabled = $.customEndpointEnabled;
        this.enforceHttps = $.enforceHttps;
        this.tlsSecurityPolicy = $.tlsSecurityPolicy;
    }

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

    public static final class Builder {
        private DomainDomainEndpointOptionsArgs $;

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

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

        /**
         * @param customEndpoint Fully qualified domain for your custom endpoint.
         * 
         * @return builder
         * 
         */
        public Builder customEndpoint(@Nullable Output customEndpoint) {
            $.customEndpoint = customEndpoint;
            return this;
        }

        /**
         * @param customEndpoint Fully qualified domain for your custom endpoint.
         * 
         * @return builder
         * 
         */
        public Builder customEndpoint(String customEndpoint) {
            return customEndpoint(Output.of(customEndpoint));
        }

        /**
         * @param customEndpointCertificateArn ACM certificate ARN for your custom endpoint.
         * 
         * @return builder
         * 
         */
        public Builder customEndpointCertificateArn(@Nullable Output customEndpointCertificateArn) {
            $.customEndpointCertificateArn = customEndpointCertificateArn;
            return this;
        }

        /**
         * @param customEndpointCertificateArn ACM certificate ARN for your custom endpoint.
         * 
         * @return builder
         * 
         */
        public Builder customEndpointCertificateArn(String customEndpointCertificateArn) {
            return customEndpointCertificateArn(Output.of(customEndpointCertificateArn));
        }

        /**
         * @param customEndpointEnabled Whether to enable custom endpoint for the OpenSearch domain.
         * 
         * @return builder
         * 
         */
        public Builder customEndpointEnabled(@Nullable Output customEndpointEnabled) {
            $.customEndpointEnabled = customEndpointEnabled;
            return this;
        }

        /**
         * @param customEndpointEnabled Whether to enable custom endpoint for the OpenSearch domain.
         * 
         * @return builder
         * 
         */
        public Builder customEndpointEnabled(Boolean customEndpointEnabled) {
            return customEndpointEnabled(Output.of(customEndpointEnabled));
        }

        /**
         * @param enforceHttps Whether or not to require HTTPS. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enforceHttps(@Nullable Output enforceHttps) {
            $.enforceHttps = enforceHttps;
            return this;
        }

        /**
         * @param enforceHttps Whether or not to require HTTPS. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enforceHttps(Boolean enforceHttps) {
            return enforceHttps(Output.of(enforceHttps));
        }

        /**
         * @param tlsSecurityPolicy Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
         * 
         * @return builder
         * 
         */
        public Builder tlsSecurityPolicy(@Nullable Output tlsSecurityPolicy) {
            $.tlsSecurityPolicy = tlsSecurityPolicy;
            return this;
        }

        /**
         * @param tlsSecurityPolicy Name of the TLS security policy that needs to be applied to the HTTPS endpoint. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_DomainEndpointOptions.html#opensearchservice-Type-DomainEndpointOptions-TLSSecurityPolicy). Pulumi will only perform drift detection if a configuration value is provided.
         * 
         * @return builder
         * 
         */
        public Builder tlsSecurityPolicy(String tlsSecurityPolicy) {
            return tlsSecurityPolicy(Output.of(tlsSecurityPolicy));
        }

        public DomainDomainEndpointOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy