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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


724
725
726
727
728
729
730
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 724

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)


724
725
726
727
728
729
730
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 724

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)


724
725
726
727
728
729
730
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 724

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