Skip to content
v2.276.0

CfnEnabledControlProps Struct ​

Properties for defining a CfnEnabledControl.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_controltower as controltower } from 'aws-cdk-lib';

declare const value: any;
const cfnEnabledControlProps: controltower.CfnEnabledControlProps = {
  controlIdentifier: 'controlIdentifier',
  targetIdentifier: 'targetIdentifier',

  // the properties below are optional
  parameters: [{
    key: 'key',
    value: value,
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

controlIdentifierstringcontrol_identifierstrcontrolIdentifierStringControlIdentifierstringControlIdentifier*stringrequired#
The ARN of the control.
notes

Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier , see the overview page .

parametersoptionalIResolvable | IResolvable | CfnEnabledControl.EnabledControlParameterProperty[]parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EnabledControlParameterProperty]]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{}#
Array of `EnabledControlParameter` objects.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A set of tags to assign to the enabled control.
targetIdentifierstringtarget_identifierstrtargetIdentifierStringTargetIdentifierstringTargetIdentifier*stringrequired#
The ARN of the organizational unit.

For information on how to find the targetIdentifier , see the overview page .