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.4/services/securityhub.ts?docs=full";

A resource related to a finding.

interface Resource {
DataClassification?: DataClassificationDetails | null;
Details?: ResourceDetails | null;
Id: string;
Partition?: Partition | null;
Region?: string | null;
ResourceRole?: string | null;
Tags?: {
[key: string]: string | null | undefined;
}
| null;
Type: string;
}

§Properties

§
DataClassification?: DataClassificationDetails | null
[src]

Contains information about sensitive data that was detected on the resource.

§
Details?: ResourceDetails | null
[src]

Additional details about the resource related to a finding.

§
Id: string
[src]

The canonical identifier for the given resource type.

§
Partition?: Partition | null
[src]

The canonical Amazon Web Services partition name that the Region is assigned to.

§
Region?: string | null
[src]

The canonical Amazon Web Services external Region name where this resource is located.

§
ResourceRole?: string | null
[src]

Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,

§
Tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

A list of Amazon Web Services tags associated with a resource at the time the finding was processed.

§
Type: string
[src]

The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.

If the resource does not match any of the provided types, then set Type to Other.