pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +21 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2936 -2693
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +158 -0
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +272 -238
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3185 -2989
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +388 -0
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,45 +20,45 @@ __all__ = ['SpacesBucketObjectArgs', 'SpacesBucketObject']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class SpacesBucketObjectArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
bucket: pulumi.Input[str],
|
|
23
|
-
key: pulumi.Input[str],
|
|
24
|
-
region: pulumi.Input[str],
|
|
25
|
-
acl: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
cache_control: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
content: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
content_base64: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
content_disposition: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
content_encoding: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
content_language: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
etag: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
force_destroy: Optional[pulumi.Input[bool]] = None,
|
|
35
|
-
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
36
|
-
source: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
website_redirect: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
bucket: pulumi.Input[builtins.str],
|
|
24
|
+
key: pulumi.Input[builtins.str],
|
|
25
|
+
region: pulumi.Input[builtins.str],
|
|
26
|
+
acl: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
cache_control: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
content: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
content_base64: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
content_disposition: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
content_encoding: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
content_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
force_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
37
|
+
source: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
website_redirect: Optional[pulumi.Input[builtins.str]] = None):
|
|
38
39
|
"""
|
|
39
40
|
The set of arguments for constructing a SpacesBucketObject resource.
|
|
40
|
-
:param pulumi.Input[str] bucket: The name of the bucket to put the file in.
|
|
41
|
-
:param pulumi.Input[str] key: The name of the object once it is in the bucket.
|
|
42
|
-
:param pulumi.Input[str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
43
|
-
:param pulumi.Input[str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
44
|
-
:param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
45
|
-
:param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
46
|
-
:param pulumi.Input[str] content_base64: 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.
|
|
47
|
-
:param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
48
|
-
:param pulumi.Input[str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
49
|
-
:param pulumi.Input[str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
50
|
-
:param pulumi.Input[str] content_type: 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.
|
|
51
|
-
:param pulumi.Input[str] etag: Used to trigger updates.
|
|
52
|
-
:param pulumi.Input[bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
41
|
+
:param pulumi.Input[builtins.str] bucket: The name of the bucket to put the file in.
|
|
42
|
+
:param pulumi.Input[builtins.str] key: The name of the object once it is in the bucket.
|
|
43
|
+
:param pulumi.Input[builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
44
|
+
:param pulumi.Input[builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
45
|
+
:param pulumi.Input[builtins.str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
46
|
+
:param pulumi.Input[builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
47
|
+
:param pulumi.Input[builtins.str] content_base64: 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.
|
|
48
|
+
:param pulumi.Input[builtins.str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
49
|
+
:param pulumi.Input[builtins.str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
50
|
+
:param pulumi.Input[builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
51
|
+
:param pulumi.Input[builtins.str] content_type: 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.
|
|
52
|
+
:param pulumi.Input[builtins.str] etag: Used to trigger updates.
|
|
53
|
+
:param pulumi.Input[builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
53
54
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
54
55
|
|
|
55
56
|
If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
|
|
56
57
|
|
|
57
58
|
> **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
58
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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).
|
|
59
|
-
:param pulumi.Input[str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
60
|
-
:param pulumi.Input[str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
59
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] 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).
|
|
60
|
+
:param pulumi.Input[builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
61
|
+
:param pulumi.Input[builtins.str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
61
62
|
"""
|
|
62
63
|
pulumi.set(__self__, "bucket", bucket)
|
|
63
64
|
pulumi.set(__self__, "key", key)
|
|
@@ -91,151 +92,151 @@ class SpacesBucketObjectArgs:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def bucket(self) -> pulumi.Input[str]:
|
|
95
|
+
def bucket(self) -> pulumi.Input[builtins.str]:
|
|
95
96
|
"""
|
|
96
97
|
The name of the bucket to put the file in.
|
|
97
98
|
"""
|
|
98
99
|
return pulumi.get(self, "bucket")
|
|
99
100
|
|
|
100
101
|
@bucket.setter
|
|
101
|
-
def bucket(self, value: pulumi.Input[str]):
|
|
102
|
+
def bucket(self, value: pulumi.Input[builtins.str]):
|
|
102
103
|
pulumi.set(self, "bucket", value)
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter
|
|
106
|
-
def key(self) -> pulumi.Input[str]:
|
|
107
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
107
108
|
"""
|
|
108
109
|
The name of the object once it is in the bucket.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "key")
|
|
111
112
|
|
|
112
113
|
@key.setter
|
|
113
|
-
def key(self, value: pulumi.Input[str]):
|
|
114
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
114
115
|
pulumi.set(self, "key", value)
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter
|
|
118
|
-
def region(self) -> pulumi.Input[str]:
|
|
119
|
+
def region(self) -> pulumi.Input[builtins.str]:
|
|
119
120
|
"""
|
|
120
121
|
The region where the bucket resides (Defaults to `nyc3`)
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "region")
|
|
123
124
|
|
|
124
125
|
@region.setter
|
|
125
|
-
def region(self, value: pulumi.Input[str]):
|
|
126
|
+
def region(self, value: pulumi.Input[builtins.str]):
|
|
126
127
|
pulumi.set(self, "region", value)
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter
|
|
130
|
-
def acl(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
def acl(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
131
132
|
"""
|
|
132
133
|
The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
133
134
|
"""
|
|
134
135
|
return pulumi.get(self, "acl")
|
|
135
136
|
|
|
136
137
|
@acl.setter
|
|
137
|
-
def acl(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
def acl(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
138
139
|
pulumi.set(self, "acl", value)
|
|
139
140
|
|
|
140
141
|
@property
|
|
141
142
|
@pulumi.getter(name="cacheControl")
|
|
142
|
-
def cache_control(self) -> Optional[pulumi.Input[str]]:
|
|
143
|
+
def cache_control(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
143
144
|
"""
|
|
144
145
|
Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
145
146
|
"""
|
|
146
147
|
return pulumi.get(self, "cache_control")
|
|
147
148
|
|
|
148
149
|
@cache_control.setter
|
|
149
|
-
def cache_control(self, value: Optional[pulumi.Input[str]]):
|
|
150
|
+
def cache_control(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
150
151
|
pulumi.set(self, "cache_control", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def content(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
+
def content(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
155
156
|
"""
|
|
156
157
|
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
157
158
|
"""
|
|
158
159
|
return pulumi.get(self, "content")
|
|
159
160
|
|
|
160
161
|
@content.setter
|
|
161
|
-
def content(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
+
def content(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
162
163
|
pulumi.set(self, "content", value)
|
|
163
164
|
|
|
164
165
|
@property
|
|
165
166
|
@pulumi.getter(name="contentBase64")
|
|
166
|
-
def content_base64(self) -> Optional[pulumi.Input[str]]:
|
|
167
|
+
def content_base64(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
167
168
|
"""
|
|
168
169
|
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.
|
|
169
170
|
"""
|
|
170
171
|
return pulumi.get(self, "content_base64")
|
|
171
172
|
|
|
172
173
|
@content_base64.setter
|
|
173
|
-
def content_base64(self, value: Optional[pulumi.Input[str]]):
|
|
174
|
+
def content_base64(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
174
175
|
pulumi.set(self, "content_base64", value)
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter(name="contentDisposition")
|
|
178
|
-
def content_disposition(self) -> Optional[pulumi.Input[str]]:
|
|
179
|
+
def content_disposition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
179
180
|
"""
|
|
180
181
|
Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
181
182
|
"""
|
|
182
183
|
return pulumi.get(self, "content_disposition")
|
|
183
184
|
|
|
184
185
|
@content_disposition.setter
|
|
185
|
-
def content_disposition(self, value: Optional[pulumi.Input[str]]):
|
|
186
|
+
def content_disposition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
186
187
|
pulumi.set(self, "content_disposition", value)
|
|
187
188
|
|
|
188
189
|
@property
|
|
189
190
|
@pulumi.getter(name="contentEncoding")
|
|
190
|
-
def content_encoding(self) -> Optional[pulumi.Input[str]]:
|
|
191
|
+
def content_encoding(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
191
192
|
"""
|
|
192
193
|
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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
193
194
|
"""
|
|
194
195
|
return pulumi.get(self, "content_encoding")
|
|
195
196
|
|
|
196
197
|
@content_encoding.setter
|
|
197
|
-
def content_encoding(self, value: Optional[pulumi.Input[str]]):
|
|
198
|
+
def content_encoding(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
198
199
|
pulumi.set(self, "content_encoding", value)
|
|
199
200
|
|
|
200
201
|
@property
|
|
201
202
|
@pulumi.getter(name="contentLanguage")
|
|
202
|
-
def content_language(self) -> Optional[pulumi.Input[str]]:
|
|
203
|
+
def content_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
203
204
|
"""
|
|
204
205
|
The language the content is in e.g. en-US or en-GB.
|
|
205
206
|
"""
|
|
206
207
|
return pulumi.get(self, "content_language")
|
|
207
208
|
|
|
208
209
|
@content_language.setter
|
|
209
|
-
def content_language(self, value: Optional[pulumi.Input[str]]):
|
|
210
|
+
def content_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
210
211
|
pulumi.set(self, "content_language", value)
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="contentType")
|
|
214
|
-
def content_type(self) -> Optional[pulumi.Input[str]]:
|
|
215
|
+
def content_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
215
216
|
"""
|
|
216
217
|
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.
|
|
217
218
|
"""
|
|
218
219
|
return pulumi.get(self, "content_type")
|
|
219
220
|
|
|
220
221
|
@content_type.setter
|
|
221
|
-
def content_type(self, value: Optional[pulumi.Input[str]]):
|
|
222
|
+
def content_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
222
223
|
pulumi.set(self, "content_type", value)
|
|
223
224
|
|
|
224
225
|
@property
|
|
225
226
|
@pulumi.getter
|
|
226
|
-
def etag(self) -> Optional[pulumi.Input[str]]:
|
|
227
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
227
228
|
"""
|
|
228
229
|
Used to trigger updates.
|
|
229
230
|
"""
|
|
230
231
|
return pulumi.get(self, "etag")
|
|
231
232
|
|
|
232
233
|
@etag.setter
|
|
233
|
-
def etag(self, value: Optional[pulumi.Input[str]]):
|
|
234
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
234
235
|
pulumi.set(self, "etag", value)
|
|
235
236
|
|
|
236
237
|
@property
|
|
237
238
|
@pulumi.getter(name="forceDestroy")
|
|
238
|
-
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
239
|
+
def force_destroy(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
239
240
|
"""
|
|
240
241
|
Allow the object to be deleted by removing any legal hold on any object version.
|
|
241
242
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
@@ -247,90 +248,90 @@ class SpacesBucketObjectArgs:
|
|
|
247
248
|
return pulumi.get(self, "force_destroy")
|
|
248
249
|
|
|
249
250
|
@force_destroy.setter
|
|
250
|
-
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
|
251
|
+
def force_destroy(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
251
252
|
pulumi.set(self, "force_destroy", value)
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter
|
|
255
|
-
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
256
|
+
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
256
257
|
"""
|
|
257
258
|
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).
|
|
258
259
|
"""
|
|
259
260
|
return pulumi.get(self, "metadata")
|
|
260
261
|
|
|
261
262
|
@metadata.setter
|
|
262
|
-
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
263
|
+
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
263
264
|
pulumi.set(self, "metadata", value)
|
|
264
265
|
|
|
265
266
|
@property
|
|
266
267
|
@pulumi.getter
|
|
267
|
-
def source(self) -> Optional[pulumi.Input[str]]:
|
|
268
|
+
def source(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
268
269
|
"""
|
|
269
270
|
The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
270
271
|
"""
|
|
271
272
|
return pulumi.get(self, "source")
|
|
272
273
|
|
|
273
274
|
@source.setter
|
|
274
|
-
def source(self, value: Optional[pulumi.Input[str]]):
|
|
275
|
+
def source(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
275
276
|
pulumi.set(self, "source", value)
|
|
276
277
|
|
|
277
278
|
@property
|
|
278
279
|
@pulumi.getter(name="websiteRedirect")
|
|
279
|
-
def website_redirect(self) -> Optional[pulumi.Input[str]]:
|
|
280
|
+
def website_redirect(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
280
281
|
"""
|
|
281
282
|
Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
282
283
|
"""
|
|
283
284
|
return pulumi.get(self, "website_redirect")
|
|
284
285
|
|
|
285
286
|
@website_redirect.setter
|
|
286
|
-
def website_redirect(self, value: Optional[pulumi.Input[str]]):
|
|
287
|
+
def website_redirect(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
287
288
|
pulumi.set(self, "website_redirect", value)
|
|
288
289
|
|
|
289
290
|
|
|
290
291
|
@pulumi.input_type
|
|
291
292
|
class _SpacesBucketObjectState:
|
|
292
293
|
def __init__(__self__, *,
|
|
293
|
-
acl: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
cache_control: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
content: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
content_base64: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
content_disposition: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
content_encoding: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
content_language: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
etag: Optional[pulumi.Input[str]] = None,
|
|
303
|
-
force_destroy: Optional[pulumi.Input[bool]] = None,
|
|
304
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
305
|
-
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
306
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
307
|
-
source: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
version_id: Optional[pulumi.Input[str]] = None,
|
|
309
|
-
website_redirect: Optional[pulumi.Input[str]] = None):
|
|
294
|
+
acl: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
|
+
bucket: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
cache_control: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
content: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
content_base64: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
|
+
content_disposition: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
content_encoding: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
content_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
|
304
|
+
force_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
305
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
307
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
308
|
+
source: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
|
+
version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
310
|
+
website_redirect: Optional[pulumi.Input[builtins.str]] = None):
|
|
310
311
|
"""
|
|
311
312
|
Input properties used for looking up and filtering SpacesBucketObject resources.
|
|
312
|
-
:param pulumi.Input[str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
313
|
-
:param pulumi.Input[str] bucket: The name of the bucket to put the file in.
|
|
314
|
-
:param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
315
|
-
:param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
316
|
-
:param pulumi.Input[str] content_base64: 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.
|
|
317
|
-
:param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
318
|
-
:param pulumi.Input[str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
319
|
-
:param pulumi.Input[str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
320
|
-
:param pulumi.Input[str] content_type: 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.
|
|
321
|
-
:param pulumi.Input[str] etag: Used to trigger updates.
|
|
322
|
-
:param pulumi.Input[bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
313
|
+
:param pulumi.Input[builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
314
|
+
:param pulumi.Input[builtins.str] bucket: The name of the bucket to put the file in.
|
|
315
|
+
:param pulumi.Input[builtins.str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
316
|
+
:param pulumi.Input[builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
317
|
+
:param pulumi.Input[builtins.str] content_base64: 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.
|
|
318
|
+
:param pulumi.Input[builtins.str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
319
|
+
:param pulumi.Input[builtins.str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
320
|
+
:param pulumi.Input[builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
321
|
+
:param pulumi.Input[builtins.str] content_type: 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.
|
|
322
|
+
:param pulumi.Input[builtins.str] etag: Used to trigger updates.
|
|
323
|
+
:param pulumi.Input[builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
323
324
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
324
325
|
|
|
325
326
|
If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
|
|
326
327
|
|
|
327
328
|
> **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
328
|
-
:param pulumi.Input[str] key: The name of the object once it is in the bucket.
|
|
329
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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).
|
|
330
|
-
:param pulumi.Input[str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
331
|
-
:param pulumi.Input[str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
332
|
-
:param pulumi.Input[str] version_id: A unique version ID value for the object, if bucket versioning is enabled.
|
|
333
|
-
:param pulumi.Input[str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
329
|
+
:param pulumi.Input[builtins.str] key: The name of the object once it is in the bucket.
|
|
330
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] 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).
|
|
331
|
+
:param pulumi.Input[builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
332
|
+
:param pulumi.Input[builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
333
|
+
:param pulumi.Input[builtins.str] version_id: A unique version ID value for the object, if bucket versioning is enabled.
|
|
334
|
+
:param pulumi.Input[builtins.str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
334
335
|
"""
|
|
335
336
|
if acl is not None:
|
|
336
337
|
pulumi.set(__self__, "acl", acl)
|
|
@@ -369,127 +370,127 @@ class _SpacesBucketObjectState:
|
|
|
369
370
|
|
|
370
371
|
@property
|
|
371
372
|
@pulumi.getter
|
|
372
|
-
def acl(self) -> Optional[pulumi.Input[str]]:
|
|
373
|
+
def acl(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
373
374
|
"""
|
|
374
375
|
The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
375
376
|
"""
|
|
376
377
|
return pulumi.get(self, "acl")
|
|
377
378
|
|
|
378
379
|
@acl.setter
|
|
379
|
-
def acl(self, value: Optional[pulumi.Input[str]]):
|
|
380
|
+
def acl(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
380
381
|
pulumi.set(self, "acl", value)
|
|
381
382
|
|
|
382
383
|
@property
|
|
383
384
|
@pulumi.getter
|
|
384
|
-
def bucket(self) -> Optional[pulumi.Input[str]]:
|
|
385
|
+
def bucket(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
385
386
|
"""
|
|
386
387
|
The name of the bucket to put the file in.
|
|
387
388
|
"""
|
|
388
389
|
return pulumi.get(self, "bucket")
|
|
389
390
|
|
|
390
391
|
@bucket.setter
|
|
391
|
-
def bucket(self, value: Optional[pulumi.Input[str]]):
|
|
392
|
+
def bucket(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
392
393
|
pulumi.set(self, "bucket", value)
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter(name="cacheControl")
|
|
396
|
-
def cache_control(self) -> Optional[pulumi.Input[str]]:
|
|
397
|
+
def cache_control(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
397
398
|
"""
|
|
398
399
|
Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
399
400
|
"""
|
|
400
401
|
return pulumi.get(self, "cache_control")
|
|
401
402
|
|
|
402
403
|
@cache_control.setter
|
|
403
|
-
def cache_control(self, value: Optional[pulumi.Input[str]]):
|
|
404
|
+
def cache_control(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
404
405
|
pulumi.set(self, "cache_control", value)
|
|
405
406
|
|
|
406
407
|
@property
|
|
407
408
|
@pulumi.getter
|
|
408
|
-
def content(self) -> Optional[pulumi.Input[str]]:
|
|
409
|
+
def content(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
409
410
|
"""
|
|
410
411
|
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
411
412
|
"""
|
|
412
413
|
return pulumi.get(self, "content")
|
|
413
414
|
|
|
414
415
|
@content.setter
|
|
415
|
-
def content(self, value: Optional[pulumi.Input[str]]):
|
|
416
|
+
def content(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
416
417
|
pulumi.set(self, "content", value)
|
|
417
418
|
|
|
418
419
|
@property
|
|
419
420
|
@pulumi.getter(name="contentBase64")
|
|
420
|
-
def content_base64(self) -> Optional[pulumi.Input[str]]:
|
|
421
|
+
def content_base64(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
421
422
|
"""
|
|
422
423
|
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.
|
|
423
424
|
"""
|
|
424
425
|
return pulumi.get(self, "content_base64")
|
|
425
426
|
|
|
426
427
|
@content_base64.setter
|
|
427
|
-
def content_base64(self, value: Optional[pulumi.Input[str]]):
|
|
428
|
+
def content_base64(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
428
429
|
pulumi.set(self, "content_base64", value)
|
|
429
430
|
|
|
430
431
|
@property
|
|
431
432
|
@pulumi.getter(name="contentDisposition")
|
|
432
|
-
def content_disposition(self) -> Optional[pulumi.Input[str]]:
|
|
433
|
+
def content_disposition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
433
434
|
"""
|
|
434
435
|
Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
435
436
|
"""
|
|
436
437
|
return pulumi.get(self, "content_disposition")
|
|
437
438
|
|
|
438
439
|
@content_disposition.setter
|
|
439
|
-
def content_disposition(self, value: Optional[pulumi.Input[str]]):
|
|
440
|
+
def content_disposition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
440
441
|
pulumi.set(self, "content_disposition", value)
|
|
441
442
|
|
|
442
443
|
@property
|
|
443
444
|
@pulumi.getter(name="contentEncoding")
|
|
444
|
-
def content_encoding(self) -> Optional[pulumi.Input[str]]:
|
|
445
|
+
def content_encoding(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
445
446
|
"""
|
|
446
447
|
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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
447
448
|
"""
|
|
448
449
|
return pulumi.get(self, "content_encoding")
|
|
449
450
|
|
|
450
451
|
@content_encoding.setter
|
|
451
|
-
def content_encoding(self, value: Optional[pulumi.Input[str]]):
|
|
452
|
+
def content_encoding(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
452
453
|
pulumi.set(self, "content_encoding", value)
|
|
453
454
|
|
|
454
455
|
@property
|
|
455
456
|
@pulumi.getter(name="contentLanguage")
|
|
456
|
-
def content_language(self) -> Optional[pulumi.Input[str]]:
|
|
457
|
+
def content_language(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
457
458
|
"""
|
|
458
459
|
The language the content is in e.g. en-US or en-GB.
|
|
459
460
|
"""
|
|
460
461
|
return pulumi.get(self, "content_language")
|
|
461
462
|
|
|
462
463
|
@content_language.setter
|
|
463
|
-
def content_language(self, value: Optional[pulumi.Input[str]]):
|
|
464
|
+
def content_language(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
464
465
|
pulumi.set(self, "content_language", value)
|
|
465
466
|
|
|
466
467
|
@property
|
|
467
468
|
@pulumi.getter(name="contentType")
|
|
468
|
-
def content_type(self) -> Optional[pulumi.Input[str]]:
|
|
469
|
+
def content_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
469
470
|
"""
|
|
470
471
|
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.
|
|
471
472
|
"""
|
|
472
473
|
return pulumi.get(self, "content_type")
|
|
473
474
|
|
|
474
475
|
@content_type.setter
|
|
475
|
-
def content_type(self, value: Optional[pulumi.Input[str]]):
|
|
476
|
+
def content_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
476
477
|
pulumi.set(self, "content_type", value)
|
|
477
478
|
|
|
478
479
|
@property
|
|
479
480
|
@pulumi.getter
|
|
480
|
-
def etag(self) -> Optional[pulumi.Input[str]]:
|
|
481
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
481
482
|
"""
|
|
482
483
|
Used to trigger updates.
|
|
483
484
|
"""
|
|
484
485
|
return pulumi.get(self, "etag")
|
|
485
486
|
|
|
486
487
|
@etag.setter
|
|
487
|
-
def etag(self, value: Optional[pulumi.Input[str]]):
|
|
488
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
488
489
|
pulumi.set(self, "etag", value)
|
|
489
490
|
|
|
490
491
|
@property
|
|
491
492
|
@pulumi.getter(name="forceDestroy")
|
|
492
|
-
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
493
|
+
def force_destroy(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
493
494
|
"""
|
|
494
495
|
Allow the object to be deleted by removing any legal hold on any object version.
|
|
495
496
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
@@ -501,79 +502,79 @@ class _SpacesBucketObjectState:
|
|
|
501
502
|
return pulumi.get(self, "force_destroy")
|
|
502
503
|
|
|
503
504
|
@force_destroy.setter
|
|
504
|
-
def force_destroy(self, value: Optional[pulumi.Input[bool]]):
|
|
505
|
+
def force_destroy(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
505
506
|
pulumi.set(self, "force_destroy", value)
|
|
506
507
|
|
|
507
508
|
@property
|
|
508
509
|
@pulumi.getter
|
|
509
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
510
|
+
def key(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
510
511
|
"""
|
|
511
512
|
The name of the object once it is in the bucket.
|
|
512
513
|
"""
|
|
513
514
|
return pulumi.get(self, "key")
|
|
514
515
|
|
|
515
516
|
@key.setter
|
|
516
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
517
|
+
def key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
517
518
|
pulumi.set(self, "key", value)
|
|
518
519
|
|
|
519
520
|
@property
|
|
520
521
|
@pulumi.getter
|
|
521
|
-
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
522
|
+
def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
522
523
|
"""
|
|
523
524
|
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).
|
|
524
525
|
"""
|
|
525
526
|
return pulumi.get(self, "metadata")
|
|
526
527
|
|
|
527
528
|
@metadata.setter
|
|
528
|
-
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
529
|
+
def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
529
530
|
pulumi.set(self, "metadata", value)
|
|
530
531
|
|
|
531
532
|
@property
|
|
532
533
|
@pulumi.getter
|
|
533
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
534
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
534
535
|
"""
|
|
535
536
|
The region where the bucket resides (Defaults to `nyc3`)
|
|
536
537
|
"""
|
|
537
538
|
return pulumi.get(self, "region")
|
|
538
539
|
|
|
539
540
|
@region.setter
|
|
540
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
541
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
541
542
|
pulumi.set(self, "region", value)
|
|
542
543
|
|
|
543
544
|
@property
|
|
544
545
|
@pulumi.getter
|
|
545
|
-
def source(self) -> Optional[pulumi.Input[str]]:
|
|
546
|
+
def source(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
546
547
|
"""
|
|
547
548
|
The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
548
549
|
"""
|
|
549
550
|
return pulumi.get(self, "source")
|
|
550
551
|
|
|
551
552
|
@source.setter
|
|
552
|
-
def source(self, value: Optional[pulumi.Input[str]]):
|
|
553
|
+
def source(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
553
554
|
pulumi.set(self, "source", value)
|
|
554
555
|
|
|
555
556
|
@property
|
|
556
557
|
@pulumi.getter(name="versionId")
|
|
557
|
-
def version_id(self) -> Optional[pulumi.Input[str]]:
|
|
558
|
+
def version_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
558
559
|
"""
|
|
559
560
|
A unique version ID value for the object, if bucket versioning is enabled.
|
|
560
561
|
"""
|
|
561
562
|
return pulumi.get(self, "version_id")
|
|
562
563
|
|
|
563
564
|
@version_id.setter
|
|
564
|
-
def version_id(self, value: Optional[pulumi.Input[str]]):
|
|
565
|
+
def version_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
565
566
|
pulumi.set(self, "version_id", value)
|
|
566
567
|
|
|
567
568
|
@property
|
|
568
569
|
@pulumi.getter(name="websiteRedirect")
|
|
569
|
-
def website_redirect(self) -> Optional[pulumi.Input[str]]:
|
|
570
|
+
def website_redirect(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
570
571
|
"""
|
|
571
572
|
Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
572
573
|
"""
|
|
573
574
|
return pulumi.get(self, "website_redirect")
|
|
574
575
|
|
|
575
576
|
@website_redirect.setter
|
|
576
|
-
def website_redirect(self, value: Optional[pulumi.Input[str]]):
|
|
577
|
+
def website_redirect(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
577
578
|
pulumi.set(self, "website_redirect", value)
|
|
578
579
|
|
|
579
580
|
|
|
@@ -582,22 +583,22 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
582
583
|
def __init__(__self__,
|
|
583
584
|
resource_name: str,
|
|
584
585
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
585
|
-
acl: Optional[pulumi.Input[str]] = None,
|
|
586
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
|
587
|
-
cache_control: Optional[pulumi.Input[str]] = None,
|
|
588
|
-
content: Optional[pulumi.Input[str]] = None,
|
|
589
|
-
content_base64: Optional[pulumi.Input[str]] = None,
|
|
590
|
-
content_disposition: Optional[pulumi.Input[str]] = None,
|
|
591
|
-
content_encoding: Optional[pulumi.Input[str]] = None,
|
|
592
|
-
content_language: Optional[pulumi.Input[str]] = None,
|
|
593
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
|
594
|
-
etag: Optional[pulumi.Input[str]] = None,
|
|
595
|
-
force_destroy: Optional[pulumi.Input[bool]] = None,
|
|
596
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
597
|
-
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
598
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
599
|
-
source: Optional[pulumi.Input[str]] = None,
|
|
600
|
-
website_redirect: Optional[pulumi.Input[str]] = None,
|
|
586
|
+
acl: Optional[pulumi.Input[builtins.str]] = None,
|
|
587
|
+
bucket: Optional[pulumi.Input[builtins.str]] = None,
|
|
588
|
+
cache_control: Optional[pulumi.Input[builtins.str]] = None,
|
|
589
|
+
content: Optional[pulumi.Input[builtins.str]] = None,
|
|
590
|
+
content_base64: Optional[pulumi.Input[builtins.str]] = None,
|
|
591
|
+
content_disposition: Optional[pulumi.Input[builtins.str]] = None,
|
|
592
|
+
content_encoding: Optional[pulumi.Input[builtins.str]] = None,
|
|
593
|
+
content_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
594
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
595
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
|
596
|
+
force_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
597
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
598
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
599
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
600
|
+
source: Optional[pulumi.Input[builtins.str]] = None,
|
|
601
|
+
website_redirect: Optional[pulumi.Input[builtins.str]] = None,
|
|
601
602
|
__props__=None):
|
|
602
603
|
"""
|
|
603
604
|
Provides a bucket object resource for Spaces, DigitalOcean's object storage product.
|
|
@@ -650,27 +651,27 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
650
651
|
|
|
651
652
|
:param str resource_name: The name of the resource.
|
|
652
653
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
653
|
-
:param pulumi.Input[str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
654
|
-
:param pulumi.Input[str] bucket: The name of the bucket to put the file in.
|
|
655
|
-
:param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
656
|
-
:param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
657
|
-
:param pulumi.Input[str] content_base64: 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.
|
|
658
|
-
:param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
659
|
-
:param pulumi.Input[str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
660
|
-
:param pulumi.Input[str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
661
|
-
:param pulumi.Input[str] content_type: 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.
|
|
662
|
-
:param pulumi.Input[str] etag: Used to trigger updates.
|
|
663
|
-
:param pulumi.Input[bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
654
|
+
:param pulumi.Input[builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
655
|
+
:param pulumi.Input[builtins.str] bucket: The name of the bucket to put the file in.
|
|
656
|
+
:param pulumi.Input[builtins.str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
657
|
+
:param pulumi.Input[builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
658
|
+
:param pulumi.Input[builtins.str] content_base64: 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.
|
|
659
|
+
:param pulumi.Input[builtins.str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
660
|
+
:param pulumi.Input[builtins.str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
661
|
+
:param pulumi.Input[builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
662
|
+
:param pulumi.Input[builtins.str] content_type: 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.
|
|
663
|
+
:param pulumi.Input[builtins.str] etag: Used to trigger updates.
|
|
664
|
+
:param pulumi.Input[builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
664
665
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
665
666
|
|
|
666
667
|
If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
|
|
667
668
|
|
|
668
669
|
> **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
669
|
-
:param pulumi.Input[str] key: The name of the object once it is in the bucket.
|
|
670
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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).
|
|
671
|
-
:param pulumi.Input[str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
672
|
-
:param pulumi.Input[str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
673
|
-
:param pulumi.Input[str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
670
|
+
:param pulumi.Input[builtins.str] key: The name of the object once it is in the bucket.
|
|
671
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] 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).
|
|
672
|
+
:param pulumi.Input[builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
673
|
+
:param pulumi.Input[builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
674
|
+
:param pulumi.Input[builtins.str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
674
675
|
"""
|
|
675
676
|
...
|
|
676
677
|
@overload
|
|
@@ -742,22 +743,22 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
742
743
|
def _internal_init(__self__,
|
|
743
744
|
resource_name: str,
|
|
744
745
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
745
|
-
acl: Optional[pulumi.Input[str]] = None,
|
|
746
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
|
747
|
-
cache_control: Optional[pulumi.Input[str]] = None,
|
|
748
|
-
content: Optional[pulumi.Input[str]] = None,
|
|
749
|
-
content_base64: Optional[pulumi.Input[str]] = None,
|
|
750
|
-
content_disposition: Optional[pulumi.Input[str]] = None,
|
|
751
|
-
content_encoding: Optional[pulumi.Input[str]] = None,
|
|
752
|
-
content_language: Optional[pulumi.Input[str]] = None,
|
|
753
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
|
754
|
-
etag: Optional[pulumi.Input[str]] = None,
|
|
755
|
-
force_destroy: Optional[pulumi.Input[bool]] = None,
|
|
756
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
757
|
-
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
758
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
759
|
-
source: Optional[pulumi.Input[str]] = None,
|
|
760
|
-
website_redirect: Optional[pulumi.Input[str]] = None,
|
|
746
|
+
acl: Optional[pulumi.Input[builtins.str]] = None,
|
|
747
|
+
bucket: Optional[pulumi.Input[builtins.str]] = None,
|
|
748
|
+
cache_control: Optional[pulumi.Input[builtins.str]] = None,
|
|
749
|
+
content: Optional[pulumi.Input[builtins.str]] = None,
|
|
750
|
+
content_base64: Optional[pulumi.Input[builtins.str]] = None,
|
|
751
|
+
content_disposition: Optional[pulumi.Input[builtins.str]] = None,
|
|
752
|
+
content_encoding: Optional[pulumi.Input[builtins.str]] = None,
|
|
753
|
+
content_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
754
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
755
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
|
756
|
+
force_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
757
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
758
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
759
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
760
|
+
source: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
|
+
website_redirect: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
762
|
__props__=None):
|
|
762
763
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
763
764
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -800,23 +801,23 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
800
801
|
def get(resource_name: str,
|
|
801
802
|
id: pulumi.Input[str],
|
|
802
803
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
803
|
-
acl: Optional[pulumi.Input[str]] = None,
|
|
804
|
-
bucket: Optional[pulumi.Input[str]] = None,
|
|
805
|
-
cache_control: Optional[pulumi.Input[str]] = None,
|
|
806
|
-
content: Optional[pulumi.Input[str]] = None,
|
|
807
|
-
content_base64: Optional[pulumi.Input[str]] = None,
|
|
808
|
-
content_disposition: Optional[pulumi.Input[str]] = None,
|
|
809
|
-
content_encoding: Optional[pulumi.Input[str]] = None,
|
|
810
|
-
content_language: Optional[pulumi.Input[str]] = None,
|
|
811
|
-
content_type: Optional[pulumi.Input[str]] = None,
|
|
812
|
-
etag: Optional[pulumi.Input[str]] = None,
|
|
813
|
-
force_destroy: Optional[pulumi.Input[bool]] = None,
|
|
814
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
815
|
-
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
816
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
817
|
-
source: Optional[pulumi.Input[str]] = None,
|
|
818
|
-
version_id: Optional[pulumi.Input[str]] = None,
|
|
819
|
-
website_redirect: Optional[pulumi.Input[str]] = None) -> 'SpacesBucketObject':
|
|
804
|
+
acl: Optional[pulumi.Input[builtins.str]] = None,
|
|
805
|
+
bucket: Optional[pulumi.Input[builtins.str]] = None,
|
|
806
|
+
cache_control: Optional[pulumi.Input[builtins.str]] = None,
|
|
807
|
+
content: Optional[pulumi.Input[builtins.str]] = None,
|
|
808
|
+
content_base64: Optional[pulumi.Input[builtins.str]] = None,
|
|
809
|
+
content_disposition: Optional[pulumi.Input[builtins.str]] = None,
|
|
810
|
+
content_encoding: Optional[pulumi.Input[builtins.str]] = None,
|
|
811
|
+
content_language: Optional[pulumi.Input[builtins.str]] = None,
|
|
812
|
+
content_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
813
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
|
814
|
+
force_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
815
|
+
key: Optional[pulumi.Input[builtins.str]] = None,
|
|
816
|
+
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
817
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
818
|
+
source: Optional[pulumi.Input[builtins.str]] = None,
|
|
819
|
+
version_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
820
|
+
website_redirect: Optional[pulumi.Input[builtins.str]] = None) -> 'SpacesBucketObject':
|
|
820
821
|
"""
|
|
821
822
|
Get an existing SpacesBucketObject resource's state with the given name, id, and optional extra
|
|
822
823
|
properties used to qualify the lookup.
|
|
@@ -824,28 +825,28 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
824
825
|
:param str resource_name: The unique name of the resulting resource.
|
|
825
826
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
826
827
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
827
|
-
:param pulumi.Input[str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
828
|
-
:param pulumi.Input[str] bucket: The name of the bucket to put the file in.
|
|
829
|
-
:param pulumi.Input[str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
830
|
-
:param pulumi.Input[str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
831
|
-
:param pulumi.Input[str] content_base64: 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.
|
|
832
|
-
:param pulumi.Input[str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
833
|
-
:param pulumi.Input[str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
834
|
-
:param pulumi.Input[str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
835
|
-
:param pulumi.Input[str] content_type: 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.
|
|
836
|
-
:param pulumi.Input[str] etag: Used to trigger updates.
|
|
837
|
-
:param pulumi.Input[bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
828
|
+
:param pulumi.Input[builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
829
|
+
:param pulumi.Input[builtins.str] bucket: The name of the bucket to put the file in.
|
|
830
|
+
:param pulumi.Input[builtins.str] cache_control: Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
831
|
+
:param pulumi.Input[builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
832
|
+
:param pulumi.Input[builtins.str] content_base64: 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.
|
|
833
|
+
:param pulumi.Input[builtins.str] content_disposition: Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
834
|
+
:param pulumi.Input[builtins.str] content_encoding: 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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
835
|
+
:param pulumi.Input[builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
|
|
836
|
+
:param pulumi.Input[builtins.str] content_type: 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.
|
|
837
|
+
:param pulumi.Input[builtins.str] etag: Used to trigger updates.
|
|
838
|
+
:param pulumi.Input[builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
|
|
838
839
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
839
840
|
|
|
840
841
|
If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
|
|
841
842
|
|
|
842
843
|
> **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
843
|
-
:param pulumi.Input[str] key: The name of the object once it is in the bucket.
|
|
844
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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).
|
|
845
|
-
:param pulumi.Input[str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
846
|
-
:param pulumi.Input[str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
847
|
-
:param pulumi.Input[str] version_id: A unique version ID value for the object, if bucket versioning is enabled.
|
|
848
|
-
:param pulumi.Input[str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
844
|
+
:param pulumi.Input[builtins.str] key: The name of the object once it is in the bucket.
|
|
845
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] 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).
|
|
846
|
+
:param pulumi.Input[builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
|
|
847
|
+
:param pulumi.Input[builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
848
|
+
:param pulumi.Input[builtins.str] version_id: A unique version ID value for the object, if bucket versioning is enabled.
|
|
849
|
+
:param pulumi.Input[builtins.str] website_redirect: Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
849
850
|
"""
|
|
850
851
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
851
852
|
|
|
@@ -872,7 +873,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
872
873
|
|
|
873
874
|
@property
|
|
874
875
|
@pulumi.getter
|
|
875
|
-
def acl(self) -> pulumi.Output[Optional[str]]:
|
|
876
|
+
def acl(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
876
877
|
"""
|
|
877
878
|
The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
|
|
878
879
|
"""
|
|
@@ -880,7 +881,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
880
881
|
|
|
881
882
|
@property
|
|
882
883
|
@pulumi.getter
|
|
883
|
-
def bucket(self) -> pulumi.Output[str]:
|
|
884
|
+
def bucket(self) -> pulumi.Output[builtins.str]:
|
|
884
885
|
"""
|
|
885
886
|
The name of the bucket to put the file in.
|
|
886
887
|
"""
|
|
@@ -888,7 +889,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
888
889
|
|
|
889
890
|
@property
|
|
890
891
|
@pulumi.getter(name="cacheControl")
|
|
891
|
-
def cache_control(self) -> pulumi.Output[Optional[str]]:
|
|
892
|
+
def cache_control(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
892
893
|
"""
|
|
893
894
|
Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
|
|
894
895
|
"""
|
|
@@ -896,7 +897,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
896
897
|
|
|
897
898
|
@property
|
|
898
899
|
@pulumi.getter
|
|
899
|
-
def content(self) -> pulumi.Output[Optional[str]]:
|
|
900
|
+
def content(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
900
901
|
"""
|
|
901
902
|
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
902
903
|
"""
|
|
@@ -904,7 +905,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
904
905
|
|
|
905
906
|
@property
|
|
906
907
|
@pulumi.getter(name="contentBase64")
|
|
907
|
-
def content_base64(self) -> pulumi.Output[Optional[str]]:
|
|
908
|
+
def content_base64(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
908
909
|
"""
|
|
909
910
|
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.
|
|
910
911
|
"""
|
|
@@ -912,7 +913,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
912
913
|
|
|
913
914
|
@property
|
|
914
915
|
@pulumi.getter(name="contentDisposition")
|
|
915
|
-
def content_disposition(self) -> pulumi.Output[Optional[str]]:
|
|
916
|
+
def content_disposition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
916
917
|
"""
|
|
917
918
|
Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
|
|
918
919
|
"""
|
|
@@ -920,7 +921,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
920
921
|
|
|
921
922
|
@property
|
|
922
923
|
@pulumi.getter(name="contentEncoding")
|
|
923
|
-
def content_encoding(self) -> pulumi.Output[Optional[str]]:
|
|
924
|
+
def content_encoding(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
924
925
|
"""
|
|
925
926
|
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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
|
|
926
927
|
"""
|
|
@@ -928,7 +929,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
928
929
|
|
|
929
930
|
@property
|
|
930
931
|
@pulumi.getter(name="contentLanguage")
|
|
931
|
-
def content_language(self) -> pulumi.Output[Optional[str]]:
|
|
932
|
+
def content_language(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
932
933
|
"""
|
|
933
934
|
The language the content is in e.g. en-US or en-GB.
|
|
934
935
|
"""
|
|
@@ -936,7 +937,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
936
937
|
|
|
937
938
|
@property
|
|
938
939
|
@pulumi.getter(name="contentType")
|
|
939
|
-
def content_type(self) -> pulumi.Output[str]:
|
|
940
|
+
def content_type(self) -> pulumi.Output[builtins.str]:
|
|
940
941
|
"""
|
|
941
942
|
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.
|
|
942
943
|
"""
|
|
@@ -944,7 +945,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
944
945
|
|
|
945
946
|
@property
|
|
946
947
|
@pulumi.getter
|
|
947
|
-
def etag(self) -> pulumi.Output[str]:
|
|
948
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
|
948
949
|
"""
|
|
949
950
|
Used to trigger updates.
|
|
950
951
|
"""
|
|
@@ -952,7 +953,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
952
953
|
|
|
953
954
|
@property
|
|
954
955
|
@pulumi.getter(name="forceDestroy")
|
|
955
|
-
def force_destroy(self) -> pulumi.Output[Optional[bool]]:
|
|
956
|
+
def force_destroy(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
956
957
|
"""
|
|
957
958
|
Allow the object to be deleted by removing any legal hold on any object version.
|
|
958
959
|
Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
@@ -965,7 +966,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
965
966
|
|
|
966
967
|
@property
|
|
967
968
|
@pulumi.getter
|
|
968
|
-
def key(self) -> pulumi.Output[str]:
|
|
969
|
+
def key(self) -> pulumi.Output[builtins.str]:
|
|
969
970
|
"""
|
|
970
971
|
The name of the object once it is in the bucket.
|
|
971
972
|
"""
|
|
@@ -973,7 +974,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
973
974
|
|
|
974
975
|
@property
|
|
975
976
|
@pulumi.getter
|
|
976
|
-
def metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
977
|
+
def metadata(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
977
978
|
"""
|
|
978
979
|
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).
|
|
979
980
|
"""
|
|
@@ -981,7 +982,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
981
982
|
|
|
982
983
|
@property
|
|
983
984
|
@pulumi.getter
|
|
984
|
-
def region(self) -> pulumi.Output[str]:
|
|
985
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
|
985
986
|
"""
|
|
986
987
|
The region where the bucket resides (Defaults to `nyc3`)
|
|
987
988
|
"""
|
|
@@ -989,7 +990,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
989
990
|
|
|
990
991
|
@property
|
|
991
992
|
@pulumi.getter
|
|
992
|
-
def source(self) -> pulumi.Output[Optional[str]]:
|
|
993
|
+
def source(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
993
994
|
"""
|
|
994
995
|
The path to a file that will be read and uploaded as raw bytes for the object content.
|
|
995
996
|
"""
|
|
@@ -997,7 +998,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
997
998
|
|
|
998
999
|
@property
|
|
999
1000
|
@pulumi.getter(name="versionId")
|
|
1000
|
-
def version_id(self) -> pulumi.Output[str]:
|
|
1001
|
+
def version_id(self) -> pulumi.Output[builtins.str]:
|
|
1001
1002
|
"""
|
|
1002
1003
|
A unique version ID value for the object, if bucket versioning is enabled.
|
|
1003
1004
|
"""
|
|
@@ -1005,7 +1006,7 @@ class SpacesBucketObject(pulumi.CustomResource):
|
|
|
1005
1006
|
|
|
1006
1007
|
@property
|
|
1007
1008
|
@pulumi.getter(name="websiteRedirect")
|
|
1008
|
-
def website_redirect(self) -> pulumi.Output[Optional[str]]:
|
|
1009
|
+
def website_redirect(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1009
1010
|
"""
|
|
1010
1011
|
Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
|
|
1011
1012
|
"""
|