Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Permission = Permission' {}
- newPermission :: Permission
- permission_actions :: Lens' Permission (Maybe (NonEmpty ActionType))
- permission_certificateAuthorityArn :: Lens' Permission (Maybe Text)
- permission_createdAt :: Lens' Permission (Maybe UTCTime)
- permission_policy :: Lens' Permission (Maybe Text)
- permission_principal :: Lens' Permission (Maybe Text)
- permission_sourceAccount :: Lens' Permission (Maybe Text)
Documentation
data Permission Source #
Permissions designate which private CA actions can be performed by an
Amazon Web Services service or entity. In order for ACM to automatically
renew private certificates, you must give the ACM service principal all
available permissions (IssueCertificate
, GetCertificate
, and
ListPermissions
). Permissions can be assigned with the
CreatePermission
action, removed with the
DeletePermission
action, and listed with the
ListPermissions
action.
See: newPermission
smart constructor.
Permission' | |
|
Instances
newPermission :: Permission Source #
Create a value of Permission
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:actions:Permission'
, permission_actions
- The private CA actions that can be performed by the designated Amazon
Web Services service.
$sel:certificateAuthorityArn:Permission'
, permission_certificateAuthorityArn
- The Amazon Resource Number (ARN) of the private CA from which the
permission was issued.
$sel:createdAt:Permission'
, permission_createdAt
- The time at which the permission was created.
$sel:policy:Permission'
, permission_policy
- The name of the policy that is associated with the permission.
$sel:principal:Permission'
, permission_principal
- The Amazon Web Services service or entity that holds the permission. At
this time, the only valid principal is acm.amazonaws.com
.
$sel:sourceAccount:Permission'
, permission_sourceAccount
- The ID of the account that assigned the permission.
permission_actions :: Lens' Permission (Maybe (NonEmpty ActionType)) Source #
The private CA actions that can be performed by the designated Amazon Web Services service.
permission_certificateAuthorityArn :: Lens' Permission (Maybe Text) Source #
The Amazon Resource Number (ARN) of the private CA from which the permission was issued.
permission_createdAt :: Lens' Permission (Maybe UTCTime) Source #
The time at which the permission was created.
permission_policy :: Lens' Permission (Maybe Text) Source #
The name of the policy that is associated with the permission.
permission_principal :: Lens' Permission (Maybe Text) Source #
The Amazon Web Services service or entity that holds the permission. At
this time, the only valid principal is acm.amazonaws.com
.
permission_sourceAccount :: Lens' Permission (Maybe Text) Source #
The ID of the account that assigned the permission.