pulumi-aws 7.11.0a1762176749__py3-none-any.whl → 7.11.1__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 (104) hide show
  1. pulumi_aws/__init__.py +8 -0
  2. pulumi_aws/alb/_inputs.py +353 -27
  3. pulumi_aws/alb/listener_rule.py +114 -3
  4. pulumi_aws/alb/outputs.py +266 -17
  5. pulumi_aws/amplify/app.py +2 -2
  6. pulumi_aws/apigateway/integration.py +2 -2
  7. pulumi_aws/apigateway/integration_response.py +2 -2
  8. pulumi_aws/appstream/get_image.py +10 -10
  9. pulumi_aws/appstream/outputs.py +4 -4
  10. pulumi_aws/appsync/function.py +10 -10
  11. pulumi_aws/appsync/graph_ql_api.py +2 -2
  12. pulumi_aws/appsync/resolver.py +22 -22
  13. pulumi_aws/autoscaling/tag.py +48 -0
  14. pulumi_aws/autoscalingplans/scaling_plan.py +184 -0
  15. pulumi_aws/bcmdata/export.py +13 -0
  16. pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +8 -0
  17. pulumi_aws/bedrock/agentcore_gateway.py +14 -14
  18. pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
  19. pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
  20. pulumi_aws/cfg/rule.py +20 -20
  21. pulumi_aws/cloudwatch/event_target.py +6 -6
  22. pulumi_aws/cloudwatch/metric_alarm.py +2 -2
  23. pulumi_aws/codebuild/webhook.py +38 -0
  24. pulumi_aws/codepipeline/webhook.py +148 -0
  25. pulumi_aws/cognito/identity_pool_provider_principal_tag.py +62 -0
  26. pulumi_aws/datazone/form_type.py +18 -18
  27. pulumi_aws/dms/replication_config.py +2 -2
  28. pulumi_aws/dynamodb/get_table_item.py +2 -2
  29. pulumi_aws/dynamodb/table_item.py +10 -10
  30. pulumi_aws/ec2/get_subnets.py +82 -0
  31. pulumi_aws/ec2/security_group.py +8 -8
  32. pulumi_aws/ec2/vpc_ipam.py +50 -0
  33. pulumi_aws/ecr/lifecycle_policy.py +40 -40
  34. pulumi_aws/ecr/repository_creation_template.py +20 -20
  35. pulumi_aws/ecrpublic/__init__.py +1 -0
  36. pulumi_aws/ecrpublic/_inputs.py +54 -0
  37. pulumi_aws/ecrpublic/get_images.py +164 -0
  38. pulumi_aws/ecrpublic/outputs.py +116 -0
  39. pulumi_aws/ecs/get_task_definition.py +18 -18
  40. pulumi_aws/eks/get_clusters.py +22 -0
  41. pulumi_aws/elasticsearch/domain.py +34 -34
  42. pulumi_aws/elasticsearch/domain_policy.py +16 -16
  43. pulumi_aws/emr/cluster.py +114 -114
  44. pulumi_aws/emr/instance_group.py +42 -42
  45. pulumi_aws/emr/security_configuration.py +18 -18
  46. pulumi_aws/emrserverless/_inputs.py +454 -0
  47. pulumi_aws/emrserverless/application.py +230 -2
  48. pulumi_aws/emrserverless/outputs.py +367 -0
  49. pulumi_aws/evidently/segment.py +4 -4
  50. pulumi_aws/glue/connection.py +26 -22
  51. pulumi_aws/glue/crawler.py +6 -6
  52. pulumi_aws/identitystore/group.py +28 -0
  53. pulumi_aws/imagebuilder/get_image_recipe.py +15 -1
  54. pulumi_aws/imagebuilder/image_recipe.py +47 -0
  55. pulumi_aws/imagebuilder/workflow.py +6 -6
  56. pulumi_aws/iot/get_endpoint.py +44 -0
  57. pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
  58. pulumi_aws/kinesis/resource_policy.py +26 -26
  59. pulumi_aws/kms/ciphertext.py +4 -4
  60. pulumi_aws/kms/get_cipher_text.py +4 -4
  61. pulumi_aws/lakeformation/__init__.py +1 -0
  62. pulumi_aws/lakeformation/identity_center_configuration.py +365 -0
  63. pulumi_aws/lambda_/get_code_signing_config.py +58 -0
  64. pulumi_aws/lambda_/get_invocation.py +86 -0
  65. pulumi_aws/lambda_/invocation.py +56 -0
  66. pulumi_aws/lb/_inputs.py +670 -36
  67. pulumi_aws/lb/get_listener_rule.py +24 -4
  68. pulumi_aws/lb/listener_rule.py +114 -3
  69. pulumi_aws/lb/outputs.py +452 -23
  70. pulumi_aws/m2/application.py +26 -26
  71. pulumi_aws/mq/configuration.py +8 -8
  72. pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +138 -0
  73. pulumi_aws/opensearchingest/pipeline.py +12 -12
  74. pulumi_aws/organizations/get_policies.py +22 -0
  75. pulumi_aws/organizations/get_policies_for_target.py +26 -0
  76. pulumi_aws/organizations/resource_policy.py +46 -46
  77. pulumi_aws/pulumi-plugin.json +1 -1
  78. pulumi_aws/rds/custom_db_engine_version.py +2 -2
  79. pulumi_aws/resourcegroups/group.py +10 -10
  80. pulumi_aws/route53/traffic_policy.py +14 -14
  81. pulumi_aws/s3/bucket_website_configuration.py +8 -8
  82. pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
  83. pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
  84. pulumi_aws/sagemaker/flow_definition.py +18 -18
  85. pulumi_aws/sagemaker/model.py +24 -14
  86. pulumi_aws/sagemaker/model_package_group_policy.py +54 -0
  87. pulumi_aws/sagemaker/notebook_instance.py +7 -7
  88. pulumi_aws/secretsmanager/get_secret_version.py +22 -0
  89. pulumi_aws/secretsmanager/secret_version.py +58 -0
  90. pulumi_aws/securityhub/standards_control_association.py +36 -0
  91. pulumi_aws/sesv2/email_identity_policy.py +26 -26
  92. pulumi_aws/sfn/state_machine.py +70 -70
  93. pulumi_aws/sns/topic.py +24 -24
  94. pulumi_aws/sns/topic_subscription.py +26 -26
  95. pulumi_aws/sqs/queue.py +0 -12
  96. pulumi_aws/ssm/association.py +2 -2
  97. pulumi_aws/ssm/document.py +16 -16
  98. pulumi_aws/timestreamquery/scheduled_query.py +16 -16
  99. pulumi_aws/verifiedpermissions/_inputs.py +3 -3
  100. pulumi_aws/verifiedpermissions/outputs.py +2 -2
  101. {pulumi_aws-7.11.0a1762176749.dist-info → pulumi_aws-7.11.1.dist-info}/METADATA +1 -1
  102. {pulumi_aws-7.11.0a1762176749.dist-info → pulumi_aws-7.11.1.dist-info}/RECORD +104 -102
  103. {pulumi_aws-7.11.0a1762176749.dist-info → pulumi_aws-7.11.1.dist-info}/WHEEL +0 -0
  104. {pulumi_aws-7.11.0a1762176749.dist-info → pulumi_aws-7.11.1.dist-info}/top_level.txt +0 -0
