pulumi-aws-native 1.39.0a1762385303__py3-none-any.whl → 1.39.0a1762580459__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 (65) hide show
  1. pulumi_aws_native/__init__.py +2 -0
  2. pulumi_aws_native/backup/get_logically_air_gapped_backup_vault.py +12 -1
  3. pulumi_aws_native/backup/logically_air_gapped_backup_vault.py +21 -0
  4. pulumi_aws_native/cassandra/_enums.py +3 -0
  5. pulumi_aws_native/cleanrooms/_enums.py +98 -0
  6. pulumi_aws_native/cleanrooms/_inputs.py +138 -12
  7. pulumi_aws_native/cleanrooms/collaboration.py +30 -1
  8. pulumi_aws_native/cleanrooms/get_privacy_budget_template.py +1 -0
  9. pulumi_aws_native/cleanrooms/outputs.py +106 -9
  10. pulumi_aws_native/cloudfront/_inputs.py +7 -0
  11. pulumi_aws_native/cloudfront/get_vpc_origin.py +3 -0
  12. pulumi_aws_native/cloudfront/outputs.py +4 -0
  13. pulumi_aws_native/cloudfront/vpc_origin.py +3 -0
  14. pulumi_aws_native/connect/_enums.py +9 -0
  15. pulumi_aws_native/connect/_inputs.py +168 -0
  16. pulumi_aws_native/connect/get_security_profile.py +13 -1
  17. pulumi_aws_native/connect/outputs.py +172 -0
  18. pulumi_aws_native/connect/security_profile.py +22 -0
  19. pulumi_aws_native/datazone/_enums.py +10 -0
  20. pulumi_aws_native/datazone/_inputs.py +99 -4
  21. pulumi_aws_native/datazone/connection.py +37 -8
  22. pulumi_aws_native/datazone/outputs.py +101 -6
  23. pulumi_aws_native/dynamodb/_inputs.py +6 -5
  24. pulumi_aws_native/dynamodb/outputs.py +4 -3
  25. pulumi_aws_native/ecr/_inputs.py +2 -2
  26. pulumi_aws_native/ecr/get_repository_creation_template.py +1 -1
  27. pulumi_aws_native/ecr/outputs.py +2 -2
  28. pulumi_aws_native/ecr/repository_creation_template.py +4 -4
  29. pulumi_aws_native/ecs/_inputs.py +6 -6
  30. pulumi_aws_native/ecs/outputs.py +4 -4
  31. pulumi_aws_native/ecs/task_definition.py +8 -8
  32. pulumi_aws_native/elasticloadbalancingv2/_inputs.py +23 -3
  33. pulumi_aws_native/elasticloadbalancingv2/outputs.py +16 -2
  34. pulumi_aws_native/gamelift/_enums.py +1 -0
  35. pulumi_aws_native/kinesis/get_stream.py +15 -1
  36. pulumi_aws_native/kinesis/stream.py +29 -0
  37. pulumi_aws_native/kms/_enums.py +1 -0
  38. pulumi_aws_native/lambda_/permission.py +4 -4
  39. pulumi_aws_native/location/_inputs.py +86 -0
  40. pulumi_aws_native/location/outputs.py +88 -0
  41. pulumi_aws_native/opensearchserverless/collection.py +11 -1
  42. pulumi_aws_native/opensearchserverless/get_collection.py +11 -12
  43. pulumi_aws_native/pulumi-plugin.json +1 -1
  44. pulumi_aws_native/quicksight/_enums.py +62 -0
  45. pulumi_aws_native/quicksight/_inputs.py +2571 -260
  46. pulumi_aws_native/quicksight/data_set.py +42 -24
  47. pulumi_aws_native/quicksight/get_data_set.py +23 -10
  48. pulumi_aws_native/quicksight/outputs.py +2247 -94
  49. pulumi_aws_native/servicecatalog/__init__.py +2 -0
  50. pulumi_aws_native/servicecatalog/_enums.py +28 -0
  51. pulumi_aws_native/servicecatalog/_inputs.py +364 -0
  52. pulumi_aws_native/servicecatalog/cloud_formation_product.py +519 -0
  53. pulumi_aws_native/servicecatalog/get_cloud_formation_product.py +276 -0
  54. pulumi_aws_native/servicecatalog/outputs.py +311 -0
  55. pulumi_aws_native/ses/__init__.py +2 -0
  56. pulumi_aws_native/ses/_inputs.py +54 -0
  57. pulumi_aws_native/ses/get_multi_region_endpoint.py +78 -0
  58. pulumi_aws_native/ses/multi_region_endpoint.py +190 -0
  59. pulumi_aws_native/ses/outputs.py +49 -0
  60. pulumi_aws_native/wafv2/_inputs.py +7 -0
  61. pulumi_aws_native/wafv2/outputs.py +4 -0
  62. {pulumi_aws_native-1.39.0a1762385303.dist-info → pulumi_aws_native-1.39.0a1762580459.dist-info}/METADATA +1 -1
  63. {pulumi_aws_native-1.39.0a1762385303.dist-info → pulumi_aws_native-1.39.0a1762580459.dist-info}/RECORD +65 -61
  64. {pulumi_aws_native-1.39.0a1762385303.dist-info → pulumi_aws_native-1.39.0a1762580459.dist-info}/WHEEL +0 -0
  65. {pulumi_aws_native-1.39.0a1762385303.dist-info → pulumi_aws_native-1.39.0a1762580459.dist-info}/top_level.txt +0 -0
@@ -1938,20 +1938,34 @@ class ListenerRuleRedirectConfig(dict):
1938
1938
 
1939
1939
  @pulumi.output_type
1940
1940
  class ListenerRuleRewriteConfig(dict):
1941
+ """
1942
+ Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.
1943
+ """
1941
1944
  def __init__(__self__, *,
1942
1945
  regex: _builtins.str,
1943
1946
  replace: _builtins.str):
1947
+ """
1948
+ Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.
1949
+ :param _builtins.str regex: The regular expression to match in the input string. The maximum length of the string is 1,024 characters.
1950
+ :param _builtins.str replace: The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).
1951
+ """
1944
1952
  pulumi.set(__self__, "regex", regex)
1945
1953
  pulumi.set(__self__, "replace", replace)
1946
1954
 
1947
1955
  @_builtins.property
1948
1956
  @pulumi.getter
1949
1957
  def regex(self) -> _builtins.str:
1958
+ """
1959
+ The regular expression to match in the input string. The maximum length of the string is 1,024 characters.
1960
+ """
1950
1961
  return pulumi.get(self, "regex")
1951
1962
 
1952
1963
  @_builtins.property
1953
1964
  @pulumi.getter
1954
1965
  def replace(self) -> _builtins.str:
1966
+ """
1967
+ The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).
1968
+ """
1955
1969
  return pulumi.get(self, "replace")
1956
1970
 
1957
1971
 
@@ -2025,7 +2039,7 @@ class ListenerRuleRuleCondition(dict):
2025
2039
  :param 'ListenerRuleHttpRequestMethodConfig' http_request_method_config: Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method``.
2026
2040
  :param 'ListenerRulePathPatternConfig' path_pattern_config: Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern``.
2027
2041
  :param 'ListenerRuleQueryStringConfig' query_string_config: Information for a query string condition. Specify only when ``Field`` is ``query-string``.
2028
- :param Sequence[_builtins.str] regex_values: The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when `Field` is `http-header` , `host-header` , or `path-pattern` .
2042
+ :param Sequence[_builtins.str] regex_values: The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when ``Field`` is ``http-header``, ``host-header``, or ``path-pattern``.
2029
2043
  :param 'ListenerRuleSourceIpConfig' source_ip_config: Information for a source IP condition. Specify only when ``Field`` is ``source-ip``.
2030
2044
  :param Sequence[_builtins.str] values: The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern``. Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig``.
2031
2045
  If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig``, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.
@@ -2118,7 +2132,7 @@ class ListenerRuleRuleCondition(dict):
2118
2132
  @pulumi.getter(name="regexValues")
2119
2133
  def regex_values(self) -> Optional[Sequence[_builtins.str]]:
2120
2134
  """
2121
- The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when `Field` is `http-header` , `host-header` , or `path-pattern` .
2135
+ The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when ``Field`` is ``http-header``, ``host-header``, or ``path-pattern``.
2122
2136
  """
2123
2137
  return pulumi.get(self, "regex_values")
2124
2138
 
@@ -68,6 +68,7 @@ class BuildOperatingSystem(_builtins.str, Enum):
68
68
  AMAZON_LINUX2023 = "AMAZON_LINUX_2023"
69
69
  WINDOWS2012 = "WINDOWS_2012"
70
70
  WINDOWS2016 = "WINDOWS_2016"
71
+ WINDOWS2022 = "WINDOWS_2022"
71
72
 
72
73
 
73
74
  @pulumi.type_token("aws-native:gamelift:ContainerFleetBillingType")
