pulumi-digitalocean 4.40.0a1739511652__py3-none-any.whl → 4.56.0a1766428645__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.
Files changed (154) hide show
  1. pulumi_digitalocean/__init__.py +224 -1
  2. pulumi_digitalocean/_enums.py +19 -9
  3. pulumi_digitalocean/_inputs.py +17037 -4771
  4. pulumi_digitalocean/_utilities.py +1 -1
  5. pulumi_digitalocean/app.py +238 -88
  6. pulumi_digitalocean/byoip_prefix.py +452 -0
  7. pulumi_digitalocean/cdn.py +106 -105
  8. pulumi_digitalocean/certificate.py +139 -138
  9. pulumi_digitalocean/config/__init__.py +2 -1
  10. pulumi_digitalocean/config/__init__.pyi +2 -2
  11. pulumi_digitalocean/config/vars.py +11 -11
  12. pulumi_digitalocean/container_registries.py +285 -0
  13. pulumi_digitalocean/container_registry.py +90 -89
  14. pulumi_digitalocean/container_registry_docker_credentials.py +84 -83
  15. pulumi_digitalocean/custom_image.py +180 -179
  16. pulumi_digitalocean/database_cluster.py +402 -373
  17. pulumi_digitalocean/database_connection_pool.py +159 -158
  18. pulumi_digitalocean/database_db.py +37 -36
  19. pulumi_digitalocean/database_firewall.py +23 -22
  20. pulumi_digitalocean/database_kafka_config.py +309 -308
  21. pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
  22. pulumi_digitalocean/database_kafka_topic.py +83 -82
  23. pulumi_digitalocean/database_logsink_opensearch.py +680 -0
  24. pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
  25. pulumi_digitalocean/database_mongodb_config.py +105 -104
  26. pulumi_digitalocean/database_mysql_config.py +479 -478
  27. pulumi_digitalocean/database_online_migration.py +460 -0
  28. pulumi_digitalocean/database_opensearch_config.py +666 -665
  29. pulumi_digitalocean/database_postgresql_config.py +859 -858
  30. pulumi_digitalocean/database_redis_config.py +211 -206
  31. pulumi_digitalocean/database_replica.py +199 -198
  32. pulumi_digitalocean/database_user.py +93 -92
  33. pulumi_digitalocean/database_valkey_config.py +776 -0
  34. pulumi_digitalocean/dns_record.py +184 -183
  35. pulumi_digitalocean/domain.py +55 -54
  36. pulumi_digitalocean/droplet.py +403 -402
  37. pulumi_digitalocean/droplet_autoscale.py +55 -54
  38. pulumi_digitalocean/droplet_snapshot.py +73 -72
  39. pulumi_digitalocean/firewall.py +80 -79
  40. pulumi_digitalocean/floating_ip.py +63 -62
  41. pulumi_digitalocean/floating_ip_assignment.py +37 -36
  42. pulumi_digitalocean/genai_agent.py +1903 -0
  43. pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
  44. pulumi_digitalocean/genai_agent_route.py +354 -0
  45. pulumi_digitalocean/genai_function.py +464 -0
  46. pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
  47. pulumi_digitalocean/genai_knowledge_base.py +627 -0
  48. pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
  49. pulumi_digitalocean/genai_openai_api_key.py +386 -0
  50. pulumi_digitalocean/get_account.py +18 -18
  51. pulumi_digitalocean/get_app.py +28 -28
  52. pulumi_digitalocean/get_byoip_prefix.py +214 -0
  53. pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
  54. pulumi_digitalocean/get_certificate.py +22 -22
  55. pulumi_digitalocean/get_container_registries.py +151 -0
  56. pulumi_digitalocean/get_container_registry.py +22 -22
  57. pulumi_digitalocean/get_database_ca.py +12 -12
  58. pulumi_digitalocean/get_database_cluster.py +76 -62
  59. pulumi_digitalocean/get_database_connection_pool.py +36 -36
  60. pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
  61. pulumi_digitalocean/get_database_replica.py +46 -46
  62. pulumi_digitalocean/get_database_user.py +27 -27
  63. pulumi_digitalocean/get_domain.py +16 -16
  64. pulumi_digitalocean/get_domains.py +7 -7
  65. pulumi_digitalocean/get_droplet.py +72 -72
  66. pulumi_digitalocean/get_droplet_autoscale.py +23 -23
  67. pulumi_digitalocean/get_droplet_snapshot.py +38 -38
  68. pulumi_digitalocean/get_droplets.py +13 -13
  69. pulumi_digitalocean/get_firewall.py +31 -31
  70. pulumi_digitalocean/get_floating_ip.py +16 -16
  71. pulumi_digitalocean/get_genai_agent.py +572 -0
  72. pulumi_digitalocean/get_genai_agent_versions.py +128 -0
  73. pulumi_digitalocean/get_genai_agents.py +128 -0
  74. pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
  75. pulumi_digitalocean/get_genai_indexing_job.py +239 -0
  76. pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
  77. pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
  78. pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
  79. pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
  80. pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
  81. pulumi_digitalocean/get_genai_models.py +113 -0
  82. pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
  83. pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
  84. pulumi_digitalocean/get_genai_regions.py +113 -0
  85. pulumi_digitalocean/get_image.py +50 -50
  86. pulumi_digitalocean/get_images.py +7 -7
  87. pulumi_digitalocean/get_kubernetes_cluster.py +144 -53
  88. pulumi_digitalocean/get_kubernetes_versions.py +14 -14
  89. pulumi_digitalocean/get_load_balancer.py +70 -59
  90. pulumi_digitalocean/get_nfs.py +205 -0
  91. pulumi_digitalocean/get_nfs_snapshot.py +188 -0
  92. pulumi_digitalocean/get_partner_attachment.py +206 -0
  93. pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
  94. pulumi_digitalocean/get_project.py +32 -32
  95. pulumi_digitalocean/get_projects.py +7 -7
  96. pulumi_digitalocean/get_record.py +32 -32
  97. pulumi_digitalocean/get_records.py +13 -13
  98. pulumi_digitalocean/get_region.py +18 -18
  99. pulumi_digitalocean/get_regions.py +7 -7
  100. pulumi_digitalocean/get_reserved_ip.py +16 -16
  101. pulumi_digitalocean/get_reserved_ipv6.py +51 -16
  102. pulumi_digitalocean/get_sizes.py +141 -7
  103. pulumi_digitalocean/get_spaces_bucket.py +22 -22
  104. pulumi_digitalocean/get_spaces_bucket_object.py +58 -58
  105. pulumi_digitalocean/get_spaces_bucket_objects.py +46 -46
  106. pulumi_digitalocean/get_spaces_buckets.py +7 -7
  107. pulumi_digitalocean/get_spaces_key.py +157 -0
  108. pulumi_digitalocean/get_ssh_key.py +14 -14
  109. pulumi_digitalocean/get_ssh_keys.py +7 -7
  110. pulumi_digitalocean/get_tag.py +22 -22
  111. pulumi_digitalocean/get_tags.py +7 -7
  112. pulumi_digitalocean/get_volume.py +34 -34
  113. pulumi_digitalocean/get_volume_snapshot.py +40 -40
  114. pulumi_digitalocean/get_vpc.py +30 -30
  115. pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
  116. pulumi_digitalocean/get_vpc_peering.py +24 -24
  117. pulumi_digitalocean/kubernetes_cluster.py +572 -303
  118. pulumi_digitalocean/kubernetes_node_pool.py +170 -169
  119. pulumi_digitalocean/load_balancer.py +406 -372
  120. pulumi_digitalocean/monitor_alert.py +153 -156
  121. pulumi_digitalocean/nfs.py +481 -0
  122. pulumi_digitalocean/nfs_attachment.py +289 -0
  123. pulumi_digitalocean/nfs_snapshot.py +379 -0
  124. pulumi_digitalocean/outputs.py +26759 -7592
  125. pulumi_digitalocean/partner_attachment.py +555 -0
  126. pulumi_digitalocean/project.py +141 -140
  127. pulumi_digitalocean/project_resources.py +37 -36
  128. pulumi_digitalocean/provider.py +105 -84
  129. pulumi_digitalocean/pulumi-plugin.json +1 -1
  130. pulumi_digitalocean/reserved_ip.py +63 -62
  131. pulumi_digitalocean/reserved_ip_assignment.py +37 -36
  132. pulumi_digitalocean/reserved_ipv6.py +122 -62
  133. pulumi_digitalocean/reserved_ipv6_assignment.py +81 -30
  134. pulumi_digitalocean/spaces_bucket.py +107 -106
  135. pulumi_digitalocean/spaces_bucket_cors_configuration.py +40 -39
  136. pulumi_digitalocean/spaces_bucket_logging.py +346 -0
  137. pulumi_digitalocean/spaces_bucket_object.py +284 -283
  138. pulumi_digitalocean/spaces_bucket_policy.py +54 -53
  139. pulumi_digitalocean/spaces_key.py +388 -0
  140. pulumi_digitalocean/ssh_key.py +46 -45
  141. pulumi_digitalocean/tag.py +74 -73
  142. pulumi_digitalocean/uptime_alert.py +112 -111
  143. pulumi_digitalocean/uptime_check.py +90 -89
  144. pulumi_digitalocean/volume.py +183 -182
  145. pulumi_digitalocean/volume_attachment.py +37 -36
  146. pulumi_digitalocean/volume_snapshot.py +90 -89
  147. pulumi_digitalocean/vpc.py +100 -99
  148. pulumi_digitalocean/vpc_nat_gateway.py +722 -0
  149. pulumi_digitalocean/vpc_peering.py +55 -58
  150. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +4 -4
  151. pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
  152. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
  153. pulumi_digitalocean-4.40.0a1739511652.dist-info/RECORD +0 -108
  154. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,45 +19,45 @@ __all__ = ['SpacesBucketObjectArgs', 'SpacesBucketObject']
