Class: Aws::AccessAnalyzer::Types::IamRoleConfiguration

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

Overview

The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see [IAM and STS quotas].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#trust_policyString

The proposed trust policy for the IAM role.

Returns:

  • (String)


2275
2276
2277
2278
2279
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 2275

class IamRoleConfiguration < Struct.new(
  :trust_policy)
  SENSITIVE = []
  include Aws::Structure
end