@@ -26,13 +26,16 @@ __all__ = [
26
26
 
27
27
  @pulumi.output_type
28
28
  class GetStreamResult:
29
- def __init__(__self__, arn=None, desired_shard_level_metrics=None, retention_period_hours=None, shard_count=None, stream_encryption=None, stream_mode_details=None, tags=None):
29
+ def __init__(__self__, arn=None, desired_shard_level_metrics=None, max_record_size_in_ki_b=None, retention_period_hours=None, shard_count=None, stream_encryption=None, stream_mode_details=None, tags=None):
30
30
  if arn and not isinstance(arn, str):
31
31
  raise TypeError("Expected argument 'arn' to be a str")
32
32
  pulumi.set(__self__, "arn", arn)
33
33
  if desired_shard_level_metrics and not isinstance(desired_shard_level_metrics, list):
34
34
  raise TypeError("Expected argument 'desired_shard_level_metrics' to be a list")
35
35
  pulumi.set(__self__, "desired_shard_level_metrics", desired_shard_level_metrics)
36
+ if max_record_size_in_ki_b and not isinstance(max_record_size_in_ki_b, int):
37
+ raise TypeError("Expected argument 'max_record_size_in_ki_b' to be a int")
38
+ pulumi.set(__self__, "max_record_size_in_ki_b", max_record_size_in_ki_b)
36
39
  if retention_period_hours and not isinstance(retention_period_hours, int):
37
40
  raise TypeError("Expected argument 'retention_period_hours' to be a int")
38
41
  pulumi.set(__self__, "retention_period_hours", retention_period_hours)
@@ -65,6 +68,14 @@ class GetStreamResult:
65
68
  """
66
69
  return pulumi.get(self, "desired_shard_level_metrics")
67
70
 
71
+ @_builtins.property
72
+ @pulumi.getter(name="maxRecordSizeInKiB")
73
+ def max_record_size_in_ki_b(self) -> Optional[_builtins.int]:
74
+ """
75
+ Maximum size of a data record in KiB allowed to be put into Kinesis stream.
76
+ """
77
+ return pulumi.get(self, "max_record_size_in_ki_b")
78
+
68
79
  @_builtins.property
69
80
  @pulumi.getter(name="retentionPeriodHours")
70
81
  def retention_period_hours(self) -> Optional[_builtins.int]:
@@ -114,6 +125,7 @@ class AwaitableGetStreamResult(GetStreamResult):
114
125
  return GetStreamResult(
115
126
  arn=self.arn,
116
127
  desired_shard_level_metrics=self.desired_shard_level_metrics,
128
+ max_record_size_in_ki_b=self.max_record_size_in_ki_b,
117
129
  retention_period_hours=self.retention_period_hours,
118
130
  shard_count=self.shard_count,
119
131
  stream_encryption=self.stream_encryption,
@@ -137,6 +149,7 @@ def get_stream(name: Optional[_builtins.str] = None,
137
149
  return AwaitableGetStreamResult(
138
150
  arn=pulumi.get(__ret__, 'arn'),
139
151
  desired_shard_level_metrics=pulumi.get(__ret__, 'desired_shard_level_metrics'),
152
+ max_record_size_in_ki_b=pulumi.get(__ret__, 'max_record_size_in_ki_b'),
140
153
  retention_period_hours=pulumi.get(__ret__, 'retention_period_hours'),
141
154
  shard_count=pulumi.get(__ret__, 'shard_count'),
142
155
  stream_encryption=pulumi.get(__ret__, 'stream_encryption'),
@@ -157,6 +170,7 @@ def get_stream_output(name: Optional[pulumi.Input[_builtins.str]] = None,
157
170
  return __ret__.apply(lambda __response__: GetStreamResult(
158
171
  arn=pulumi.get(__response__, 'arn'),
159
172
  desired_shard_level_metrics=pulumi.get(__response__, 'desired_shard_level_metrics'),
173
+ max_record_size_in_ki_b=pulumi.get(__response__, 'max_record_size_in_ki_b'),
160
174
  retention_period_hours=pulumi.get(__response__, 'retention_period_hours'),
161
175
  shard_count=pulumi.get(__response__, 'shard_count'),
162
176
  stream_encryption=pulumi.get(__response__, 'stream_encryption'),
@@ -25,6 +25,7 @@ __all__ = ['StreamArgs', 'Stream']
25
25
  class StreamArgs:
26
26
  def __init__(__self__, *,
27
27
  desired_shard_level_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]]] = None,
28
+ max_record_size_in_ki_b: Optional[pulumi.Input[_builtins.int]] = None,
28
29
  name: Optional[pulumi.Input[_builtins.str]] = None,
29
30
  retention_period_hours: Optional[pulumi.Input[_builtins.int]] = None,
30
31
  shard_count: Optional[pulumi.Input[_builtins.int]] = None,
@@ -34,6 +35,7 @@ class StreamArgs:
34
35
  """
35
36
  The set of arguments for constructing a Stream resource.
36
37
  :param pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]] desired_shard_level_metrics: The final list of shard-level metrics
38
+ :param pulumi.Input[_builtins.int] max_record_size_in_ki_b: Maximum size of a data record in KiB allowed to be put into Kinesis stream.
37
39
  :param pulumi.Input[_builtins.str] name: The name of the Kinesis stream.
38
40
  :param pulumi.Input[_builtins.int] retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible.
39
41
  :param pulumi.Input[_builtins.int] shard_count: The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
@@ -43,6 +45,8 @@ class StreamArgs:
43
45
  """
44
46
  if desired_shard_level_metrics is not None:
45
47
  pulumi.set(__self__, "desired_shard_level_metrics", desired_shard_level_metrics)
48
+ if max_record_size_in_ki_b is not None:
49
+ pulumi.set(__self__, "max_record_size_in_ki_b", max_record_size_in_ki_b)
46
50
  if name is not None:
47
51
  pulumi.set(__self__, "name", name)
48
52
  if retention_period_hours is not None:
@@ -68,6 +72,18 @@ class StreamArgs:
68
72
  def desired_shard_level_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]]]):
69
73
  pulumi.set(self, "desired_shard_level_metrics", value)
70
74
 
75
+ @_builtins.property
76
+ @pulumi.getter(name="maxRecordSizeInKiB")
77
+ def max_record_size_in_ki_b(self) -> Optional[pulumi.Input[_builtins.int]]:
78
+ """
79
+ Maximum size of a data record in KiB allowed to be put into Kinesis stream.
80
+ """
81
+ return pulumi.get(self, "max_record_size_in_ki_b")
82
+
83
+ @max_record_size_in_ki_b.setter
84
+ def max_record_size_in_ki_b(self, value: Optional[pulumi.Input[_builtins.int]]):
85
+ pulumi.set(self, "max_record_size_in_ki_b", value)
86
+
71
87
  @_builtins.property
72
88
  @pulumi.getter
73
89
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -148,6 +164,7 @@ class Stream(pulumi.CustomResource):
148
164
  resource_name: str,
149
165
  opts: Optional[pulumi.ResourceOptions] = None,
150
166
  desired_shard_level_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]]] = None,
167
+ max_record_size_in_ki_b: Optional[pulumi.Input[_builtins.int]] = None,
151
168
  name: Optional[pulumi.Input[_builtins.str]] = None,
152
169
  retention_period_hours: Optional[pulumi.Input[_builtins.int]] = None,
153
170
  shard_count: Optional[pulumi.Input[_builtins.int]] = None,
@@ -161,6 +178,7 @@ class Stream(pulumi.CustomResource):
161
178
  :param str resource_name: The name of the resource.
162
179
  :param pulumi.ResourceOptions opts: Options for the resource.
163
180
  :param pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]] desired_shard_level_metrics: The final list of shard-level metrics
181
+ :param pulumi.Input[_builtins.int] max_record_size_in_ki_b: Maximum size of a data record in KiB allowed to be put into Kinesis stream.
164
182
  :param pulumi.Input[_builtins.str] name: The name of the Kinesis stream.
165
183
  :param pulumi.Input[_builtins.int] retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible.
166
184
  :param pulumi.Input[_builtins.int] shard_count: The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
@@ -193,6 +211,7 @@ class Stream(pulumi.CustomResource):
193
211
  resource_name: str,
194
212
  opts: Optional[pulumi.ResourceOptions] = None,
195
213
  desired_shard_level_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['StreamEnhancedMetric']]]] = None,
214
+ max_record_size_in_ki_b: Optional[pulumi.Input[_builtins.int]] = None,
196
215
  name: Optional[pulumi.Input[_builtins.str]] = None,
197
216
  retention_period_hours: Optional[pulumi.Input[_builtins.int]] = None,
198
217
  shard_count: Optional[pulumi.Input[_builtins.int]] = None,
@@ -209,6 +228,7 @@ class Stream(pulumi.CustomResource):
209
228
  __props__ = StreamArgs.__new__(StreamArgs)
210
229
 
211
230
  __props__.__dict__["desired_shard_level_metrics"] = desired_shard_level_metrics
231
+ __props__.__dict__["max_record_size_in_ki_b"] = max_record_size_in_ki_b
212
232
  __props__.__dict__["name"] = name
213
233
  __props__.__dict__["retention_period_hours"] = retention_period_hours
214
234
  __props__.__dict__["shard_count"] = shard_count
@@ -242,6 +262,7 @@ class Stream(pulumi.CustomResource):
242
262
 
243
263
  __props__.__dict__["arn"] = None
244
264
  __props__.__dict__["desired_shard_level_metrics"] = None
265
+ __props__.__dict__["max_record_size_in_ki_b"] = None
245
266
  __props__.__dict__["name"] = None
246
267
  __props__.__dict__["retention_period_hours"] = None
247
268
  __props__.__dict__["shard_count"] = None
@@ -266,6 +287,14 @@ class Stream(pulumi.CustomResource):
266
287
  """
267
288
  return pulumi.get(self, "desired_shard_level_metrics")
268
289
 
290
+ @_builtins.property
291
+ @pulumi.getter(name="maxRecordSizeInKiB")
292
+ def max_record_size_in_ki_b(self) -> pulumi.Output[Optional[_builtins.int]]:
293
+ """
294
+ Maximum size of a data record in KiB allowed to be put into Kinesis stream.
295
+ """
296
+ return pulumi.get(self, "max_record_size_in_ki_b")
297
+
269
298
  @_builtins.property
270
299
  @pulumi.getter
