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

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

import com.pulumi.aws.securityhub.inputs.OrganizationConfigurationOrganizationConfigurationArgs;
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 OrganizationConfigurationState extends com.pulumi.resources.ResourceArgs {

    public static final OrganizationConfigurationState Empty = new OrganizationConfigurationState();

    /**
     * Whether to automatically enable Security Hub for new accounts in the organization.
     * 
     */
    @Import(name="autoEnable")
    private @Nullable Output autoEnable;

    /**
     * @return Whether to automatically enable Security Hub for new accounts in the organization.
     * 
     */
    public Optional> autoEnable() {
        return Optional.ofNullable(this.autoEnable);
    }

    /**
     * Whether to automatically enable Security Hub default standards for new member accounts in the organization. By default, this parameter is equal to `DEFAULT`, and new member accounts are automatically enabled with default Security Hub standards. To opt out of enabling default standards for new member accounts, set this parameter equal to `NONE`.
     * 
     */
    @Import(name="autoEnableStandards")
    private @Nullable Output autoEnableStandards;

    /**
     * @return Whether to automatically enable Security Hub default standards for new member accounts in the organization. By default, this parameter is equal to `DEFAULT`, and new member accounts are automatically enabled with default Security Hub standards. To opt out of enabling default standards for new member accounts, set this parameter equal to `NONE`.
     * 
     */
    public Optional> autoEnableStandards() {
        return Optional.ofNullable(this.autoEnableStandards);
    }

    /**
     * Provides information about the way an organization is configured in Security Hub.
     * 
     */
    @Import(name="organizationConfiguration")
    private @Nullable Output organizationConfiguration;

    /**
     * @return Provides information about the way an organization is configured in Security Hub.
     * 
     */
    public Optional> organizationConfiguration() {
        return Optional.ofNullable(this.organizationConfiguration);
    }

    private OrganizationConfigurationState() {}

    private OrganizationConfigurationState(OrganizationConfigurationState $) {
        this.autoEnable = $.autoEnable;
        this.autoEnableStandards = $.autoEnableStandards;
        this.organizationConfiguration = $.organizationConfiguration;
    }

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

    public static final class Builder {
        private OrganizationConfigurationState $;

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

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

        /**
         * @param autoEnable Whether to automatically enable Security Hub for new accounts in the organization.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(@Nullable Output autoEnable) {
            $.autoEnable = autoEnable;
            return this;
        }

        /**
         * @param autoEnable Whether to automatically enable Security Hub for new accounts in the organization.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(Boolean autoEnable) {
            return autoEnable(Output.of(autoEnable));
        }

        /**
         * @param autoEnableStandards Whether to automatically enable Security Hub default standards for new member accounts in the organization. By default, this parameter is equal to `DEFAULT`, and new member accounts are automatically enabled with default Security Hub standards. To opt out of enabling default standards for new member accounts, set this parameter equal to `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder autoEnableStandards(@Nullable Output autoEnableStandards) {
            $.autoEnableStandards = autoEnableStandards;
            return this;
        }

        /**
         * @param autoEnableStandards Whether to automatically enable Security Hub default standards for new member accounts in the organization. By default, this parameter is equal to `DEFAULT`, and new member accounts are automatically enabled with default Security Hub standards. To opt out of enabling default standards for new member accounts, set this parameter equal to `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder autoEnableStandards(String autoEnableStandards) {
            return autoEnableStandards(Output.of(autoEnableStandards));
        }

        /**
         * @param organizationConfiguration Provides information about the way an organization is configured in Security Hub.
         * 
         * @return builder
         * 
         */
        public Builder organizationConfiguration(@Nullable Output organizationConfiguration) {
            $.organizationConfiguration = organizationConfiguration;
            return this;
        }

        /**
         * @param organizationConfiguration Provides information about the way an organization is configured in Security Hub.
         * 
         * @return builder
         * 
         */
        public Builder organizationConfiguration(OrganizationConfigurationOrganizationConfigurationArgs organizationConfiguration) {
            return organizationConfiguration(Output.of(organizationConfiguration));
        }

        public OrganizationConfigurationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy