Class: Aws::AccessAnalyzer::Types::CheckNoNewAccessRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:new_policy_document, :existing_policy_document]

Instance Attribute Summary collapse

Instance Attribute Details

#existing_policy_documentString

The JSON policy document to use as the content for the existing policy.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckNoNewAccessRequest < Struct.new(
  :new_policy_document,
  :existing_policy_document,
  :policy_type)
  SENSITIVE = [:new_policy_document, :existing_policy_document]
  include Aws::Structure
end

#new_policy_documentString

The JSON policy document to use as the content for the updated policy.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckNoNewAccessRequest < Struct.new(
  :new_policy_document,
  :existing_policy_document,
  :policy_type)
  SENSITIVE = [:new_policy_document, :existing_policy_document]
  include Aws::Structure
end

#policy_typeString

The type of policy to compare. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.

Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckNoNewAccessRequest < Struct.new(
  :new_policy_document,
  :existing_policy_document,
  :policy_type)
  SENSITIVE = [:new_policy_document, :existing_policy_document]
  include Aws::Structure
end