interface AccessConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaTailor.CfnSourceLocation.AccessConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediatailor#CfnSourceLocation_AccessConfigurationProperty |
Java | software.amazon.awscdk.services.mediatailor.CfnSourceLocation.AccessConfigurationProperty |
Python | aws_cdk.aws_mediatailor.CfnSourceLocation.AccessConfigurationProperty |
TypeScript | aws-cdk-lib » aws_mediatailor » CfnSourceLocation » AccessConfigurationProperty |
Access configuration parameters.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const accessConfigurationProperty: mediatailor.CfnSourceLocation.AccessConfigurationProperty = {
accessType: 'accessType',
secretsManagerAccessTokenConfiguration: {
headerName: 'headerName',
secretArn: 'secretArn',
secretStringKey: 'secretStringKey',
},
};
Properties
Name | Type | Description |
---|---|---|
access | string | The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4 . |
secrets | IResolvable | Secrets | AWS Secrets Manager access token configuration parameters. |
accessType?
Type:
string
(optional)
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?
Type:
IResolvable
|
Secrets
(optional)
AWS Secrets Manager access token configuration parameters.