271
300
  def name(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -80,6 +80,7 @@ class KeySpec(_builtins.str, Enum):
80
80
  ML_DSA44 = "ML_DSA_44"
81
81
  ML_DSA65 = "ML_DSA_65"
82
82
  ML_DSA87 = "ML_DSA_87"
83
+ ECC_NIST_EDWARDS25519 = "ECC_NIST_EDWARDS25519"
83
84
 
84
85
 
85
86
  @pulumi.type_token("aws-native:kms:KeyUsage")
@@ -42,7 +42,7 @@ class PermissionArgs:
42
42
  :param pulumi.Input[_builtins.str] principal: The AWS-service, AWS-account, IAM user, or IAM role that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
43
43
  :param pulumi.Input[_builtins.str] event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
44
44
  :param pulumi.Input['PermissionFunctionUrlAuthType'] function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
45
- :param pulumi.Input[_builtins.bool] invoked_via_function_url: Restricts the `lambda:InvokeFunction` action to function URL calls. When set to `true` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
45
+ :param pulumi.Input[_builtins.bool] invoked_via_function_url: Restricts the `lambda:InvokeFunction` action to function URL calls. When specified, this option prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
46
46
  :param pulumi.Input[_builtins.str] principal_org_id: The identifier for your organization in AOlong. Use this to grant permissions to all the AWS-accounts under this organization.
47
47
  :param pulumi.Input[_builtins.str] source_account: For AWS-service, the ID of the AWS-account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
48
48
  :param pulumi.Input[_builtins.str] source_arn: For AWS-services, the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.
@@ -134,7 +134,7 @@ class PermissionArgs:
134
134
  @pulumi.getter(name="invokedViaFunctionUrl")
135
135
  def invoked_via_function_url(self) -> Optional[pulumi.Input[_builtins.bool]]:
136
136
  """
137
- Restricts the `lambda:InvokeFunction` action to function URL calls. When set to `true` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
137
+ Restricts the `lambda:InvokeFunction` action to function URL calls. When specified, this option prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
138
138
  """
139
139
  return pulumi.get(self, "invoked_via_function_url")
140
140
 
@@ -214,7 +214,7 @@ class Permission(pulumi.CustomResource):
214
214
 
215
215
  You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
216
216
  :param pulumi.Input['PermissionFunctionUrlAuthType'] function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
217
- :param pulumi.Input[_builtins.bool] invoked_via_function_url: Restricts the `lambda:InvokeFunction` action to function URL calls. When set to `true` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
217
+ :param pulumi.Input[_builtins.bool] invoked_via_function_url: Restricts the `lambda:InvokeFunction` action to function URL calls. When specified, this option prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
218
218
  :param pulumi.Input[_builtins.str] principal: The AWS-service, AWS-account, IAM user, or IAM role that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
219
219
  :param pulumi.Input[_builtins.str] principal_org_id: The identifier for your organization in AOlong. Use this to grant permissions to all the AWS-accounts under this organization.
220
220
  :param pulumi.Input[_builtins.str] source_account: For AWS-service, the ID of the AWS-account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
@@ -365,7 +365,7 @@ class Permission(pulumi.CustomResource):
365
365
  @pulumi.getter(name="invokedViaFunctionUrl")
366
366
  def invoked_via_function_url(self) -> pulumi.Output[Optional[_builtins.bool]]:
367
367
  """
368
- Restricts the `lambda:InvokeFunction` action to function URL calls. When set to `true` , this prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
368
+ Restricts the `lambda:InvokeFunction` action to function URL calls. When specified, this option prevents the principal from invoking the function by any means other than the function URL. For more information, see [Control access to Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html) .
369
369
  """
370
370
  return pulumi.get(self, "invoked_via_function_url")
371
371
 
@@ -16,6 +16,10 @@ from .. import _utilities
16
16
  from ._enums import *
17
17
 
18
18
  __all__ = [
19
+ 'ApiKeyAndroidAppArgs',
20
+ 'ApiKeyAndroidAppArgsDict',
21
+ 'ApiKeyAppleAppArgs',
22
+ 'ApiKeyAppleAppArgsDict',
19
23
  'ApiKeyRestrictionsArgs',
20
24
  'ApiKeyRestrictionsArgsDict',
21
25
  'MapConfigurationArgs',
@@ -26,6 +30,62 @@ __all__ = [
26
30
 
27
31
  MYPY = False
28
32
 
33
+ if not MYPY:
34
+ class ApiKeyAndroidAppArgsDict(TypedDict):
35
+ certificate_fingerprint: pulumi.Input[_builtins.str]
36
+ package: pulumi.Input[_builtins.str]
37
+ elif False:
38
+ ApiKeyAndroidAppArgsDict: TypeAlias = Mapping[str, Any]
39
+
40
+ @pulumi.input_type
41
+ class ApiKeyAndroidAppArgs:
42
+ def __init__(__self__, *,
43
+ certificate_fingerprint: pulumi.Input[_builtins.str],
44
+ package: pulumi.Input[_builtins.str]):
45
+ pulumi.set(__self__, "certificate_fingerprint", certificate_fingerprint)
46
+ pulumi.set(__self__, "package", package)
47
+
48
+ @_builtins.property
49
+ @pulumi.getter(name="certificateFingerprint")
50
+ def certificate_fingerprint(self) -> pulumi.Input[_builtins.str]:
51
+ return pulumi.get(self, "certificate_fingerprint")
52
+
53
+ @certificate_fingerprint.setter
54
+ def certificate_fingerprint(self, value: pulumi.Input[_builtins.str]):
55
+ pulumi.set(self, "certificate_fingerprint", value)
56
+
57
+ @_builtins.property
58
+ @pulumi.getter
59
+ def package(self) -> pulumi.Input[_builtins.str]:
60
+ return pulumi.get(self, "package")
61
+
62
+ @package.setter
63
+ def package(self, value: pulumi.Input[_builtins.str]):
64
+ pulumi.set(self, "package", value)
65
+
66
+
67
+ if not MYPY:
68
+ class ApiKeyAppleAppArgsDict(TypedDict):
69
+ bundle_id: pulumi.Input[_builtins.str]
70
+ elif False:
71
+ ApiKeyAppleAppArgsDict: TypeAlias = Mapping[str, Any]
72
+
73
+ @pulumi.input_type
74
+ class ApiKeyAppleAppArgs:
75
+ def __init__(__self__, *,
76
+ bundle_id: pulumi.Input[_builtins.str]):
77
+ pulumi.set(__self__, "bundle_id", bundle_id)
78
+
79
+ @_builtins.property
80
+ @pulumi.getter(name="bundleId")
81
+ def bundle_id(self) -> pulumi.Input[_builtins.str]:
82
+ return pulumi.get(self, "bundle_id")
83
+
84
+ @bundle_id.setter
85
+ def bundle_id(self, value: pulumi.Input[_builtins.str]):
86
+ pulumi.set(self, "bundle_id", value)
87
+
88
+
29
89
  if not MYPY:
30
90
  class ApiKeyRestrictionsArgsDict(TypedDict):
31
91
  allow_actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
@@ -81,6 +141,8 @@ if not MYPY:
81
141
 
82
142
  For more information about ARN format, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) .
83
143
  """
144
+ allow_android_apps: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApiKeyAndroidAppArgsDict']]]]
145
+ allow_apple_apps: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApiKeyAppleAppArgsDict']]]]
84
146
  allow_referers: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
85
147
  """
86
148
  An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed.
@@ -104,6 +166,8 @@ class ApiKeyRestrictionsArgs:
104
166
  def __init__(__self__, *,
105
167
  allow_actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
106
168
  allow_resources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
169
+ allow_android_apps: Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAndroidAppArgs']]]] = None,
170
+ allow_apple_apps: Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAppleAppArgs']]]] = None,
107
171
  allow_referers: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
108
172
  """
109
173
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] allow_actions: A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action.
@@ -168,6 +232,10 @@ class ApiKeyRestrictionsArgs:
168
232
  """
169
233
  pulumi.set(__self__, "allow_actions", allow_actions)
170
234
  pulumi.set(__self__, "allow_resources", allow_resources)
235
+ if allow_android_apps is not None:
236
+ pulumi.set(__self__, "allow_android_apps", allow_android_apps)
237
+ if allow_apple_apps is not None:
238
+ pulumi.set(__self__, "allow_apple_apps", allow_apple_apps)
171
239
  if allow_referers is not None:
172
240
  pulumi.set(__self__, "allow_referers", allow_referers)
173
241
 
@@ -240,6 +308,24 @@ class ApiKeyRestrictionsArgs:
240
308
  def allow_resources(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
241
309
  pulumi.set(self, "allow_resources", value)
242
310
 
311
+ @_builtins.property
312
+ @pulumi.getter(name="allowAndroidApps")
313
+ def allow_android_apps(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAndroidAppArgs']]]]:
314
+ return pulumi.get(self, "allow_android_apps")
315
+
316
+ @allow_android_apps.setter
317
+ def allow_android_apps(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAndroidAppArgs']]]]):
318
+ pulumi.set(self, "allow_android_apps", value)
319
+
320
+ @_builtins.property
321
+ @pulumi.getter(name="allowAppleApps")
322
+ def allow_apple_apps(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAppleAppArgs']]]]:
323
+ return pulumi.get(self, "allow_apple_apps")
324
+
325
+ @allow_apple_apps.setter
326
+ def allow_apple_apps(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApiKeyAppleAppArgs']]]]):
327
+ pulumi.set(self, "allow_apple_apps", value)
328
+
243
329
  @_builtins.property
244
330
  @pulumi.getter(name="allowReferers")
245
331
  def allow_referers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
@@ -13,14 +13,82 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
+ from . import outputs
16
17
  from ._enums import *
17
18
 
18
19
  __all__ = [
20
+ 'ApiKeyAndroidApp',
21
+ 'ApiKeyAppleApp',
19
22
  'ApiKeyRestrictions',
20
23
  'MapConfiguration',
21
24
  'PlaceIndexDataSourceConfiguration',
22
25
  ]
23
26
 
27
+ @pulumi.output_type
28
+ class ApiKeyAndroidApp(dict):
29
+ @staticmethod
30
+ def __key_warning(key: str):
31
+ suggest = None
32
+ if key == "certificateFingerprint":
33
+ suggest = "certificate_fingerprint"
34
+
35
+ if suggest:
36
+ pulumi.log.warn(f"Key '{key}' not found in ApiKeyAndroidApp. Access the value via the '{suggest}' property getter instead.")
37
+
38
+ def __getitem__(self, key: str) -> Any:
39
+ ApiKeyAndroidApp.__key_warning(key)
40
+ return super().__getitem__(key)
41
+
42
+ def get(self, key: str, default = None) -> Any:
43
+ ApiKeyAndroidApp.__key_warning(key)
44
+ return super().get(key, default)
45
+
46
+ def __init__(__self__, *,
47
+ certificate_fingerprint: _builtins.str,
48
+ package: _builtins.str):
49
+ pulumi.set(__self__, "certificate_fingerprint", certificate_fingerprint)
50
+ pulumi.set(__self__, "package", package)
51
+
52
+ @_builtins.property
53
+ @pulumi.getter(name="certificateFingerprint")
54
+ def certificate_fingerprint(self) -> _builtins.str:
55
+ return pulumi.get(self, "certificate_fingerprint")
56
+
57
+ @_builtins.property
58
+ @pulumi.getter
59
+ def package(self) -> _builtins.str:
60
+ return pulumi.get(self, "package")
61
+
62
+
63
+ @pulumi.output_type
64
+ class ApiKeyAppleApp(dict):
65
+ @staticmethod
66
+ def __key_warning(key: str):
67
+ suggest = None
68
+ if key == "bundleId":
69
+ suggest = "bundle_id"
70
+
71
+ if suggest:
72
+ pulumi.log.warn(f"Key '{key}' not found in ApiKeyAppleApp. Access the value via the '{suggest}' property getter instead.")
73
+
74
+ def __getitem__(self, key: str) -> Any:
75
+ ApiKeyAppleApp.__key_warning(key)
76
+ return super().__getitem__(key)
77
+
78
+ def get(self, key: str, default = None) -> Any:
79
+ ApiKeyAppleApp.__key_warning(key)
80
+ return super().get(key, default)
81
+
82
+ def __init__(__self__, *,
83
+ bundle_id: _builtins.str):
84
+ pulumi.set(__self__, "bundle_id", bundle_id)
85
+
86
+ @_builtins.property
87
+ @pulumi.getter(name="bundleId")
88
+ def bundle_id(self) -> _builtins.str:
89
+ return pulumi.get(self, "bundle_id")
90
+
91
+
24
92
  @pulumi.output_type
25
93
  class ApiKeyRestrictions(dict):
26
94
  @staticmethod
@@ -30,6 +98,10 @@ class ApiKeyRestrictions(dict):
30
98
  suggest = "allow_actions"
31
99
  elif key == "allowResources":
32
100
  suggest = "allow_resources"
101
+ elif key == "allowAndroidApps":
102
+ suggest = "allow_android_apps"
103
+ elif key == "allowAppleApps":
104
+ suggest = "allow_apple_apps"
33
105
  elif key == "allowReferers":
34
106
  suggest = "allow_referers"
35
107
 
@@ -47,6 +119,8 @@ class ApiKeyRestrictions(dict):
47
119
  def __init__(__self__, *,
48
120
  allow_actions: Sequence[_builtins.str],
49
121
  allow_resources: Sequence[_builtins.str],
122
+ allow_android_apps: Optional[Sequence['outputs.ApiKeyAndroidApp']] = None,
123
+ allow_apple_apps: Optional[Sequence['outputs.ApiKeyAppleApp']] = None,
50
124
  allow_referers: Optional[Sequence[_builtins.str]] = None):
51
125
  """
52
126
  :param Sequence[_builtins.str] allow_actions: A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action.
@@ -111,6 +185,10 @@ class ApiKeyRestrictions(dict):
111
185
  """
112
186
  pulumi.set(__self__, "allow_actions", allow_actions)
113
187
  pulumi.set(__self__, "allow_resources", allow_resources)
188
+ if allow_android_apps is not None:
189
+ pulumi.set(__self__, "allow_android_apps", allow_android_apps)
190
+ if allow_apple_apps is not None:
191
+ pulumi.set(__self__, "allow_apple_apps", allow_apple_apps)
114
192
  if allow_referers is not None:
115
193
  pulumi.set(__self__, "allow_referers", allow_referers)
116
194
 
@@ -175,6 +253,16 @@ class ApiKeyRestrictions(dict):
175
253
  """
176
254
  return pulumi.get(self, "allow_resources")
177
255
 
256
+ @_builtins.property
257
+ @pulumi.getter(name="allowAndroidApps")
258
+ def allow_android_apps(self) -> Optional[Sequence['outputs.ApiKeyAndroidApp']]:
259
+ return pulumi.get(self, "allow_android_apps")
260
+
261
+ @_builtins.property
262
+ @pulumi.getter(name="allowAppleApps")
263
+ def allow_apple_apps(self) -> Optional[Sequence['outputs.ApiKeyAppleApp']]:
264
+ return pulumi.get(self, "allow_apple_apps")
265
+
178
266
  @_builtins.property
179
267
  @pulumi.getter(name="allowReferers")
180
268
  def allow_referers(self) -> Optional[Sequence[_builtins.str]]:
@@ -271,7 +271,8 @@ class Collection(pulumi.CustomResource):
271
271
  __props__.__dict__["aws_id"] = None
272
272
  __props__.__dict__["collection_endpoint"] = None
273
273
  __props__.__dict__["dashboard_endpoint"] = None
274
- replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["name", "tags[*]", "type"])
274
+ __props__.__dict__["kms_key_arn"] = None
275
+ replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["name", "standbyReplicas", "tags[*]", "type"])
275
276
  opts = pulumi.ResourceOptions.merge(opts, replace_on_changes)
276
277
  super(Collection, __self__).__init__(
277
278
  'aws-native:opensearchserverless:Collection',
@@ -300,6 +301,7 @@ class Collection(pulumi.CustomResource):
300
301
  __props__.__dict__["collection_endpoint"] = None
301
302
  __props__.__dict__["dashboard_endpoint"] = None
302
303
  __props__.__dict__["description"] = None
304
+ __props__.__dict__["kms_key_arn"] = None
303
305
  __props__.__dict__["name"] = None
304
306
  __props__.__dict__["standby_replicas"] = None
305
307
  __props__.__dict__["tags"] = None
@@ -346,6 +348,14 @@ class Collection(pulumi.CustomResource):
346
348
  """
347
349
  return pulumi.get(self, "description")
348
350
 
351
+ @_builtins.property
352
+ @pulumi.getter(name="kmsKeyArn")
353
+ def kms_key_arn(self) -> pulumi.Output[_builtins.str]:
354
+ """
355
+ The ARN of the AWS KMS key used to encrypt the collection.
356
+ """
357
+ return pulumi.get(self, "kms_key_arn")
358
+
349
359
  @_builtins.property
350
360
  @pulumi.getter
351
361
  def name(self) -> pulumi.Output[_builtins.str]:
@@ -13,7 +13,6 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
- from ._enums import *
17
16
 
18
17
  __all__ = [
19
18
  'GetCollectionResult',
@@ -24,7 +23,7 @@ __all__ = [
24
23
 
25
24
  @pulumi.output_type
26
25
  class GetCollectionResult:
27
- def __init__(__self__, arn=None, collection_endpoint=None, dashboard_endpoint=None, description=None, id=None, standby_replicas=None):
26
+ def __init__(__self__, arn=None, collection_endpoint=None, dashboard_endpoint=None, description=None, id=None, kms_key_arn=None):
28
27
  if arn and not isinstance(arn, str):
29
28
  raise TypeError("Expected argument 'arn' to be a str")
30
29
  pulumi.set(__self__, "arn", arn)
@@ -40,9 +39,9 @@ class GetCollectionResult:
40
39
  if id and not isinstance(id, str):
41
40
  raise TypeError("Expected argument 'id' to be a str")
42
41
  pulumi.set(__self__, "id", id)
43
- if standby_replicas and not isinstance(standby_replicas, str):
44
- raise TypeError("Expected argument 'standby_replicas' to be a str")
45
- pulumi.set(__self__, "standby_replicas", standby_replicas)
42
+ if kms_key_arn and not isinstance(kms_key_arn, str):
43
+ raise TypeError("Expected argument 'kms_key_arn' to be a str")
44
+ pulumi.set(__self__, "kms_key_arn", kms_key_arn)
46
45
 
47
46
  @_builtins.property
48
47
  @pulumi.getter
@@ -85,12 +84,12 @@ class GetCollectionResult:
85
84
  return pulumi.get(self, "id")
86
85
 
87
86
  @_builtins.property
88
- @pulumi.getter(name="standbyReplicas")
89
- def standby_replicas(self) -> Optional['CollectionStandbyReplicas']:
87
+ @pulumi.getter(name="kmsKeyArn")
88
+ def kms_key_arn(self) -> Optional[_builtins.str]:
90
89
  """
91
- Indicates whether to use standby replicas for the collection. You can't update this property after the collection is already created. If you attempt to modify this property, the collection continues to use the original value.
90
+ The ARN of the AWS KMS key used to encrypt the collection.
92
91
  """
93
- return pulumi.get(self, "standby_replicas")
92
+ return pulumi.get(self, "kms_key_arn")
94
93
 
95
94
 
96
95
  class AwaitableGetCollectionResult(GetCollectionResult):
@@ -104,7 +103,7 @@ class AwaitableGetCollectionResult(GetCollectionResult):
104
103
  dashboard_endpoint=self.dashboard_endpoint,
105
104
  description=self.description,
106
105
  id=self.id,
107
- standby_replicas=self.standby_replicas)
106
+ kms_key_arn=self.kms_key_arn)
108
107
 
109
108
 
110
109
  def get_collection(id: Optional[_builtins.str] = None,
@@ -126,7 +125,7 @@ def get_collection(id: Optional[_builtins.str] = None,
126
125
  dashboard_endpoint=pulumi.get(__ret__, 'dashboard_endpoint'),
127
126
  description=pulumi.get(__ret__, 'description'),
128
127
  id=pulumi.get(__ret__, 'id'),
129
- standby_replicas=pulumi.get(__ret__, 'standby_replicas'))
128
+ kms_key_arn=pulumi.get(__ret__, 'kms_key_arn'))
130
129
  def get_collection_output(id: Optional[pulumi.Input[_builtins.str]] = None,
131
130
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCollectionResult]:
132
131
  """
@@ -145,4 +144,4 @@ def get_collection_output(id: Optional[pulumi.Input[_builtins.str]] = None,
145
144
  dashboard_endpoint=pulumi.get(__response__, 'dashboard_endpoint'),
146
145
  description=pulumi.get(__response__, 'description'),
147
146
  id=pulumi.get(__response__, 'id'),
148
- standby_replicas=pulumi.get(__response__, 'standby_replicas')))
147
+ kms_key_arn=pulumi.get(__response__, 'kms_key_arn')))
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "aws-native",
4
- "version": "1.39.0-alpha.1762385303"
4
+ "version": "1.39.0-alpha.1762580459"
5
5
  }