import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** *

Represents a resource policy that allows or denies access to an origin endpoint.

*/ export declare function getOriginEndpointPolicy(args: GetOriginEndpointPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetOriginEndpointPolicyArgs { /** * The name of the channel group associated with the origin endpoint policy. */ channelGroupName: string; /** * The channel name associated with the origin endpoint policy. */ channelName: string; /** * The name of the origin endpoint associated with the origin endpoint policy. */ originEndpointName: string; } export interface GetOriginEndpointPolicyResult { /** * The settings to enable CDN authorization headers in MediaPackage. */ readonly cdnAuthConfiguration?: outputs.mediapackagev2.OriginEndpointPolicyCdnAuthConfiguration; /** * The policy associated with the origin endpoint. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MediaPackageV2::OriginEndpointPolicy` for more information about the expected schema for this property. */ readonly policy?: any; } /** *

Represents a resource policy that allows or denies access to an origin endpoint.

*/ export declare function getOriginEndpointPolicyOutput(args: GetOriginEndpointPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetOriginEndpointPolicyOutputArgs { /** * The name of the channel group associated with the origin endpoint policy. */ channelGroupName: pulumi.Input; /** * The channel name associated with the origin endpoint policy. */ channelName: pulumi.Input; /** * The name of the origin endpoint associated with the origin endpoint policy. */ originEndpointName: pulumi.Input; }