pulumi-aws 7.11.1__py3-none-any.whl → 7.12.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 (122) hide show
  1. pulumi_aws/__init__.py +57 -0
  2. pulumi_aws/acm/certificate.py +20 -20
  3. pulumi_aws/acmpca/certificate.py +8 -8
  4. pulumi_aws/apigateway/account.py +0 -4
  5. pulumi_aws/appflow/_inputs.py +33 -0
  6. pulumi_aws/appflow/outputs.py +22 -0
  7. pulumi_aws/appsync/graph_ql_api.py +84 -0
  8. pulumi_aws/bedrock/_inputs.py +97 -21
  9. pulumi_aws/bedrock/agent_agent_alias.py +94 -0
  10. pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
  11. pulumi_aws/bedrock/agentcore_browser.py +42 -0
  12. pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
  13. pulumi_aws/bedrock/agentcore_memory.py +37 -9
  14. pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
  15. pulumi_aws/bedrock/outputs.py +64 -17
  16. pulumi_aws/cloudfront/_inputs.py +15 -14
  17. pulumi_aws/cloudfront/distribution.py +28 -0
  18. pulumi_aws/cloudfront/outputs.py +10 -9
  19. pulumi_aws/cloudhsmv2/cluster.py +64 -0
  20. pulumi_aws/cloudwatch/_inputs.py +9 -8
  21. pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
  22. pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
  23. pulumi_aws/cloudwatch/outputs.py +6 -5
  24. pulumi_aws/codebuild/webhook.py +16 -16
  25. pulumi_aws/codepipeline/webhook.py +16 -16
  26. pulumi_aws/connect/_inputs.py +50 -4
  27. pulumi_aws/connect/outputs.py +95 -4
  28. pulumi_aws/connect/routing_profile.py +42 -18
  29. pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
  30. pulumi_aws/datazone/project.py +24 -0
  31. pulumi_aws/detective/organization_configuration.py +20 -0
  32. pulumi_aws/dms/_inputs.py +3 -3
  33. pulumi_aws/dms/outputs.py +2 -2
  34. pulumi_aws/ec2/__init__.py +1 -0
  35. pulumi_aws/ec2/_inputs.py +182 -0
  36. pulumi_aws/ec2/allowed_images_settings.py +338 -0
  37. pulumi_aws/ec2/get_coip_pools.py +24 -0
  38. pulumi_aws/ec2/image_block_public_access.py +48 -1
  39. pulumi_aws/ec2/outputs.py +167 -0
  40. pulumi_aws/ec2/security_group.py +6 -6
  41. pulumi_aws/ec2/serial_console_access.py +50 -3
  42. pulumi_aws/ec2/vpc_endpoint.py +92 -0
  43. pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
  44. pulumi_aws/ec2clientvpn/route.py +7 -7
  45. pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
  46. pulumi_aws/ecrpublic/get_images.py +24 -0
  47. pulumi_aws/ecs/_inputs.py +172 -33
  48. pulumi_aws/ecs/get_service.py +318 -7
  49. pulumi_aws/ecs/outputs.py +957 -86
  50. pulumi_aws/ecs/service.py +76 -0
  51. pulumi_aws/eks/_inputs.py +195 -5
  52. pulumi_aws/eks/outputs.py +164 -4
  53. pulumi_aws/elasticache/_inputs.py +154 -0
  54. pulumi_aws/elasticache/get_replication_group.py +23 -9
  55. pulumi_aws/elasticache/outputs.py +204 -0
  56. pulumi_aws/elasticache/replication_group.py +115 -0
  57. pulumi_aws/elasticache/reserved_cache_node.py +28 -0
  58. pulumi_aws/finspace/kx_cluster.py +76 -0
  59. pulumi_aws/fis/__init__.py +1 -0
  60. pulumi_aws/fis/target_account_configuration.py +401 -0
  61. pulumi_aws/glue/job.py +7 -7
  62. pulumi_aws/guardduty/malware_protection_plan.py +50 -0
  63. pulumi_aws/guardduty/member_detector_feature.py +42 -0
  64. pulumi_aws/invoicing/__init__.py +11 -0
  65. pulumi_aws/invoicing/_inputs.py +128 -0
  66. pulumi_aws/invoicing/invoice_unit.py +620 -0
  67. pulumi_aws/invoicing/outputs.py +99 -0
  68. pulumi_aws/iot/ca_certificate.py +32 -32
  69. pulumi_aws/iot/get_registration_code.py +8 -8
  70. pulumi_aws/ivschat/logging_configuration.py +28 -0
  71. pulumi_aws/kinesis/get_stream.py +15 -1
  72. pulumi_aws/kinesis/stream.py +47 -0
  73. pulumi_aws/kms/key.py +7 -7
  74. pulumi_aws/licensemanager/license_grant.py +36 -0
  75. pulumi_aws/m2/environment.py +150 -0
  76. pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
  77. pulumi_aws/networkflowmonitor/__init__.py +12 -0
  78. pulumi_aws/networkflowmonitor/_inputs.py +412 -0
  79. pulumi_aws/networkflowmonitor/monitor.py +568 -0
  80. pulumi_aws/networkflowmonitor/outputs.py +302 -0
  81. pulumi_aws/networkflowmonitor/scope.py +443 -0
  82. pulumi_aws/observabilityadmin/__init__.py +11 -0
  83. pulumi_aws/observabilityadmin/_inputs.py +506 -0
  84. pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
  85. pulumi_aws/observabilityadmin/outputs.py +415 -0
  86. pulumi_aws/opensearch/_inputs.py +92 -133
  87. pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
  88. pulumi_aws/opensearch/domain.py +60 -0
  89. pulumi_aws/opensearch/get_domain.py +16 -9
  90. pulumi_aws/opensearch/outputs.py +131 -2
  91. pulumi_aws/organizations/get_policies.py +2 -2
  92. pulumi_aws/organizations/get_policies_for_target.py +2 -2
  93. pulumi_aws/organizations/get_policy.py +1 -1
  94. pulumi_aws/organizations/organization.py +7 -7
  95. pulumi_aws/organizations/policy.py +35 -7
  96. pulumi_aws/pulumi-plugin.json +1 -1
  97. pulumi_aws/quicksight/analysis.py +108 -0
  98. pulumi_aws/quicksight/dashboard.py +110 -0
  99. pulumi_aws/quicksight/template.py +126 -0
  100. pulumi_aws/redshift/cluster_snapshot.py +28 -0
  101. pulumi_aws/redshift/get_cluster.py +52 -0
  102. pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
  103. pulumi_aws/route53/profiles_association.py +30 -0
  104. pulumi_aws/route53/profiles_resource_association.py +34 -0
  105. pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
  106. pulumi_aws/s3tables/table.py +76 -1
  107. pulumi_aws/s3tables/table_bucket.py +78 -3
  108. pulumi_aws/sagemaker/_inputs.py +225 -232
  109. pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
  110. pulumi_aws/sagemaker/outputs.py +154 -158
  111. pulumi_aws/ssmincidents/get_response_plan.py +14 -0
  112. pulumi_aws/ssoadmin/account_assignment.py +4 -4
  113. pulumi_aws/transfer/profile.py +20 -0
  114. pulumi_aws/transfer/server.py +7 -0
  115. pulumi_aws/transfer/ssh_key.py +6 -6
  116. pulumi_aws/wafv2/rule_group.py +440 -0
  117. pulumi_aws/workspacesweb/session_logger_association.py +80 -0
  118. pulumi_aws/workspacesweb/trust_store_association.py +24 -0
  119. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
  120. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
  121. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
  122. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
