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

com.pulumi.aws.guardduty.inputs.DetectorFeatureState 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.72.0
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.DetectorFeatureAdditionalConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DetectorFeatureState Empty = new DetectorFeatureState();

    /**
     * Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.
     * 
     */
    @Import(name="additionalConfigurations")
    private @Nullable Output> additionalConfigurations;

    /**
     * @return Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.
     * 
     */
    public Optional>> additionalConfigurations() {
        return Optional.ofNullable(this.additionalConfigurations);
    }

    /**
     * Amazon GuardDuty detector ID.
     * 
     */
    @Import(name="detectorId")
    private @Nullable Output detectorId;

    /**
     * @return Amazon GuardDuty detector ID.
     * 
     */
    public Optional> detectorId() {
        return Optional.ofNullable(this.detectorId);
    }

    /**
     * The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private DetectorFeatureState() {}

    private DetectorFeatureState(DetectorFeatureState $) {
        this.additionalConfigurations = $.additionalConfigurations;
        this.detectorId = $.detectorId;
        this.name = $.name;
        this.status = $.status;
    }

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

    public static final class Builder {
        private DetectorFeatureState $;

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

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

        /**
         * @param additionalConfigurations Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.
         * 
         * @return builder
         * 
         */
        public Builder additionalConfigurations(@Nullable Output> additionalConfigurations) {
            $.additionalConfigurations = additionalConfigurations;
            return this;
        }

        /**
         * @param additionalConfigurations Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.
         * 
         * @return builder
         * 
         */
        public Builder additionalConfigurations(List additionalConfigurations) {
            return additionalConfigurations(Output.of(additionalConfigurations));
        }

        /**
         * @param additionalConfigurations Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.
         * 
         * @return builder
         * 
         */
        public Builder additionalConfigurations(DetectorFeatureAdditionalConfigurationArgs... additionalConfigurations) {
            return additionalConfigurations(List.of(additionalConfigurations));
        }

        /**
         * @param detectorId Amazon GuardDuty detector ID.
         * 
         * @return builder
         * 
         */
        public Builder detectorId(@Nullable Output detectorId) {
            $.detectorId = detectorId;
            return this;
        }

        /**
         * @param detectorId Amazon GuardDuty detector ID.
         * 
         * @return builder
         * 
         */
        public Builder detectorId(String detectorId) {
            return detectorId(Output.of(detectorId));
        }

        /**
         * @param name The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public DetectorFeatureState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy