Module Values.ResourceSource

The resource contains a ResourceArn and the ResourceType.

Sourcetype nonrec t = {
  1. resourceArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the source resource. Example of ResourceArn: "arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321"

    *)
  2. resourceType : OperationEventResourceType.t option;
    (*

    The resource type. Example of ResourceType: "AWS::SystemsManagerSAP::Component" or "AWS::EC2::Instance".

    *)
}
Sourceval make : ?resourceArn:??? -> ?resourceType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t