CfnStandardPropsMixin Mixin
The AWS::SecurityHub::Standard resource specifies the enablement of a security standard.
The standard is identified by the StandardsArn property. To view a list of Security Hub CSPM standards and their Amazon Resource Names (ARNs), use the DescribeStandards API operation.
You must create a separate AWS::SecurityHub::Standard resource for each standard that you want to enable.
For more information about Security Hub CSPM standards, see Security Hub CSPM standards reference in the AWS Security Hub CSPM User Guide .
| CloudFormation | AWS::SecurityHub::Standard |
|---|---|
| Source | |
| Type last changed |
Initializer
ts
new CfnStandardPropsMixin(props: CfnStandardMixinProps, options?: CfnPropertyMixinOptions)
python
CfnStandardPropsMixin(props: CfnStandardMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnStandardPropsMixin(CfnStandardMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnStandardPropsMixin(CfnStandardMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnStandardPropsMixin(Props CfnStandardMixinProps, 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) #Apply the mixin properties to the construct.
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 #Checks if `x` is a Mixin.
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 #Check if this mixin supports the given construct.