AlarmTagsPropagationProperty Struct Added in v2.275.0
Controls whether the alarm's tags are included in its action notifications and state-change events, and which tag keys are included.
Specify IncludedTagKeys or ExcludedTagKeys, but not both. Omit both to include every tag.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const alarmTagsPropagationProperty: cloudwatch.CfnCompositeAlarm.AlarmTagsPropagationProperty = {
enabled: false,
// the properties below are optional
excludedTagKeys: ['excludedTagKeys'],
includedTagKeys: ['includedTagKeys'],
};
Properties
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#Whether the alarm's tags are included in its action notifications and state-change events.
excludedTagKeysoptionalstring[]excluded_tag_keysoptionaltyping.List[str]excludedTagKeysoptionalList<String>ExcludedTagKeysoptionalstring[]ExcludedTagKeysoptional*[]*string#The tag keys to leave out.
Cannot be specified together with IncludedTagKeys.
includedTagKeysoptionalstring[]included_tag_keysoptionaltyping.List[str]includedTagKeysoptionalList<String>IncludedTagKeysoptionalstring[]IncludedTagKeysoptional*[]*string#The only tag keys to include.
Cannot be specified together with ExcludedTagKeys.