class CfnSecurityControlPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub.CfnSecurityControlPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssecurityhub#CfnSecurityControlPropsMixin |
Java | software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnSecurityControlPropsMixin |
Python | aws_cdk.cfn_property_mixins.aws_securityhub.CfnSecurityControlPropsMixin |
TypeScript | @aws-cdk/cfn-property-mixins » aws_securityhub » CfnSecurityControlPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::SecurityHub::SecurityControl resource specifies custom parameter values for an AWS Security Hub CSPM control.
For a list of controls that support custom parameters, see Security Hub CSPM controls reference . You can also use this resource to specify the use of default parameter values for a control. For more information about custom parameters, see Custom control parameters in the AWS Security Hub CSPM User Guide .
Tags aren't supported for this resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from '@aws-cdk/cfn-property-mixins';
import * as cdk from 'aws-cdk-lib';
declare const mergeStrategy: cdk.IMergeStrategy;
const cfnSecurityControlPropsMixin = new securityhub.CfnSecurityControlPropsMixin({
lastUpdateReason: 'lastUpdateReason',
parameters: {
parametersKey: {
value: {
boolean: false,
double: 123,
enum: 'enum',
enumList: ['enumList'],
integer: 123,
integerList: [123],
string: 'string',
stringList: ['stringList'],
},
valueType: 'valueType',
},
},
securityControlArn: 'securityControlArn',
securityControlId: 'securityControlId',
}, /* all optional props */ {
strategy: mergeStrategy,
});
Initializer
new CfnSecurityControlPropsMixin(props: CfnSecurityControlMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Security Control Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SecurityHub::SecurityControl.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | IMerge | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
IMerge
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): void
Parameters
- construct
IConstruct
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript