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

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

Overview

Note:

When making an API call, you may pass IamRoleConfiguration data as a hash:

{
  trust_policy: "IamTrustPolicy",
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#trust_policyString

The proposed trust policy for the IAM role.

Returns:

  • (String)


1635
1636
1637
1638
1639
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1635

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