IamPolicyAnalysisQuery constructor

const IamPolicyAnalysisQuery({
  1. Input<AccessSelector>? accessSelector,
  2. Input<ConditionContext>? conditionContext,
  3. Input<IdentitySelector>? identitySelector,
  4. Input<Options>? options,
  5. Input<ResourceSelector>? resourceSelector,
  6. required Input<String> scope,
})

Creates a new IamPolicyAnalysisQuery. accessSelector Optional. Specifies roles or permissions for analysis. This is optional. conditionContext Optional. The hypothetical context for IAM conditions evaluation. identitySelector Optional. Specifies an identity for analysis. options Optional. The query options. resourceSelector Optional. Specifies a resource for analysis. scope The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit here . To know how to get folder or project id, visit here .

Implementation

const IamPolicyAnalysisQuery({
  this.accessSelector,
  this.conditionContext,
  this.identitySelector,
  this.options,
  this.resourceSelector,
  required this.scope,
});