libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
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.MediaTailor.Types.AccessConfiguration

Description

 
Synopsis

Documentation

data AccessConfiguration Source #

Access configuration parameters.

See: newAccessConfiguration smart constructor.

Constructors

AccessConfiguration' 

Fields

  • accessType :: Maybe AccessType

    The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4.

    S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

    Before you can use S3_SIGV4, you must meet these requirements:

    • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

    • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

    • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

  • secretsManagerAccessTokenConfiguration :: Maybe SecretsManagerAccessTokenConfiguration

    AWS Secrets Manager access token configuration parameters.

Instances

Instances details
Eq AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

Read AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

Show AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

Generic AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

Associated Types

type Rep AccessConfiguration :: Type -> Type #

NFData AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

Methods

rnf :: AccessConfiguration -> () #

Hashable AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

ToJSON AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

FromJSON AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

type Rep AccessConfiguration Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.AccessConfiguration

type Rep AccessConfiguration = D1 ('MetaData "AccessConfiguration" "Amazonka.MediaTailor.Types.AccessConfiguration" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "AccessConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessType)) :*: S1 ('MetaSel ('Just "secretsManagerAccessTokenConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecretsManagerAccessTokenConfiguration))))

newAccessConfiguration :: AccessConfiguration Source #

Create a value of AccessConfiguration 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:accessType:AccessConfiguration', accessConfiguration_accessType - The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4.

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4, you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.

$sel:secretsManagerAccessTokenConfiguration:AccessConfiguration', accessConfiguration_secretsManagerAccessTokenConfiguration - AWS Secrets Manager access token configuration parameters.

accessConfiguration_accessType :: Lens' AccessConfiguration (Maybe AccessType) Source #

The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4.

S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name.

Before you can use S3_SIGV4, you must meet these requirements:

• You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide.

• The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.

• The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.