pulumi_aws/__init__.py CHANGED
@@ -7622,6 +7622,14 @@ _utilities.register(
7622
7622
  "aws:lakeformation/dataLakeSettings:DataLakeSettings": "DataLakeSettings"
7623
7623
  }
7624
7624
  },
7625
+ {
7626
+ "pkg": "aws",
7627
+ "mod": "lakeformation/identityCenterConfiguration",
7628
+ "fqn": "pulumi_aws.lakeformation",
7629
+ "classes": {
7630
+ "aws:lakeformation/identityCenterConfiguration:IdentityCenterConfiguration": "IdentityCenterConfiguration"
7631
+ }
7632
+ },
7625
7633
  {
7626
7634
  "pkg": "aws",
7627
7635
  "mod": "lakeformation/lfTag",
pulumi_aws/alb/_inputs.py CHANGED
@@ -64,6 +64,16 @@ __all__ = [
64
64
  'ListenerRuleConditionQueryStringArgsDict',
65
65
  'ListenerRuleConditionSourceIpArgs',
66
66
  'ListenerRuleConditionSourceIpArgsDict',
67
+ 'ListenerRuleTransformArgs',
68
+ 'ListenerRuleTransformArgsDict',
69
+ 'ListenerRuleTransformHostHeaderRewriteConfigArgs',
70
+ 'ListenerRuleTransformHostHeaderRewriteConfigArgsDict',
71
+ 'ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs',
72
+ 'ListenerRuleTransformHostHeaderRewriteConfigRewriteArgsDict',
73
+ 'ListenerRuleTransformUrlRewriteConfigArgs',
74
+ 'ListenerRuleTransformUrlRewriteConfigArgsDict',
75
+ 'ListenerRuleTransformUrlRewriteConfigRewriteArgs',
76
+ 'ListenerRuleTransformUrlRewriteConfigRewriteArgsDict',
67
77
  'LoadBalancerAccessLogsArgs',
68
78
  'LoadBalancerAccessLogsArgsDict',
69
79
  'LoadBalancerConnectionLogsArgs',
@@ -2104,7 +2114,7 @@ if not MYPY:
2104
2114
  class ListenerRuleConditionArgsDict(TypedDict):
2105
2115
  host_header: NotRequired[pulumi.Input['ListenerRuleConditionHostHeaderArgsDict']]
2106
2116
  """
2107
- Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
2117
+ Host header patterns to match. Host Header block fields documented below.
2108
2118
  """
2109
2119
  http_header: NotRequired[pulumi.Input['ListenerRuleConditionHttpHeaderArgsDict']]
2110
2120
  """
@@ -2116,7 +2126,7 @@ if not MYPY:
2116
2126
  """
2117
2127
  path_pattern: NotRequired[pulumi.Input['ListenerRuleConditionPathPatternArgsDict']]
2118
2128
  """
2119
- Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition.
2129
+ Path patterns to match against the request URL. Path Pattern block fields documented below.
2120
2130
  """
2121
2131
  query_strings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ListenerRuleConditionQueryStringArgsDict']]]]
2122
2132
  """
@@ -2141,10 +2151,10 @@ class ListenerRuleConditionArgs:
2141
2151
  query_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleConditionQueryStringArgs']]]] = None,
2142
2152
  source_ip: Optional[pulumi.Input['ListenerRuleConditionSourceIpArgs']] = None):
2143
2153
  """
2144
- :param pulumi.Input['ListenerRuleConditionHostHeaderArgs'] host_header: Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
2154
+ :param pulumi.Input['ListenerRuleConditionHostHeaderArgs'] host_header: Host header patterns to match. Host Header block fields documented below.
2145
2155
  :param pulumi.Input['ListenerRuleConditionHttpHeaderArgs'] http_header: HTTP headers to match. HTTP Header block fields documented below.
2146
2156
  :param pulumi.Input['ListenerRuleConditionHttpRequestMethodArgs'] http_request_method: Contains a single `values` item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (\\_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.
2147
- :param pulumi.Input['ListenerRuleConditionPathPatternArgs'] path_pattern: Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition.
2157
+ :param pulumi.Input['ListenerRuleConditionPathPatternArgs'] path_pattern: Path patterns to match against the request URL. Path Pattern block fields documented below.
2148
2158
  :param pulumi.Input[Sequence[pulumi.Input['ListenerRuleConditionQueryStringArgs']]] query_strings: Query strings to match. Query String block fields documented below.
2149
2159
  :param pulumi.Input['ListenerRuleConditionSourceIpArgs'] source_ip: Contains a single `values` item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the `X-Forwarded-For` header, use `http_header` condition instead.
2150
2160
 
@@ -2167,7 +2177,7 @@ class ListenerRuleConditionArgs:
2167
2177
  @pulumi.getter(name="hostHeader")
2168
2178
  def host_header(self) -> Optional[pulumi.Input['ListenerRuleConditionHostHeaderArgs']]:
2169
2179
  """
2170
- Contains a single `values` item which is a list of host header patterns to match. The maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied.
2180
+ Host header patterns to match. Host Header block fields documented below.
2171
2181
  """
2172
2182
  return pulumi.get(self, "host_header")
2173
2183
 
@@ -2203,7 +2213,7 @@ class ListenerRuleConditionArgs:
2203
2213
  @pulumi.getter(name="pathPattern")
2204
2214
  def path_pattern(self) -> Optional[pulumi.Input['ListenerRuleConditionPathPatternArgs']]:
2205
2215
  """
2206
- Contains a single `values` item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition.
2216
+ Path patterns to match against the request URL. Path Pattern block fields documented below.
2207
2217
  """
2208
2218
  return pulumi.get(self, "path_pattern")
2209
2219
 
@@ -2240,23 +2250,53 @@ class ListenerRuleConditionArgs:
2240
2250
 
2241
2251
  if not MYPY:
2242
2252
  class ListenerRuleConditionHostHeaderArgsDict(TypedDict):
2243
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
2253
+ regex_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2254
+ """
2255
+ List of regular expressions to compare against the host header. The maximum length of each string is 128 characters. Conflicts with `values`.
2256
+ """
2257
+ values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2258
+ """
2259
+ List of host header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Conflicts with `regex_values`.
2260
+ """
2244
2261
  elif False:
2245
2262
  ListenerRuleConditionHostHeaderArgsDict: TypeAlias = Mapping[str, Any]
2246
2263
 
2247
2264
  @pulumi.input_type
2248
2265
  class ListenerRuleConditionHostHeaderArgs:
2249
2266
  def __init__(__self__, *,
2250
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2251
- pulumi.set(__self__, "values", values)
2267
+ regex_values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2268
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
2269
+ """
2270
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regex_values: List of regular expressions to compare against the host header. The maximum length of each string is 128 characters. Conflicts with `values`.
2271
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] values: List of host header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Conflicts with `regex_values`.
2272
+ """
2273
+ if regex_values is not None:
2274
+ pulumi.set(__self__, "regex_values", regex_values)
2275
+ if values is not None:
2276
+ pulumi.set(__self__, "values", values)
2277
+
2278
+ @_builtins.property
2279
+ @pulumi.getter(name="regexValues")
2280
+ def regex_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2281
+ """
2282
+ List of regular expressions to compare against the host header. The maximum length of each string is 128 characters. Conflicts with `values`.
2283
+ """
2284
+ return pulumi.get(self, "regex_values")
2285
+
2286
+ @regex_values.setter
2287
+ def regex_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2288
+ pulumi.set(self, "regex_values", value)
2252
2289
 
2253
2290
  @_builtins.property
2254
2291
  @pulumi.getter
2255
- def values(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
2292
+ def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2293
+ """
2294
+ List of host header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Conflicts with `regex_values`.
2295
+ """
2256
2296
  return pulumi.get(self, "values")
2257
2297
 
2258
2298
  @values.setter
2259
- def values(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2299
+ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2260
2300
  pulumi.set(self, "values", value)
2261
2301
 
2262
2302
 
@@ -2264,11 +2304,15 @@ if not MYPY:
2264
2304
  class ListenerRuleConditionHttpHeaderArgsDict(TypedDict):
2265
2305
  http_header_name: pulumi.Input[_builtins.str]
2266
2306
  """
2267
- Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2307
+ Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2268
2308
  """
2269
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
2309
+ regex_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2310
+ """
2311
+ List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.
2270
2312
  """
2271
- List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
2313
+ values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2314
+ """
2315
+ List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regex_values`.
2272
2316
  """
2273
2317
  elif False:
2274
2318
  ListenerRuleConditionHttpHeaderArgsDict: TypeAlias = Mapping[str, Any]
@@ -2277,19 +2321,24 @@ elif False:
2277
2321
  class ListenerRuleConditionHttpHeaderArgs:
2278
2322
  def __init__(__self__, *,
2279
2323
  http_header_name: pulumi.Input[_builtins.str],
2280
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2324
+ regex_values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2325
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
2281
2326
  """
2282
- :param pulumi.Input[_builtins.str] http_header_name: Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2283
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] values: List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
2327
+ :param pulumi.Input[_builtins.str] http_header_name: Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2328
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regex_values: List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.
2329
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] values: List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regex_values`.
2284
2330
  """
2285
2331
  pulumi.set(__self__, "http_header_name", http_header_name)
2286
- pulumi.set(__self__, "values", values)
2332
+ if regex_values is not None:
2333
+ pulumi.set(__self__, "regex_values", regex_values)
2334
+ if values is not None:
2335
+ pulumi.set(__self__, "values", values)
2287
2336
 
2288
2337
  @_builtins.property
2289
2338
  @pulumi.getter(name="httpHeaderName")
2290
2339
  def http_header_name(self) -> pulumi.Input[_builtins.str]:
2291
2340
  """
2292
- Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2341
+ Name of HTTP header to search. The maximum size is 40 characters. Comparison is case-insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a `host-header` condition instead.
2293
2342
  """
2294
2343
  return pulumi.get(self, "http_header_name")
2295
2344
 
@@ -2297,16 +2346,28 @@ class ListenerRuleConditionHttpHeaderArgs:
2297
2346
  def http_header_name(self, value: pulumi.Input[_builtins.str]):
2298
2347
  pulumi.set(self, "http_header_name", value)
2299
2348
 
2349
+ @_builtins.property
2350
+ @pulumi.getter(name="regexValues")
2351
+ def regex_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2352
+ """
2353
+ List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.
2354
+ """
2355
+ return pulumi.get(self, "regex_values")
2356
+
2357
+ @regex_values.setter
2358
+ def regex_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2359
+ pulumi.set(self, "regex_values", value)
2360
+
2300
2361
  @_builtins.property
2301
2362
  @pulumi.getter
2302
- def values(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
2363
+ def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2303
2364
  """
2304
- List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.
2365
+ List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case-insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string. Conflicts with `regex_values`.
2305
2366
  """
2306
2367
  return pulumi.get(self, "values")
2307
2368
 
2308
2369
  @values.setter
2309
- def values(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2370
+ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2310
2371
  pulumi.set(self, "values", value)
2311
2372
 
2312
2373
 
@@ -2334,23 +2395,53 @@ class ListenerRuleConditionHttpRequestMethodArgs:
2334
2395
 
2335
2396
  if not MYPY:
2336
2397
  class ListenerRuleConditionPathPatternArgsDict(TypedDict):
2337
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
2398
+ regex_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2399
+ """
2400
+ List of regular expressions to compare against the request URL. The maximum length of each string is 128 characters. Conflicts with `values`.
2401
+ """
2402
+ values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2403
+ """
2404
+ List of path patterns to compare against the request URL. Maximum size of each pattern is 128 characters. Comparison is case-sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition. Conflicts with `regex_values`.
2405
+ """
2338
2406
  elif False:
2339
2407
  ListenerRuleConditionPathPatternArgsDict: TypeAlias = Mapping[str, Any]
2340
2408
 
2341
2409
  @pulumi.input_type
2342
2410
  class ListenerRuleConditionPathPatternArgs:
2343
2411
  def __init__(__self__, *,
2344
- values: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2345
- pulumi.set(__self__, "values", values)
2412
+ regex_values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2413
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
2414
+ """
2415
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regex_values: List of regular expressions to compare against the request URL. The maximum length of each string is 128 characters. Conflicts with `values`.
2416
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] values: List of path patterns to compare against the request URL. Maximum size of each pattern is 128 characters. Comparison is case-sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition. Conflicts with `regex_values`.
2417
+ """
2418
+ if regex_values is not None:
2419
+ pulumi.set(__self__, "regex_values", regex_values)
2420
+ if values is not None:
2421
+ pulumi.set(__self__, "values", values)
2422
+
2423
+ @_builtins.property
2424
+ @pulumi.getter(name="regexValues")
2425
+ def regex_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2426
+ """
2427
+ List of regular expressions to compare against the request URL. The maximum length of each string is 128 characters. Conflicts with `values`.
2428
+ """
2429
+ return pulumi.get(self, "regex_values")
2430
+
2431
+ @regex_values.setter
2432
+ def regex_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2433
+ pulumi.set(self, "regex_values", value)
2346
2434
 
2347
2435
  @_builtins.property
2348
2436
  @pulumi.getter
2349
- def values(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
2437
+ def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2438
+ """
2439
+ List of path patterns to compare against the request URL. Maximum size of each pattern is 128 characters. Comparison is case-sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a `query_string` condition. Conflicts with `regex_values`.
2440
+ """
2350
2441
  return pulumi.get(self, "values")
2351
2442
 
2352
2443
  @values.setter
2353
- def values(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
2444
+ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2354
2445
  pulumi.set(self, "values", value)
2355
2446
 
2356
2447
 
@@ -2427,6 +2518,241 @@ class ListenerRuleConditionSourceIpArgs:
2427
2518
  pulumi.set(self, "values", value)
2428
2519
 
2429
2520
 
2521
+ if not MYPY:
2522
+ class ListenerRuleTransformArgsDict(TypedDict):
2523
+ type: pulumi.Input[_builtins.str]
2524
+ """
2525
+ Type of transform. Valid values are `host-header-rewrite` and `url-rewrite`.
2526
+ """
2527
+ host_header_rewrite_config: NotRequired[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigArgsDict']]
2528
+ """
2529
+ Configuration block for host header rewrite. Required if `type` is `host-header-rewrite`. See Host Header Rewrite Config Blocks below.
2530
+ """
2531
+ url_rewrite_config: NotRequired[pulumi.Input['ListenerRuleTransformUrlRewriteConfigArgsDict']]
2532
+ """
2533
+ Configuration block for URL rewrite. Required if `type` is `url-rewrite`. See URL Rewrite Config Blocks below.
2534
+ """
2535
+ elif False:
2536
+ ListenerRuleTransformArgsDict: TypeAlias = Mapping[str, Any]
2537
+
2538
+ @pulumi.input_type
2539
+ class ListenerRuleTransformArgs:
2540
+ def __init__(__self__, *,
2541
+ type: pulumi.Input[_builtins.str],
2542
+ host_header_rewrite_config: Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigArgs']] = None,
2543
+ url_rewrite_config: Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigArgs']] = None):
2544
+ """
2545
+ :param pulumi.Input[_builtins.str] type: Type of transform. Valid values are `host-header-rewrite` and `url-rewrite`.
2546
+ :param pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigArgs'] host_header_rewrite_config: Configuration block for host header rewrite. Required if `type` is `host-header-rewrite`. See Host Header Rewrite Config Blocks below.
2547
+ :param pulumi.Input['ListenerRuleTransformUrlRewriteConfigArgs'] url_rewrite_config: Configuration block for URL rewrite. Required if `type` is `url-rewrite`. See URL Rewrite Config Blocks below.
2548
+ """
2549
+ pulumi.set(__self__, "type", type)
2550
+ if host_header_rewrite_config is not None:
2551
+ pulumi.set(__self__, "host_header_rewrite_config", host_header_rewrite_config)
2552
+ if url_rewrite_config is not None:
2553
+ pulumi.set(__self__, "url_rewrite_config", url_rewrite_config)
2554
+
2555
+ @_builtins.property
2556
+ @pulumi.getter
2557
+ def type(self) -> pulumi.Input[_builtins.str]:
2558
+ """
2559
+ Type of transform. Valid values are `host-header-rewrite` and `url-rewrite`.
2560
+ """
2561
+ return pulumi.get(self, "type")
2562
+
2563
+ @type.setter
2564
+ def type(self, value: pulumi.Input[_builtins.str]):
2565
+ pulumi.set(self, "type", value)
2566
+
2567
+ @_builtins.property
2568
+ @pulumi.getter(name="hostHeaderRewriteConfig")
2569
+ def host_header_rewrite_config(self) -> Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigArgs']]:
2570
+ """
2571
+ Configuration block for host header rewrite. Required if `type` is `host-header-rewrite`. See Host Header Rewrite Config Blocks below.
2572
+ """
2573
+ return pulumi.get(self, "host_header_rewrite_config")
2574
+
2575
+ @host_header_rewrite_config.setter
2576
+ def host_header_rewrite_config(self, value: Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigArgs']]):
2577
+ pulumi.set(self, "host_header_rewrite_config", value)
2578
+
2579
+ @_builtins.property
2580
+ @pulumi.getter(name="urlRewriteConfig")
2581
+ def url_rewrite_config(self) -> Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigArgs']]:
2582
+ """
2583
+ Configuration block for URL rewrite. Required if `type` is `url-rewrite`. See URL Rewrite Config Blocks below.
2584
+ """
2585
+ return pulumi.get(self, "url_rewrite_config")
2586
+
2587
+ @url_rewrite_config.setter
2588
+ def url_rewrite_config(self, value: Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigArgs']]):
2589
+ pulumi.set(self, "url_rewrite_config", value)
2590
+
2591
+
2592
+ if not MYPY:
2593
+ class ListenerRuleTransformHostHeaderRewriteConfigArgsDict(TypedDict):
2594
+ rewrite: NotRequired[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigRewriteArgsDict']]
2595
+ """
2596
+ Block for host header rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2597
+ """
2598
+ elif False:
2599
+ ListenerRuleTransformHostHeaderRewriteConfigArgsDict: TypeAlias = Mapping[str, Any]
2600
+
2601
+ @pulumi.input_type
2602
+ class ListenerRuleTransformHostHeaderRewriteConfigArgs:
2603
+ def __init__(__self__, *,
2604
+ rewrite: Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs']] = None):
2605
+ """
2606
+ :param pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs'] rewrite: Block for host header rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2607
+ """
2608
+ if rewrite is not None:
2609
+ pulumi.set(__self__, "rewrite", rewrite)
2610
+
2611
+ @_builtins.property
2612
+ @pulumi.getter
2613
+ def rewrite(self) -> Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs']]:
2614
+ """
2615
+ Block for host header rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2616
+ """
2617
+ return pulumi.get(self, "rewrite")
2618
+
2619
+ @rewrite.setter
2620
+ def rewrite(self, value: Optional[pulumi.Input['ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs']]):
2621
+ pulumi.set(self, "rewrite", value)
2622
+
2623
+
2624
+ if not MYPY:
2625
+ class ListenerRuleTransformHostHeaderRewriteConfigRewriteArgsDict(TypedDict):
2626
+ regex: pulumi.Input[_builtins.str]
2627
+ """
2628
+ Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2629
+ """
2630
+ replace: pulumi.Input[_builtins.str]
2631
+ """
2632
+ Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2633
+ """
2634
+ elif False:
2635
+ ListenerRuleTransformHostHeaderRewriteConfigRewriteArgsDict: TypeAlias = Mapping[str, Any]
2636
+
2637
+ @pulumi.input_type
2638
+ class ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs:
2639
+ def __init__(__self__, *,
2640
+ regex: pulumi.Input[_builtins.str],
2641
+ replace: pulumi.Input[_builtins.str]):
2642
+ """
2643
+ :param pulumi.Input[_builtins.str] regex: Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2644
+ :param pulumi.Input[_builtins.str] replace: Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2645
+ """
2646
+ pulumi.set(__self__, "regex", regex)
2647
+ pulumi.set(__self__, "replace", replace)
2648
+
2649
+ @_builtins.property
2650
+ @pulumi.getter
2651
+ def regex(self) -> pulumi.Input[_builtins.str]:
2652
+ """
2653
+ Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2654
+ """
2655
+ return pulumi.get(self, "regex")
2656
+
2657
+ @regex.setter
2658
+ def regex(self, value: pulumi.Input[_builtins.str]):
2659
+ pulumi.set(self, "regex", value)
2660
+
2661
+ @_builtins.property
2662
+ @pulumi.getter
2663
+ def replace(self) -> pulumi.Input[_builtins.str]:
2664
+ """
2665
+ Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2666
+ """
2667
+ return pulumi.get(self, "replace")
2668
+
2669
+ @replace.setter
2670
+ def replace(self, value: pulumi.Input[_builtins.str]):
2671
+ pulumi.set(self, "replace", value)
2672
+
2673
+
2674
+ if not MYPY:
2675
+ class ListenerRuleTransformUrlRewriteConfigArgsDict(TypedDict):
2676
+ rewrite: NotRequired[pulumi.Input['ListenerRuleTransformUrlRewriteConfigRewriteArgsDict']]
2677
+ """
2678
+ Block for URL rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2679
+ """
2680
+ elif False:
2681
+ ListenerRuleTransformUrlRewriteConfigArgsDict: TypeAlias = Mapping[str, Any]
2682
+
2683
+ @pulumi.input_type
2684
+ class ListenerRuleTransformUrlRewriteConfigArgs:
2685
+ def __init__(__self__, *,
2686
+ rewrite: Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigRewriteArgs']] = None):
2687
+ """
2688
+ :param pulumi.Input['ListenerRuleTransformUrlRewriteConfigRewriteArgs'] rewrite: Block for URL rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2689
+ """
2690
+ if rewrite is not None:
2691
+ pulumi.set(__self__, "rewrite", rewrite)
2692
+
2693
+ @_builtins.property
2694
+ @pulumi.getter
2695
+ def rewrite(self) -> Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigRewriteArgs']]:
2696
+ """
2697
+ Block for URL rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
2698
+ """
2699
+ return pulumi.get(self, "rewrite")
2700
+
2701
+ @rewrite.setter
2702
+ def rewrite(self, value: Optional[pulumi.Input['ListenerRuleTransformUrlRewriteConfigRewriteArgs']]):
2703
+ pulumi.set(self, "rewrite", value)
2704
+
2705
+
2706
+ if not MYPY:
2707
+ class ListenerRuleTransformUrlRewriteConfigRewriteArgsDict(TypedDict):
2708
+ regex: pulumi.Input[_builtins.str]
2709
+ """
2710
+ Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2711
+ """
2712
+ replace: pulumi.Input[_builtins.str]
2713
+ """
2714
+ Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2715
+ """
2716
+ elif False:
2717
+ ListenerRuleTransformUrlRewriteConfigRewriteArgsDict: TypeAlias = Mapping[str, Any]
2718
+
2719
+ @pulumi.input_type
2720
+ class ListenerRuleTransformUrlRewriteConfigRewriteArgs:
2721
+ def __init__(__self__, *,
2722
+ regex: pulumi.Input[_builtins.str],
2723
+ replace: pulumi.Input[_builtins.str]):
2724
+ """
2725
+ :param pulumi.Input[_builtins.str] regex: Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2726
+ :param pulumi.Input[_builtins.str] replace: Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2727
+ """
2728
+ pulumi.set(__self__, "regex", regex)
2729
+ pulumi.set(__self__, "replace", replace)
2730
+
2731
+ @_builtins.property
2732
+ @pulumi.getter
2733
+ def regex(self) -> pulumi.Input[_builtins.str]:
2734
+ """
2735
+ Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
2736
+ """
2737
+ return pulumi.get(self, "regex")
2738
+
2739
+ @regex.setter
2740
+ def regex(self, value: pulumi.Input[_builtins.str]):
2741
+ pulumi.set(self, "regex", value)
2742
+
2743
+ @_builtins.property
2744
+ @pulumi.getter
2745
+ def replace(self) -> pulumi.Input[_builtins.str]:
2746
+ """
2747
+ Replacement string to use when rewriting the matched input. Capture groups in the regular expression (for example, `$1` and `$2`) can be specified. Length constraints: Between 0 and 1024 characters.
2748
+ """
2749
+ return pulumi.get(self, "replace")
2750
+
2751
+ @replace.setter
2752
+ def replace(self, value: pulumi.Input[_builtins.str]):
2753
+ pulumi.set(self, "replace", value)
2754
+
2755
+
2430
2756
  if not MYPY:
2431
2757
  class LoadBalancerAccessLogsArgsDict(TypedDict):
2432
2758
  bucket: pulumi.Input[_builtins.str]