import { SecretsManagerAccessTokenConfigurationProps } from './SecretsManagerAccessTokenConfigurationProps';
import { Value } from '../../../cloudformation/Value';
/**
  Access configuration parameters.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-accessconfiguration.html">the AWS Docs</a>
*/
export interface AccessConfigurationProps {
    /** <code>SecretsManagerAccessTokenConfiguration</code>  <a name="cfn-mediatailor-sourcelocation-accessconfiguration-secretsmanageraccesstokenconfiguration"></a>
  AWS Secrets Manager access token configuration parameters.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    secretsManagerAccessTokenConfiguration?: SecretsManagerAccessTokenConfigurationProps;
    /** <code>AccessType</code>  <a name="cfn-mediatailor-sourcelocation-accessconfiguration-accesstype"></a>
  The type of authentication used to access content from <code>HttpConfiguration::BaseUrl</code> on your source location. Accepted value: <code>S3_SIGV4</code>.<br />
  <code>S3_SIGV4</code> - 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.<br />
  Before you can use <code>S3_SIGV4</code>, you must meet these requirements:<br />
  • 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.<br />
  • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations.<br />
  • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.<br />
  
  Required: No<br />
  
  Allowed values: <code>AUTODETECT_SIGV4 | S3_SIGV4 | SECRETS_MANAGER_ACCESS_TOKEN</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    accessType?: Value<'AUTODETECT_SIGV4' | 'S3_SIGV4' | 'SECRETS_MANAGER_ACCESS_TOKEN'>;
}