@@ -1611,17 +1611,17 @@ class DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs:
1611
1611
 
1612
1612
  if not MYPY:
1613
1613
  class DistributionLoggingConfigArgsDict(TypedDict):
1614
- bucket: pulumi.Input[_builtins.str]
1614
+ bucket: NotRequired[pulumi.Input[_builtins.str]]
1615
1615
  """
1616
- Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1616
+ Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1617
1617
  """
1618
1618
  include_cookies: NotRequired[pulumi.Input[_builtins.bool]]
1619
1619
  """
1620
- Whether to include cookies in access logs (default: `false`).
1620
+ Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
1621
1621
  """
1622
1622
  prefix: NotRequired[pulumi.Input[_builtins.str]]
1623
1623
  """
1624
- Prefix to the access log filenames for this distribution, for example, `myprefix/`.
1624
+ Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
1625
1625
  """
1626
1626
  elif False:
1627
1627
  DistributionLoggingConfigArgsDict: TypeAlias = Mapping[str, Any]
@@ -1629,15 +1629,16 @@ elif False:
1629
1629
  @pulumi.input_type
1630
1630
  class DistributionLoggingConfigArgs:
1631
1631
  def __init__(__self__, *,
1632
- bucket: pulumi.Input[_builtins.str],
1632
+ bucket: Optional[pulumi.Input[_builtins.str]] = None,
1633
1633
  include_cookies: Optional[pulumi.Input[_builtins.bool]] = None,
1634
1634
  prefix: Optional[pulumi.Input[_builtins.str]] = None):
1635
1635
  """
1636
- :param pulumi.Input[_builtins.str] bucket: Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1637
- :param pulumi.Input[_builtins.bool] include_cookies: Whether to include cookies in access logs (default: `false`).
1638
- :param pulumi.Input[_builtins.str] prefix: Prefix to the access log filenames for this distribution, for example, `myprefix/`.
1636
+ :param pulumi.Input[_builtins.str] bucket: Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1637
+ :param pulumi.Input[_builtins.bool] include_cookies: Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
1638
+ :param pulumi.Input[_builtins.str] prefix: Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
1639
1639
  """
1640
- pulumi.set(__self__, "bucket", bucket)
1640
+ if bucket is not None:
1641
+ pulumi.set(__self__, "bucket", bucket)
1641
1642
  if include_cookies is not None:
1642
1643
  pulumi.set(__self__, "include_cookies", include_cookies)
1643
1644
  if prefix is not None:
@@ -1645,21 +1646,21 @@ class DistributionLoggingConfigArgs:
1645
1646
 
1646
1647
  @_builtins.property
1647
1648
  @pulumi.getter
1648
- def bucket(self) -> pulumi.Input[_builtins.str]:
1649
+ def bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
1649
1650
  """
1650
- Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1651
+ Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1651
1652
  """
1652
1653
  return pulumi.get(self, "bucket")
