libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage
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.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
Eq Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Read Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Show 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 #

NFData Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

Methods

rnf :: Authorization -> () #

Hashable Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

ToJSON Authorization Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.Authorization

FromJSON 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" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" '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.