pulumi-aws-native 1.38.0a1761284362__py3-none-any.whl → 1.39.0a1762409198__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.

Files changed (187) hide show
  1. pulumi_aws_native/__init__.py +33 -1
  2. pulumi_aws_native/_enums.py +4 -0
  3. pulumi_aws_native/amazonmq/_enums.py +4 -12
  4. pulumi_aws_native/amazonmq/_inputs.py +21 -91
  5. pulumi_aws_native/amazonmq/broker.py +56 -67
  6. pulumi_aws_native/amazonmq/get_broker.py +6 -13
  7. pulumi_aws_native/amazonmq/outputs.py +14 -54
  8. pulumi_aws_native/applicationsignals/get_grouping_configuration.py +9 -0
  9. pulumi_aws_native/applicationsignals/grouping_configuration.py +3 -0
  10. pulumi_aws_native/appstream/get_image_builder.py +0 -4
  11. pulumi_aws_native/appstream/image_builder.py +0 -16
  12. pulumi_aws_native/aps/__init__.py +2 -0
  13. pulumi_aws_native/aps/_inputs.py +290 -0
  14. pulumi_aws_native/aps/anomaly_detector.py +318 -0
  15. pulumi_aws_native/aps/get_anomaly_detector.py +149 -0
  16. pulumi_aws_native/aps/outputs.py +229 -0
  17. pulumi_aws_native/arcregionswitch/get_plan.py +0 -3
  18. pulumi_aws_native/arcregionswitch/plan.py +0 -3
  19. pulumi_aws_native/batch/_inputs.py +34 -0
  20. pulumi_aws_native/batch/job_definition.py +29 -0
  21. pulumi_aws_native/batch/outputs.py +37 -0
  22. pulumi_aws_native/bedrock/automated_reasoning_policy.py +51 -0
  23. pulumi_aws_native/bedrock/get_automated_reasoning_policy.py +12 -1
  24. pulumi_aws_native/bedrockagentcore/__init__.py +2 -0
  25. pulumi_aws_native/bedrockagentcore/_enums.py +1 -0
  26. pulumi_aws_native/bedrockagentcore/get_workload_identity.py +134 -0
  27. pulumi_aws_native/bedrockagentcore/workload_identity.py +217 -0
  28. pulumi_aws_native/ce/_enums.py +3 -0
  29. pulumi_aws_native/cleanrooms/configured_table.py +4 -4
  30. pulumi_aws_native/cleanrooms/get_configured_table.py +1 -1
  31. pulumi_aws_native/cloudfront/_inputs.py +14 -1
  32. pulumi_aws_native/cloudfront/get_vpc_origin.py +12 -1
  33. pulumi_aws_native/cloudfront/outputs.py +11 -1
  34. pulumi_aws_native/cloudfront/vpc_origin.py +7 -0
  35. pulumi_aws_native/cognito/__init__.py +2 -0
  36. pulumi_aws_native/cognito/_enums.py +12 -0
  37. pulumi_aws_native/cognito/get_terms.py +117 -0
  38. pulumi_aws_native/cognito/terms.py +236 -0
  39. pulumi_aws_native/connect/_enums.py +68 -0
  40. pulumi_aws_native/connect/_inputs.py +581 -1
  41. pulumi_aws_native/connect/email_address.py +31 -0
  42. pulumi_aws_native/connect/get_email_address.py +16 -1
  43. pulumi_aws_native/connect/outputs.py +473 -3
  44. pulumi_aws_native/connectcampaignsv2/_enums.py +9 -0
  45. pulumi_aws_native/connectcampaignsv2/_inputs.py +127 -0
  46. pulumi_aws_native/connectcampaignsv2/outputs.py +118 -0
  47. pulumi_aws_native/datazone/_inputs.py +81 -0
  48. pulumi_aws_native/datazone/connection.py +83 -26
  49. pulumi_aws_native/datazone/outputs.py +84 -0
  50. pulumi_aws_native/ec2/__init__.py +2 -0
  51. pulumi_aws_native/ec2/_enums.py +19 -0
  52. pulumi_aws_native/ec2/_inputs.py +15 -12
  53. pulumi_aws_native/ec2/capacity_manager_data_export.py +259 -0
  54. pulumi_aws_native/ec2/capacity_reservation.py +6 -6
  55. pulumi_aws_native/ec2/get_capacity_manager_data_export.py +92 -0
  56. pulumi_aws_native/ec2/get_capacity_reservation.py +2 -2
  57. pulumi_aws_native/ec2/get_nat_gateway.py +3 -0
  58. pulumi_aws_native/ec2/get_volume.py +37 -15
  59. pulumi_aws_native/ec2/nat_gateway.py +11 -0
  60. pulumi_aws_native/ec2/outputs.py +10 -8
  61. pulumi_aws_native/ec2/volume.py +115 -74
  62. pulumi_aws_native/ecr/_inputs.py +2 -2
  63. pulumi_aws_native/ecr/get_repository.py +3 -2
  64. pulumi_aws_native/ecr/outputs.py +2 -2
  65. pulumi_aws_native/ecr/repository.py +12 -8
  66. pulumi_aws_native/ecs/_enums.py +24 -0
  67. pulumi_aws_native/ecs/_inputs.py +230 -23
  68. pulumi_aws_native/ecs/outputs.py +195 -15
  69. pulumi_aws_native/ecs/service.py +4 -0
  70. pulumi_aws_native/eks/_enums.py +11 -0
  71. pulumi_aws_native/eks/_inputs.py +199 -1
  72. pulumi_aws_native/eks/get_nodegroup.py +1 -0
  73. pulumi_aws_native/eks/nodegroup.py +1 -0
  74. pulumi_aws_native/eks/outputs.py +169 -1
  75. pulumi_aws_native/elasticloadbalancingv2/_inputs.py +213 -34
  76. pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py +15 -4
  77. pulumi_aws_native/elasticloadbalancingv2/listener_rule.py +22 -1
  78. pulumi_aws_native/elasticloadbalancingv2/load_balancer.py +4 -4
  79. pulumi_aws_native/elasticloadbalancingv2/outputs.py +187 -24
  80. pulumi_aws_native/events/__init__.py +2 -0
  81. pulumi_aws_native/events/_inputs.py +78 -0
  82. pulumi_aws_native/events/event_bus_policy.py +275 -0
  83. pulumi_aws_native/events/get_event_bus_policy.py +85 -0
  84. pulumi_aws_native/events/outputs.py +48 -0
  85. pulumi_aws_native/gameliftstreams/application.py +4 -4
  86. pulumi_aws_native/glue/__init__.py +2 -0
  87. pulumi_aws_native/glue/_inputs.py +134 -0
  88. pulumi_aws_native/glue/get_integration_resource_property.py +127 -0
  89. pulumi_aws_native/glue/integration_resource_property.py +229 -0
  90. pulumi_aws_native/glue/outputs.py +122 -0
  91. pulumi_aws_native/imagebuilder/_inputs.py +95 -0
  92. pulumi_aws_native/imagebuilder/get_image_pipeline.py +15 -1
  93. pulumi_aws_native/imagebuilder/image.py +58 -0
  94. pulumi_aws_native/imagebuilder/image_pipeline.py +10 -0
  95. pulumi_aws_native/imagebuilder/outputs.py +95 -0
  96. pulumi_aws_native/kendra/_inputs.py +21 -21
  97. pulumi_aws_native/kendra/outputs.py +14 -14
  98. pulumi_aws_native/lambda_/permission.py +4 -4
  99. pulumi_aws_native/mediapackagev2/_enums.py +15 -0
  100. pulumi_aws_native/mediapackagev2/_inputs.py +103 -0
  101. pulumi_aws_native/mediapackagev2/get_origin_endpoint.py +26 -1
  102. pulumi_aws_native/mediapackagev2/origin_endpoint.py +36 -0
  103. pulumi_aws_native/mediapackagev2/outputs.py +88 -0
  104. pulumi_aws_native/neptune/db_instance.py +29 -0
  105. pulumi_aws_native/neptune/get_db_instance.py +15 -1
  106. pulumi_aws_native/networkfirewall/_enums.py +2 -0
  107. pulumi_aws_native/networkfirewall/_inputs.py +20 -0
  108. pulumi_aws_native/networkfirewall/firewall.py +10 -0
  109. pulumi_aws_native/networkfirewall/get_firewall.py +15 -1
  110. pulumi_aws_native/networkfirewall/outputs.py +14 -0
  111. pulumi_aws_native/observabilityadmin/_enums.py +9 -0
  112. pulumi_aws_native/observabilityadmin/_inputs.py +252 -0
  113. pulumi_aws_native/observabilityadmin/get_organization_centralization_rule.py +9 -0
  114. pulumi_aws_native/observabilityadmin/get_organization_telemetry_rule.py +3 -0
  115. pulumi_aws_native/observabilityadmin/get_telemetry_rule.py +3 -0
  116. pulumi_aws_native/observabilityadmin/organization_centralization_rule.py +11 -0
  117. pulumi_aws_native/observabilityadmin/organization_telemetry_rule.py +8 -0
  118. pulumi_aws_native/observabilityadmin/outputs.py +150 -0
  119. pulumi_aws_native/observabilityadmin/telemetry_rule.py +8 -0
  120. pulumi_aws_native/organizations/_enums.py +13 -0
  121. pulumi_aws_native/organizations/account.py +10 -0
  122. pulumi_aws_native/organizations/get_account.py +15 -1
  123. pulumi_aws_native/osis/_inputs.py +24 -0
  124. pulumi_aws_native/osis/get_pipeline.py +26 -1
  125. pulumi_aws_native/osis/outputs.py +13 -0
  126. pulumi_aws_native/osis/pipeline.py +50 -0
  127. pulumi_aws_native/pulumi-plugin.json +1 -1
  128. pulumi_aws_native/qbusiness/_inputs.py +3 -3
  129. pulumi_aws_native/qbusiness/application.py +4 -4
  130. pulumi_aws_native/qbusiness/outputs.py +2 -2
  131. pulumi_aws_native/quicksight/_enums.py +1 -1
  132. pulumi_aws_native/quicksight/_inputs.py +12 -12
  133. pulumi_aws_native/quicksight/outputs.py +8 -8
  134. pulumi_aws_native/rds/db_cluster.py +24 -40
  135. pulumi_aws_native/route53/_inputs.py +21 -3
  136. pulumi_aws_native/route53/outputs.py +14 -2
  137. pulumi_aws_native/rtbfabric/__init__.py +17 -0
  138. pulumi_aws_native/rtbfabric/_enums.py +89 -0
  139. pulumi_aws_native/rtbfabric/_inputs.py +390 -0
  140. pulumi_aws_native/rtbfabric/get_link.py +199 -0
  141. pulumi_aws_native/rtbfabric/get_requester_gateway.py +217 -0
  142. pulumi_aws_native/rtbfabric/get_responder_gateway.py +255 -0
  143. pulumi_aws_native/rtbfabric/link.py +344 -0
  144. pulumi_aws_native/rtbfabric/outputs.py +363 -0
  145. pulumi_aws_native/rtbfabric/requester_gateway.py +303 -0
  146. pulumi_aws_native/rtbfabric/responder_gateway.py +431 -0
  147. pulumi_aws_native/s3/_enums.py +1 -1
  148. pulumi_aws_native/s3/_inputs.py +11 -5
  149. pulumi_aws_native/s3/access_grants_location.py +15 -13
  150. pulumi_aws_native/s3/outputs.py +10 -4
  151. pulumi_aws_native/s3vectors/__init__.py +17 -0
  152. pulumi_aws_native/s3vectors/_enums.py +39 -0
  153. pulumi_aws_native/s3vectors/_inputs.py +138 -0
  154. pulumi_aws_native/s3vectors/get_index.py +99 -0
  155. pulumi_aws_native/s3vectors/get_vector_bucket.py +99 -0
  156. pulumi_aws_native/s3vectors/get_vector_bucket_policy.py +78 -0
  157. pulumi_aws_native/s3vectors/index.py +367 -0
  158. pulumi_aws_native/s3vectors/outputs.py +129 -0
  159. pulumi_aws_native/s3vectors/vector_bucket.py +199 -0
  160. pulumi_aws_native/s3vectors/vector_bucket_policy.py +188 -0
  161. pulumi_aws_native/sagemaker/_enums.py +12 -171
  162. pulumi_aws_native/sagemaker/_inputs.py +81 -5
  163. pulumi_aws_native/sagemaker/cluster.py +21 -0
  164. pulumi_aws_native/sagemaker/get_cluster.py +15 -4
  165. pulumi_aws_native/sagemaker/outputs.py +67 -3
  166. pulumi_aws_native/ssm/_inputs.py +15 -3
  167. pulumi_aws_native/ssm/outputs.py +10 -2
  168. pulumi_aws_native/ssmquicksetup/get_lifecycle_automation.py +6 -0
  169. pulumi_aws_native/ssmquicksetup/lifecycle_automation.py +16 -0
  170. pulumi_aws_native/sso/_enums.py +1 -1
  171. pulumi_aws_native/sso/assignment.py +8 -8
  172. pulumi_aws_native/synthetics/_inputs.py +52 -12
  173. pulumi_aws_native/synthetics/outputs.py +35 -8
  174. pulumi_aws_native/transfer/_enums.py +15 -0
  175. pulumi_aws_native/transfer/_inputs.py +95 -3
  176. pulumi_aws_native/transfer/connector.py +86 -19
  177. pulumi_aws_native/transfer/get_connector.py +43 -1
  178. pulumi_aws_native/transfer/outputs.py +92 -2
  179. pulumi_aws_native/wafv2/_inputs.py +72 -0
  180. pulumi_aws_native/wafv2/get_web_acl.py +15 -1
  181. pulumi_aws_native/wafv2/outputs.py +45 -0
  182. pulumi_aws_native/wafv2/web_acl.py +29 -0
  183. pulumi_aws_native/wisdom/_enums.py +4 -0
  184. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/METADATA +1 -1
  185. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/RECORD +187 -155
  186. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/WHEEL +0 -0
  187. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,39 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import pulumi
