UNPKG

@pulumi/aws

Version:

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

110 lines (109 loc) 3.8 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details on a specific S3 Multi-Region Access Point. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.s3control.getMultiRegionAccessPoint({ * name: "example", * }); * ``` */ export declare function getMultiRegionAccessPoint(args: GetMultiRegionAccessPointArgs, opts?: pulumi.InvokeOptions): Promise<GetMultiRegionAccessPointResult>; /** * A collection of arguments for invoking getMultiRegionAccessPoint. */ export interface GetMultiRegionAccessPointArgs { /** * The AWS account ID of the S3 Multi-Region Access Point. Defaults to automatically determined account ID of the AWS provider. */ accountId?: string; /** * The name of the Multi-Region Access Point. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getMultiRegionAccessPoint. */ export interface GetMultiRegionAccessPointResult { readonly accountId: string; /** * The alias for the Multi-Region Access Point. */ readonly alias: string; /** * Amazon Resource Name (ARN) of the Multi-Region Access Point. */ readonly arn: string; /** * Timestamp when the resource has been created. */ readonly createdAt: string; /** * The DNS domain name of the S3 Multi-Region Access Point in the format _`alias`_.accesspoint.s3-global.amazonaws.com. For more information, see the documentation on [Multi-Region Access Point Requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRequests.html). */ readonly domainName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * Public Access Block of the Multi-Region Access Point. Detailed below. */ readonly publicAccessBlocks: outputs.s3control.GetMultiRegionAccessPointPublicAccessBlock[]; /** * The name of the region. */ readonly region: string; /** * A collection of the regions and buckets associated with the Multi-Region Access Point. */ readonly regions: outputs.s3control.GetMultiRegionAccessPointRegion[]; /** * The current status of the Multi-Region Access Point. */ readonly status: string; } /** * Provides details on a specific S3 Multi-Region Access Point. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.s3control.getMultiRegionAccessPoint({ * name: "example", * }); * ``` */ export declare function getMultiRegionAccessPointOutput(args: GetMultiRegionAccessPointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMultiRegionAccessPointResult>; /** * A collection of arguments for invoking getMultiRegionAccessPoint. */ export interface GetMultiRegionAccessPointOutputArgs { /** * The AWS account ID of the S3 Multi-Region Access Point. Defaults to automatically determined account ID of the AWS provider. */ accountId?: pulumi.Input<string>; /** * The name of the Multi-Region Access Point. */ name: pulumi.Input<string>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input<string>; }