1653
1654
 
1654
1655
  @bucket.setter
1655
- def bucket(self, value: pulumi.Input[_builtins.str]):
1656
+ def bucket(self, value: Optional[pulumi.Input[_builtins.str]]):
1656
1657
  pulumi.set(self, "bucket", value)
1657
1658
 
1658
1659
  @_builtins.property
1659
1660
  @pulumi.getter(name="includeCookies")
1660
1661
  def include_cookies(self) -> Optional[pulumi.Input[_builtins.bool]]:
1661
1662
  """
1662
- Whether to include cookies in access logs (default: `false`).
1663
+ Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
1663
1664
  """
1664
1665
  return pulumi.get(self, "include_cookies")
1665
1666
 
@@ -1671,7 +1672,7 @@ class DistributionLoggingConfigArgs:
1671
1672
  @pulumi.getter
1672
1673
  def prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
1673
1674
  """
1674
- Prefix to the access log filenames for this distribution, for example, `myprefix/`.
1675
+ Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
1675
1676
  """
1676
1677
  return pulumi.get(self, "prefix")
1677
1678
 
@@ -394,6 +394,7 @@ class _DistributionState:
394
394
  is_ipv6_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
395
395
  last_modified_time: Optional[pulumi.Input[_builtins.str]] = None,
396
396
  logging_config: Optional[pulumi.Input['DistributionLoggingConfigArgs']] = None,
397
+ logging_v1_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
397
398
  ordered_cache_behaviors: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionOrderedCacheBehaviorArgs']]]] = None,
398
399
  origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionOriginGroupArgs']]]] = None,
399
400
  origins: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionOriginArgs']]]] = None,
@@ -429,6 +430,7 @@ class _DistributionState:
429
430
  :param pulumi.Input[_builtins.bool] is_ipv6_enabled: Whether the IPv6 is enabled for the distribution.
430
431
  :param pulumi.Input[_builtins.str] last_modified_time: Date and time the distribution was last modified.
431
432
  :param pulumi.Input['DistributionLoggingConfigArgs'] logging_config: The logging configuration that controls how logs are written to your distribution (maximum one). AWS provides two versions of access logs for CloudFront: Legacy and v2. This argument configures legacy version standard logs.
433
+ :param pulumi.Input[_builtins.bool] logging_v1_enabled: Whether V1 logging is enabled for the distribution.
432
434
  :param pulumi.Input[Sequence[pulumi.Input['DistributionOrderedCacheBehaviorArgs']]] ordered_cache_behaviors: Ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.
433
435
  :param pulumi.Input[Sequence[pulumi.Input['DistributionOriginGroupArgs']]] origin_groups: One or more origin_group for this distribution (multiples allowed).
434
436
  :param pulumi.Input[Sequence[pulumi.Input['DistributionOriginArgs']]] origins: One or more origins for this distribution (multiples allowed).
@@ -481,6 +483,8 @@ class _DistributionState:
481
483
  pulumi.set(__self__, "last_modified_time", last_modified_time)
482
484
  if logging_config is not None:
483
485
  pulumi.set(__self__, "logging_config", logging_config)
486
+ if logging_v1_enabled is not None:
487
+ pulumi.set(__self__, "logging_v1_enabled", logging_v1_enabled)
484
488
  if ordered_cache_behaviors is not None:
485
489
  pulumi.set(__self__, "ordered_cache_behaviors", ordered_cache_behaviors)
486
490
  if origin_groups is not None:
@@ -728,6 +732,18 @@ class _DistributionState:
728
732
  def logging_config(self, value: Optional[pulumi.Input['DistributionLoggingConfigArgs']]):
729
733
  pulumi.set(self, "logging_config", value)
730
734
 
735
+ @_builtins.property
736
+ @pulumi.getter(name="loggingV1Enabled")
737
+ def logging_v1_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
738
+ """
739
+ Whether V1 logging is enabled for the distribution.
740
+ """
741
+ return pulumi.get(self, "logging_v1_enabled")
742
+
743
+ @logging_v1_enabled.setter
744
+ def logging_v1_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
745
+ pulumi.set(self, "logging_v1_enabled", value)
746
+
731
747
  @_builtins.property
732
748
  @pulumi.getter(name="orderedCacheBehaviors")
733
749
  def ordered_cache_behaviors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DistributionOrderedCacheBehaviorArgs']]]]:
@@ -1766,6 +1782,7 @@ class Distribution(pulumi.CustomResource):
1766
1782
  __props__.__dict__["hosted_zone_id"] = None
1767
1783
  __props__.__dict__["in_progress_validation_batches"] = None
1768
1784
  __props__.__dict__["last_modified_time"] = None
1785
+ __props__.__dict__["logging_v1_enabled"] = None
1769
1786
  __props__.__dict__["status"] = None
1770
1787
  __props__.__dict__["tags_all"] = None
1771
1788
  __props__.__dict__["trusted_key_groups"] = None
@@ -1798,6 +1815,7 @@ class Distribution(pulumi.CustomResource):
1798
1815
  is_ipv6_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1799
1816
  last_modified_time: Optional[pulumi.Input[_builtins.str]] = None,
1800
1817
  logging_config: Optional[pulumi.Input[Union['DistributionLoggingConfigArgs', 'DistributionLoggingConfigArgsDict']]] = None,
1818
+ logging_v1_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1801
1819
  ordered_cache_behaviors: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributionOrderedCacheBehaviorArgs', 'DistributionOrderedCacheBehaviorArgsDict']]]]] = None,
1802
1820
  origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributionOriginGroupArgs', 'DistributionOriginGroupArgsDict']]]]] = None,
1803
1821
  origins: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DistributionOriginArgs', 'DistributionOriginArgsDict']]]]] = None,
@@ -1838,6 +1856,7 @@ class Distribution(pulumi.CustomResource):
1838
1856
  :param pulumi.Input[_builtins.bool] is_ipv6_enabled: Whether the IPv6 is enabled for the distribution.
1839
1857
  :param pulumi.Input[_builtins.str] last_modified_time: Date and time the distribution was last modified.
1840
1858
  :param pulumi.Input[Union['DistributionLoggingConfigArgs', 'DistributionLoggingConfigArgsDict']] logging_config: The logging configuration that controls how logs are written to your distribution (maximum one). AWS provides two versions of access logs for CloudFront: Legacy and v2. This argument configures legacy version standard logs.
1859
+ :param pulumi.Input[_builtins.bool] logging_v1_enabled: Whether V1 logging is enabled for the distribution.
1841
1860
  :param pulumi.Input[Sequence[pulumi.Input[Union['DistributionOrderedCacheBehaviorArgs', 'DistributionOrderedCacheBehaviorArgsDict']]]] ordered_cache_behaviors: Ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.
1842
1861
  :param pulumi.Input[Sequence[pulumi.Input[Union['DistributionOriginGroupArgs', 'DistributionOriginGroupArgsDict']]]] origin_groups: One or more origin_group for this distribution (multiples allowed).
1843
1862
  :param pulumi.Input[Sequence[pulumi.Input[Union['DistributionOriginArgs', 'DistributionOriginArgsDict']]]] origins: One or more origins for this distribution (multiples allowed).
@@ -1876,6 +1895,7 @@ class Distribution(pulumi.CustomResource):
1876
1895
  __props__.__dict__["is_ipv6_enabled"] = is_ipv6_enabled
1877
1896
  __props__.__dict__["last_modified_time"] = last_modified_time
1878
1897
  __props__.__dict__["logging_config"] = logging_config
1898
+ __props__.__dict__["logging_v1_enabled"] = logging_v1_enabled
1879
1899
  __props__.__dict__["ordered_cache_behaviors"] = ordered_cache_behaviors
1880
1900
  __props__.__dict__["origin_groups"] = origin_groups
1881
1901
  __props__.__dict__["origins"] = origins
@@ -2037,6 +2057,14 @@ class Distribution(pulumi.CustomResource):
2037
2057
  """
2038
2058
  return pulumi.get(self, "logging_config")
2039
2059
 
2060
+ @_builtins.property
2061
+ @pulumi.getter(name="loggingV1Enabled")
2062
+ def logging_v1_enabled(self) -> pulumi.Output[_builtins.bool]:
2063
+ """
2064
+ Whether V1 logging is enabled for the distribution.
2065
+ """
2066
+ return pulumi.get(self, "logging_v1_enabled")
2067
+
2040
2068
  @_builtins.property
2041
2069
  @pulumi.getter(name="orderedCacheBehaviors")
2042
2070
  def ordered_cache_behaviors(self) -> pulumi.Output[Optional[Sequence['outputs.DistributionOrderedCacheBehavior']]]:
@@ -1279,15 +1279,16 @@ class DistributionLoggingConfig(dict):
1279
1279
  return super().get(key, default)
1280
1280
 
1281
1281
  def __init__(__self__, *,
1282
- bucket: _builtins.str,
1282
+ bucket: Optional[_builtins.str] = None,
1283
1283
  include_cookies: Optional[_builtins.bool] = None,
1284
1284
  prefix: Optional[_builtins.str] = None):
1285
1285
  """
1286
- :param _builtins.str bucket: Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1287
- :param _builtins.bool include_cookies: Whether to include cookies in access logs (default: `false`).
1288
- :param _builtins.str prefix: Prefix to the access log filenames for this distribution, for example, `myprefix/`.
1286
+ :param _builtins.str bucket: Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1287
+ :param _builtins.bool include_cookies: Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
1288
+ :param _builtins.str prefix: Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
1289
1289
  """
1290
- pulumi.set(__self__, "bucket", bucket)
1290
+ if bucket is not None:
1291
+ pulumi.set(__self__, "bucket", bucket)
1291
1292
  if include_cookies is not None:
1292
1293
  pulumi.set(__self__, "include_cookies", include_cookies)
1293
1294
  if prefix is not None:
@@ -1295,9 +1296,9 @@ class DistributionLoggingConfig(dict):
1295
1296
 
1296
1297
  @_builtins.property
1297
1298
  @pulumi.getter
1298
- def bucket(self) -> _builtins.str:
1299
+ def bucket(self) -> Optional[_builtins.str]:
1299
1300
  """
