inspector_register_cross_account_access_role: Registers the IAM role that grants Amazon Inspector access to...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.

Usage

1

Arguments

roleArn

[required] The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.

Request syntax

1
2
3
svc$register_cross_account_access_role(
  roleArn = "string"
)

Examples

1
2
3
4
5
6
# Registers the IAM role that Amazon Inspector uses to list your EC2
# instances at the start of the assessment run or when you call the
# PreviewAgents action.
svc$register_cross_account_access_role(
  roleArn = "arn:aws:iam::123456789012:role/inspector"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.