import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as minio from "@pulumi/minio"; * * const stateTerraformS3 = new minio.S3Bucket("state_terraform_s3", { * bucket: "state-terraform-s3", * acl: "public", * }); * const txtFile = new minio.S3Object("txt_file", { * bucketName: stateTerraformS3.bucket, * objectName: "text.txt", * content: "Lorem ipsum dolor sit amet.", * contentType: "text/plain", * }, { * dependsOn: [stateTerraformS3], * }); * export const minioId = txtFile.id; * ``` */ export declare class S3Object extends pulumi.CustomResource { /** * Get an existing S3Object resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: S3ObjectState, opts?: pulumi.CustomResourceOptions): S3Object; /** * Returns true if the given object is an instance of S3Object. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is S3Object; readonly bucketName: pulumi.Output; readonly content: pulumi.Output; readonly contentBase64: pulumi.Output; readonly contentType: pulumi.Output; readonly etag: pulumi.Output; readonly objectName: pulumi.Output; readonly source: pulumi.Output; readonly versionId: pulumi.Output; /** * Create a S3Object resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: S3ObjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering S3Object resources. */ export interface S3ObjectState { bucketName?: pulumi.Input; content?: pulumi.Input; contentBase64?: pulumi.Input; contentType?: pulumi.Input; etag?: pulumi.Input; objectName?: pulumi.Input; source?: pulumi.Input; versionId?: pulumi.Input; } /** * The set of arguments for constructing a S3Object resource. */ export interface S3ObjectArgs { bucketName: pulumi.Input; content?: pulumi.Input; contentBase64?: pulumi.Input; contentType?: pulumi.Input; etag?: pulumi.Input; objectName: pulumi.Input; source?: pulumi.Input; versionId?: pulumi.Input; } //# sourceMappingURL=s3object.d.ts.map