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

com.pulumi.aws.opensearchingest.inputs.PipelineLogPublishingOptionsCloudwatchLogDestinationArgs 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.opensearchingest.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 PipelineLogPublishingOptionsCloudwatchLogDestinationArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipelineLogPublishingOptionsCloudwatchLogDestinationArgs Empty = new PipelineLogPublishingOptionsCloudwatchLogDestinationArgs();

    /**
     * The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
     * 
     */
    @Import(name="logGroup", required=true)
    private Output logGroup;

    /**
     * @return The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
     * 
     */
    public Output logGroup() {
        return this.logGroup;
    }

    private PipelineLogPublishingOptionsCloudwatchLogDestinationArgs() {}

    private PipelineLogPublishingOptionsCloudwatchLogDestinationArgs(PipelineLogPublishingOptionsCloudwatchLogDestinationArgs $) {
        this.logGroup = $.logGroup;
    }

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

    public static final class Builder {
        private PipelineLogPublishingOptionsCloudwatchLogDestinationArgs $;

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

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

        /**
         * @param logGroup The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
         * 
         * @return builder
         * 
         */
        public Builder logGroup(Output logGroup) {
            $.logGroup = logGroup;
            return this;
        }

        /**
         * @param logGroup The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
         * 
         * @return builder
         * 
         */
        public Builder logGroup(String logGroup) {
            return logGroup(Output.of(logGroup));
        }

        public PipelineLogPublishingOptionsCloudwatchLogDestinationArgs build() {
            if ($.logGroup == null) {
                throw new MissingRequiredPropertyException("PipelineLogPublishingOptionsCloudwatchLogDestinationArgs", "logGroup");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy