Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data IamRoleConfiguration Source #
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.
See: newIamRoleConfiguration
smart constructor.
IamRoleConfiguration' | |
|
Instances
newIamRoleConfiguration :: IamRoleConfiguration Source #
Create a value of IamRoleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:trustPolicy:IamRoleConfiguration'
, iamRoleConfiguration_trustPolicy
- The proposed trust policy for the IAM role.
iamRoleConfiguration_trustPolicy :: Lens' IamRoleConfiguration (Maybe Text) Source #
The proposed trust policy for the IAM role.