Class CfnOrganizationConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.securityhub.CfnOrganizationConfiguration
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IOrganizationConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.233Z")
@Stability(Stable)
public class CfnOrganizationConfiguration
extends CfnResource
implements IInspectable, IOrganizationConfigurationRef
The
AWS::SecurityHub::OrganizationConfiguration resource specifies the way that your AWS organization is configured in Security Hub .
Specifically, you can use this resource to specify the configuration type for your organization and whether to automatically Security Hub and security standards in new member accounts. For more information, see Managing administrator and member accounts in the Security Hub User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;
CfnOrganizationConfiguration cfnOrganizationConfiguration = CfnOrganizationConfiguration.Builder.create(this, "MyCfnOrganizationConfiguration")
.autoEnable(false)
// the properties below are optional
.autoEnableStandards("autoEnableStandards")
.configurationType("configurationType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOrganizationConfiguration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.securityhub.IOrganizationConfigurationRef
IOrganizationConfigurationRef.Jsii$Default, IOrganizationConfigurationRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOrganizationConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOrganizationConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnOrganizationConfiguration(software.constructs.Construct scope, String id, CfnOrganizationConfigurationProps props) Create a newAWS::SecurityHub::OrganizationConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionWhether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.The organization configuration identifier, formatted asAccountId/Region/securityhub-organization-configuration.Describes whether central configuration could be enabled as theConfigurationTypefor the organization.Provides an explanation if the value ofStatusis equal toFAILEDwhenConfigurationTypeis equal toCENTRAL.Whether to automatically enable Security Hub in new member accounts when they join the organization.Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.Indicates whether the organization uses local or central configuration.A reference to a OrganizationConfiguration resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAutoEnable(Boolean value) Whether to automatically enable Security Hub in new member accounts when they join the organization.voidsetAutoEnable(IResolvable value) Whether to automatically enable Security Hub in new member accounts when they join the organization.voidsetAutoEnableStandards(String value) Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.voidsetConfigurationType(String value) Indicates whether the organization uses local or central configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOrganizationConfiguration
protected CfnOrganizationConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOrganizationConfiguration
protected CfnOrganizationConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOrganizationConfiguration
@Stability(Stable) public CfnOrganizationConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOrganizationConfigurationProps props) Create a newAWS::SecurityHub::OrganizationConfiguration.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrMemberAccountLimitReached
Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account. -
getAttrOrganizationConfigurationIdentifier
The organization configuration identifier, formatted asAccountId/Region/securityhub-organization-configuration.For example,
123456789012/us-east-1/securityhub-organization-configuration. -
getAttrStatus
Describes whether central configuration could be enabled as theConfigurationTypefor the organization.If your
ConfigurationTypeis local configuration, then the value ofStatusis alwaysENABLED. -
getAttrStatusMessage
Provides an explanation if the value ofStatusis equal toFAILEDwhenConfigurationTypeis equal toCENTRAL. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOrganizationConfigurationRef
@Stability(Stable) @NotNull public OrganizationConfigurationReference getOrganizationConfigurationRef()A reference to a OrganizationConfiguration resource.- Specified by:
getOrganizationConfigurationRefin interfaceIOrganizationConfigurationRef
-
getAutoEnable
Whether to automatically enable Security Hub in new member accounts when they join the organization.Returns union: either
BooleanorIResolvable -
setAutoEnable
Whether to automatically enable Security Hub in new member accounts when they join the organization. -
setAutoEnable
Whether to automatically enable Security Hub in new member accounts when they join the organization. -
getAutoEnableStandards
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization. -
setAutoEnableStandards
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization. -
getConfigurationType
Indicates whether the organization uses local or central configuration. -
setConfigurationType
Indicates whether the organization uses local or central configuration.
-