pulumi-aws 7.14.0__py3-none-any.whl → 7.15.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. pulumi_aws/__init__.py +8 -0
  2. pulumi_aws/bedrock/_inputs.py +1894 -267
  3. pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
  4. pulumi_aws/bedrock/outputs.py +1571 -199
  5. pulumi_aws/cloudfront/__init__.py +1 -0
  6. pulumi_aws/cloudfront/_inputs.py +199 -0
  7. pulumi_aws/cloudfront/outputs.py +134 -0
  8. pulumi_aws/cloudfront/trust_store.py +497 -0
  9. pulumi_aws/codebuild/_inputs.py +20 -0
  10. pulumi_aws/codebuild/outputs.py +29 -0
  11. pulumi_aws/config/__init__.pyi +5 -0
  12. pulumi_aws/config/vars.py +7 -0
  13. pulumi_aws/datazone/domain.py +28 -0
  14. pulumi_aws/datazone/get_domain.py +15 -1
  15. pulumi_aws/ecs/_inputs.py +6 -6
  16. pulumi_aws/ecs/cluster.py +2 -2
  17. pulumi_aws/ecs/outputs.py +4 -4
  18. pulumi_aws/elasticache/serverless_cache.py +7 -7
  19. pulumi_aws/lambda_/function.py +31 -12
  20. pulumi_aws/networkmanager/_inputs.py +650 -23
  21. pulumi_aws/networkmanager/connect_attachment.py +47 -0
  22. pulumi_aws/networkmanager/connect_peer.py +7 -7
  23. pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
  24. pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
  25. pulumi_aws/networkmanager/outputs.py +379 -14
  26. pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
  27. pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
  28. pulumi_aws/networkmanager/vpc_attachment.py +47 -0
  29. pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
  30. pulumi_aws/organizations/__init__.py +1 -0
  31. pulumi_aws/organizations/get_account.py +231 -0
  32. pulumi_aws/provider.py +21 -1
  33. pulumi_aws/pulumi-plugin.json +1 -1
  34. pulumi_aws/route53/get_resolver_endpoint.py +29 -1
  35. pulumi_aws/route53/resolver_endpoint.py +97 -3
  36. pulumi_aws/s3/_inputs.py +7 -0
  37. pulumi_aws/s3/outputs.py +4 -0
  38. pulumi_aws/vpclattice/_inputs.py +54 -0
  39. pulumi_aws/vpclattice/outputs.py +51 -0
  40. pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
  41. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
  42. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
  43. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
  44. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
@@ -208,6 +208,7 @@ class _DomainState:
208
208
  name: Optional[pulumi.Input[_builtins.str]] = None,
209
209
  portal_url: Optional[pulumi.Input[_builtins.str]] = None,
210
210
  region: Optional[pulumi.Input[_builtins.str]] = None,
211
+ root_domain_unit_id: Optional[pulumi.Input[_builtins.str]] = None,
211
212
  service_role: Optional[pulumi.Input[_builtins.str]] = None,
212
213
  single_sign_on: Optional[pulumi.Input['DomainSingleSignOnArgs']] = None,
213
214
  skip_deletion_check: Optional[pulumi.Input[_builtins.bool]] = None,
@@ -226,6 +227,7 @@ class _DomainState:
226
227
  :param pulumi.Input[_builtins.str] name: Name of the Domain.
227
228
  :param pulumi.Input[_builtins.str] portal_url: URL of the data portal for the Domain.
228
229
  :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
230
+ :param pulumi.Input[_builtins.str] root_domain_unit_id: ID of the root domain unit.
229
231
  :param pulumi.Input[_builtins.str] service_role: ARN of the service role used by DataZone. Required when `domain_version` is set to `V2`.
230
232
  :param pulumi.Input['DomainSingleSignOnArgs'] single_sign_on: Single sign on options, used to [enable AWS IAM Identity Center](https://docs.aws.amazon.com/datazone/latest/userguide/enable-IAM-identity-center-for-datazone.html) for DataZone.
231
233
  :param pulumi.Input[_builtins.bool] skip_deletion_check: Whether to skip the deletion check for the Domain.
@@ -247,6 +249,8 @@ class _DomainState:
247
249
  pulumi.set(__self__, "portal_url", portal_url)
248
250
  if region is not None:
249
251
  pulumi.set(__self__, "region", region)
252
+ if root_domain_unit_id is not None:
253
+ pulumi.set(__self__, "root_domain_unit_id", root_domain_unit_id)
250
254
  if service_role is not None:
251
255
  pulumi.set(__self__, "service_role", service_role)
252
256
  if single_sign_on is not None:
@@ -358,6 +362,18 @@ class _DomainState:
358
362
  def region(self, value: Optional[pulumi.Input[_builtins.str]]):
359
363
  pulumi.set(self, "region", value)
360
364
 
365
+ @_builtins.property
366
+ @pulumi.getter(name="rootDomainUnitId")
367
+ def root_domain_unit_id(self) -> Optional[pulumi.Input[_builtins.str]]:
368
+ """
369
+ ID of the root domain unit.
370
+ """
371
+ return pulumi.get(self, "root_domain_unit_id")
372
+
373
+ @root_domain_unit_id.setter
374
+ def root_domain_unit_id(self, value: Optional[pulumi.Input[_builtins.str]]):
375
+ pulumi.set(self, "root_domain_unit_id", value)
376
+
361
377
  @_builtins.property
362
378
  @pulumi.getter(name="serviceRole")
363
379
  def service_role(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -779,6 +795,7 @@ class Domain(pulumi.CustomResource):
779
795
  __props__.__dict__["timeouts"] = timeouts
780
796
  __props__.__dict__["arn"] = None
781
797
  __props__.__dict__["portal_url"] = None
798
+ __props__.__dict__["root_domain_unit_id"] = None
782
799
  __props__.__dict__["tags_all"] = None
783
800
  super(Domain, __self__).__init__(
784
801
  'aws:datazone/domain:Domain',
@@ -798,6 +815,7 @@ class Domain(pulumi.CustomResource):
798
815
  name: Optional[pulumi.Input[_builtins.str]] = None,
799
816
  portal_url: Optional[pulumi.Input[_builtins.str]] = None,
800
817
  region: Optional[pulumi.Input[_builtins.str]] = None,
818
+ root_domain_unit_id: Optional[pulumi.Input[_builtins.str]] = None,
801
819
  service_role: Optional[pulumi.Input[_builtins.str]] = None,
802
820
  single_sign_on: Optional[pulumi.Input[Union['DomainSingleSignOnArgs', 'DomainSingleSignOnArgsDict']]] = None,
803
821
  skip_deletion_check: Optional[pulumi.Input[_builtins.bool]] = None,
@@ -821,6 +839,7 @@ class Domain(pulumi.CustomResource):
821
839
  :param pulumi.Input[_builtins.str] name: Name of the Domain.
822
840
  :param pulumi.Input[_builtins.str] portal_url: URL of the data portal for the Domain.
823
841
  :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
842
+ :param pulumi.Input[_builtins.str] root_domain_unit_id: ID of the root domain unit.
824
843
  :param pulumi.Input[_builtins.str] service_role: ARN of the service role used by DataZone. Required when `domain_version` is set to `V2`.
825
844
  :param pulumi.Input[Union['DomainSingleSignOnArgs', 'DomainSingleSignOnArgsDict']] single_sign_on: Single sign on options, used to [enable AWS IAM Identity Center](https://docs.aws.amazon.com/datazone/latest/userguide/enable-IAM-identity-center-for-datazone.html) for DataZone.
826
845
  :param pulumi.Input[_builtins.bool] skip_deletion_check: Whether to skip the deletion check for the Domain.
@@ -838,6 +857,7 @@ class Domain(pulumi.CustomResource):
838
857
  __props__.__dict__["name"] = name
839
858
  __props__.__dict__["portal_url"] = portal_url
840
859
  __props__.__dict__["region"] = region
860
+ __props__.__dict__["root_domain_unit_id"] = root_domain_unit_id
841
861
  __props__.__dict__["service_role"] = service_role
842
862
  __props__.__dict__["single_sign_on"] = single_sign_on
843
863
  __props__.__dict__["skip_deletion_check"] = skip_deletion_check
@@ -912,6 +932,14 @@ class Domain(pulumi.CustomResource):
912
932
  """
913
933
  return pulumi.get(self, "region")
914
934
 
935
+ @_builtins.property
936
+ @pulumi.getter(name="rootDomainUnitId")
937
+ def root_domain_unit_id(self) -> pulumi.Output[_builtins.str]:
938
+ """
939
+ ID of the root domain unit.
940
+ """
941
+ return pulumi.get(self, "root_domain_unit_id")
942
+
915
943
  @_builtins.property
916
944
  @pulumi.getter(name="serviceRole")
917
945
  def service_role(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -26,7 +26,7 @@ class GetDomainResult:
26
26
  """
27
27
  A collection of values returned by getDomain.
28
28
  """
29
- def __init__(__self__, arn=None, created_at=None, description=None, domain_version=None, id=None, last_updated_at=None, managed_account_id=None, name=None, portal_url=None, region=None, status=None):
29
+ def __init__(__self__, arn=None, created_at=None, description=None, domain_version=None, id=None, last_updated_at=None, managed_account_id=None, name=None, portal_url=None, region=None, root_domain_unit_id=None, status=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)
@@ -57,6 +57,9 @@ class GetDomainResult:
57
57
  if region and not isinstance(region, str):
58
58
  raise TypeError("Expected argument 'region' to be a str")
59
59
  pulumi.set(__self__, "region", region)
60
+ if root_domain_unit_id and not isinstance(root_domain_unit_id, str):
61
+ raise TypeError("Expected argument 'root_domain_unit_id' to be a str")
62
+ pulumi.set(__self__, "root_domain_unit_id", root_domain_unit_id)
60
63
  if status and not isinstance(status, str):
61
64
  raise TypeError("Expected argument 'status' to be a str")
62
65
  pulumi.set(__self__, "status", status)
@@ -132,6 +135,14 @@ class GetDomainResult:
132
135
  def region(self) -> _builtins.str:
133
136
  return pulumi.get(self, "region")
134
137
 
138
+ @_builtins.property
139
+ @pulumi.getter(name="rootDomainUnitId")
140
+ def root_domain_unit_id(self) -> _builtins.str:
141
+ """
142
+ ID of the root domain unit.
143
+ """
144
+ return pulumi.get(self, "root_domain_unit_id")
145
+
135
146
  @_builtins.property
136
147
  @pulumi.getter
137
148
  def status(self) -> _builtins.str:
@@ -157,6 +168,7 @@ class AwaitableGetDomainResult(GetDomainResult):
157
168
  name=self.name,
158
169
  portal_url=self.portal_url,
159
170
  region=self.region,
171
+ root_domain_unit_id=self.root_domain_unit_id,
160
172
  status=self.status)
161
173
 
162
174
 
@@ -201,6 +213,7 @@ def get_domain(id: Optional[_builtins.str] = None,
201
213
  name=pulumi.get(__ret__, 'name'),
202
214
  portal_url=pulumi.get(__ret__, 'portal_url'),
203
215
  region=pulumi.get(__ret__, 'region'),
216
+ root_domain_unit_id=pulumi.get(__ret__, 'root_domain_unit_id'),
204
217
  status=pulumi.get(__ret__, 'status'))
205
218
  def get_domain_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
206
219
  name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
@@ -242,4 +255,5 @@ def get_domain_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None
242
255
  name=pulumi.get(__response__, 'name'),
243
256
  portal_url=pulumi.get(__response__, 'portal_url'),
244
257
  region=pulumi.get(__response__, 'region'),
258
+ root_domain_unit_id=pulumi.get(__response__, 'root_domain_unit_id'),
245
259
  status=pulumi.get(__response__, 'status')))
pulumi_aws/ecs/_inputs.py CHANGED
@@ -1841,11 +1841,11 @@ if not MYPY:
1841
1841
  class ClusterConfigurationManagedStorageConfigurationArgsDict(TypedDict):
1842
1842
  fargate_ephemeral_storage_kms_key_id: NotRequired[pulumi.Input[_builtins.str]]
1843
1843
  """
1844
- AWS Key Management Service key ID for the Fargate ephemeral storage.
1844
+ AWS Key Management Service key ARN for the Fargate ephemeral storage.
1845
1845
  """
1846
1846
  kms_key_id: NotRequired[pulumi.Input[_builtins.str]]
1847
1847
  """
1848
- AWS Key Management Service key ID to encrypt the managed storage.
1848
+ AWS Key Management Service key ARN to encrypt the managed storage.
1849
1849
  """
1850
1850
  elif False:
1851
1851
  ClusterConfigurationManagedStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any]
@@ -1856,8 +1856,8 @@ class ClusterConfigurationManagedStorageConfigurationArgs:
1856
1856
  fargate_ephemeral_storage_kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1857
1857
  kms_key_id: Optional[pulumi.Input[_builtins.str]] = None):
1858
1858
  """
1859
- :param pulumi.Input[_builtins.str] fargate_ephemeral_storage_kms_key_id: AWS Key Management Service key ID for the Fargate ephemeral storage.
1860
- :param pulumi.Input[_builtins.str] kms_key_id: AWS Key Management Service key ID to encrypt the managed storage.
1859
+ :param pulumi.Input[_builtins.str] fargate_ephemeral_storage_kms_key_id: AWS Key Management Service key ARN for the Fargate ephemeral storage.
1860
+ :param pulumi.Input[_builtins.str] kms_key_id: AWS Key Management Service key ARN to encrypt the managed storage.
1861
1861
  """
1862
1862
  if fargate_ephemeral_storage_kms_key_id is not None:
1863
1863
  pulumi.set(__self__, "fargate_ephemeral_storage_kms_key_id", fargate_ephemeral_storage_kms_key_id)
@@ -1868,7 +1868,7 @@ class ClusterConfigurationManagedStorageConfigurationArgs:
1868
1868
  @pulumi.getter(name="fargateEphemeralStorageKmsKeyId")
1869
1869
  def fargate_ephemeral_storage_kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
1870
1870
  """
1871
- AWS Key Management Service key ID for the Fargate ephemeral storage.
1871
+ AWS Key Management Service key ARN for the Fargate ephemeral storage.
1872
1872
  """
1873
1873
  return pulumi.get(self, "fargate_ephemeral_storage_kms_key_id")
1874
1874
 
@@ -1880,7 +1880,7 @@ class ClusterConfigurationManagedStorageConfigurationArgs:
1880
1880
  @pulumi.getter(name="kmsKeyId")
1881
1881
  def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
1882
1882
  """
1883
- AWS Key Management Service key ID to encrypt the managed storage.
1883
+ AWS Key Management Service key ARN to encrypt the managed storage.
1884
1884
  """
1885
1885
  return pulumi.get(self, "kms_key_id")
1886
1886
 
pulumi_aws/ecs/cluster.py CHANGED
@@ -385,7 +385,7 @@ class Cluster(pulumi.CustomResource):
385
385
  name="example",
386
386
  configuration={
387
387
  "managed_storage_configuration": {
388
- "fargate_ephemeral_storage_kms_key_id": example.id,
388
+ "fargate_ephemeral_storage_kms_key_id": example.arn,
389
389
  },
390
390
  },
391
391
  opts = pulumi.ResourceOptions(depends_on=[example_key_policy]))
@@ -522,7 +522,7 @@ class Cluster(pulumi.CustomResource):
522
522
  name="example",
523
523
  configuration={
524
524
  "managed_storage_configuration": {
525
- "fargate_ephemeral_storage_kms_key_id": example.id,
525
+ "fargate_ephemeral_storage_kms_key_id": example.arn,
526
526
  },
527
527
  },
528
528
  opts = pulumi.ResourceOptions(depends_on=[example_key_policy]))
pulumi_aws/ecs/outputs.py CHANGED
@@ -1420,8 +1420,8 @@ class ClusterConfigurationManagedStorageConfiguration(dict):
1420
1420
  fargate_ephemeral_storage_kms_key_id: Optional[_builtins.str] = None,
1421
1421
  kms_key_id: Optional[_builtins.str] = None):
1422
1422
  """
1423
- :param _builtins.str fargate_ephemeral_storage_kms_key_id: AWS Key Management Service key ID for the Fargate ephemeral storage.
1424
- :param _builtins.str kms_key_id: AWS Key Management Service key ID to encrypt the managed storage.
1423
+ :param _builtins.str fargate_ephemeral_storage_kms_key_id: AWS Key Management Service key ARN for the Fargate ephemeral storage.
1424
+ :param _builtins.str kms_key_id: AWS Key Management Service key ARN to encrypt the managed storage.
1425
1425
  """
1426
1426
  if fargate_ephemeral_storage_kms_key_id is not None:
1427
1427
  pulumi.set(__self__, "fargate_ephemeral_storage_kms_key_id", fargate_ephemeral_storage_kms_key_id)
@@ -1432,7 +1432,7 @@ class ClusterConfigurationManagedStorageConfiguration(dict):
1432
1432
  @pulumi.getter(name="fargateEphemeralStorageKmsKeyId")
1433
1433
  def fargate_ephemeral_storage_kms_key_id(self) -> Optional[_builtins.str]:
1434
1434
  """
1435
- AWS Key Management Service key ID for the Fargate ephemeral storage.
1435
+ AWS Key Management Service key ARN for the Fargate ephemeral storage.
1436
1436
  """
1437
1437
  return pulumi.get(self, "fargate_ephemeral_storage_kms_key_id")
1438
1438
 
@@ -1440,7 +1440,7 @@ class ClusterConfigurationManagedStorageConfiguration(dict):
1440
1440
  @pulumi.getter(name="kmsKeyId")
1441
1441
  def kms_key_id(self) -> Optional[_builtins.str]:
1442
1442
  """
1443
- AWS Key Management Service key ID to encrypt the managed storage.
1443
+ AWS Key Management Service key ARN to encrypt the managed storage.
1444
1444
  """
1445
1445
  return pulumi.get(self, "kms_key_id")
1446
1446
 
@@ -54,7 +54,7 @@ class ServerlessCacheArgs:
54
54
  :param pulumi.Input[_builtins.int] snapshot_retention_limit: The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Redis only.
55
55
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_ids: A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
56
56
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
57
- :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
57
+ :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
58
58
  """
59
59
  pulumi.set(__self__, "engine", engine)
60
60
  if cache_usage_limits is not None:
@@ -258,7 +258,7 @@ class ServerlessCacheArgs:
258
258
  @pulumi.getter(name="userGroupId")
259
259
  def user_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
260
260
  """
261
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
261
+ The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
262
262
  """
263
263
  return pulumi.get(self, "user_group_id")
264
264
 
@@ -316,7 +316,7 @@ class _ServerlessCacheState:
316
316
  :param pulumi.Input[_builtins.str] status: The current status of the serverless cache. The allowed values are CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.
317
317
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_ids: A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
318
318
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
319
- :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
319
+ :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
320
320
  """
321
321
  if arn is not None:
322
322
  pulumi.set(__self__, "arn", arn)
@@ -616,7 +616,7 @@ class _ServerlessCacheState:
616
616
  @pulumi.getter(name="userGroupId")
617
617
  def user_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
618
618
  """
619
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
619
+ The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
620
620
  """
621
621
  return pulumi.get(self, "user_group_id")
622
622
 
@@ -757,7 +757,7 @@ class ServerlessCache(pulumi.CustomResource):
757
757
  :param pulumi.Input[_builtins.int] snapshot_retention_limit: The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Redis only.
758
758
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_ids: A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
759
759
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
760
- :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
760
+ :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
761
761
  """
762
762
  ...
763
763
  @overload
@@ -981,7 +981,7 @@ class ServerlessCache(pulumi.CustomResource):
981
981
  :param pulumi.Input[_builtins.str] status: The current status of the serverless cache. The allowed values are CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.
982
982
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_ids: A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
983
983
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
984
- :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
984
+ :param pulumi.Input[_builtins.str] user_group_id: The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
985
985
  """
986
986
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
987
987
 
@@ -1180,7 +1180,7 @@ class ServerlessCache(pulumi.CustomResource):
1180
1180
  @pulumi.getter(name="userGroupId")
1181
1181
  def user_group_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1182
1182
  """
1183
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
1183
+ The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.
1184
1184
  """
1185
1185
  return pulumi.get(self, "user_group_id")
1186
1186
 
@@ -26,6 +26,7 @@ class FunctionArgs:
26
26
  architectures: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
27
27
  capacity_provider_config: Optional[pulumi.Input['FunctionCapacityProviderConfigArgs']] = None,
28
28
  code: Optional[pulumi.Input[pulumi.Archive]] = None,
29
+ code_sha256: Optional[pulumi.Input[_builtins.str]] = None,
29
30
  code_signing_config_arn: Optional[pulumi.Input[_builtins.str]] = None,
30
31
  dead_letter_config: Optional[pulumi.Input['FunctionDeadLetterConfigArgs']] = None,
31
32
  description: Optional[pulumi.Input[_builtins.str]] = None,
@@ -69,6 +70,7 @@ class FunctionArgs:
69
70
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] architectures: Instruction set architecture for your Lambda function. Valid values are `["x86_64"]` and `["arm64"]`. Default is `["x86_64"]`. Removing this attribute, function's architecture stays the same.
70
71
  :param pulumi.Input['FunctionCapacityProviderConfigArgs'] capacity_provider_config: Configuration block for Lambda Capacity Provider. See below.
71
72
  :param pulumi.Input[pulumi.Archive] code: Path to the function's deployment package within the local filesystem. Conflicts with `image_uri` and `s3_bucket`. One of `filename`, `image_uri`, or `s3_bucket` must be specified.
73
+ :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
72
74
  :param pulumi.Input[_builtins.str] code_signing_config_arn: ARN of a code-signing configuration to enable code signing for this function.
73
75
  :param pulumi.Input['FunctionDeadLetterConfigArgs'] dead_letter_config: Configuration block for dead letter queue. See below.
74
76
  :param pulumi.Input[_builtins.str] description: Description of what your Lambda Function does.
@@ -97,7 +99,7 @@ class FunctionArgs:
97
99
  :param pulumi.Input[_builtins.str] s3_object_version: Object version containing the function's deployment package. Conflicts with `filename` and `image_uri`.
98
100
  :param pulumi.Input[_builtins.bool] skip_destroy: Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
99
101
  :param pulumi.Input['FunctionSnapStartArgs'] snap_start: Configuration block for snap start settings. See below.
100
- :param pulumi.Input[_builtins.str] source_code_hash: Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
102
+ :param pulumi.Input[_builtins.str] source_code_hash: User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
101
103
  :param pulumi.Input[_builtins.str] source_kms_key_arn: ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `image_uri`.
102
104
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of tags for the Lambda function. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
103
105
  :param pulumi.Input['FunctionTenancyConfigArgs'] tenancy_config: Configuration block for Tenancy. See below.
@@ -112,6 +114,8 @@ class FunctionArgs:
112
114
  pulumi.set(__self__, "capacity_provider_config", capacity_provider_config)
113
115
  if code is not None:
114
116
  pulumi.set(__self__, "code", code)
117
+ if code_sha256 is not None:
118
+ pulumi.set(__self__, "code_sha256", code_sha256)
115
119
  if code_signing_config_arn is not None:
116
120
  pulumi.set(__self__, "code_signing_config_arn", code_signing_config_arn)
117
121
  if dead_letter_config is not None:
@@ -233,6 +237,18 @@ class FunctionArgs:
233
237
  def code(self, value: Optional[pulumi.Input[pulumi.Archive]]):
234
238
  pulumi.set(self, "code", value)
235
239
 
240
+ @_builtins.property
241
+ @pulumi.getter(name="codeSha256")
242
+ def code_sha256(self) -> Optional[pulumi.Input[_builtins.str]]:
243
+ """
244
+ Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
245
+ """
246
+ return pulumi.get(self, "code_sha256")
247
+
248
+ @code_sha256.setter
249
+ def code_sha256(self, value: Optional[pulumi.Input[_builtins.str]]):
250
+ pulumi.set(self, "code_sha256", value)
251
+
236
252
  @_builtins.property
237
253
  @pulumi.getter(name="codeSigningConfigArn")
238
254
  def code_signing_config_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -573,7 +589,7 @@ class FunctionArgs:
573
589
  @pulumi.getter(name="sourceCodeHash")
574
590
  def source_code_hash(self) -> Optional[pulumi.Input[_builtins.str]]:
575
591
  """
576
- Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
592
+ User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
577
593
  """
578
594
  return pulumi.get(self, "source_code_hash")
579
595
 
@@ -713,7 +729,7 @@ class _FunctionState:
713
729
  :param pulumi.Input[_builtins.str] arn: ARN identifying your Lambda Function.
714
730
  :param pulumi.Input['FunctionCapacityProviderConfigArgs'] capacity_provider_config: Configuration block for Lambda Capacity Provider. See below.
715
731
  :param pulumi.Input[pulumi.Archive] code: Path to the function's deployment package within the local filesystem. Conflicts with `image_uri` and `s3_bucket`. One of `filename`, `image_uri`, or `s3_bucket` must be specified.
716
- :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation of raw SHA-256 sum of the zip file.
732
+ :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
717
733
  :param pulumi.Input[_builtins.str] code_signing_config_arn: ARN of a code-signing configuration to enable code signing for this function.
718
734
  :param pulumi.Input['FunctionDeadLetterConfigArgs'] dead_letter_config: Configuration block for dead letter queue. See below.
719
735
  :param pulumi.Input[_builtins.str] description: Description of what your Lambda Function does.
@@ -751,7 +767,7 @@ class _FunctionState:
751
767
  :param pulumi.Input[_builtins.str] signing_profile_version_arn: ARN of the signing profile version.
752
768
  :param pulumi.Input[_builtins.bool] skip_destroy: Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
753
769
  :param pulumi.Input['FunctionSnapStartArgs'] snap_start: Configuration block for snap start settings. See below.
754
- :param pulumi.Input[_builtins.str] source_code_hash: Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
770
+ :param pulumi.Input[_builtins.str] source_code_hash: User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
755
771
  :param pulumi.Input[_builtins.int] source_code_size: Size in bytes of the function .zip file.
756
772
  :param pulumi.Input[_builtins.str] source_kms_key_arn: ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `image_uri`.
757
773
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of tags for the Lambda function. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -915,7 +931,7 @@ class _FunctionState:
915
931
  @pulumi.getter(name="codeSha256")
916
932
  def code_sha256(self) -> Optional[pulumi.Input[_builtins.str]]:
917
933
  """
918
- Base64-encoded representation of raw SHA-256 sum of the zip file.
934
+ Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
919
935
  """
920
936
  return pulumi.get(self, "code_sha256")
921
937
 
@@ -1349,7 +1365,7 @@ class _FunctionState:
1349
1365
  @pulumi.getter(name="sourceCodeHash")
1350
1366
  def source_code_hash(self) -> Optional[pulumi.Input[_builtins.str]]:
1351
1367
  """
1352
- Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
1368
+ User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
1353
1369
  """
1354
1370
  return pulumi.get(self, "source_code_hash")
1355
1371
 
@@ -1475,6 +1491,7 @@ class Function(pulumi.CustomResource):
1475
1491
  architectures: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1476
1492
  capacity_provider_config: Optional[pulumi.Input[Union['FunctionCapacityProviderConfigArgs', 'FunctionCapacityProviderConfigArgsDict']]] = None,
1477
1493
  code: Optional[pulumi.Input[pulumi.Archive]] = None,
1494
+ code_sha256: Optional[pulumi.Input[_builtins.str]] = None,
1478
1495
  code_signing_config_arn: Optional[pulumi.Input[_builtins.str]] = None,
1479
1496
  dead_letter_config: Optional[pulumi.Input[Union['FunctionDeadLetterConfigArgs', 'FunctionDeadLetterConfigArgsDict']]] = None,
1480
1497
  description: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1962,6 +1979,7 @@ class Function(pulumi.CustomResource):
1962
1979
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] architectures: Instruction set architecture for your Lambda function. Valid values are `["x86_64"]` and `["arm64"]`. Default is `["x86_64"]`. Removing this attribute, function's architecture stays the same.
1963
1980
  :param pulumi.Input[Union['FunctionCapacityProviderConfigArgs', 'FunctionCapacityProviderConfigArgsDict']] capacity_provider_config: Configuration block for Lambda Capacity Provider. See below.
1964
1981
  :param pulumi.Input[pulumi.Archive] code: Path to the function's deployment package within the local filesystem. Conflicts with `image_uri` and `s3_bucket`. One of `filename`, `image_uri`, or `s3_bucket` must be specified.
1982
+ :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
1965
1983
  :param pulumi.Input[_builtins.str] code_signing_config_arn: ARN of a code-signing configuration to enable code signing for this function.
1966
1984
  :param pulumi.Input[Union['FunctionDeadLetterConfigArgs', 'FunctionDeadLetterConfigArgsDict']] dead_letter_config: Configuration block for dead letter queue. See below.
1967
1985
  :param pulumi.Input[_builtins.str] description: Description of what your Lambda Function does.
@@ -1993,7 +2011,7 @@ class Function(pulumi.CustomResource):
1993
2011
  :param pulumi.Input[_builtins.str] s3_object_version: Object version containing the function's deployment package. Conflicts with `filename` and `image_uri`.
1994
2012
  :param pulumi.Input[_builtins.bool] skip_destroy: Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
1995
2013
  :param pulumi.Input[Union['FunctionSnapStartArgs', 'FunctionSnapStartArgsDict']] snap_start: Configuration block for snap start settings. See below.
1996
- :param pulumi.Input[_builtins.str] source_code_hash: Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
2014
+ :param pulumi.Input[_builtins.str] source_code_hash: User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
1997
2015
  :param pulumi.Input[_builtins.str] source_kms_key_arn: ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `image_uri`.
1998
2016
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of tags for the Lambda function. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
1999
2017
  :param pulumi.Input[Union['FunctionTenancyConfigArgs', 'FunctionTenancyConfigArgsDict']] tenancy_config: Configuration block for Tenancy. See below.
@@ -2470,6 +2488,7 @@ class Function(pulumi.CustomResource):
2470
2488
  architectures: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2471
2489
  capacity_provider_config: Optional[pulumi.Input[Union['FunctionCapacityProviderConfigArgs', 'FunctionCapacityProviderConfigArgsDict']]] = None,
2472
2490
  code: Optional[pulumi.Input[pulumi.Archive]] = None,
2491
+ code_sha256: Optional[pulumi.Input[_builtins.str]] = None,
2473
2492
  code_signing_config_arn: Optional[pulumi.Input[_builtins.str]] = None,
2474
2493
  dead_letter_config: Optional[pulumi.Input[Union['FunctionDeadLetterConfigArgs', 'FunctionDeadLetterConfigArgsDict']]] = None,
2475
2494
  description: Optional[pulumi.Input[_builtins.str]] = None,
@@ -2518,6 +2537,7 @@ class Function(pulumi.CustomResource):
2518
2537
  __props__.__dict__["architectures"] = architectures
2519
2538
  __props__.__dict__["capacity_provider_config"] = capacity_provider_config
2520
2539
  __props__.__dict__["code"] = code
2540
+ __props__.__dict__["code_sha256"] = code_sha256
2521
2541
  __props__.__dict__["code_signing_config_arn"] = code_signing_config_arn
2522
2542
  __props__.__dict__["dead_letter_config"] = dead_letter_config
2523
2543
  __props__.__dict__["description"] = description
@@ -2557,7 +2577,6 @@ class Function(pulumi.CustomResource):
2557
2577
  __props__.__dict__["tracing_config"] = tracing_config
2558
2578
  __props__.__dict__["vpc_config"] = vpc_config
2559
2579
  __props__.__dict__["arn"] = None
2560
- __props__.__dict__["code_sha256"] = None
2561
2580
  __props__.__dict__["invoke_arn"] = None
2562
2581
  __props__.__dict__["last_modified"] = None
2563
2582
  __props__.__dict__["qualified_arn"] = None
@@ -2638,7 +2657,7 @@ class Function(pulumi.CustomResource):
2638
2657
  :param pulumi.Input[_builtins.str] arn: ARN identifying your Lambda Function.
2639
2658
  :param pulumi.Input[Union['FunctionCapacityProviderConfigArgs', 'FunctionCapacityProviderConfigArgsDict']] capacity_provider_config: Configuration block for Lambda Capacity Provider. See below.
2640
2659
  :param pulumi.Input[pulumi.Archive] code: Path to the function's deployment package within the local filesystem. Conflicts with `image_uri` and `s3_bucket`. One of `filename`, `image_uri`, or `s3_bucket` must be specified.
2641
- :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation of raw SHA-256 sum of the zip file.
2660
+ :param pulumi.Input[_builtins.str] code_sha256: Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
2642
2661
  :param pulumi.Input[_builtins.str] code_signing_config_arn: ARN of a code-signing configuration to enable code signing for this function.
2643
2662
  :param pulumi.Input[Union['FunctionDeadLetterConfigArgs', 'FunctionDeadLetterConfigArgsDict']] dead_letter_config: Configuration block for dead letter queue. See below.
2644
2663
  :param pulumi.Input[_builtins.str] description: Description of what your Lambda Function does.
@@ -2676,7 +2695,7 @@ class Function(pulumi.CustomResource):
2676
2695
  :param pulumi.Input[_builtins.str] signing_profile_version_arn: ARN of the signing profile version.
2677
2696
  :param pulumi.Input[_builtins.bool] skip_destroy: Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
2678
2697
  :param pulumi.Input[Union['FunctionSnapStartArgs', 'FunctionSnapStartArgsDict']] snap_start: Configuration block for snap start settings. See below.
2679
- :param pulumi.Input[_builtins.str] source_code_hash: Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
2698
+ :param pulumi.Input[_builtins.str] source_code_hash: User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
2680
2699
  :param pulumi.Input[_builtins.int] source_code_size: Size in bytes of the function .zip file.
2681
2700
  :param pulumi.Input[_builtins.str] source_kms_key_arn: ARN of the AWS Key Management Service key used to encrypt the function's `.zip` deployment package. Conflicts with `image_uri`.
2682
2701
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of tags for the Lambda function. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -2779,7 +2798,7 @@ class Function(pulumi.CustomResource):
2779
2798
  @pulumi.getter(name="codeSha256")
2780
2799
  def code_sha256(self) -> pulumi.Output[_builtins.str]:
2781
2800
  """
2782
- Base64-encoded representation of raw SHA-256 sum of the zip file.
2801
+ Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `source_code_hash` argument instead.
2783
2802
  """
2784
2803
  return pulumi.get(self, "code_sha256")
2785
2804
 
@@ -3069,7 +3088,7 @@ class Function(pulumi.CustomResource):
3069
3088
  @pulumi.getter(name="sourceCodeHash")
3070
3089
  def source_code_hash(self) -> pulumi.Output[_builtins.str]:
3071
3090
  """
3072
- Base64-encoded SHA256 hash of the package file. Used to trigger updates when source code changes.
3091
+ User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `code_sha256` argument instead.
3073
3092
  """
3074
3093
  return pulumi.get(self, "source_code_hash")
3075
3094