Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Resource

import type { Resource } from "https://aws-api.deno.dev/v0.3/services/cloudtrail.ts?docs=full";

Specifies the type and name of a resource referenced by an event.

interface Resource {
ResourceName?: string | null;
ResourceType?: string | null;
}

§Properties

§
ResourceName?: string | null
[src]

The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.

§
ResourceType?: string | null
[src]

The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for Amazon RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.