flexibleengine.S3BucketObject
Explore with Pulumi AI
Provides a S3 bucket object resource.
Example Usage
Server Side Encryption with S3 Default Master Key
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const examplebucket = new flexibleengine.S3Bucket("examplebucket", {
bucket: "examplebuckettftest",
acl: "private",
});
const examplebucketObject = new flexibleengine.S3BucketObject("examplebucketObject", {
key: "someobject",
bucket: examplebucket.bucket,
source: "index.html",
serverSideEncryption: "aws:kms",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
examplebucket = flexibleengine.S3Bucket("examplebucket",
bucket="examplebuckettftest",
acl="private")
examplebucket_object = flexibleengine.S3BucketObject("examplebucketObject",
key="someobject",
bucket=examplebucket.bucket,
source="index.html",
server_side_encryption="aws:kms")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
examplebucket, err := flexibleengine.NewS3Bucket(ctx, "examplebucket", &flexibleengine.S3BucketArgs{
Bucket: pulumi.String("examplebuckettftest"),
Acl: pulumi.String("private"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewS3BucketObject(ctx, "examplebucketObject", &flexibleengine.S3BucketObjectArgs{
Key: pulumi.String("someobject"),
Bucket: examplebucket.Bucket,
Source: pulumi.String("index.html"),
ServerSideEncryption: pulumi.String("aws:kms"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var examplebucket = new Flexibleengine.S3Bucket("examplebucket", new()
{
Bucket = "examplebuckettftest",
Acl = "private",
});
var examplebucketObject = new Flexibleengine.S3BucketObject("examplebucketObject", new()
{
Key = "someobject",
Bucket = examplebucket.Bucket,
Source = "index.html",
ServerSideEncryption = "aws:kms",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.S3Bucket;
import com.pulumi.flexibleengine.S3BucketArgs;
import com.pulumi.flexibleengine.S3BucketObject;
import com.pulumi.flexibleengine.S3BucketObjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var examplebucket = new S3Bucket("examplebucket", S3BucketArgs.builder()
.bucket("examplebuckettftest")
.acl("private")
.build());
var examplebucketObject = new S3BucketObject("examplebucketObject", S3BucketObjectArgs.builder()
.key("someobject")
.bucket(examplebucket.bucket())
.source("index.html")
.serverSideEncryption("aws:kms")
.build());
}
}
resources:
examplebucket:
type: flexibleengine:S3Bucket
properties:
bucket: examplebuckettftest
acl: private
examplebucketObject:
type: flexibleengine:S3BucketObject
properties:
key: someobject
bucket: ${examplebucket.bucket}
source: index.html
serverSideEncryption: aws:kms
Create S3BucketObject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new S3BucketObject(name: string, args: S3BucketObjectArgs, opts?: CustomResourceOptions);
@overload
def S3BucketObject(resource_name: str,
args: S3BucketObjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def S3BucketObject(resource_name: str,
opts: Optional[ResourceOptions] = None,
key: Optional[str] = None,
bucket: Optional[str] = None,
content: Optional[str] = None,
acl: Optional[str] = None,
content_disposition: Optional[str] = None,
content_encoding: Optional[str] = None,
content_language: Optional[str] = None,
content_type: Optional[str] = None,
etag: Optional[str] = None,
cache_control: Optional[str] = None,
s3_bucket_object_id: Optional[str] = None,
server_side_encryption: Optional[str] = None,
source: Optional[str] = None,
website_redirect: Optional[str] = None)
func NewS3BucketObject(ctx *Context, name string, args S3BucketObjectArgs, opts ...ResourceOption) (*S3BucketObject, error)
public S3BucketObject(string name, S3BucketObjectArgs args, CustomResourceOptions? opts = null)
public S3BucketObject(String name, S3BucketObjectArgs args)
public S3BucketObject(String name, S3BucketObjectArgs args, CustomResourceOptions options)
type: flexibleengine:S3BucketObject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args S3BucketObjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args S3BucketObjectArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args S3BucketObjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args S3BucketObjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args S3BucketObjectArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var s3bucketObjectResource = new Flexibleengine.S3BucketObject("s3bucketObjectResource", new()
{
Key = "string",
Bucket = "string",
Content = "string",
Acl = "string",
ContentDisposition = "string",
ContentEncoding = "string",
ContentLanguage = "string",
ContentType = "string",
Etag = "string",
CacheControl = "string",
S3BucketObjectId = "string",
ServerSideEncryption = "string",
Source = "string",
WebsiteRedirect = "string",
});
example, err := flexibleengine.NewS3BucketObject(ctx, "s3bucketObjectResource", &flexibleengine.S3BucketObjectArgs{
Key: pulumi.String("string"),
Bucket: pulumi.String("string"),
Content: pulumi.String("string"),
Acl: pulumi.String("string"),
ContentDisposition: pulumi.String("string"),
ContentEncoding: pulumi.String("string"),
ContentLanguage: pulumi.String("string"),
ContentType: pulumi.String("string"),
Etag: pulumi.String("string"),
CacheControl: pulumi.String("string"),
S3BucketObjectId: pulumi.String("string"),
ServerSideEncryption: pulumi.String("string"),
Source: pulumi.String("string"),
WebsiteRedirect: pulumi.String("string"),
})
var s3bucketObjectResource = new S3BucketObject("s3bucketObjectResource", S3BucketObjectArgs.builder()
.key("string")
.bucket("string")
.content("string")
.acl("string")
.contentDisposition("string")
.contentEncoding("string")
.contentLanguage("string")
.contentType("string")
.etag("string")
.cacheControl("string")
.s3BucketObjectId("string")
.serverSideEncryption("string")
.source("string")
.websiteRedirect("string")
.build());
s3bucket_object_resource = flexibleengine.S3BucketObject("s3bucketObjectResource",
key="string",
bucket="string",
content="string",
acl="string",
content_disposition="string",
content_encoding="string",
content_language="string",
content_type="string",
etag="string",
cache_control="string",
s3_bucket_object_id="string",
server_side_encryption="string",
source="string",
website_redirect="string")
const s3bucketObjectResource = new flexibleengine.S3BucketObject("s3bucketObjectResource", {
key: "string",
bucket: "string",
content: "string",
acl: "string",
contentDisposition: "string",
contentEncoding: "string",
contentLanguage: "string",
contentType: "string",
etag: "string",
cacheControl: "string",
s3BucketObjectId: "string",
serverSideEncryption: "string",
source: "string",
websiteRedirect: "string",
});
type: flexibleengine:S3BucketObject
properties:
acl: string
bucket: string
cacheControl: string
content: string
contentDisposition: string
contentEncoding: string
contentLanguage: string
contentType: string
etag: string
key: string
s3BucketObjectId: string
serverSideEncryption: string
source: string
websiteRedirect: string
S3BucketObject Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The S3BucketObject resource accepts the following input properties:
- Bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- Key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- Acl string
- The canned ACL to apply. Defaults to "private".
- Cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- Content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - Content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- Content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- Content
Language string - The language the content is in e.g. en-US or en-GB.
- Content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- Etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - S3Bucket
Object stringId - the
key
of the resource supplied above. - Server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- Source string
- The path to the source file being uploaded to the bucket.
- Website
Redirect string - Specifies a target URL for website redirect.
- Bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- Key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- Acl string
- The canned ACL to apply. Defaults to "private".
- Cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- Content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - Content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- Content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- Content
Language string - The language the content is in e.g. en-US or en-GB.
- Content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- Etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - S3Bucket
Object stringId - the
key
of the resource supplied above. - Server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- Source string
- The path to the source file being uploaded to the bucket.
- Website
Redirect string - Specifies a target URL for website redirect.
- bucket String
- The name of the bucket to put the file in. Changing this will create a new resource.
- key String
- The name of the object once it is in the bucket. Changing this will create a new resource.
- acl String
- The canned ACL to apply. Defaults to "private".
- cache
Control String - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content String
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition String - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding String - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language String - The language the content is in e.g. en-US or en-GB.
- content
Type String - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag String
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - s3Bucket
Object StringId - the
key
of the resource supplied above. - server
Side StringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source String
- The path to the source file being uploaded to the bucket.
- website
Redirect String - Specifies a target URL for website redirect.
- bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- acl string
- The canned ACL to apply. Defaults to "private".
- cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language string - The language the content is in e.g. en-US or en-GB.
- content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - s3Bucket
Object stringId - the
key
of the resource supplied above. - server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source string
- The path to the source file being uploaded to the bucket.
- website
Redirect string - Specifies a target URL for website redirect.
- bucket str
- The name of the bucket to put the file in. Changing this will create a new resource.
- key str
- The name of the object once it is in the bucket. Changing this will create a new resource.
- acl str
- The canned ACL to apply. Defaults to "private".
- cache_
control str - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content str
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content_
disposition str - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content_
encoding str - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content_
language str - The language the content is in e.g. en-US or en-GB.
- content_
type str - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag str
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - s3_
bucket_ strobject_ id - the
key
of the resource supplied above. - server_
side_ strencryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source str
- The path to the source file being uploaded to the bucket.
- website_
redirect str - Specifies a target URL for website redirect.
- bucket String
- The name of the bucket to put the file in. Changing this will create a new resource.
- key String
- The name of the object once it is in the bucket. Changing this will create a new resource.
- acl String
- The canned ACL to apply. Defaults to "private".
- cache
Control String - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content String
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition String - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding String - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language String - The language the content is in e.g. en-US or en-GB.
- content
Type String - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag String
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - s3Bucket
Object StringId - the
key
of the resource supplied above. - server
Side StringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source String
- The path to the source file being uploaded to the bucket.
- website
Redirect String - Specifies a target URL for website redirect.
Outputs
All input properties are implicitly available as output properties. Additionally, the S3BucketObject resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str - A unique version ID value for the object, if bucket versioning is enabled.
Look up Existing S3BucketObject Resource
Get an existing S3BucketObject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: S3BucketObjectState, opts?: CustomResourceOptions): S3BucketObject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acl: Optional[str] = None,
bucket: Optional[str] = None,
cache_control: Optional[str] = None,
content: Optional[str] = None,
content_disposition: Optional[str] = None,
content_encoding: Optional[str] = None,
content_language: Optional[str] = None,
content_type: Optional[str] = None,
etag: Optional[str] = None,
key: Optional[str] = None,
s3_bucket_object_id: Optional[str] = None,
server_side_encryption: Optional[str] = None,
source: Optional[str] = None,
version_id: Optional[str] = None,
website_redirect: Optional[str] = None) -> S3BucketObject
func GetS3BucketObject(ctx *Context, name string, id IDInput, state *S3BucketObjectState, opts ...ResourceOption) (*S3BucketObject, error)
public static S3BucketObject Get(string name, Input<string> id, S3BucketObjectState? state, CustomResourceOptions? opts = null)
public static S3BucketObject get(String name, Output<String> id, S3BucketObjectState state, CustomResourceOptions options)
resources: _: type: flexibleengine:S3BucketObject get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acl string
- The canned ACL to apply. Defaults to "private".
- Bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- Cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- Content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - Content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- Content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- Content
Language string - The language the content is in e.g. en-US or en-GB.
- Content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- Etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - Key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- S3Bucket
Object stringId - the
key
of the resource supplied above. - Server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- Source string
- The path to the source file being uploaded to the bucket.
- Version
Id string - A unique version ID value for the object, if bucket versioning is enabled.
- Website
Redirect string - Specifies a target URL for website redirect.
- Acl string
- The canned ACL to apply. Defaults to "private".
- Bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- Cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- Content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - Content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- Content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- Content
Language string - The language the content is in e.g. en-US or en-GB.
- Content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- Etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - Key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- S3Bucket
Object stringId - the
key
of the resource supplied above. - Server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- Source string
- The path to the source file being uploaded to the bucket.
- Version
Id string - A unique version ID value for the object, if bucket versioning is enabled.
- Website
Redirect string - Specifies a target URL for website redirect.
- acl String
- The canned ACL to apply. Defaults to "private".
- bucket String
- The name of the bucket to put the file in. Changing this will create a new resource.
- cache
Control String - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content String
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition String - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding String - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language String - The language the content is in e.g. en-US or en-GB.
- content
Type String - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag String
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - key String
- The name of the object once it is in the bucket. Changing this will create a new resource.
- s3Bucket
Object StringId - the
key
of the resource supplied above. - server
Side StringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source String
- The path to the source file being uploaded to the bucket.
- version
Id String - A unique version ID value for the object, if bucket versioning is enabled.
- website
Redirect String - Specifies a target URL for website redirect.
- acl string
- The canned ACL to apply. Defaults to "private".
- bucket string
- The name of the bucket to put the file in. Changing this will create a new resource.
- cache
Control string - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content string
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition string - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding string - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language string - The language the content is in e.g. en-US or en-GB.
- content
Type string - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag string
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - key string
- The name of the object once it is in the bucket. Changing this will create a new resource.
- s3Bucket
Object stringId - the
key
of the resource supplied above. - server
Side stringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source string
- The path to the source file being uploaded to the bucket.
- version
Id string - A unique version ID value for the object, if bucket versioning is enabled.
- website
Redirect string - Specifies a target URL for website redirect.
- acl str
- The canned ACL to apply. Defaults to "private".
- bucket str
- The name of the bucket to put the file in. Changing this will create a new resource.
- cache_
control str - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content str
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content_
disposition str - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content_
encoding str - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content_
language str - The language the content is in e.g. en-US or en-GB.
- content_
type str - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag str
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - key str
- The name of the object once it is in the bucket. Changing this will create a new resource.
- s3_
bucket_ strobject_ id - the
key
of the resource supplied above. - server_
side_ strencryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source str
- The path to the source file being uploaded to the bucket.
- version_
id str - A unique version ID value for the object, if bucket versioning is enabled.
- website_
redirect str - Specifies a target URL for website redirect.
- acl String
- The canned ACL to apply. Defaults to "private".
- bucket String
- The name of the bucket to put the file in. Changing this will create a new resource.
- cache
Control String - Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
- content String
- The literal content being uploaded to the bucket. It is Optional if
source
given. - content
Disposition String - Specifies presentational information for the object. Read wc3 content_disposition for further information.
- content
Encoding String - Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
- content
Language String - The language the content is in e.g. en-US or en-GB.
- content
Type String - A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
- etag String
- Used to trigger updates. The only meaningful value is
${md5(file("path/to/file"))}
. This attribute is not compatible withkms_key_id
. - key String
- The name of the object once it is in the bucket. Changing this will create a new resource.
- s3Bucket
Object StringId - the
key
of the resource supplied above. - server
Side StringEncryption Specifies server-side encryption of the object in S3. Valid values are "
AES256
" and "aws:kms
".Either
source
orcontent
must be provided to specify the bucket content. These two arguments are mutually-exclusive.- source String
- The path to the source file being uploaded to the bucket.
- version
Id String - A unique version ID value for the object, if bucket versioning is enabled.
- website
Redirect String - Specifies a target URL for website redirect.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.