CfnHubPropsMixin Mixin
The AWS::SecurityHub::Hub resource specifies the enablement of the AWS Security Hub CSPM service in your AWS account .
The service is enabled in the current AWS Region or the specified Region. You create a separate Hub resource in each Region in which you want to enable Security Hub CSPM .
When you use this resource to enable Security Hub CSPM , default security standards are enabled. To disable default standards, set the EnableDefaultStandards property to false . You can use the AWS::SecurityHub::Standard resource to enable additional standards.
When you use this resource to enable Security Hub CSPM , new controls are automatically enabled for your enabled standards. To disable automatic enablement of new controls, set the AutoEnableControls property to false .
You must create an AWS::SecurityHub::Hub resource for an account before you can create other types of Security Hub CSPM resources for the account through CloudFormation . Use a DependsOn attribute , such as "DependsOn": "Hub" , to ensure that you've created an AWS::SecurityHub::Hub resource before creating other Security Hub CSPM resources for an account.
| CloudFormation | AWS::SecurityHub::Hub |
|---|---|
| Source | |
| Type last changed |
Initializer
new CfnHubPropsMixin(props: CfnHubMixinProps, options?: CfnPropertyMixinOptions)
CfnHubPropsMixin(props: CfnHubMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnHubPropsMixin(CfnHubMixinProps props, CfnPropertyMixinOptions options)
new CfnHubPropsMixin(CfnHubMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnHubPropsMixin(Props CfnHubMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #