ChangeEvent
¶
Source code in docs_src/capo_application_signals/types/change_event.py
account_id
instance-attribute
¶
account_id: AwsAccountId
The Amazon Web Services account ID where this change event occurred.
change_event_type
instance-attribute
¶
change_event_type: ChangeEventType
The type of change event that occurred, such as DEPLOYMENT.
entity
instance-attribute
¶
entity: Attributes
The entity (service or resource) that was affected by this change event, including its key attributes.
This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to. -
AwsAccountIdspecifies the account where this object is in.
Below is an example of a service.
{ "Type": "Service", "Name": "visits-service", "Environment": "petclinic-test" }
Below is an example of a resource.
{ "Type": "AWS::Resource", "ResourceType": "AWS::DynamoDB::Table", "Identifier": "Customers" }
event_id
instance-attribute
¶
event_id: str
A unique identifier for this change event. For CloudTrail-based events, this is the CloudTrail event id. For other events, this will be Unknown.
event_name
instance-attribute
¶
event_name: NotRequired[str]
The name or description of this change event.
region
instance-attribute
¶
region: str
The Amazon Web Services region where this change event occurred.