pulumi-aws-native 1.38.0a1762236751__py3-none-any.whl → 1.38.0a1762321314__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-aws-native might be problematic. Click here for more details.
- pulumi_aws_native/__init__.py +4 -1
- pulumi_aws_native/appstream/get_image_builder.py +0 -4
- pulumi_aws_native/appstream/image_builder.py +0 -16
- pulumi_aws_native/aps/_inputs.py +58 -0
- pulumi_aws_native/aps/outputs.py +36 -0
- pulumi_aws_native/arcregionswitch/get_plan.py +0 -3
- pulumi_aws_native/arcregionswitch/plan.py +0 -3
- pulumi_aws_native/bedrockagentcore/__init__.py +2 -0
- pulumi_aws_native/bedrockagentcore/get_workload_identity.py +134 -0
- pulumi_aws_native/bedrockagentcore/workload_identity.py +217 -0
- pulumi_aws_native/cognito/__init__.py +2 -0
- pulumi_aws_native/cognito/_enums.py +12 -0
- pulumi_aws_native/cognito/get_terms.py +117 -0
- pulumi_aws_native/cognito/terms.py +236 -0
- pulumi_aws_native/ecs/_enums.py +1 -0
- pulumi_aws_native/glue/__init__.py +2 -0
- pulumi_aws_native/glue/_inputs.py +134 -0
- pulumi_aws_native/glue/get_integration_resource_property.py +127 -0
- pulumi_aws_native/glue/integration_resource_property.py +229 -0
- pulumi_aws_native/glue/outputs.py +122 -0
- pulumi_aws_native/kendra/_inputs.py +21 -21
- pulumi_aws_native/kendra/outputs.py +14 -14
- pulumi_aws_native/pulumi-plugin.json +1 -1
- pulumi_aws_native/qbusiness/_inputs.py +3 -3
- pulumi_aws_native/qbusiness/application.py +4 -4
- pulumi_aws_native/qbusiness/outputs.py +2 -2
- pulumi_aws_native/quicksight/_inputs.py +9 -9
- pulumi_aws_native/quicksight/outputs.py +6 -6
- pulumi_aws_native/s3vectors/get_index.py +20 -0
- pulumi_aws_native/s3vectors/get_vector_bucket.py +20 -0
- pulumi_aws_native/s3vectors/get_vector_bucket_policy.py +9 -0
- pulumi_aws_native/s3vectors/index.py +102 -0
- pulumi_aws_native/s3vectors/vector_bucket.py +42 -0
- pulumi_aws_native/s3vectors/vector_bucket_policy.py +24 -0
- pulumi_aws_native/wafv2/_inputs.py +72 -0
- pulumi_aws_native/wafv2/get_web_acl.py +15 -1
- pulumi_aws_native/wafv2/outputs.py +45 -0
- pulumi_aws_native/wafv2/web_acl.py +29 -0
- {pulumi_aws_native-1.38.0a1762236751.dist-info → pulumi_aws_native-1.38.0a1762321314.dist-info}/METADATA +1 -1
- {pulumi_aws_native-1.38.0a1762236751.dist-info → pulumi_aws_native-1.38.0a1762321314.dist-info}/RECORD +42 -36
- {pulumi_aws_native-1.38.0a1762236751.dist-info → pulumi_aws_native-1.38.0a1762321314.dist-info}/WHEEL +0 -0
- {pulumi_aws_native-1.38.0a1762236751.dist-info → pulumi_aws_native-1.38.0a1762321314.dist-info}/top_level.txt +0 -0
|
@@ -31,6 +31,22 @@ class IndexArgs:
|
|
|
31
31
|
vector_bucket_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
32
32
|
"""
|
|
33
33
|
The set of arguments for constructing a Index resource.
|
|
34
|
+
:param pulumi.Input['IndexDataType'] data_type: The data type of the vectors to be inserted into the vector index. Currently, only `float32` is supported, which represents 32-bit floating-point numbers.
|
|
35
|
+
:param pulumi.Input[_builtins.int] dimension: The dimensions of the vectors to be inserted into the vector index. This value must be between 1 and 4096, inclusive. All vectors stored in the index must have the same number of dimensions.
|
|
36
|
+
|
|
37
|
+
The dimension value affects the storage requirements and search performance. Higher dimensions require more storage space and may impact search latency.
|
|
38
|
+
:param pulumi.Input['IndexDistanceMetric'] distance_metric: The distance metric to be used for similarity search. Valid values are:
|
|
39
|
+
|
|
40
|
+
- `cosine` - Measures the cosine of the angle between two vectors.
|
|
41
|
+
- `euclidean` - Measures the straight-line distance between two points in multi-dimensional space. Lower values indicate greater similarity.
|
|
42
|
+
:param pulumi.Input[_builtins.str] index_name: The name of the vector index to create. The index name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, hyphens (-), and dots (.). The index name must be unique within the vector bucket.
|
|
43
|
+
|
|
44
|
+
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the index name.
|
|
45
|
+
|
|
46
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
47
|
+
:param pulumi.Input['IndexMetadataConfigurationArgs'] metadata_configuration: The metadata configuration for the vector index.
|
|
48
|
+
:param pulumi.Input[_builtins.str] vector_bucket_arn: The Amazon Resource Name (ARN) of the vector bucket that contains the vector index.
|
|
49
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: The name of the vector bucket that contains the vector index.
|
|
34
50
|
"""
|
|
35
51
|
pulumi.set(__self__, "data_type", data_type)
|
|
36
52
|
pulumi.set(__self__, "dimension", dimension)
|
|
@@ -47,6 +63,9 @@ class IndexArgs:
|
|
|
47
63
|
@_builtins.property
|
|
48
64
|
@pulumi.getter(name="dataType")
|
|
49
65
|
def data_type(self) -> pulumi.Input['IndexDataType']:
|
|
66
|
+
"""
|
|
67
|
+
The data type of the vectors to be inserted into the vector index. Currently, only `float32` is supported, which represents 32-bit floating-point numbers.
|
|
68
|
+
"""
|
|
50
69
|
return pulumi.get(self, "data_type")
|
|
51
70
|
|
|
52
71
|
@data_type.setter
|
|
@@ -56,6 +75,11 @@ class IndexArgs:
|
|
|
56
75
|
@_builtins.property
|
|
57
76
|
@pulumi.getter
|
|
58
77
|
def dimension(self) -> pulumi.Input[_builtins.int]:
|
|
78
|
+
"""
|
|
79
|
+
The dimensions of the vectors to be inserted into the vector index. This value must be between 1 and 4096, inclusive. All vectors stored in the index must have the same number of dimensions.
|
|
80
|
+
|
|
81
|
+
The dimension value affects the storage requirements and search performance. Higher dimensions require more storage space and may impact search latency.
|
|
82
|
+
"""
|
|
59
83
|
return pulumi.get(self, "dimension")
|
|
60
84
|
|
|
61
85
|
@dimension.setter
|
|
@@ -65,6 +89,12 @@ class IndexArgs:
|
|
|
65
89
|
@_builtins.property
|
|
66
90
|
@pulumi.getter(name="distanceMetric")
|
|
67
91
|
def distance_metric(self) -> pulumi.Input['IndexDistanceMetric']:
|
|
92
|
+
"""
|
|
93
|
+
The distance metric to be used for similarity search. Valid values are:
|
|
94
|
+
|
|
95
|
+
- `cosine` - Measures the cosine of the angle between two vectors.
|
|
96
|
+
- `euclidean` - Measures the straight-line distance between two points in multi-dimensional space. Lower values indicate greater similarity.
|
|
97
|
+
"""
|
|
68
98
|
return pulumi.get(self, "distance_metric")
|
|
69
99
|
|
|
70
100
|
@distance_metric.setter
|
|
@@ -74,6 +104,13 @@ class IndexArgs:
|
|
|
74
104
|
@_builtins.property
|
|
75
105
|
@pulumi.getter(name="indexName")
|
|
76
106
|
def index_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
107
|
+
"""
|
|
108
|
+
The name of the vector index to create. The index name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, hyphens (-), and dots (.). The index name must be unique within the vector bucket.
|
|
109
|
+
|
|
110
|
+
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the index name.
|
|
111
|
+
|
|
112
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
113
|
+
"""
|
|
77
114
|
return pulumi.get(self, "index_name")
|
|
78
115
|
|
|
79
116
|
@index_name.setter
|
|
@@ -83,6 +120,9 @@ class IndexArgs:
|
|
|
83
120
|
@_builtins.property
|
|
84
121
|
@pulumi.getter(name="metadataConfiguration")
|
|
85
122
|
def metadata_configuration(self) -> Optional[pulumi.Input['IndexMetadataConfigurationArgs']]:
|
|
123
|
+
"""
|
|
124
|
+
The metadata configuration for the vector index.
|
|
125
|
+
"""
|
|
86
126
|
return pulumi.get(self, "metadata_configuration")
|
|
87
127
|
|
|
88
128
|
@metadata_configuration.setter
|
|
@@ -92,6 +132,9 @@ class IndexArgs:
|
|
|
92
132
|
@_builtins.property
|
|
93
133
|
@pulumi.getter(name="vectorBucketArn")
|
|
94
134
|
def vector_bucket_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
|
+
"""
|
|
136
|
+
The Amazon Resource Name (ARN) of the vector bucket that contains the vector index.
|
|
137
|
+
"""
|
|
95
138
|
return pulumi.get(self, "vector_bucket_arn")
|
|
96
139
|
|
|
97
140
|
@vector_bucket_arn.setter
|
|
@@ -101,6 +144,9 @@ class IndexArgs:
|
|
|
101
144
|
@_builtins.property
|
|
102
145
|
@pulumi.getter(name="vectorBucketName")
|
|
103
146
|
def vector_bucket_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
147
|
+
"""
|
|
148
|
+
The name of the vector bucket that contains the vector index.
|
|
149
|
+
"""
|
|
104
150
|
return pulumi.get(self, "vector_bucket_name")
|
|
105
151
|
|
|
106
152
|
@vector_bucket_name.setter
|
|
@@ -127,6 +173,22 @@ class Index(pulumi.CustomResource):
|
|
|
127
173
|
|
|
128
174
|
:param str resource_name: The name of the resource.
|
|
129
175
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
176
|
+
:param pulumi.Input['IndexDataType'] data_type: The data type of the vectors to be inserted into the vector index. Currently, only `float32` is supported, which represents 32-bit floating-point numbers.
|
|
177
|
+
:param pulumi.Input[_builtins.int] dimension: The dimensions of the vectors to be inserted into the vector index. This value must be between 1 and 4096, inclusive. All vectors stored in the index must have the same number of dimensions.
|
|
178
|
+
|
|
179
|
+
The dimension value affects the storage requirements and search performance. Higher dimensions require more storage space and may impact search latency.
|
|
180
|
+
:param pulumi.Input['IndexDistanceMetric'] distance_metric: The distance metric to be used for similarity search. Valid values are:
|
|
181
|
+
|
|
182
|
+
- `cosine` - Measures the cosine of the angle between two vectors.
|
|
183
|
+
- `euclidean` - Measures the straight-line distance between two points in multi-dimensional space. Lower values indicate greater similarity.
|
|
184
|
+
:param pulumi.Input[_builtins.str] index_name: The name of the vector index to create. The index name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, hyphens (-), and dots (.). The index name must be unique within the vector bucket.
|
|
185
|
+
|
|
186
|
+
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the index name.
|
|
187
|
+
|
|
188
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
189
|
+
:param pulumi.Input[Union['IndexMetadataConfigurationArgs', 'IndexMetadataConfigurationArgsDict']] metadata_configuration: The metadata configuration for the vector index.
|
|
190
|
+
:param pulumi.Input[_builtins.str] vector_bucket_arn: The Amazon Resource Name (ARN) of the vector bucket that contains the vector index.
|
|
191
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: The name of the vector bucket that contains the vector index.
|
|
130
192
|
"""
|
|
131
193
|
...
|
|
132
194
|
@overload
|
|
@@ -221,45 +283,85 @@ class Index(pulumi.CustomResource):
|
|
|
221
283
|
@_builtins.property
|
|
222
284
|
@pulumi.getter(name="creationTime")
|
|
223
285
|
def creation_time(self) -> pulumi.Output[_builtins.str]:
|
|
286
|
+
"""
|
|
287
|
+
Returns the date and time when the vector index was created.
|
|
288
|
+
|
|
289
|
+
Example: `2024-12-21T10:30:00Z`
|
|
290
|
+
"""
|
|
224
291
|
return pulumi.get(self, "creation_time")
|
|
225
292
|
|
|
226
293
|
@_builtins.property
|
|
227
294
|
@pulumi.getter(name="dataType")
|
|
228
295
|
def data_type(self) -> pulumi.Output['IndexDataType']:
|
|
296
|
+
"""
|
|
297
|
+
The data type of the vectors to be inserted into the vector index. Currently, only `float32` is supported, which represents 32-bit floating-point numbers.
|
|
298
|
+
"""
|
|
229
299
|
return pulumi.get(self, "data_type")
|
|
230
300
|
|
|
231
301
|
@_builtins.property
|
|
232
302
|
@pulumi.getter
|
|
233
303
|
def dimension(self) -> pulumi.Output[_builtins.int]:
|
|
304
|
+
"""
|
|
305
|
+
The dimensions of the vectors to be inserted into the vector index. This value must be between 1 and 4096, inclusive. All vectors stored in the index must have the same number of dimensions.
|
|
306
|
+
|
|
307
|
+
The dimension value affects the storage requirements and search performance. Higher dimensions require more storage space and may impact search latency.
|
|
308
|
+
"""
|
|
234
309
|
return pulumi.get(self, "dimension")
|
|
235
310
|
|
|
236
311
|
@_builtins.property
|
|
237
312
|
@pulumi.getter(name="distanceMetric")
|
|
238
313
|
def distance_metric(self) -> pulumi.Output['IndexDistanceMetric']:
|
|
314
|
+
"""
|
|
315
|
+
The distance metric to be used for similarity search. Valid values are:
|
|
316
|
+
|
|
317
|
+
- `cosine` - Measures the cosine of the angle between two vectors.
|
|
318
|
+
- `euclidean` - Measures the straight-line distance between two points in multi-dimensional space. Lower values indicate greater similarity.
|
|
319
|
+
"""
|
|
239
320
|
return pulumi.get(self, "distance_metric")
|
|
240
321
|
|
|
241
322
|
@_builtins.property
|
|
242
323
|
@pulumi.getter(name="indexArn")
|
|
243
324
|
def index_arn(self) -> pulumi.Output[_builtins.str]:
|
|
325
|
+
"""
|
|
326
|
+
Returns the Amazon Resource Name (ARN) of the specified index.
|
|
327
|
+
|
|
328
|
+
Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
|
|
329
|
+
"""
|
|
244
330
|
return pulumi.get(self, "index_arn")
|
|
245
331
|
|
|
246
332
|
@_builtins.property
|
|
247
333
|
@pulumi.getter(name="indexName")
|
|
248
334
|
def index_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
335
|
+
"""
|
|
336
|
+
The name of the vector index to create. The index name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, hyphens (-), and dots (.). The index name must be unique within the vector bucket.
|
|
337
|
+
|
|
338
|
+
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the index name.
|
|
339
|
+
|
|
340
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
341
|
+
"""
|
|
249
342
|
return pulumi.get(self, "index_name")
|
|
250
343
|
|
|
251
344
|
@_builtins.property
|
|
252
345
|
@pulumi.getter(name="metadataConfiguration")
|
|
253
346
|
def metadata_configuration(self) -> pulumi.Output[Optional['outputs.IndexMetadataConfiguration']]:
|
|
347
|
+
"""
|
|
348
|
+
The metadata configuration for the vector index.
|
|
349
|
+
"""
|
|
254
350
|
return pulumi.get(self, "metadata_configuration")
|
|
255
351
|
|
|
256
352
|
@_builtins.property
|
|
257
353
|
@pulumi.getter(name="vectorBucketArn")
|
|
258
354
|
def vector_bucket_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
355
|
+
"""
|
|
356
|
+
The Amazon Resource Name (ARN) of the vector bucket that contains the vector index.
|
|
357
|
+
"""
|
|
259
358
|
return pulumi.get(self, "vector_bucket_arn")
|
|
260
359
|
|
|
261
360
|
@_builtins.property
|
|
262
361
|
@pulumi.getter(name="vectorBucketName")
|
|
263
362
|
def vector_bucket_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
363
|
+
"""
|
|
364
|
+
The name of the vector bucket that contains the vector index.
|
|
365
|
+
"""
|
|
264
366
|
return pulumi.get(self, "vector_bucket_name")
|
|
265
367
|
|
|
@@ -26,6 +26,12 @@ class VectorBucketArgs:
|
|
|
26
26
|
vector_bucket_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a VectorBucket resource.
|
|
29
|
+
:param pulumi.Input['VectorBucketEncryptionConfigurationArgs'] encryption_configuration: The encryption configuration for the vector bucket.
|
|
30
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: A name for the vector bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.
|
|
31
|
+
|
|
32
|
+
The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.
|
|
33
|
+
|
|
34
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
29
35
|
"""
|
|
30
36
|
if encryption_configuration is not None:
|
|
31
37
|
pulumi.set(__self__, "encryption_configuration", encryption_configuration)
|
|
@@ -35,6 +41,9 @@ class VectorBucketArgs:
|
|
|
35
41
|
@_builtins.property
|
|
36
42
|
@pulumi.getter(name="encryptionConfiguration")
|
|
37
43
|
def encryption_configuration(self) -> Optional[pulumi.Input['VectorBucketEncryptionConfigurationArgs']]:
|
|
44
|
+
"""
|
|
45
|
+
The encryption configuration for the vector bucket.
|
|
46
|
+
"""
|
|
38
47
|
return pulumi.get(self, "encryption_configuration")
|
|
39
48
|
|
|
40
49
|
@encryption_configuration.setter
|
|
@@ -44,6 +53,13 @@ class VectorBucketArgs:
|
|
|
44
53
|
@_builtins.property
|
|
45
54
|
@pulumi.getter(name="vectorBucketName")
|
|
46
55
|
def vector_bucket_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
56
|
+
"""
|
|
57
|
+
A name for the vector bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.
|
|
58
|
+
|
|
59
|
+
The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.
|
|
60
|
+
|
|
61
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
62
|
+
"""
|
|
47
63
|
return pulumi.get(self, "vector_bucket_name")
|
|
48
64
|
|
|
49
65
|
@vector_bucket_name.setter
|
|
@@ -65,6 +81,12 @@ class VectorBucket(pulumi.CustomResource):
|
|
|
65
81
|
|
|
66
82
|
:param str resource_name: The name of the resource.
|
|
67
83
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
84
|
+
:param pulumi.Input[Union['VectorBucketEncryptionConfigurationArgs', 'VectorBucketEncryptionConfigurationArgsDict']] encryption_configuration: The encryption configuration for the vector bucket.
|
|
85
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: A name for the vector bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.
|
|
86
|
+
|
|
87
|
+
The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.
|
|
88
|
+
|
|
89
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
68
90
|
"""
|
|
69
91
|
...
|
|
70
92
|
@overload
|
|
@@ -138,20 +160,40 @@ class VectorBucket(pulumi.CustomResource):
|
|
|
138
160
|
@_builtins.property
|
|
139
161
|
@pulumi.getter(name="creationTime")
|
|
140
162
|
def creation_time(self) -> pulumi.Output[_builtins.str]:
|
|
163
|
+
"""
|
|
164
|
+
Returns the date and time when the vector bucket was created.
|
|
165
|
+
|
|
166
|
+
Example: `2024-12-21T10:30:00Z`
|
|
167
|
+
"""
|
|
141
168
|
return pulumi.get(self, "creation_time")
|
|
142
169
|
|
|
143
170
|
@_builtins.property
|
|
144
171
|
@pulumi.getter(name="encryptionConfiguration")
|
|
145
172
|
def encryption_configuration(self) -> pulumi.Output[Optional['outputs.VectorBucketEncryptionConfiguration']]:
|
|
173
|
+
"""
|
|
174
|
+
The encryption configuration for the vector bucket.
|
|
175
|
+
"""
|
|
146
176
|
return pulumi.get(self, "encryption_configuration")
|
|
147
177
|
|
|
148
178
|
@_builtins.property
|
|
149
179
|
@pulumi.getter(name="vectorBucketArn")
|
|
150
180
|
def vector_bucket_arn(self) -> pulumi.Output[_builtins.str]:
|
|
181
|
+
"""
|
|
182
|
+
Returns the Amazon Resource Name (ARN) of the specified vector bucket.
|
|
183
|
+
|
|
184
|
+
Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket`
|
|
185
|
+
"""
|
|
151
186
|
return pulumi.get(self, "vector_bucket_arn")
|
|
152
187
|
|
|
153
188
|
@_builtins.property
|
|
154
189
|
@pulumi.getter(name="vectorBucketName")
|
|
155
190
|
def vector_bucket_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
191
|
+
"""
|
|
192
|
+
A name for the vector bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.
|
|
193
|
+
|
|
194
|
+
The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.
|
|
195
|
+
|
|
196
|
+
> If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
197
|
+
"""
|
|
156
198
|
return pulumi.get(self, "vector_bucket_name")
|
|
157
199
|
|
|
@@ -26,6 +26,9 @@ class VectorBucketPolicyArgs:
|
|
|
26
26
|
vector_bucket_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a VectorBucketPolicy resource.
|
|
29
|
+
:param pulumi.Input['VectorBucketPolicyPolicyArgs'] policy: A policy document containing permissions to add to the specified vector bucket. In IAM , you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM .
|
|
30
|
+
:param pulumi.Input[_builtins.str] vector_bucket_arn: The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
|
|
31
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: The name of the S3 vector bucket to which the policy applies.
|
|
29
32
|
"""
|
|
30
33
|
pulumi.set(__self__, "policy", policy)
|
|
31
34
|
if vector_bucket_arn is not None:
|
|
@@ -36,6 +39,9 @@ class VectorBucketPolicyArgs:
|
|
|
36
39
|
@_builtins.property
|
|
37
40
|
@pulumi.getter
|
|
38
41
|
def policy(self) -> pulumi.Input['VectorBucketPolicyPolicyArgs']:
|
|
42
|
+
"""
|
|
43
|
+
A policy document containing permissions to add to the specified vector bucket. In IAM , you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM .
|
|
44
|
+
"""
|
|
39
45
|
return pulumi.get(self, "policy")
|
|
40
46
|
|
|
41
47
|
@policy.setter
|
|
@@ -45,6 +51,9 @@ class VectorBucketPolicyArgs:
|
|
|
45
51
|
@_builtins.property
|
|
46
52
|
@pulumi.getter(name="vectorBucketArn")
|
|
47
53
|
def vector_bucket_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
54
|
+
"""
|
|
55
|
+
The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
|
|
56
|
+
"""
|
|
48
57
|
return pulumi.get(self, "vector_bucket_arn")
|
|
49
58
|
|
|
50
59
|
@vector_bucket_arn.setter
|
|
@@ -54,6 +63,9 @@ class VectorBucketPolicyArgs:
|
|
|
54
63
|
@_builtins.property
|
|
55
64
|
@pulumi.getter(name="vectorBucketName")
|
|
56
65
|
def vector_bucket_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
66
|
+
"""
|
|
67
|
+
The name of the S3 vector bucket to which the policy applies.
|
|
68
|
+
"""
|
|
57
69
|
return pulumi.get(self, "vector_bucket_name")
|
|
58
70
|
|
|
59
71
|
@vector_bucket_name.setter
|
|
@@ -76,6 +88,9 @@ class VectorBucketPolicy(pulumi.CustomResource):
|
|
|
76
88
|
|
|
77
89
|
:param str resource_name: The name of the resource.
|
|
78
90
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
91
|
+
:param pulumi.Input[Union['VectorBucketPolicyPolicyArgs', 'VectorBucketPolicyPolicyArgsDict']] policy: A policy document containing permissions to add to the specified vector bucket. In IAM , you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM .
|
|
92
|
+
:param pulumi.Input[_builtins.str] vector_bucket_arn: The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
|
|
93
|
+
:param pulumi.Input[_builtins.str] vector_bucket_name: The name of the S3 vector bucket to which the policy applies.
|
|
79
94
|
"""
|
|
80
95
|
...
|
|
81
96
|
@overload
|
|
@@ -150,15 +165,24 @@ class VectorBucketPolicy(pulumi.CustomResource):
|
|
|
150
165
|
@_builtins.property
|
|
151
166
|
@pulumi.getter
|
|
152
167
|
def policy(self) -> pulumi.Output['outputs.VectorBucketPolicyPolicy']:
|
|
168
|
+
"""
|
|
169
|
+
A policy document containing permissions to add to the specified vector bucket. In IAM , you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM .
|
|
170
|
+
"""
|
|
153
171
|
return pulumi.get(self, "policy")
|
|
154
172
|
|
|
155
173
|
@_builtins.property
|
|
156
174
|
@pulumi.getter(name="vectorBucketArn")
|
|
157
175
|
def vector_bucket_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
176
|
+
"""
|
|
177
|
+
The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
|
|
178
|
+
"""
|
|
158
179
|
return pulumi.get(self, "vector_bucket_arn")
|
|
159
180
|
|
|
160
181
|
@_builtins.property
|
|
161
182
|
@pulumi.getter(name="vectorBucketName")
|
|
162
183
|
def vector_bucket_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
184
|
+
"""
|
|
185
|
+
The name of the S3 vector bucket to which the policy applies.
|
|
186
|
+
"""
|
|
163
187
|
return pulumi.get(self, "vector_bucket_name")
|
|
164
188
|
|
|
@@ -156,6 +156,10 @@ __all__ = [
|
|
|
156
156
|
'WebAclAllowActionArgsDict',
|
|
157
157
|
'WebAclAndStatementArgs',
|
|
158
158
|
'WebAclAndStatementArgsDict',
|
|
159
|
+
'WebAclApplicationAttributeArgs',
|
|
160
|
+
'WebAclApplicationAttributeArgsDict',
|
|
161
|
+
'WebAclApplicationConfigArgs',
|
|
162
|
+
'WebAclApplicationConfigArgsDict',
|
|
159
163
|
'WebAclAsnMatchStatementArgs',
|
|
160
164
|
'WebAclAsnMatchStatementArgsDict',
|
|
161
165
|
'WebAclAssociationConfigArgs',
|
|
@@ -5747,6 +5751,74 @@ class WebAclAndStatementArgs:
|
|
|
5747
5751
|
pulumi.set(self, "statements", value)
|
|
5748
5752
|
|
|
5749
5753
|
|
|
5754
|
+
if not MYPY:
|
|
5755
|
+
class WebAclApplicationAttributeArgsDict(TypedDict):
|
|
5756
|
+
"""
|
|
5757
|
+
Application details defined during the &webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
5758
|
+
"""
|
|
5759
|
+
name: pulumi.Input[_builtins.str]
|
|
5760
|
+
values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
5761
|
+
elif False:
|
|
5762
|
+
WebAclApplicationAttributeArgsDict: TypeAlias = Mapping[str, Any]
|
|
5763
|
+
|
|
5764
|
+
@pulumi.input_type
|
|
5765
|
+
class WebAclApplicationAttributeArgs:
|
|
5766
|
+
def __init__(__self__, *,
|
|
5767
|
+
name: pulumi.Input[_builtins.str],
|
|
5768
|
+
values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
5769
|
+
"""
|
|
5770
|
+
Application details defined during the &webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
5771
|
+
"""
|
|
5772
|
+
pulumi.set(__self__, "name", name)
|
|
5773
|
+
pulumi.set(__self__, "values", values)
|
|
5774
|
+
|
|
5775
|
+
@_builtins.property
|
|
5776
|
+
@pulumi.getter
|
|
5777
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
5778
|
+
return pulumi.get(self, "name")
|
|
5779
|
+
|
|
5780
|
+
@name.setter
|
|
5781
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
5782
|
+
pulumi.set(self, "name", value)
|
|
5783
|
+
|
|
5784
|
+
@_builtins.property
|
|
5785
|
+
@pulumi.getter
|
|
5786
|
+
def values(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
5787
|
+
return pulumi.get(self, "values")
|
|
5788
|
+
|
|
5789
|
+
@values.setter
|
|
5790
|
+
def values(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
5791
|
+
pulumi.set(self, "values", value)
|
|
5792
|
+
|
|
5793
|
+
|
|
5794
|
+
if not MYPY:
|
|
5795
|
+
class WebAclApplicationConfigArgsDict(TypedDict):
|
|
5796
|
+
"""
|
|
5797
|
+
Configures the ability for the WAF; console to store and retrieve application attributes during the webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
5798
|
+
"""
|
|
5799
|
+
attributes: pulumi.Input[Sequence[pulumi.Input['WebAclApplicationAttributeArgsDict']]]
|
|
5800
|
+
elif False:
|
|
5801
|
+
WebAclApplicationConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
5802
|
+
|
|
5803
|
+
@pulumi.input_type
|
|
5804
|
+
class WebAclApplicationConfigArgs:
|
|
5805
|
+
def __init__(__self__, *,
|
|
5806
|
+
attributes: pulumi.Input[Sequence[pulumi.Input['WebAclApplicationAttributeArgs']]]):
|
|
5807
|
+
"""
|
|
5808
|
+
Configures the ability for the WAF; console to store and retrieve application attributes during the webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
5809
|
+
"""
|
|
5810
|
+
pulumi.set(__self__, "attributes", attributes)
|
|
5811
|
+
|
|
5812
|
+
@_builtins.property
|
|
5813
|
+
@pulumi.getter
|
|
5814
|
+
def attributes(self) -> pulumi.Input[Sequence[pulumi.Input['WebAclApplicationAttributeArgs']]]:
|
|
5815
|
+
return pulumi.get(self, "attributes")
|
|
5816
|
+
|
|
5817
|
+
@attributes.setter
|
|
5818
|
+
def attributes(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclApplicationAttributeArgs']]]):
|
|
5819
|
+
pulumi.set(self, "attributes", value)
|
|
5820
|
+
|
|
5821
|
+
|
|
5750
5822
|
if not MYPY:
|
|
5751
5823
|
class WebAclAsnMatchStatementArgsDict(TypedDict):
|
|
5752
5824
|
asn_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]
|
|
@@ -26,7 +26,10 @@ __all__ = [
|
|
|
26
26
|
|
|
27
27
|
@pulumi.output_type
|
|
28
28
|
class GetWebAclResult:
|
|
29
|
-
def __init__(__self__, arn=None, association_config=None, capacity=None, captcha_config=None, challenge_config=None, custom_response_bodies=None, data_protection_config=None, default_action=None, description=None, id=None, label_namespace=None, on_source_d_do_s_protection_config=None, rules=None, tags=None, token_domains=None, visibility_config=None):
|
|
29
|
+
def __init__(__self__, application_config=None, arn=None, association_config=None, capacity=None, captcha_config=None, challenge_config=None, custom_response_bodies=None, data_protection_config=None, default_action=None, description=None, id=None, label_namespace=None, on_source_d_do_s_protection_config=None, rules=None, tags=None, token_domains=None, visibility_config=None):
|
|
30
|
+
if application_config and not isinstance(application_config, dict):
|
|
31
|
+
raise TypeError("Expected argument 'application_config' to be a dict")
|
|
32
|
+
pulumi.set(__self__, "application_config", application_config)
|
|
30
33
|
if arn and not isinstance(arn, str):
|
|
31
34
|
raise TypeError("Expected argument 'arn' to be a str")
|
|
32
35
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -76,6 +79,14 @@ class GetWebAclResult:
|
|
|
76
79
|
raise TypeError("Expected argument 'visibility_config' to be a dict")
|
|
77
80
|
pulumi.set(__self__, "visibility_config", visibility_config)
|
|
78
81
|
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter(name="applicationConfig")
|
|
84
|
+
def application_config(self) -> Optional['outputs.WebAclApplicationConfig']:
|
|
85
|
+
"""
|
|
86
|
+
Collection of application attributes.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "application_config")
|
|
89
|
+
|
|
79
90
|
@_builtins.property
|
|
80
91
|
@pulumi.getter
|
|
81
92
|
def arn(self) -> Optional[_builtins.str]:
|
|
@@ -229,6 +240,7 @@ class AwaitableGetWebAclResult(GetWebAclResult):
|
|
|
229
240
|
if False:
|
|
230
241
|
yield self
|
|
231
242
|
return GetWebAclResult(
|
|
243
|
+
application_config=self.application_config,
|
|
232
244
|
arn=self.arn,
|
|
233
245
|
association_config=self.association_config,
|
|
234
246
|
capacity=self.capacity,
|
|
@@ -271,6 +283,7 @@ def get_web_acl(id: Optional[_builtins.str] = None,
|
|
|
271
283
|
__ret__ = pulumi.runtime.invoke('aws-native:wafv2:getWebAcl', __args__, opts=opts, typ=GetWebAclResult).value
|
|
272
284
|
|
|
273
285
|
return AwaitableGetWebAclResult(
|
|
286
|
+
application_config=pulumi.get(__ret__, 'application_config'),
|
|
274
287
|
arn=pulumi.get(__ret__, 'arn'),
|
|
275
288
|
association_config=pulumi.get(__ret__, 'association_config'),
|
|
276
289
|
capacity=pulumi.get(__ret__, 'capacity'),
|
|
@@ -310,6 +323,7 @@ def get_web_acl_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
310
323
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
311
324
|
__ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getWebAcl', __args__, opts=opts, typ=GetWebAclResult)
|
|
312
325
|
return __ret__.apply(lambda __response__: GetWebAclResult(
|
|
326
|
+
application_config=pulumi.get(__response__, 'application_config'),
|
|
313
327
|
arn=pulumi.get(__response__, 'arn'),
|
|
314
328
|
association_config=pulumi.get(__response__, 'association_config'),
|
|
315
329
|
capacity=pulumi.get(__response__, 'capacity'),
|
|
@@ -87,6 +87,8 @@ __all__ = [
|
|
|
87
87
|
'RuleGroupXssMatchStatement',
|
|
88
88
|
'WebAclAllowAction',
|
|
89
89
|
'WebAclAndStatement',
|
|
90
|
+
'WebAclApplicationAttribute',
|
|
91
|
+
'WebAclApplicationConfig',
|
|
90
92
|
'WebAclAsnMatchStatement',
|
|
91
93
|
'WebAclAssociationConfig',
|
|
92
94
|
'WebAclAwsManagedRulesAcfpRuleSet',
|
|
@@ -4518,6 +4520,49 @@ class WebAclAndStatement(dict):
|
|
|
4518
4520
|
return pulumi.get(self, "statements")
|
|
4519
4521
|
|
|
4520
4522
|
|
|
4523
|
+
@pulumi.output_type
|
|
4524
|
+
class WebAclApplicationAttribute(dict):
|
|
4525
|
+
"""
|
|
4526
|
+
Application details defined during the &webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
4527
|
+
"""
|
|
4528
|
+
def __init__(__self__, *,
|
|
4529
|
+
name: _builtins.str,
|
|
4530
|
+
values: Sequence[_builtins.str]):
|
|
4531
|
+
"""
|
|
4532
|
+
Application details defined during the &webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
4533
|
+
"""
|
|
4534
|
+
pulumi.set(__self__, "name", name)
|
|
4535
|
+
pulumi.set(__self__, "values", values)
|
|
4536
|
+
|
|
4537
|
+
@_builtins.property
|
|
4538
|
+
@pulumi.getter
|
|
4539
|
+
def name(self) -> _builtins.str:
|
|
4540
|
+
return pulumi.get(self, "name")
|
|
4541
|
+
|
|
4542
|
+
@_builtins.property
|
|
4543
|
+
@pulumi.getter
|
|
4544
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
4545
|
+
return pulumi.get(self, "values")
|
|
4546
|
+
|
|
4547
|
+
|
|
4548
|
+
@pulumi.output_type
|
|
4549
|
+
class WebAclApplicationConfig(dict):
|
|
4550
|
+
"""
|
|
4551
|
+
Configures the ability for the WAF; console to store and retrieve application attributes during the webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
4552
|
+
"""
|
|
4553
|
+
def __init__(__self__, *,
|
|
4554
|
+
attributes: Sequence['outputs.WebAclApplicationAttribute']):
|
|
4555
|
+
"""
|
|
4556
|
+
Configures the ability for the WAF; console to store and retrieve application attributes during the webacl; creation process. Application attributes help WAF; give recommendations for protection packs.
|
|
4557
|
+
"""
|
|
4558
|
+
pulumi.set(__self__, "attributes", attributes)
|
|
4559
|
+
|
|
4560
|
+
@_builtins.property
|
|
4561
|
+
@pulumi.getter
|
|
4562
|
+
def attributes(self) -> Sequence['outputs.WebAclApplicationAttribute']:
|
|
4563
|
+
return pulumi.get(self, "attributes")
|
|
4564
|
+
|
|
4565
|
+
|
|
4521
4566
|
@pulumi.output_type
|
|
4522
4567
|
class WebAclAsnMatchStatement(dict):
|
|
4523
4568
|
@staticmethod
|