libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManagerPCA.Types.Permission

Description

 
Synopsis

Documentation

data Permission Source #

Permissions designate which private CA actions can be performed by an AWS 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.

Constructors

Permission' 

Fields

Instances

Instances details
Eq Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

Read Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

Generic Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

NFData Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

Methods

rnf :: Permission -> () #

Hashable Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

FromJSON Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.CertificateManagerPCA.Types.Permission" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "Permission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ActionType))) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:sourceAccount:Permission', permission_sourceAccount - The ID of the account that assigned the permission.

$sel:actions:Permission', permission_actions - The private CA actions that can be performed by the designated AWS service.

$sel:createdAt:Permission', permission_createdAt - The time at which the permission was created.

$sel:principal:Permission', permission_principal - The AWS service or entity that holds the permission. At this time, the only valid principal is acm.amazonaws.com.

$sel:policy:Permission', permission_policy - The name of the policy that is associated with the permission.

$sel:certificateAuthorityArn:Permission', permission_certificateAuthorityArn - The Amazon Resource Number (ARN) of the private CA from which the permission was issued.

permission_sourceAccount :: Lens' Permission (Maybe Text) Source #

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 AWS service.

permission_createdAt :: Lens' Permission (Maybe UTCTime) Source #

The time at which the permission was created.

permission_principal :: Lens' Permission (Maybe Text) Source #

The AWS service or entity that holds the permission. At this time, the only valid principal is acm.amazonaws.com.

permission_policy :: Lens' Permission (Maybe Text) Source #

The name of the policy that is associated with the permission.

permission_certificateAuthorityArn :: Lens' Permission (Maybe Text) Source #

The Amazon Resource Number (ARN) of the private CA from which the permission was issued.