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

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

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

    public static final AccountState Empty = new AccountState();

    /**
     * ARN of the SecurityHub Hub created in the account.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the SecurityHub Hub created in the account.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * 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 AccountState() {}

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

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

    public static final class Builder {
        private AccountState $;

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

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

        /**
         * @param arn ARN of the SecurityHub Hub created in the account.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the SecurityHub Hub created in the account.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @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 AccountState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy