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

com.pulumi.aws.securityhub.AccountArgs 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.securityhub;

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 AccountArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountArgs Empty = new AccountArgs();

    /**
     * Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
     * 
     */
    @Import(name="autoEnableControls")
    private @Nullable Output autoEnableControls;

    /**
     * @return Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
     * 
     */
    public Optional> autoEnableControls() {
        return Optional.ofNullable(this.autoEnableControls);
    }

    /**
     * Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to `SECURITY_CONTROL`, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to `STANDARD_CONTROL`, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account.
     * 
     */
    @Import(name="controlFindingGenerator")
    private @Nullable Output controlFindingGenerator;

    /**
     * @return Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to `SECURITY_CONTROL`, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to `STANDARD_CONTROL`, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account.
     * 
     */
    public Optional> controlFindingGenerator() {
        return Optional.ofNullable(this.controlFindingGenerator);
    }

    /**
     * Whether to enable the security standards that Security Hub has designated as automatically enabled including: `  AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.
     * 
     */
    @Import(name="enableDefaultStandards")
    private @Nullable Output enableDefaultStandards;

    /**
     * @return Whether to enable the security standards that Security Hub has designated as automatically enabled including: `  AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.
     * 
     */
    public Optional> enableDefaultStandards() {
        return Optional.ofNullable(this.enableDefaultStandards);
    }

    private AccountArgs() {}

    private AccountArgs(AccountArgs $) {
        this.autoEnableControls = $.autoEnableControls;
        this.controlFindingGenerator = $.controlFindingGenerator;
        this.enableDefaultStandards = $.enableDefaultStandards;
    }

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

    public static final class Builder {
        private AccountArgs $;

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

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

        /**
         * @param autoEnableControls Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
         * 
         * @return builder
         * 
         */
        public Builder autoEnableControls(@Nullable Output autoEnableControls) {
            $.autoEnableControls = autoEnableControls;
            return this;
        }

        /**
         * @param autoEnableControls Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
         * 
         * @return builder
         * 
         */
        public Builder autoEnableControls(Boolean autoEnableControls) {
            return autoEnableControls(Output.of(autoEnableControls));
        }

        /**
         * @param controlFindingGenerator Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to `SECURITY_CONTROL`, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to `STANDARD_CONTROL`, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account.
         * 
         * @return builder
         * 
         */
        public Builder controlFindingGenerator(@Nullable Output controlFindingGenerator) {
            $.controlFindingGenerator = controlFindingGenerator;
            return this;
        }

        /**
         * @param controlFindingGenerator Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to `SECURITY_CONTROL`, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to `STANDARD_CONTROL`, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account.
         * 
         * @return builder
         * 
         */
        public Builder controlFindingGenerator(String controlFindingGenerator) {
            return controlFindingGenerator(Output.of(controlFindingGenerator));
        }

        /**
         * @param enableDefaultStandards Whether to enable the security standards that Security Hub has designated as automatically enabled including: `  AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enableDefaultStandards(@Nullable Output enableDefaultStandards) {
            $.enableDefaultStandards = enableDefaultStandards;
            return this;
        }

        /**
         * @param enableDefaultStandards Whether to enable the security standards that Security Hub has designated as automatically enabled including: `  AWS Foundational Security Best Practices v1.0.0 ` and `CIS AWS Foundations Benchmark v1.2.0`. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enableDefaultStandards(Boolean enableDefaultStandards) {
            return enableDefaultStandards(Output.of(enableDefaultStandards));
        }

        public AccountArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy