View a markdown version of this page

DiscoveredResource - AWS Assurance

DiscoveredResource

A resource that is in scope for an environment, project, or control, as returned by ListDiscoveredResources and ListControlResources.

Contents

resourceIdentifier

The identifier (typically the ARN) of the resource.

Type: String

Required: Yes

resourceType

The resource type, in lowercase service:type form (for example, s3:bucket). This is the form that resourcetype: filters use.

Type: String

Required: Yes

accountId

The AWS account the resource belongs to.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12}

Required: No

region

The AWS Region that the resource is in. The value is global for global resources such as IAM.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: