@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
51 lines (50 loc) • 2.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* <p>Represents a resource policy that allows or denies access to an origin endpoint.</p>
*/
export declare function getOriginEndpointPolicy(args: GetOriginEndpointPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetOriginEndpointPolicyResult>;
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;
}
/**
* <p>Represents a resource policy that allows or denies access to an origin endpoint.</p>
*/
export declare function getOriginEndpointPolicyOutput(args: GetOriginEndpointPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOriginEndpointPolicyResult>;
export interface GetOriginEndpointPolicyOutputArgs {
/**
* The name of the channel group associated with the origin endpoint policy.
*/
channelGroupName: pulumi.Input<string>;
/**
* The channel name associated with the origin endpoint policy.
*/
channelName: pulumi.Input<string>;
/**
* The name of the origin endpoint associated with the origin endpoint policy.
*/
originEndpointName: pulumi.Input<string>;
}