Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeCrossAccountAccessRoleCommand

Describes the IAM role that enables Amazon Inspector to access your AWS account.

example

Use a bare-bones client and the command you need to make an API call.

import { InspectorClient, DescribeCrossAccountAccessRoleCommand } from "@aws-sdk/client-inspector"; // ES Modules import
// const { InspectorClient, DescribeCrossAccountAccessRoleCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
const client = new InspectorClient(config);
const command = new DescribeCrossAccountAccessRoleCommand(input);
const response = await client.send(command);
see

DescribeCrossAccountAccessRoleCommandInput for command's input shape.

see

DescribeCrossAccountAccessRoleCommandOutput for command's response shape.

see

config for InspectorClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DescribeCrossAccountAccessRoleCommandInput

Readonly middlewareStack