amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RolesAnywhere.Types.SourceData

Description

 
Synopsis

Documentation

data SourceData Source #

The data field of the trust anchor depending on its type.

See: newSourceData smart constructor.

Constructors

SourceData' 

Fields

  • acmPcaArn :: Maybe Text

    The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in trust validation for CreateSession operations. Included for trust anchors of type AWS_ACM_PCA.

  • x509CertificateData :: Maybe Text

    The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

Instances

Instances details
FromJSON SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

ToJSON SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

Generic SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

Associated Types

type Rep SourceData :: Type -> Type #

Read SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

Show SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

NFData SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

Methods

rnf :: SourceData -> () #

Eq SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

Hashable SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

type Rep SourceData Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.SourceData

type Rep SourceData = D1 ('MetaData "SourceData" "Amazonka.RolesAnywhere.Types.SourceData" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "SourceData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acmPcaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "x509CertificateData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSourceData :: SourceData Source #

Create a value of SourceData 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:acmPcaArn:SourceData', sourceData_acmPcaArn - The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in trust validation for CreateSession operations. Included for trust anchors of type AWS_ACM_PCA.

$sel:x509CertificateData:SourceData', sourceData_x509CertificateData - The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

sourceData_acmPcaArn :: Lens' SourceData (Maybe Text) Source #

The root certificate of the Certificate Manager Private Certificate Authority specified by this ARN is used in trust validation for CreateSession operations. Included for trust anchors of type AWS_ACM_PCA.

sourceData_x509CertificateData :: Lens' SourceData (Maybe Text) Source #

The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.