19
19
  @pulumi.input_type
20
20
  class SpacesBucketObjectArgs:
21
21
  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):
22
+ bucket: pulumi.Input[_builtins.str],
23
+ key: pulumi.Input[_builtins.str],
24
+ region: pulumi.Input[_builtins.str],
25
+ acl: Optional[pulumi.Input[_builtins.str]] = None,
26
+ cache_control: Optional[pulumi.Input[_builtins.str]] = None,
27
+ content: Optional[pulumi.Input[_builtins.str]] = None,
28
+ content_base64: Optional[pulumi.Input[_builtins.str]] = None,
29
+ content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
30
+ content_encoding: Optional[pulumi.Input[_builtins.str]] = None,
31
+ content_language: Optional[pulumi.Input[_builtins.str]] = None,
32
+ content_type: Optional[pulumi.Input[_builtins.str]] = None,
33
+ etag: Optional[pulumi.Input[_builtins.str]] = None,
34
+ force_destroy: Optional[pulumi.Input[_builtins.bool]] = None,
35
+ metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
36
+ source: Optional[pulumi.Input[_builtins.str]] = None,
37
+ website_redirect: Optional[pulumi.Input[_builtins.str]] = None):
38
38
  """
39
39
  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.
40
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket to put the file in.
41
+ :param pulumi.Input[_builtins.str] key: The name of the object once it is in the bucket.
42
+ :param pulumi.Input[_builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
43
+ :param pulumi.Input[_builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
44
+ :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.
45
+ :param pulumi.Input[_builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
46
+ :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.
47
+ :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.
48
+ :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.
49
+ :param pulumi.Input[_builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
50
+ :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.
51
+ :param pulumi.Input[_builtins.str] etag: Used to trigger updates.
52
+ :param pulumi.Input[_builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
53
53
  Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
54
54
 
55
55
  If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
56
56
 
57
57
  > **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).
58
+ :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).
59
+ :param pulumi.Input[_builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
60
+ :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
61
  """
62
62
  pulumi.set(__self__, "bucket", bucket)
63
63
  pulumi.set(__self__, "key", key)
@@ -89,153 +89,153 @@ class SpacesBucketObjectArgs:
89
89
  if website_redirect is not None:
90
90
  pulumi.set(__self__, "website_redirect", website_redirect)
91
91
 
92
- @property
92
+ @_builtins.property
93
93
  @pulumi.getter
94
- def bucket(self) -> pulumi.Input[str]:
94
+ def bucket(self) -> pulumi.Input[_builtins.str]:
95
95
  """
96
96
  The name of the bucket to put the file in.
97
97
  """
98
98
  return pulumi.get(self, "bucket")
99
99
 
100
100
  @bucket.setter
101
- def bucket(self, value: pulumi.Input[str]):
101
+ def bucket(self, value: pulumi.Input[_builtins.str]):
102
102
  pulumi.set(self, "bucket", value)
103
103
 
104
- @property
104
+ @_builtins.property
105
105
  @pulumi.getter
106
- def key(self) -> pulumi.Input[str]:
106
+ def key(self) -> pulumi.Input[_builtins.str]:
107
107
  """
108
108
  The name of the object once it is in the bucket.
109
109
  """
110
110
  return pulumi.get(self, "key")
111
111
 
112
112
  @key.setter
113
- def key(self, value: pulumi.Input[str]):
113
+ def key(self, value: pulumi.Input[_builtins.str]):
114
114
  pulumi.set(self, "key", value)
115
115
 
116
- @property
116
+ @_builtins.property
117
117
  @pulumi.getter
118
- def region(self) -> pulumi.Input[str]:
118
+ def region(self) -> pulumi.Input[_builtins.str]:
119
119
  """
120
120
  The region where the bucket resides (Defaults to `nyc3`)
121
121
  """
122
122
  return pulumi.get(self, "region")
123
123
 
124
124
  @region.setter
125
- def region(self, value: pulumi.Input[str]):
125
+ def region(self, value: pulumi.Input[_builtins.str]):
126
126
  pulumi.set(self, "region", value)
127
127
 
128
- @property
128
+ @_builtins.property
129
129
  @pulumi.getter
130
- def acl(self) -> Optional[pulumi.Input[str]]:
130
+ def acl(self) -> Optional[pulumi.Input[_builtins.str]]:
131
131
  """
132
132
  The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
133
133
  """
134
134
  return pulumi.get(self, "acl")
135
135
 
136
136
  @acl.setter
137
- def acl(self, value: Optional[pulumi.Input[str]]):
137
+ def acl(self, value: Optional[pulumi.Input[_builtins.str]]):
138
138
  pulumi.set(self, "acl", value)
139
139
 
140
- @property
140
+ @_builtins.property
141
141
  @pulumi.getter(name="cacheControl")
142
- def cache_control(self) -> Optional[pulumi.Input[str]]:
142
+ def cache_control(self) -> Optional[pulumi.Input[_builtins.str]]:
143
143
  """
144
144
  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
145
  """
146
146
  return pulumi.get(self, "cache_control")
147
147
 
148
148
  @cache_control.setter
149
- def cache_control(self, value: Optional[pulumi.Input[str]]):
149
+ def cache_control(self, value: Optional[pulumi.Input[_builtins.str]]):
150
150
  pulumi.set(self, "cache_control", value)
151
151
 
152
- @property
152
+ @_builtins.property
153
153
  @pulumi.getter
154
- def content(self) -> Optional[pulumi.Input[str]]:
154
+ def content(self) -> Optional[pulumi.Input[_builtins.str]]:
155
155
  """
156
156
  Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
157
157
  """
158
158
  return pulumi.get(self, "content")
159
159
 
160
160
  @content.setter
161
- def content(self, value: Optional[pulumi.Input[str]]):
161
+ def content(self, value: Optional[pulumi.Input[_builtins.str]]):
162
162
  pulumi.set(self, "content", value)
163
163
 
164
- @property
164
+ @_builtins.property
165
165
  @pulumi.getter(name="contentBase64")
166
- def content_base64(self) -> Optional[pulumi.Input[str]]:
166
+ def content_base64(self) -> Optional[pulumi.Input[_builtins.str]]:
167
167
  """
168
168
  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
169
  """
170
170
  return pulumi.get(self, "content_base64")
171
171
 
172
172
  @content_base64.setter
173
- def content_base64(self, value: Optional[pulumi.Input[str]]):
173
+ def content_base64(self, value: Optional[pulumi.Input[_builtins.str]]):
174
174
  pulumi.set(self, "content_base64", value)
175
175
 
176
- @property
176
+ @_builtins.property
177
177
  @pulumi.getter(name="contentDisposition")
178
- def content_disposition(self) -> Optional[pulumi.Input[str]]:
178
+ def content_disposition(self) -> Optional[pulumi.Input[_builtins.str]]:
179
179
  """
180
180
  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
181
  """
182
182
  return pulumi.get(self, "content_disposition")
183
183
 
184
184
  @content_disposition.setter
185
- def content_disposition(self, value: Optional[pulumi.Input[str]]):
185
+ def content_disposition(self, value: Optional[pulumi.Input[_builtins.str]]):
186
186
  pulumi.set(self, "content_disposition", value)
187
187
 
188
- @property
188
+ @_builtins.property
189
189
  @pulumi.getter(name="contentEncoding")
190
- def content_encoding(self) -> Optional[pulumi.Input[str]]:
190
+ def content_encoding(self) -> Optional[pulumi.Input[_builtins.str]]:
191
191
  """
192
192
  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
193
  """
194
194
  return pulumi.get(self, "content_encoding")
195
195
 
196
196
  @content_encoding.setter
197
- def content_encoding(self, value: Optional[pulumi.Input[str]]):
197
+ def content_encoding(self, value: Optional[pulumi.Input[_builtins.str]]):
198
198
  pulumi.set(self, "content_encoding", value)
199
199
 
200
- @property
200
+ @_builtins.property
201
201
  @pulumi.getter(name="contentLanguage")
202
- def content_language(self) -> Optional[pulumi.Input[str]]:
202
+ def content_language(self) -> Optional[pulumi.Input[_builtins.str]]:
203
203
  """
204
204
  The language the content is in e.g. en-US or en-GB.
205
205
  """
206
206
  return pulumi.get(self, "content_language")
207
207
 
208
208
  @content_language.setter
209
- def content_language(self, value: Optional[pulumi.Input[str]]):
209
+ def content_language(self, value: Optional[pulumi.Input[_builtins.str]]):
210
210
  pulumi.set(self, "content_language", value)
211
211
 
212
- @property
212
+ @_builtins.property
213
213
  @pulumi.getter(name="contentType")
214
- def content_type(self) -> Optional[pulumi.Input[str]]:
214
+ def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
215
215
  """
216
216
  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
217
  """
218
218
  return pulumi.get(self, "content_type")
219
219
 
220
220
  @content_type.setter
221
- def content_type(self, value: Optional[pulumi.Input[str]]):
221
+ def content_type(self, value: Optional[pulumi.Input[_builtins.str]]):
222
222
  pulumi.set(self, "content_type", value)
223
223
 
224
- @property
224
+ @_builtins.property
225
225
  @pulumi.getter
226
- def etag(self) -> Optional[pulumi.Input[str]]:
226
+ def etag(self) -> Optional[pulumi.Input[_builtins.str]]:
227
227
  """
228
228
  Used to trigger updates.
229
229
  """
230
230
  return pulumi.get(self, "etag")
231
231
 
232
232
  @etag.setter
233
- def etag(self, value: Optional[pulumi.Input[str]]):
233
+ def etag(self, value: Optional[pulumi.Input[_builtins.str]]):
234
234
  pulumi.set(self, "etag", value)
235
235
 
236
- @property
236
+ @_builtins.property
237
237
  @pulumi.getter(name="forceDestroy")
238
- def force_destroy(self) -> Optional[pulumi.Input[bool]]:
238
+ def force_destroy(self) -> Optional[pulumi.Input[_builtins.bool]]:
239
239
  """
240
240
  Allow the object to be deleted by removing any legal hold on any object version.
241
241
  Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
@@ -247,90 +247,90 @@ class SpacesBucketObjectArgs:
247
247
  return pulumi.get(self, "force_destroy")
248
248
 
249
249
  @force_destroy.setter
250
- def force_destroy(self, value: Optional[pulumi.Input[bool]]):
250
+ def force_destroy(self, value: Optional[pulumi.Input[_builtins.bool]]):
251
251
  pulumi.set(self, "force_destroy", value)
252
252
 
253
- @property
253
+ @_builtins.property
254
254
  @pulumi.getter
255
- def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
255
+ def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
256
256
  """
257
257
  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
258
  """
259
259
  return pulumi.get(self, "metadata")
260
260
 
261
261
  @metadata.setter
262
- def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
262
+ def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
263
263
  pulumi.set(self, "metadata", value)
264
264
 
265
- @property
265
+ @_builtins.property
266
266
  @pulumi.getter
267
- def source(self) -> Optional[pulumi.Input[str]]:
267
+ def source(self) -> Optional[pulumi.Input[_builtins.str]]:
268
268
  """
269
269
  The path to a file that will be read and uploaded as raw bytes for the object content.
270
270
  """
271
271
  return pulumi.get(self, "source")
272
272
 
273
273
  @source.setter
274
- def source(self, value: Optional[pulumi.Input[str]]):
274
+ def source(self, value: Optional[pulumi.Input[_builtins.str]]):
275
275
  pulumi.set(self, "source", value)
276
276
 
277
- @property
277
+ @_builtins.property
278
278
  @pulumi.getter(name="websiteRedirect")
279
- def website_redirect(self) -> Optional[pulumi.Input[str]]:
279
+ def website_redirect(self) -> Optional[pulumi.Input[_builtins.str]]:
280
280
  """
281
281
  Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
282
282
  """
283
283
  return pulumi.get(self, "website_redirect")
284
284
 
285
285
  @website_redirect.setter
286
- def website_redirect(self, value: Optional[pulumi.Input[str]]):
286
+ def website_redirect(self, value: Optional[pulumi.Input[_builtins.str]]):
287
287
  pulumi.set(self, "website_redirect", value)
288
288
 
289
289
 
290
290
  @pulumi.input_type
291
291
  class _SpacesBucketObjectState:
292
292
  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):
293
+ acl: Optional[pulumi.Input[_builtins.str]] = None,
294
+ bucket: Optional[pulumi.Input[_builtins.str]] = None,
295
+ cache_control: Optional[pulumi.Input[_builtins.str]] = None,
296
+ content: Optional[pulumi.Input[_builtins.str]] = None,
297
+ content_base64: Optional[pulumi.Input[_builtins.str]] = None,
298
+ content_disposition: Optional[pulumi.Input[_builtins.str]] = None,
299
+ content_encoding: Optional[pulumi.Input[_builtins.str]] = None,
300
+ content_language: Optional[pulumi.Input[_builtins.str]] = None,
301
+ content_type: Optional[pulumi.Input[_builtins.str]] = None,
302
+ etag: Optional[pulumi.Input[_builtins.str]] = None,
303
+ force_destroy: Optional[pulumi.Input[_builtins.bool]] = None,
304
+ key: Optional[pulumi.Input[_builtins.str]] = None,
305
+ metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
306
+ region: Optional[pulumi.Input[_builtins.str]] = None,
307
+ source: Optional[pulumi.Input[_builtins.str]] = None,
308
+ version_id: Optional[pulumi.Input[_builtins.str]] = None,
309
+ website_redirect: Optional[pulumi.Input[_builtins.str]] = None):
310
310
  """
311
311
  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.
