UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

88 lines (87 loc) 2.7 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information for an Amazon CloudFront origin access control config. * * ## Example Usage * * The below example retrieves a CloudFront origin access control config. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.cloudfront.getOriginAccessControl({ * id: "E2T5VTFBZJ3BJB", * }); * ``` */ export declare function getOriginAccessControl(args: GetOriginAccessControlArgs, opts?: pulumi.InvokeOptions): Promise<GetOriginAccessControlResult>; /** * A collection of arguments for invoking getOriginAccessControl. */ export interface GetOriginAccessControlArgs { /** * The identifier for the origin access control settings. For example: `E2T5VTFBZJ3BJB`. */ id: string; } /** * A collection of values returned by getOriginAccessControl. */ export interface GetOriginAccessControlResult { /** * The origin access control ARN. */ readonly arn: string; /** * A description of the origin access control. */ readonly description: string; /** * Current version of the origin access control's information. For example: `E2QWRUHAPOMQZL`. */ readonly etag: string; readonly id: string; /** * A name to identify the origin access control. */ readonly name: string; /** * The type of origin that this origin access control is for. */ readonly originAccessControlOriginType: string; /** * Specifies which requests CloudFront signs. */ readonly signingBehavior: string; /** * The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. */ readonly signingProtocol: string; } /** * Use this data source to retrieve information for an Amazon CloudFront origin access control config. * * ## Example Usage * * The below example retrieves a CloudFront origin access control config. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.cloudfront.getOriginAccessControl({ * id: "E2T5VTFBZJ3BJB", * }); * ``` */ export declare function getOriginAccessControlOutput(args: GetOriginAccessControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOriginAccessControlResult>; /** * A collection of arguments for invoking getOriginAccessControl. */ export interface GetOriginAccessControlOutputArgs { /** * The identifier for the origin access control settings. For example: `E2T5VTFBZJ3BJB`. */ id: pulumi.Input<string>; }