register_instance_event_notification_attributes
(**kwargs)¶Registers a set of tag keys to include in scheduled event notifications for your resources.
To remove tags, use DeregisterInstanceEventNotificationAttributes.
See also: AWS API Documentation
Request Syntax
response = client.register_instance_event_notification_attributes(
DryRun=True|False,
InstanceTagAttribute={
'IncludeAllTagsOfInstance': True|False,
'InstanceTagKeys': [
'string',
]
}
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.Information about the tag keys to register.
Indicates whether to register all tag keys in the current Region. Specify true
to register all tag keys.
The tag keys to register.
dict
Response Syntax
{
'InstanceTagAttribute': {
'InstanceTagKeys': [
'string',
],
'IncludeAllTagsOfInstance': True|False
}
}
Response Structure
(dict) --
InstanceTagAttribute (dict) --
The resulting set of tag keys.
InstanceTagKeys (list) --
The registered tag keys.
IncludeAllTagsOfInstance (boolean) --
Indicates wheter all tag keys in the current Region are registered to appear in scheduled event notifications. true
indicates that all tag keys in the current Region are registered.