1300
- Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com`. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1301
+ Amazon S3 bucket for V1 logging where access logs are stored, for example, `myawslogbucket.s3.amazonaws.com`. V1 logging is enabled when this argument is specified. The bucket must have correct ACL attached with "FULL_CONTROL" permission for "awslogsdelivery" account (Canonical ID: "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0") for log transfer to work.
1301
1302
  """
1302
1303
  return pulumi.get(self, "bucket")
1303
1304
 
@@ -1305,7 +1306,7 @@ class DistributionLoggingConfig(dict):
1305
1306
  @pulumi.getter(name="includeCookies")
1306
1307
  def include_cookies(self) -> Optional[_builtins.bool]:
1307
1308
  """
1308
- Whether to include cookies in access logs (default: `false`).
1309
+ Whether to include cookies in access logs (default: `false`). This argument applies to both V1 and V2 logging.
1309
1310
  """
1310
1311
  return pulumi.get(self, "include_cookies")
1311
1312
 
@@ -1313,7 +1314,7 @@ class DistributionLoggingConfig(dict):
1313
1314
  @pulumi.getter
1314
1315
  def prefix(self) -> Optional[_builtins.str]:
1315
1316
  """
1316
- Prefix to the access log filenames for this distribution, for example, `myprefix/`.
1317
+ Prefix added to the access log file names for V1 logging, for example, `myprefix/`. This argument is effective only when V1 logging is enabled.
1317
1318
  """
1318
1319
  return pulumi.get(self, "prefix")
1319
1320
 
@@ -345,6 +345,38 @@ class Cluster(pulumi.CustomResource):
345
345
  If you need to delete a cluster, you have to remove its HSM modules first.
346
346
  To initialize cluster, you have to add an HSM instance to the cluster, then sign CSR and upload it.
347
347
 
348
+ ## Example Usage
349
+
350
+ The following example below creates a CloudHSM cluster.
351
+
352
+ ```python
353
+ import pulumi
354
+ import pulumi_aws as aws
355
+
356
+ available = aws.get_availability_zones()
357
+ cloudhsm_v2_vpc = aws.ec2.Vpc("cloudhsm_v2_vpc",
358
+ cidr_block="10.0.0.0/16",
359
+ tags={
360
+ "Name": "example-aws_cloudhsm_v2_cluster",
361
+ })
362
+ cloudhsm_v2_subnets = []
363
+ for range in [{"value": i} for i in range(0, 2)]:
364
+ cloudhsm_v2_subnets.append(aws.ec2.Subnet(f"cloudhsm_v2_subnets-{range['value']}",
365
+ vpc_id=cloudhsm_v2_vpc.id,
366
+ cidr_block=subnets[range["value"]],
367
+ map_public_ip_on_launch=False,
368
+ availability_zone=available.names[range["value"]],
369
+ tags={
370
+ "Name": "example-aws_cloudhsm_v2_cluster",
371
+ }))
372
+ cloudhsm_v2_cluster = aws.cloudhsmv2.Cluster("cloudhsm_v2_cluster",
373
+ hsm_type="hsm1.medium",
374
+ subnet_ids=[__item.id for __item in cloudhsm_v2_subnets],
375
+ tags={
376
+ "Name": "example-aws_cloudhsm_v2_cluster",
377
+ })
378
+ ```
379
+
348
380
  ## Import
349
381
 
350
382
  Using `pulumi import`, import CloudHSM v2 Clusters using the cluster `id`. For example:
@@ -380,6 +412,38 @@ class Cluster(pulumi.CustomResource):
380
412
  If you need to delete a cluster, you have to remove its HSM modules first.
381
413
  To initialize cluster, you have to add an HSM instance to the cluster, then sign CSR and upload it.
382
414
 
415
+ ## Example Usage
416
+
417
+ The following example below creates a CloudHSM cluster.
418
+
419
+ ```python
420
+ import pulumi
421
+ import pulumi_aws as aws
422
+
423
+ available = aws.get_availability_zones()
424
+ cloudhsm_v2_vpc = aws.ec2.Vpc("cloudhsm_v2_vpc",
425
+ cidr_block="10.0.0.0/16",
426
+ tags={
427
+ "Name": "example-aws_cloudhsm_v2_cluster",
428
+ })
429
+ cloudhsm_v2_subnets = []
430
+ for range in [{"value": i} for i in range(0, 2)]:
431
+ cloudhsm_v2_subnets.append(aws.ec2.Subnet(f"cloudhsm_v2_subnets-{range['value']}",
432
+ vpc_id=cloudhsm_v2_vpc.id,
433
+ cidr_block=subnets[range["value"]],
434
+ map_public_ip_on_launch=False,
435
+ availability_zone=available.names[range["value"]],
436
+ tags={
437
+ "Name": "example-aws_cloudhsm_v2_cluster",
438
+ }))
439
+ cloudhsm_v2_cluster = aws.cloudhsmv2.Cluster("cloudhsm_v2_cluster",
440
+ hsm_type="hsm1.medium",
441
+ subnet_ids=[__item.id for __item in cloudhsm_v2_subnets],
442
+ tags={
443
+ "Name": "example-aws_cloudhsm_v2_cluster",
444
+ })
445
+ ```
446
+
383
447
  ## Import
384
448
 
385
449
  Using `pulumi import`, import CloudHSM v2 Clusters using the cluster `id`. For example:
@@ -2876,9 +2876,9 @@ class InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs:
2876
2876
 
2877
2877
  if not MYPY:
2878
2878
  class LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict(TypedDict):
2879
- destination_resource_arn: pulumi.Input[_builtins.str]
2879
+ destination_resource_arn: NotRequired[pulumi.Input[_builtins.str]]
2880
2880
  """
2881
- The ARN of the AWS destination that this delivery destination represents.
2881
+ The ARN of the AWS destination that this delivery destination represents. Required when `delivery_destination_configuration` is specified.
2882
2882
  """
2883
2883
  elif False:
2884
2884
  LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any]
@@ -2886,22 +2886,23 @@ elif False:
2886
2886
  @pulumi.input_type
2887
2887
  class LogDeliveryDestinationDeliveryDestinationConfigurationArgs:
2888
2888
  def __init__(__self__, *,
2889
- destination_resource_arn: pulumi.Input[_builtins.str]):
2889
+ destination_resource_arn: Optional[pulumi.Input[_builtins.str]] = None):
2890
2890
  """
2891
- :param pulumi.Input[_builtins.str] destination_resource_arn: The ARN of the AWS destination that this delivery destination represents.
2891
+ :param pulumi.Input[_builtins.str] destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. Required when `delivery_destination_configuration` is specified.
2892
2892
  """
2893
- pulumi.set(__self__, "destination_resource_arn", destination_resource_arn)
2893
+ if destination_resource_arn is not None:
2894
+ pulumi.set(__self__, "destination_resource_arn", destination_resource_arn)
2894
2895
 
2895
2896
  @_builtins.property
2896
2897
  @pulumi.getter(name="destinationResourceArn")
2897
- def destination_resource_arn(self) -> pulumi.Input[_builtins.str]:
2898
+ def destination_resource_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
2898
2899
  """
2899
- The ARN of the AWS destination that this delivery destination represents.
2900
+ The ARN of the AWS destination that this delivery destination represents. Required when `delivery_destination_configuration` is specified.
2900
2901
  """
2901
2902
  return pulumi.get(self, "destination_resource_arn")
2902
2903
 
2903
2904
  @destination_resource_arn.setter
2904
- def destination_resource_arn(self, value: pulumi.Input[_builtins.str]):
2905
+ def destination_resource_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
2905
2906
  pulumi.set(self, "destination_resource_arn", value)
2906
2907
 
2907
2908
 
@@ -241,6 +241,16 @@ class ContributorManagedInsightRule(pulumi.CustomResource):
241
241
 
242
242
  ### Basic Usage
243
243
 
244
+ ```python
245
+ import pulumi
246
+ import pulumi_aws as aws
247
+
248
+ example = aws.cloudwatch.ContributorManagedInsightRule("example",
249
+ resource_arn=test["arn"],
250
+ template_name="VpcEndpointService-BytesByEndpointId-v1",
251
+ rule_state="DISABLED")
252
+ ```
253
+
244
254
  ## Import
245
255
 
246
256
  Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
@@ -270,6 +280,16 @@ class ContributorManagedInsightRule(pulumi.CustomResource):
270
280
 
271
281
  ### Basic Usage
272
282
 
283
+ ```python
284
+ import pulumi
285
+ import pulumi_aws as aws
286
+
287
+ example = aws.cloudwatch.ContributorManagedInsightRule("example",
288
+ resource_arn=test["arn"],
289
+ template_name="VpcEndpointService-BytesByEndpointId-v1",
290
+ rule_state="DISABLED")
291
+ ```
292
+
273
293
  ## Import
274
294
 
275
295
  Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
@@ -22,13 +22,15 @@ __all__ = ['LogDeliveryDestinationArgs', 'LogDeliveryDestination']
22
22
  class LogDeliveryDestinationArgs:
23
23
  def __init__(__self__, *,
24
24
  delivery_destination_configuration: Optional[pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs']] = None,
25
+ delivery_destination_type: Optional[pulumi.Input[_builtins.str]] = None,
25
26
  name: Optional[pulumi.Input[_builtins.str]] = None,
26
27
  output_format: Optional[pulumi.Input[_builtins.str]] = None,
27
28
  region: Optional[pulumi.Input[_builtins.str]] = None,
28
29
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
29
30
  """
30
31
  The set of arguments for constructing a LogDeliveryDestination resource.
31
- :param pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs'] delivery_destination_configuration: The AWS resource that will receive the logs.
32
+ :param pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs'] delivery_destination_configuration: The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
33
+ :param pulumi.Input[_builtins.str] delivery_destination_type: The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
32
34
  :param pulumi.Input[_builtins.str] name: The name for this delivery destination.
33
35
  :param pulumi.Input[_builtins.str] output_format: The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.
34
36
  :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.
@@ -36,6 +38,8 @@ class LogDeliveryDestinationArgs:
36
38
  """
37
39
  if delivery_destination_configuration is not None:
38
40
  pulumi.set(__self__, "delivery_destination_configuration", delivery_destination_configuration)
41
+ if delivery_destination_type is not None:
42
+ pulumi.set(__self__, "delivery_destination_type", delivery_destination_type)
39
43
  if name is not None:
40
44
  pulumi.set(__self__, "name", name)
41
45
  if output_format is not None:
@@ -49,7 +53,7 @@ class LogDeliveryDestinationArgs:
49
53
  @pulumi.getter(name="deliveryDestinationConfiguration")
50
54
  def delivery_destination_configuration(self) -> Optional[pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs']]:
51
55
  """
52
- The AWS resource that will receive the logs.
56
+ The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
53
57
  """
54
58
  return pulumi.get(self, "delivery_destination_configuration")
55
59
 
@@ -57,6 +61,18 @@ class LogDeliveryDestinationArgs:
57
61
  def delivery_destination_configuration(self, value: Optional[pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs']]):
58
62
  pulumi.set(self, "delivery_destination_configuration", value)
59
63
 
64
+ @_builtins.property
65
+ @pulumi.getter(name="deliveryDestinationType")
66
+ def delivery_destination_type(self) -> Optional[pulumi.Input[_builtins.str]]:
67
+ """
68
+ The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
69
+ """
70
+ return pulumi.get(self, "delivery_destination_type")
71
+
72
+ @delivery_destination_type.setter
73
+ def delivery_destination_type(self, value: Optional[pulumi.Input[_builtins.str]]):
74
+ pulumi.set(self, "delivery_destination_type", value)
75
+
60
76
  @_builtins.property
61
77
  @pulumi.getter
62
78
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -120,8 +136,8 @@ class _LogDeliveryDestinationState:
120
136
  """
121
137
  Input properties used for looking up and filtering LogDeliveryDestination resources.
122
138
  :param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the delivery destination.
123
- :param pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs'] delivery_destination_configuration: The AWS resource that will receive the logs.
124
- :param pulumi.Input[_builtins.str] delivery_destination_type: Whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
139
+ :param pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs'] delivery_destination_configuration: The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
140
+ :param pulumi.Input[_builtins.str] delivery_destination_type: The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
125
141
  :param pulumi.Input[_builtins.str] name: The name for this delivery destination.
126
142
  :param pulumi.Input[_builtins.str] output_format: The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.
127
143
  :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.
@@ -161,7 +177,7 @@ class _LogDeliveryDestinationState:
161
177
  @pulumi.getter(name="deliveryDestinationConfiguration")
162
178
  def delivery_destination_configuration(self) -> Optional[pulumi.Input['LogDeliveryDestinationDeliveryDestinationConfigurationArgs']]:
163
179
  """
164
- The AWS resource that will receive the logs.
180
+ The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
165
181
  """
166
182
  return pulumi.get(self, "delivery_destination_configuration")
167
183
 
@@ -173,7 +189,7 @@ class _LogDeliveryDestinationState:
173
189
  @pulumi.getter(name="deliveryDestinationType")
174
190
  def delivery_destination_type(self) -> Optional[pulumi.Input[_builtins.str]]:
175
191
  """
176
- Whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
192
+ The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
177
193
  """
178
194
  return pulumi.get(self, "delivery_destination_type")
179
195
 
@@ -249,6 +265,7 @@ class LogDeliveryDestination(pulumi.CustomResource):
249
265
  resource_name: str,
250
266
  opts: Optional[pulumi.ResourceOptions] = None,
251
267
  delivery_destination_configuration: Optional[pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']]] = None,
268
+ delivery_destination_type: Optional[pulumi.Input[_builtins.str]] = None,
252
269
  name: Optional[pulumi.Input[_builtins.str]] = None,
253
270
  output_format: Optional[pulumi.Input[_builtins.str]] = None,
254
271
  region: Optional[pulumi.Input[_builtins.str]] = None,
@@ -272,6 +289,17 @@ class LogDeliveryDestination(pulumi.CustomResource):
272
289
  })
273
290
  ```
274
291
 
292
+ ### X-Ray Trace Delivery
293
+
294
+ ```python
295
+ import pulumi
296
+ import pulumi_aws as aws
297
+
298
+ xray = aws.cloudwatch.LogDeliveryDestination("xray",
299
+ name="xray-traces",
300
+ delivery_destination_type="XRAY")
301
+ ```
302
+
275
303
  ## Import
276
304
 
277
305
  Using `pulumi import`, import CloudWatch Logs Delivery Destination using the `name`. For example:
@@ -282,7 +310,8 @@ class LogDeliveryDestination(pulumi.CustomResource):
282
310
 
283
311
  :param str resource_name: The name of the resource.
284
312
  :param pulumi.ResourceOptions opts: Options for the resource.
285
- :param pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']] delivery_destination_configuration: The AWS resource that will receive the logs.
313
+ :param pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']] delivery_destination_configuration: The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
314
+ :param pulumi.Input[_builtins.str] delivery_destination_type: The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
286
315
  :param pulumi.Input[_builtins.str] name: The name for this delivery destination.
287
316
  :param pulumi.Input[_builtins.str] output_format: The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.
288
317
  :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.
@@ -312,6 +341,17 @@ class LogDeliveryDestination(pulumi.CustomResource):
312
341
  })
313
342
  ```
314
343
 
344
+ ### X-Ray Trace Delivery
345
+
346
+ ```python
347
+ import pulumi
348
+ import pulumi_aws as aws
349
+
350
+ xray = aws.cloudwatch.LogDeliveryDestination("xray",
351
+ name="xray-traces",
352
+ delivery_destination_type="XRAY")
353
+ ```
354
+
315
355
  ## Import
316
356
 
317
357
  Using `pulumi import`, import CloudWatch Logs Delivery Destination using the `name`. For example:
@@ -336,6 +376,7 @@ class LogDeliveryDestination(pulumi.CustomResource):
336
376
  resource_name: str,
337
377
  opts: Optional[pulumi.ResourceOptions] = None,
338
378
  delivery_destination_configuration: Optional[pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']]] = None,
379
+ delivery_destination_type: Optional[pulumi.Input[_builtins.str]] = None,
339
380
  name: Optional[pulumi.Input[_builtins.str]] = None,
340
381
  output_format: Optional[pulumi.Input[_builtins.str]] = None,
341
382
  region: Optional[pulumi.Input[_builtins.str]] = None,
@@ -350,12 +391,12 @@ class LogDeliveryDestination(pulumi.CustomResource):
350
391
  __props__ = LogDeliveryDestinationArgs.__new__(LogDeliveryDestinationArgs)
351
392
 
352
393
  __props__.__dict__["delivery_destination_configuration"] = delivery_destination_configuration
394
+ __props__.__dict__["delivery_destination_type"] = delivery_destination_type
353
395
  __props__.__dict__["name"] = name
354
396
  __props__.__dict__["output_format"] = output_format
355
397
  __props__.__dict__["region"] = region
356
398
  __props__.__dict__["tags"] = tags
357
399
  __props__.__dict__["arn"] = None
358
- __props__.__dict__["delivery_destination_type"] = None
359
400
  __props__.__dict__["tags_all"] = None
360
401
  super(LogDeliveryDestination, __self__).__init__(
361
402
  'aws:cloudwatch/logDeliveryDestination:LogDeliveryDestination',
@@ -383,8 +424,8 @@ class LogDeliveryDestination(pulumi.CustomResource):
383
424
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
384
425
  :param pulumi.ResourceOptions opts: Options for the resource.
385
426
  :param pulumi.Input[_builtins.str] arn: The Amazon Resource Name (ARN) of the delivery destination.
386
- :param pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']] delivery_destination_configuration: The AWS resource that will receive the logs.
387
- :param pulumi.Input[_builtins.str] delivery_destination_type: Whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
427
+ :param pulumi.Input[Union['LogDeliveryDestinationDeliveryDestinationConfigurationArgs', 'LogDeliveryDestinationDeliveryDestinationConfigurationArgsDict']] delivery_destination_configuration: The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
428
+ :param pulumi.Input[_builtins.str] delivery_destination_type: The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
388
429
  :param pulumi.Input[_builtins.str] name: The name for this delivery destination.
389
430
  :param pulumi.Input[_builtins.str] output_format: The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.
390
431
  :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.
@@ -417,7 +458,7 @@ class LogDeliveryDestination(pulumi.CustomResource):
417
458
  @pulumi.getter(name="deliveryDestinationConfiguration")
418
459
  def delivery_destination_configuration(self) -> pulumi.Output[Optional['outputs.LogDeliveryDestinationDeliveryDestinationConfiguration']]:
419
460
  """
420
- The AWS resource that will receive the logs.
461
+ The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
421
462
  """
422
463
  return pulumi.get(self, "delivery_destination_configuration")
423
464
 
@@ -425,7 +466,7 @@ class LogDeliveryDestination(pulumi.CustomResource):
425
466
  @pulumi.getter(name="deliveryDestinationType")
426
467
  def delivery_destination_type(self) -> pulumi.Output[_builtins.str]:
427
468
  """
428
- Whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
469
+ The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destination_resource_arn`.
429
470
  """
430
471
  return pulumi.get(self, "delivery_destination_type")
431
472
 
@@ -2341,17 +2341,18 @@ class LogDeliveryDestinationDeliveryDestinationConfiguration(dict):
2341
2341
  return super().get(key, default)
2342
2342
 
2343
2343
  def __init__(__self__, *,
2344
- destination_resource_arn: _builtins.str):
2344
+ destination_resource_arn: Optional[_builtins.str] = None):
2345
2345
  """
2346
- :param _builtins.str destination_resource_arn: The ARN of the AWS destination that this delivery destination represents.
2346
+ :param _builtins.str destination_resource_arn: The ARN of the AWS destination that this delivery destination represents. Required when `delivery_destination_configuration` is specified.
2347
2347
  """
2348
- pulumi.set(__self__, "destination_resource_arn", destination_resource_arn)
2348
+ if destination_resource_arn is not None:
2349
+ pulumi.set(__self__, "destination_resource_arn", destination_resource_arn)
2349
2350
 
2350
2351
  @_builtins.property
2351
2352
  @pulumi.getter(name="destinationResourceArn")
2352
- def destination_resource_arn(self) -> _builtins.str:
2353
+ def destination_resource_arn(self) -> Optional[_builtins.str]:
2353
2354
  """
2354
- The ARN of the AWS destination that this delivery destination represents.
2355
+ The ARN of the AWS destination that this delivery destination represents. Required when `delivery_destination_configuration` is specified.
2355
2356
  """
2356
2357
  return pulumi.get(self, "destination_resource_arn")
2357
2358