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

com.pulumi.aws.guardduty.inputs.DetectorDatasourcesArgs 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.DetectorDatasourcesKubernetesArgs;
import com.pulumi.aws.guardduty.inputs.DetectorDatasourcesMalwareProtectionArgs;
import com.pulumi.aws.guardduty.inputs.DetectorDatasourcesS3LogsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DetectorDatasourcesArgs Empty = new DetectorDatasourcesArgs();

    /**
     * Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
     * See Kubernetes and Kubernetes Audit Logs below for more details.
     * 
     */
    @Import(name="kubernetes")
    private @Nullable Output kubernetes;

    /**
     * @return Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
     * See Kubernetes and Kubernetes Audit Logs below for more details.
     * 
     */
    public Optional> kubernetes() {
        return Optional.ofNullable(this.kubernetes);
    }

    /**
     * Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
     * See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
     * 
     */
    @Import(name="malwareProtection")
    private @Nullable Output malwareProtection;

    /**
     * @return Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
     * See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
     * 
     */
    public Optional> malwareProtection() {
        return Optional.ofNullable(this.malwareProtection);
    }

    /**
     * Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
     * See S3 Logs below for more details.
     * 
     */
    @Import(name="s3Logs")
    private @Nullable Output s3Logs;

    /**
     * @return Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
     * See S3 Logs below for more details.
     * 
     */
    public Optional> s3Logs() {
        return Optional.ofNullable(this.s3Logs);
    }

    private DetectorDatasourcesArgs() {}

    private DetectorDatasourcesArgs(DetectorDatasourcesArgs $) {
        this.kubernetes = $.kubernetes;
        this.malwareProtection = $.malwareProtection;
        this.s3Logs = $.s3Logs;
    }

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

    public static final class Builder {
        private DetectorDatasourcesArgs $;

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

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

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

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

        /**
         * @param malwareProtection Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
         * See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
         * 
         * @return builder
         * 
         */
        public Builder malwareProtection(@Nullable Output malwareProtection) {
            $.malwareProtection = malwareProtection;
            return this;
        }

        /**
         * @param malwareProtection Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
         * See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
         * 
         * @return builder
         * 
         */
        public Builder malwareProtection(DetectorDatasourcesMalwareProtectionArgs malwareProtection) {
            return malwareProtection(Output.of(malwareProtection));
        }

        /**
         * @param s3Logs Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
         * See S3 Logs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder s3Logs(@Nullable Output s3Logs) {
            $.s3Logs = s3Logs;
            return this;
        }

        /**
         * @param s3Logs Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
         * See S3 Logs below for more details.
         * 
         * @return builder
         * 
         */
        public Builder s3Logs(DetectorDatasourcesS3LogsArgs s3Logs) {
            return s3Logs(Output.of(s3Logs));
        }

        public DetectorDatasourcesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy