Show / Hide Table of Contents

Class SpacesBucketObject

Inheritance
System.Object
Resource
CustomResource
SpacesBucketObject
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public class SpacesBucketObject : CustomResource

Constructors

View Source

SpacesBucketObject(String, SpacesBucketObjectArgs, CustomResourceOptions)

Create a SpacesBucketObject resource with the given unique name, arguments, and options.

Declaration
public SpacesBucketObject(string name, SpacesBucketObjectArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SpacesBucketObjectArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Acl

The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)

Declaration
public Output<string> Acl { get; }
Property Value
Type Description
Output<System.String>
View Source

Bucket

The name of the bucket to put the file in.

Declaration
public Output<string> Bucket { get; }
Property Value
Type Description
Output<System.String>
View Source

CacheControl

Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.

Declaration
public Output<string> CacheControl { get; }
Property Value
Type Description
Output<System.String>
View Source

Content

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.

Declaration
public Output<string> Content { get; }
Property Value
Type Description
Output<System.String>
View Source

ContentBase64

Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64 function with small text strings. For larger objects, use source to stream the content from a disk file.

Declaration
public Output<string> ContentBase64 { get; }
Property Value
Type Description
Output<System.String>
View Source

ContentDisposition

Specifies presentational information for the object. Read w3c content_disposition for further information.

Declaration
public Output<string> ContentDisposition { get; }
Property Value
Type Description
Output<System.String>
View Source

ContentEncoding

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.

Declaration
public Output<string> ContentEncoding { get; }
Property Value
Type Description
Output<System.String>
View Source

ContentLanguage

The language the content is in e.g. en-US or en-GB.

Declaration
public Output<string> ContentLanguage { get; }
Property Value
Type Description
Output<System.String>
View Source

ContentType

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.

Declaration
public Output<string> ContentType { get; }
Property Value
Type Description
Output<System.String>
View Source

Etag

the ETag generated for the object (an MD5 sum of the object content). The hash is an MD5 digest of the object data. For objects created by either the Multipart Upload or Part Copy operation, the hash is not an MD5 digest. More information on possible values can be found on Common Response Headers.

Declaration
public Output<string> Etag { get; }
Property Value
Type Description
Output<System.String>
View Source

ForceDestroy

Allow the object to be deleted by removing any legal hold on any object version. Default is false. This value should be set to true only if the bucket has S3 object lock enabled.

Declaration
public Output<bool?> ForceDestroy { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Key

The name of the object once it is in the bucket.

Declaration
public Output<string> Key { get; }
Property Value
Type Description
Output<System.String>
View Source

Metadata

A mapping of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API).

Declaration
public Output<ImmutableDictionary<string, string>> Metadata { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Region

The region where the bucket resides (Defaults to nyc3)

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

Source

The path to a file that will be read and uploaded as raw bytes for the object content.

Declaration
public Output<string> Source { get; }
Property Value
Type Description
Output<System.String>
View Source

VersionId

A unique version ID value for the object, if bucket versioning is enabled.

Declaration
public Output<string> VersionId { get; }
Property Value
Type Description
Output<System.String>
View Source

WebsiteRedirect

Specifies a target URL for website redirect.

Declaration
public Output<string> WebsiteRedirect { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SpacesBucketObjectState, CustomResourceOptions)

Get an existing SpacesBucketObject resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SpacesBucketObject Get(string name, Input<string> id, SpacesBucketObjectState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SpacesBucketObjectState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SpacesBucketObject
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.