7
+ from enum import Enum
8
+
9
+ __all__ = [
10
+ 'IndexDataType',
11
+ 'IndexDistanceMetric',
12
+ 'VectorBucketEncryptionConfigurationSseType',
13
+ ]
14
+
15
+
16
+ @pulumi.type_token("aws-native:s3vectors:IndexDataType")
17
+ class IndexDataType(_builtins.str, Enum):
18
+ """
19
+ The data type of the vectors to be inserted into the vector index.
20
+ """
21
+ FLOAT32 = "float32"
22
+
23
+
24
+ @pulumi.type_token("aws-native:s3vectors:IndexDistanceMetric")
25
+ class IndexDistanceMetric(_builtins.str, Enum):
26
+ """
27
+ The distance metric to be used for similarity search.
28
+ """
29
+ COSINE = "cosine"
30
+ EUCLIDEAN = "euclidean"
31
+
32
+
33
+ @pulumi.type_token("aws-native:s3vectors:VectorBucketEncryptionConfigurationSseType")
34
+ class VectorBucketEncryptionConfigurationSseType(_builtins.str, Enum):
35
+ """
36
+ The server-side encryption type to use for the encryption configuration of the vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.
37
+ """
38
+ AES256 = "AES256"
39
+ AWSKMS = "aws:kms"
@@ -0,0 +1,138 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from ._enums import *
17
+
18
+ __all__ = [
19
+ 'IndexMetadataConfigurationArgs',
20
+ 'IndexMetadataConfigurationArgsDict',
21
+ 'VectorBucketEncryptionConfigurationArgs',
22
+ 'VectorBucketEncryptionConfigurationArgsDict',
23
+ 'VectorBucketPolicyPolicyArgs',
24
+ 'VectorBucketPolicyPolicyArgsDict',
25
+ ]
26
+
27
+ MYPY = False
28
+
29
+ if not MYPY:
30
+ class IndexMetadataConfigurationArgsDict(TypedDict):
31
+ """
32
+ The metadata configuration for the vector index.
33
+ """
34
+ non_filterable_metadata_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
35
+ """
36
+ Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. Unlike default metadata keys, these keys cannot be used as query filters. Non-filterable metadata keys can be retrieved but cannot be searched, queried, or filtered. You can access non-filterable metadata keys of your vectors after finding the vectors.
37
+ """
38
+ elif False:
39
+ IndexMetadataConfigurationArgsDict: TypeAlias = Mapping[str, Any]
40
+
41
+ @pulumi.input_type
42
+ class IndexMetadataConfigurationArgs:
43
+ def __init__(__self__, *,
44
+ non_filterable_metadata_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
45
+ """
46
+ The metadata configuration for the vector index.
47
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] non_filterable_metadata_keys: Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. Unlike default metadata keys, these keys cannot be used as query filters. Non-filterable metadata keys can be retrieved but cannot be searched, queried, or filtered. You can access non-filterable metadata keys of your vectors after finding the vectors.
48
+ """
49
+ if non_filterable_metadata_keys is not None:
50
+ pulumi.set(__self__, "non_filterable_metadata_keys", non_filterable_metadata_keys)
51
+
52
+ @_builtins.property
53
+ @pulumi.getter(name="nonFilterableMetadataKeys")
54
+ def non_filterable_metadata_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
55
+ """
56
+ Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. Unlike default metadata keys, these keys cannot be used as query filters. Non-filterable metadata keys can be retrieved but cannot be searched, queried, or filtered. You can access non-filterable metadata keys of your vectors after finding the vectors.
57
+ """
58
+ return pulumi.get(self, "non_filterable_metadata_keys")
59
+
60
+ @non_filterable_metadata_keys.setter
61
+ def non_filterable_metadata_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
62
+ pulumi.set(self, "non_filterable_metadata_keys", value)
63
+
64
+
65
+ if not MYPY:
66
+ class VectorBucketEncryptionConfigurationArgsDict(TypedDict):
67
+ """
68
+ The encryption configuration for the vector bucket.
69
+ """
70
+ kms_key_arn: NotRequired[pulumi.Input[_builtins.str]]
71
+ """
72
+ AWS Key Management Service (KMS) customer managed key ID to use for the encryption configuration. This parameter is allowed if and only if sseType is set to aws:kms
73
+ """
74
+ sse_type: NotRequired[pulumi.Input['VectorBucketEncryptionConfigurationSseType']]
75
+ """
76
+ The server-side encryption type to use for the encryption configuration of the vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.
77
+ """
78
+ elif False:
79
+ VectorBucketEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any]
80
+
81
+ @pulumi.input_type
82
+ class VectorBucketEncryptionConfigurationArgs:
83
+ def __init__(__self__, *,
84
+ kms_key_arn: Optional[pulumi.Input[_builtins.str]] = None,
85
+ sse_type: Optional[pulumi.Input['VectorBucketEncryptionConfigurationSseType']] = None):
86
+ """
87
+ The encryption configuration for the vector bucket.
88
+ :param pulumi.Input[_builtins.str] kms_key_arn: AWS Key Management Service (KMS) customer managed key ID to use for the encryption configuration. This parameter is allowed if and only if sseType is set to aws:kms
89
+ :param pulumi.Input['VectorBucketEncryptionConfigurationSseType'] sse_type: The server-side encryption type to use for the encryption configuration of the vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.
90
+ """
91
+ if kms_key_arn is not None:
92
+ pulumi.set(__self__, "kms_key_arn", kms_key_arn)
93
+ if sse_type is not None:
94
+ pulumi.set(__self__, "sse_type", sse_type)
95
+
96
+ @_builtins.property
97
+ @pulumi.getter(name="kmsKeyArn")
98
+ def kms_key_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
99
+ """
100
+ AWS Key Management Service (KMS) customer managed key ID to use for the encryption configuration. This parameter is allowed if and only if sseType is set to aws:kms
101
+ """
102
+ return pulumi.get(self, "kms_key_arn")
103
+
104
+ @kms_key_arn.setter
105
+ def kms_key_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
106
+ pulumi.set(self, "kms_key_arn", value)
107
+
108
+ @_builtins.property
109
+ @pulumi.getter(name="sseType")
110
+ def sse_type(self) -> Optional[pulumi.Input['VectorBucketEncryptionConfigurationSseType']]:
111
+ """
112
+ The server-side encryption type to use for the encryption configuration of the vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.
113
+ """
114
+ return pulumi.get(self, "sse_type")
115
+
116
+ @sse_type.setter
117
+ def sse_type(self, value: Optional[pulumi.Input['VectorBucketEncryptionConfigurationSseType']]):
118
+ pulumi.set(self, "sse_type", value)
119
+
120
+
121
+ if not MYPY:
122
+ class VectorBucketPolicyPolicyArgsDict(TypedDict):
123
+ """
124
+ 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.
125
+ """
126
+ pass
127
+ elif False:
128
+ VectorBucketPolicyPolicyArgsDict: TypeAlias = Mapping[str, Any]
129
+
130
+ @pulumi.input_type
131
+ class VectorBucketPolicyPolicyArgs:
132
+ def __init__(__self__):
133
+ """
134
+ 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.
135
+ """
136
+ pass
137
+
138
+
@@ -0,0 +1,99 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetIndexResult',
19
+ 'AwaitableGetIndexResult',
20
+ 'get_index',
21
+ 'get_index_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetIndexResult:
26
+ def __init__(__self__, creation_time=None, index_arn=None):
27
+ if creation_time and not isinstance(creation_time, str):
28
+ raise TypeError("Expected argument 'creation_time' to be a str")
29
+ pulumi.set(__self__, "creation_time", creation_time)
30
+ if index_arn and not isinstance(index_arn, str):
31
+ raise TypeError("Expected argument 'index_arn' to be a str")
32
+ pulumi.set(__self__, "index_arn", index_arn)
33
+
34
+ @_builtins.property
35
+ @pulumi.getter(name="creationTime")
36
+ def creation_time(self) -> Optional[_builtins.str]:
37
+ """
38
+ Returns the date and time when the vector index was created.
39
+
40
+ Example: `2024-12-21T10:30:00Z`
41
+ """
42
+ return pulumi.get(self, "creation_time")
43
+
44
+ @_builtins.property
45
+ @pulumi.getter(name="indexArn")
46
+ def index_arn(self) -> Optional[_builtins.str]:
47
+ """
48
+ Returns the Amazon Resource Name (ARN) of the specified index.
49
+
50
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
51
+ """
52
+ return pulumi.get(self, "index_arn")
53
+
54
+
55
+ class AwaitableGetIndexResult(GetIndexResult):
56
+ # pylint: disable=using-constant-test
57
+ def __await__(self):
58
+ if False:
59
+ yield self
60
+ return GetIndexResult(
61
+ creation_time=self.creation_time,
62
+ index_arn=self.index_arn)
63
+
64
+
65
+ def get_index(index_arn: Optional[_builtins.str] = None,
66
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIndexResult:
67
+ """
68
+ Resource Type definition for AWS::S3Vectors::Index
69
+
70
+
71
+ :param _builtins.str index_arn: Returns the Amazon Resource Name (ARN) of the specified index.
72
+
73
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
74
+ """
75
+ __args__ = dict()
76
+ __args__['indexArn'] = index_arn
77
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
78
+ __ret__ = pulumi.runtime.invoke('aws-native:s3vectors:getIndex', __args__, opts=opts, typ=GetIndexResult).value
79
+
80
+ return AwaitableGetIndexResult(
81
+ creation_time=pulumi.get(__ret__, 'creation_time'),
82
+ index_arn=pulumi.get(__ret__, 'index_arn'))
83
+ def get_index_output(index_arn: Optional[pulumi.Input[_builtins.str]] = None,
84
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIndexResult]:
85
+ """
86
+ Resource Type definition for AWS::S3Vectors::Index
87
+
88
+
89
+ :param _builtins.str index_arn: Returns the Amazon Resource Name (ARN) of the specified index.
90
+
91
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
92
+ """
93
+ __args__ = dict()
94
+ __args__['indexArn'] = index_arn
95
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
96
+ __ret__ = pulumi.runtime.invoke_output('aws-native:s3vectors:getIndex', __args__, opts=opts, typ=GetIndexResult)
97
+ return __ret__.apply(lambda __response__: GetIndexResult(
98
+ creation_time=pulumi.get(__response__, 'creation_time'),
99
+ index_arn=pulumi.get(__response__, 'index_arn')))
@@ -0,0 +1,99 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetVectorBucketResult',
19
+ 'AwaitableGetVectorBucketResult',
20
+ 'get_vector_bucket',
21
+ 'get_vector_bucket_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetVectorBucketResult:
26
+ def __init__(__self__, creation_time=None, vector_bucket_arn=None):
27
+ if creation_time and not isinstance(creation_time, str):
28
+ raise TypeError("Expected argument 'creation_time' to be a str")
29
+ pulumi.set(__self__, "creation_time", creation_time)
30
+ if vector_bucket_arn and not isinstance(vector_bucket_arn, str):
31
+ raise TypeError("Expected argument 'vector_bucket_arn' to be a str")
32
+ pulumi.set(__self__, "vector_bucket_arn", vector_bucket_arn)
33
+
34
+ @_builtins.property
35
+ @pulumi.getter(name="creationTime")
36
+ def creation_time(self) -> Optional[_builtins.str]:
37
+ """
38
+ Returns the date and time when the vector bucket was created.
39
+
40
+ Example: `2024-12-21T10:30:00Z`
41
+ """
42
+ return pulumi.get(self, "creation_time")
43
+
44
+ @_builtins.property
45
+ @pulumi.getter(name="vectorBucketArn")
46
+ def vector_bucket_arn(self) -> Optional[_builtins.str]:
47
+ """
48
+ Returns the Amazon Resource Name (ARN) of the specified vector bucket.
49
+
50
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket`
51
+ """
52
+ return pulumi.get(self, "vector_bucket_arn")
53
+
54
+
55
+ class AwaitableGetVectorBucketResult(GetVectorBucketResult):
56
+ # pylint: disable=using-constant-test
57
+ def __await__(self):
58
+ if False:
59
+ yield self
60
+ return GetVectorBucketResult(
61
+ creation_time=self.creation_time,
62
+ vector_bucket_arn=self.vector_bucket_arn)
63
+
64
+
65
+ def get_vector_bucket(vector_bucket_arn: Optional[_builtins.str] = None,
66
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVectorBucketResult:
67
+ """
68
+ Resource Type definition for AWS::S3Vectors::VectorBucket
69
+
70
+
71
+ :param _builtins.str vector_bucket_arn: Returns the Amazon Resource Name (ARN) of the specified vector bucket.
72
+
73
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket`
74
+ """
75
+ __args__ = dict()
76
+ __args__['vectorBucketArn'] = vector_bucket_arn
77
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
78
+ __ret__ = pulumi.runtime.invoke('aws-native:s3vectors:getVectorBucket', __args__, opts=opts, typ=GetVectorBucketResult).value
79
+
80
+ return AwaitableGetVectorBucketResult(
81
+ creation_time=pulumi.get(__ret__, 'creation_time'),
82
+ vector_bucket_arn=pulumi.get(__ret__, 'vector_bucket_arn'))
83
+ def get_vector_bucket_output(vector_bucket_arn: Optional[pulumi.Input[_builtins.str]] = None,
84
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVectorBucketResult]:
85
+ """
86
+ Resource Type definition for AWS::S3Vectors::VectorBucket
87
+
88
+
89
+ :param _builtins.str vector_bucket_arn: Returns the Amazon Resource Name (ARN) of the specified vector bucket.
90
+
91
+ Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket`
92
+ """
93
+ __args__ = dict()
94
+ __args__['vectorBucketArn'] = vector_bucket_arn
95
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
96
+ __ret__ = pulumi.runtime.invoke_output('aws-native:s3vectors:getVectorBucket', __args__, opts=opts, typ=GetVectorBucketResult)
97
+ return __ret__.apply(lambda __response__: GetVectorBucketResult(
98
+ creation_time=pulumi.get(__response__, 'creation_time'),
99
+ vector_bucket_arn=pulumi.get(__response__, 'vector_bucket_arn')))
@@ -0,0 +1,78 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetVectorBucketPolicyResult',
20
+ 'AwaitableGetVectorBucketPolicyResult',
21
+ 'get_vector_bucket_policy',
22
+ 'get_vector_bucket_policy_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetVectorBucketPolicyResult:
27
+ def __init__(__self__, policy=None):
28
+ if policy and not isinstance(policy, dict):
29
+ raise TypeError("Expected argument 'policy' to be a dict")
30
+ pulumi.set(__self__, "policy", policy)
31
+
32
+ @_builtins.property
33
+ @pulumi.getter
34
+ def policy(self) -> Optional['outputs.VectorBucketPolicyPolicy']:
35
+ """
36
+ 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 .
37
+ """
38
+ return pulumi.get(self, "policy")
39
+
40
+
41
+ class AwaitableGetVectorBucketPolicyResult(GetVectorBucketPolicyResult):
42
+ # pylint: disable=using-constant-test
43
+ def __await__(self):
44
+ if False:
45
+ yield self
46
+ return GetVectorBucketPolicyResult(
47
+ policy=self.policy)
48
+
49
+
50
+ def get_vector_bucket_policy(vector_bucket_arn: Optional[_builtins.str] = None,
51
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVectorBucketPolicyResult:
52
+ """
53
+ Resource Type definition for AWS::S3Vectors::VectorBucketPolicy
54
+
55
+
56
+ :param _builtins.str vector_bucket_arn: The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
57
+ """
58
+ __args__ = dict()
59
+ __args__['vectorBucketArn'] = vector_bucket_arn
60
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
61
+ __ret__ = pulumi.runtime.invoke('aws-native:s3vectors:getVectorBucketPolicy', __args__, opts=opts, typ=GetVectorBucketPolicyResult).value
62
+
63
+ return AwaitableGetVectorBucketPolicyResult(
64
+ policy=pulumi.get(__ret__, 'policy'))
65
+ def get_vector_bucket_policy_output(vector_bucket_arn: Optional[pulumi.Input[_builtins.str]] = None,
66
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVectorBucketPolicyResult]:
67
+ """
68
+ Resource Type definition for AWS::S3Vectors::VectorBucketPolicy
69
+
70
+
71
+ :param _builtins.str vector_bucket_arn: The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
72
+ """
73
+ __args__ = dict()
74
+ __args__['vectorBucketArn'] = vector_bucket_arn
75
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
76
+ __ret__ = pulumi.runtime.invoke_output('aws-native:s3vectors:getVectorBucketPolicy', __args__, opts=opts, typ=GetVectorBucketPolicyResult)
77
+ return __ret__.apply(lambda __response__: GetVectorBucketPolicyResult(
78
+ policy=pulumi.get(__response__, 'policy')))