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

com.pulumi.aws.guardduty.inputs.DetectorDatasourcesKubernetesArgs 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.guardduty.inputs;

import com.pulumi.aws.guardduty.inputs.DetectorDatasourcesKubernetesAuditLogsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


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

    public static final DetectorDatasourcesKubernetesArgs Empty = new DetectorDatasourcesKubernetesArgs();

    /**
     * Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
     * See Kubernetes Audit Logs below for more details.
     * 
     */
    @Import(name="auditLogs", required=true)
    private Output auditLogs;

    /**
     * @return Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
     * See Kubernetes Audit Logs below for more details.
     * 
     */
    public Output auditLogs() {
        return this.auditLogs;
    }

    private DetectorDatasourcesKubernetesArgs() {}

    private DetectorDatasourcesKubernetesArgs(DetectorDatasourcesKubernetesArgs $) {
        this.auditLogs = $.auditLogs;
    }

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

    public static final class Builder {
        private DetectorDatasourcesKubernetesArgs $;

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

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

        /**
         * @param auditLogs Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
         * See Kubernetes Audit Logs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder auditLogs(Output auditLogs) {
            $.auditLogs = auditLogs;
            return this;
        }

        /**
         * @param auditLogs Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
         * See Kubernetes Audit Logs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder auditLogs(DetectorDatasourcesKubernetesAuditLogsArgs auditLogs) {
            return auditLogs(Output.of(auditLogs));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy