import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about an AWS S3 (Simple Storage) Bucket Object Lock Configuration. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.s3.getBucketObjectLockConfiguration({ * bucket: "example-bucket", * }); * ``` */ export declare function getBucketObjectLockConfiguration(args: GetBucketObjectLockConfigurationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBucketObjectLockConfiguration. */ export interface GetBucketObjectLockConfigurationArgs { /** * Name of the bucket. * * The following arguments are optional: */ bucket: string; /** * Account ID of the expected bucket owner. */ expectedBucketOwner?: 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 getBucketObjectLockConfiguration. */ export interface GetBucketObjectLockConfigurationResult { readonly bucket: string; readonly expectedBucketOwner?: string; /** * Whether this bucket has an Object Lock configuration enabled. */ readonly objectLockEnabled: string; readonly region: string; /** * Object lock rule for the specified object. See Rule below. */ readonly rules: outputs.s3.GetBucketObjectLockConfigurationRule[]; } /** * Provides details about an AWS S3 (Simple Storage) Bucket Object Lock Configuration. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.s3.getBucketObjectLockConfiguration({ * bucket: "example-bucket", * }); * ``` */ export declare function getBucketObjectLockConfigurationOutput(args: GetBucketObjectLockConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBucketObjectLockConfiguration. */ export interface GetBucketObjectLockConfigurationOutputArgs { /** * Name of the bucket. * * The following arguments are optional: */ bucket: pulumi.Input; /** * Account ID of the expected bucket owner. */ expectedBucketOwner?: pulumi.Input; /** * 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; } //# sourceMappingURL=getBucketObjectLockConfiguration.d.ts.map