312
+ :param pulumi.Input[_builtins.str] acl: The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
313
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket to put the file in.
314
+ :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.
315
+ :param pulumi.Input[_builtins.str] content: Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
316
+ :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.
317
+ :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.
318
+ :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.
319
+ :param pulumi.Input[_builtins.str] content_language: The language the content is in e.g. en-US or en-GB.
320
+ :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.
321
+ :param pulumi.Input[_builtins.str] etag: Used to trigger updates.
322
+ :param pulumi.Input[_builtins.bool] force_destroy: Allow the object to be deleted by removing any legal hold on any object version.
323
323
  Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
324
324
 
325
325
  If no content is provided through `source`, `content` or `content_base64`, then the object will be empty.
326
326
 
327
327
  > **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).
328
+ :param pulumi.Input[_builtins.str] key: The name of the object once it is in the bucket.
329
+ :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).
330
+ :param pulumi.Input[_builtins.str] region: The region where the bucket resides (Defaults to `nyc3`)
331
+ :param pulumi.Input[_builtins.str] source: The path to a file that will be read and uploaded as raw bytes for the object content.
332
+ :param pulumi.Input[_builtins.str] version_id: A unique version ID value for the object, if bucket versioning is enabled.
333
+ :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
334
  """
335
335
  if acl is not None:
336
336
  pulumi.set(__self__, "acl", acl)
@@ -367,129 +367,129 @@ class _SpacesBucketObjectState:
367
367
  if website_redirect is not None:
368
368
  pulumi.set(__self__, "website_redirect", website_redirect)
369
369
 
370
- @property
370
+ @_builtins.property
371
371
  @pulumi.getter
372
- def acl(self) -> Optional[pulumi.Input[str]]:
372
+ def acl(self) -> Optional[pulumi.Input[_builtins.str]]:
373
373
  """
374
374
  The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
375
375
  """
376
376
  return pulumi.get(self, "acl")
377
377
 
378
378
  @acl.setter
379
- def acl(self, value: Optional[pulumi.Input[str]]):
379
+ def acl(self, value: Optional[pulumi.Input[_builtins.str]]):
380
380
  pulumi.set(self, "acl", value)
381
381
 
382
- @property
382
+ @_builtins.property
383
383
  @pulumi.getter
384
- def bucket(self) -> Optional[pulumi.Input[str]]:
384
+ def bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
385
385
  """
386
386
  The name of the bucket to put the file in.
387
387
  """
388
388
  return pulumi.get(self, "bucket")
389
389
 
390
390
  @bucket.setter
391
- def bucket(self, value: Optional[pulumi.Input[str]]):
391
+ def bucket(self, value: Optional[pulumi.Input[_builtins.str]]):
392
392
  pulumi.set(self, "bucket", value)
393
393
 
394
- @property
394
+ @_builtins.property
395
395
  @pulumi.getter(name="cacheControl")
396
- def cache_control(self) -> Optional[pulumi.Input[str]]:
396
+ def cache_control(self) -> Optional[pulumi.Input[_builtins.str]]:
397
397
  """
398
398
  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
399
  """
400
400
  return pulumi.get(self, "cache_control")
401
401
 
402
402
  @cache_control.setter
403
- def cache_control(self, value: Optional[pulumi.Input[str]]):
403
+ def cache_control(self, value: Optional[pulumi.Input[_builtins.str]]):
404
404
  pulumi.set(self, "cache_control", value)
405
405
 
406
- @property
406
+ @_builtins.property
407
407
  @pulumi.getter
408
- def content(self) -> Optional[pulumi.Input[str]]:
408
+ def content(self) -> Optional[pulumi.Input[_builtins.str]]:
409
409
  """
410
410
  Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
411
411
  """
412
412
  return pulumi.get(self, "content")
413
413
 
414
414
  @content.setter
415
- def content(self, value: Optional[pulumi.Input[str]]):
415
+ def content(self, value: Optional[pulumi.Input[_builtins.str]]):
416
416
  pulumi.set(self, "content", value)
417
417
 
418
- @property
418
+ @_builtins.property
419
419
  @pulumi.getter(name="contentBase64")
420
- def content_base64(self) -> Optional[pulumi.Input[str]]:
420
+ def content_base64(self) -> Optional[pulumi.Input[_builtins.str]]:
421
421
  """
422
422
  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
423
  """
424
424
  return pulumi.get(self, "content_base64")
425
425
 
426
426
  @content_base64.setter
427
- def content_base64(self, value: Optional[pulumi.Input[str]]):
427
+ def content_base64(self, value: Optional[pulumi.Input[_builtins.str]]):
428
428
  pulumi.set(self, "content_base64", value)
429
429
 
430
- @property
430
+ @_builtins.property
431
431
  @pulumi.getter(name="contentDisposition")
432
- def content_disposition(self) -> Optional[pulumi.Input[str]]:
432
+ def content_disposition(self) -> Optional[pulumi.Input[_builtins.str]]:
433
433
  """
434
434
  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
