amazonka-mediapackage-2.0: Amazon Elemental MediaPackage 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.MediaPackage.Types.Authorization

Description

 
Synopsis

Documentation

data Authorization Source #

CDN Authorization credentials

See: newAuthorization smart constructor.

Constructors

Authorization' 

Fields

  • secretsRoleArn :: Text

    The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.

  • cdnIdentifierSecret :: Text

    The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.

Instances

Instances details
FromJSON Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

ToJSON Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Generic Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Associated Types

type Rep Authorization :: Type -> Type #

Read Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Show Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

NFData Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Methods

rnf :: Authorization -> () #

Eq Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Hashable Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

type Rep Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

type Rep Authorization = D1 ('MetaData "Authorization" "Amazonka.MediaPackage.Types.Authorization" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "Authorization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cdnIdentifierSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAuthorization Source #

Create a value of Authorization 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:secretsRoleArn:Authorization', authorization_secretsRoleArn - The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.

$sel:cdnIdentifierSecret:Authorization', authorization_cdnIdentifierSecret - The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.

authorization_secretsRoleArn :: Lens' Authorization Text Source #

The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.

authorization_cdnIdentifierSecret :: Lens' Authorization Text Source #

The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.