435
  """
436
436
  return pulumi.get(self, "content_disposition")
437
437
 
438
438
  @content_disposition.setter
439
- def content_disposition(self, value: Optional[pulumi.Input[str]]):
439
+ def content_disposition(self, value: Optional[pulumi.Input[_builtins.str]]):
440
440
  pulumi.set(self, "content_disposition", value)
441
441
 
442
- @property
442
+ @_builtins.property
443
443
  @pulumi.getter(name="contentEncoding")
444
- def content_encoding(self) -> Optional[pulumi.Input[str]]:
444
+ def content_encoding(self) -> Optional[pulumi.Input[_builtins.str]]:
445
445
  """
446
446
  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
447
  """
448
448
  return pulumi.get(self, "content_encoding")
449
449
 
450
450
  @content_encoding.setter
451
- def content_encoding(self, value: Optional[pulumi.Input[str]]):
451
+ def content_encoding(self, value: Optional[pulumi.Input[_builtins.str]]):
452
452
  pulumi.set(self, "content_encoding", value)
453
453
 
454
- @property
454
+ @_builtins.property
455
455
  @pulumi.getter(name="contentLanguage")
456
- def content_language(self) -> Optional[pulumi.Input[str]]:
456
+ def content_language(self) -> Optional[pulumi.Input[_builtins.str]]:
457
457
  """
458
458
  The language the content is in e.g. en-US or en-GB.
459
459
  """
460
460
  return pulumi.get(self, "content_language")
461
461
 
462
462
  @content_language.setter
463
- def content_language(self, value: Optional[pulumi.Input[str]]):
463
+ def content_language(self, value: Optional[pulumi.Input[_builtins.str]]):
464
464
  pulumi.set(self, "content_language", value)
465
465
 
466
- @property
466
+ @_builtins.property
467
467
  @pulumi.getter(name="contentType")
468
- def content_type(self) -> Optional[pulumi.Input[str]]:
468
+ def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
469
469
  """
470
470
  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
471
  """
472
472
  return pulumi.get(self, "content_type")
473
473
 
474
474
  @content_type.setter
475
- def content_type(self, value: Optional[pulumi.Input[str]]):
475
+ def content_type(self, value: Optional[pulumi.Input[_builtins.str]]):
476
476
  pulumi.set(self, "content_type", value)
477
477
 
478
- @property
478
+ @_builtins.property
479
479
  @pulumi.getter
480
- def etag(self) -> Optional[pulumi.Input[str]]:
480
+ def etag(self) -> Optional[pulumi.Input[_builtins.str]]:
481
481
  """
482
482
  Used to trigger updates.
483
483
  """
484
484
  return pulumi.get(self, "etag")
485
485
 
486
486
  @etag.setter
487
- def etag(self, value: Optional[pulumi.Input[str]]):
487
+ def etag(self, value: Optional[pulumi.Input[_builtins.str]]):
488
488
  pulumi.set(self, "etag", value)
489
489
 
490
- @property
490
+ @_builtins.property
491
491
  @pulumi.getter(name="forceDestroy")
492
- def force_destroy(self) -> Optional[pulumi.Input[bool]]:
492
+ def force_destroy(self) -> Optional[pulumi.Input[_builtins.bool]]:
493
493
  """
494
494
  Allow the object to be deleted by removing any legal hold on any object version.
495
495
  Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
@@ -501,103 +501,104 @@ class _SpacesBucketObjectState:
501
501
  return pulumi.get(self, "force_destroy")
502
502
 
503
503
  @force_destroy.setter
504
- def force_destroy(self, value: Optional[pulumi.Input[bool]]):
504
+ def force_destroy(self, value: Optional[pulumi.Input[_builtins.bool]]):
505
505
  pulumi.set(self, "force_destroy", value)
506
506
 
507
- @property
507
+ @_builtins.property
508
508
  @pulumi.getter
509
- def key(self) -> Optional[pulumi.Input[str]]:
509
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
510
510
  """
511
511
  The name of the object once it is in the bucket.
512
512
  """
513
513
  return pulumi.get(self, "key")
514
514
 
515
515
  @key.setter
516
- def key(self, value: Optional[pulumi.Input[str]]):
516
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
517
517
  pulumi.set(self, "key", value)
518
518
 
519
- @property
519
+ @_builtins.property
520
520
  @pulumi.getter
521
- def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
521
+ def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
522
522
  """
523
523
  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
524
  """
525
525
  return pulumi.get(self, "metadata")
526
526
 
527
527
  @metadata.setter
528
- def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
528
+ def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
529
529
  pulumi.set(self, "metadata", value)
530
530
 
531
- @property
531
+ @_builtins.property
532
532
  @pulumi.getter
533
- def region(self) -> Optional[pulumi.Input[str]]:
533
+ def region(self) -> Optional[pulumi.Input[_builtins.str]]:
534
534
  """
535
535
  The region where the bucket resides (Defaults to `nyc3`)
536
536
  """
537
537
  return pulumi.get(self, "region")
538
538
 
539
539
  @region.setter
540
- def region(self, value: Optional[pulumi.Input[str]]):
540
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
541
541
  pulumi.set(self, "region", value)
542
542
 
543
- @property
543
+ @_builtins.property
544
544
  @pulumi.getter
545
- def source(self) -> Optional[pulumi.Input[str]]:
545
+ def source(self) -> Optional[pulumi.Input[_builtins.str]]:
546
546
  """
547
547
  The path to a file that will be read and uploaded as raw bytes for the object content.
548
548
  """
549
549
  return pulumi.get(self, "source")
550
550
 
551
551
  @source.setter
552
- def source(self, value: Optional[pulumi.Input[str]]):
552
+ def source(self, value: Optional[pulumi.Input[_builtins.str]]):
553
553
  pulumi.set(self, "source", value)
554
554
 
555
- @property
555
+ @_builtins.property
556
556
  @pulumi.getter(name="versionId")
557
- def version_id(self) -> Optional[pulumi.Input[str]]:
557
+ def version_id(self) -> Optional[pulumi.Input[_builtins.str]]:
558
558
  """
559
559
  A unique version ID value for the object, if bucket versioning is enabled.
560
560
  """
561
561
  return pulumi.get(self, "version_id")
562
562
 
563
563
  @version_id.setter
564
- def version_id(self, value: Optional[pulumi.Input[str]]):
564
+ def version_id(self, value: Optional[pulumi.Input[_builtins.str]]):
565
565
  pulumi.set(self, "version_id", value)
566
566
 
567
- @property
567
+ @_builtins.property
568
568
  @pulumi.getter(name="websiteRedirect")
569
- def website_redirect(self) -> Optional[pulumi.Input[str]]:
569
+ def website_redirect(self) -> Optional[pulumi.Input[_builtins.str]]:
570
570
  """
571
571
  Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
572
572
  """
573
573
  return pulumi.get(self, "website_redirect")
574
574
 
575
575
  @website_redirect.setter
576
- def website_redirect(self, value: Optional[pulumi.Input[str]]):
576
+ def website_redirect(self, value: Optional[pulumi.Input[_builtins.str]]):
577
577
  pulumi.set(self, "website_redirect", value)
578
578
 
579
579
 
580
+ @pulumi.type_token("digitalocean:index/spacesBucketObject:SpacesBucketObject")
580
581
  class SpacesBucketObject(pulumi.CustomResource):
581
582
  @overload
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
 
@@ -870,89 +871,89 @@ class SpacesBucketObject(pulumi.CustomResource):
870
871
  __props__.__dict__["website_redirect"] = website_redirect
871
872
  return SpacesBucketObject(resource_name, opts=opts, __props__=__props__)
872
873
 
873
- @property
874
+ @_builtins.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
  """
879
880
  return pulumi.get(self, "acl")
880
881
 
881
- @property
882
+ @_builtins.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
  """
887
888
  return pulumi.get(self, "bucket")
888
889
 
889
- @property
890
+ @_builtins.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
  """
895
896
  return pulumi.get(self, "cache_control")
896
897
 
897
- @property
898
+ @_builtins.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
  """
903
904
  return pulumi.get(self, "content")
904
905
 
905
- @property
906
+ @_builtins.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
  """
911
912
  return pulumi.get(self, "content_base64")
912
913
 
913
- @property
914
+ @_builtins.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
  """
919
920
  return pulumi.get(self, "content_disposition")
920
921
 
921
- @property
922
+ @_builtins.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
  """
927
928
  return pulumi.get(self, "content_encoding")
928
929
 
929
- @property
930
+ @_builtins.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
  """
935
936
  return pulumi.get(self, "content_language")
936
937
 
937
- @property
938
+ @_builtins.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
  """
943
944
  return pulumi.get(self, "content_type")
944
945
 
945
- @property
946
+ @_builtins.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
  """
951
952
  return pulumi.get(self, "etag")
952
953
 
953
- @property
954
+ @_builtins.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.
@@ -963,49 +964,49 @@ class SpacesBucketObject(pulumi.CustomResource):
963
964
  """
964
965
  return pulumi.get(self, "force_destroy")
965
966
 
966
- @property
967
+ @_builtins.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
  """
972
973
  return pulumi.get(self, "key")
973
974
 
974
- @property
975
+ @_builtins.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
  """
980
981
  return pulumi.get(self, "metadata")
981
982
 
982
- @property
983
+ @_builtins.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
  """
988
989
  return pulumi.get(self, "region")
989
990
 
990
- @property
991
+ @_builtins.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
  """
996
997
  return pulumi.get(self, "source")
997
998
 
998
- @property
999
+ @_builtins.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
  """
1004
1005
  return pulumi.get(self, "version_id")
1005
1006
 
1006
- @property
1007
+ @_builtins.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
  """