pulumi-aws 7.11.0__py3-none-any.whl → 7.11.0a1761834890__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.
- pulumi_aws/__init__.py +0 -8
- pulumi_aws/alb/_inputs.py +27 -353
- pulumi_aws/alb/listener_rule.py +3 -114
- pulumi_aws/alb/outputs.py +17 -266
- pulumi_aws/amplify/app.py +2 -2
- pulumi_aws/apigateway/integration.py +2 -2
- pulumi_aws/apigateway/integration_response.py +2 -2
- pulumi_aws/appstream/get_image.py +10 -10
- pulumi_aws/appstream/outputs.py +4 -4
- pulumi_aws/appsync/function.py +10 -10
- pulumi_aws/appsync/graph_ql_api.py +2 -2
- pulumi_aws/appsync/resolver.py +22 -22
- pulumi_aws/autoscaling/tag.py +0 -48
- pulumi_aws/autoscalingplans/scaling_plan.py +0 -184
- pulumi_aws/bcmdata/export.py +0 -13
- pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +0 -8
- pulumi_aws/bedrock/agentcore_gateway.py +14 -14
- pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
- pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
- pulumi_aws/cfg/rule.py +20 -20
- pulumi_aws/cloudwatch/event_target.py +6 -6
- pulumi_aws/cloudwatch/metric_alarm.py +2 -2
- pulumi_aws/codebuild/webhook.py +0 -38
- pulumi_aws/codepipeline/webhook.py +0 -148
- pulumi_aws/cognito/identity_pool_provider_principal_tag.py +0 -62
- pulumi_aws/datazone/form_type.py +18 -18
- pulumi_aws/dms/replication_config.py +2 -2
- pulumi_aws/dynamodb/get_table_item.py +2 -2
- pulumi_aws/dynamodb/table_item.py +10 -10
- pulumi_aws/ec2/get_subnets.py +0 -82
- pulumi_aws/ec2/security_group.py +8 -8
- pulumi_aws/ec2/vpc_ipam.py +0 -50
- pulumi_aws/ecr/lifecycle_policy.py +40 -40
- pulumi_aws/ecr/repository_creation_template.py +20 -20
- pulumi_aws/ecrpublic/__init__.py +0 -1
- pulumi_aws/ecrpublic/_inputs.py +0 -54
- pulumi_aws/ecrpublic/outputs.py +0 -116
- pulumi_aws/ecs/get_task_definition.py +18 -18
- pulumi_aws/eks/get_clusters.py +0 -22
- pulumi_aws/elasticsearch/domain.py +34 -34
- pulumi_aws/elasticsearch/domain_policy.py +16 -16
- pulumi_aws/emr/cluster.py +114 -114
- pulumi_aws/emr/instance_group.py +42 -42
- pulumi_aws/emr/security_configuration.py +18 -18
- pulumi_aws/emrserverless/_inputs.py +0 -454
- pulumi_aws/emrserverless/application.py +2 -230
- pulumi_aws/emrserverless/outputs.py +0 -367
- pulumi_aws/evidently/segment.py +4 -4
- pulumi_aws/glue/connection.py +22 -26
- pulumi_aws/glue/crawler.py +6 -6
- pulumi_aws/identitystore/group.py +0 -28
- pulumi_aws/imagebuilder/get_image_recipe.py +1 -15
- pulumi_aws/imagebuilder/image_recipe.py +0 -47
- pulumi_aws/imagebuilder/workflow.py +6 -6
- pulumi_aws/iot/get_endpoint.py +0 -44
- pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
- pulumi_aws/kinesis/resource_policy.py +26 -26
- pulumi_aws/kms/ciphertext.py +4 -4
- pulumi_aws/kms/get_cipher_text.py +4 -4
- pulumi_aws/lakeformation/__init__.py +0 -1
- pulumi_aws/lambda_/get_code_signing_config.py +0 -58
- pulumi_aws/lambda_/get_invocation.py +0 -86
- pulumi_aws/lambda_/invocation.py +0 -56
- pulumi_aws/lb/_inputs.py +36 -670
- pulumi_aws/lb/get_listener_rule.py +4 -24
- pulumi_aws/lb/listener_rule.py +3 -114
- pulumi_aws/lb/outputs.py +23 -452
- pulumi_aws/m2/application.py +26 -26
- pulumi_aws/mq/configuration.py +8 -8
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +0 -138
- pulumi_aws/opensearchingest/pipeline.py +12 -12
- pulumi_aws/organizations/get_policies.py +0 -22
- pulumi_aws/organizations/get_policies_for_target.py +0 -26
- pulumi_aws/organizations/resource_policy.py +46 -46
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/custom_db_engine_version.py +2 -2
- pulumi_aws/resourcegroups/group.py +10 -10
- pulumi_aws/route53/traffic_policy.py +14 -14
- pulumi_aws/s3/bucket_website_configuration.py +8 -8
- pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
- pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
- pulumi_aws/sagemaker/flow_definition.py +18 -18
- pulumi_aws/sagemaker/model.py +14 -24
- pulumi_aws/sagemaker/model_package_group_policy.py +0 -54
- pulumi_aws/sagemaker/notebook_instance.py +7 -7
- pulumi_aws/secretsmanager/get_secret_version.py +0 -22
- pulumi_aws/secretsmanager/secret_version.py +0 -58
- pulumi_aws/securityhub/standards_control_association.py +0 -36
- pulumi_aws/sesv2/email_identity_policy.py +26 -26
- pulumi_aws/sfn/state_machine.py +70 -70
- pulumi_aws/sns/topic.py +24 -24
- pulumi_aws/sns/topic_subscription.py +26 -26
- pulumi_aws/sqs/queue.py +12 -0
- pulumi_aws/ssm/association.py +2 -2
- pulumi_aws/ssm/document.py +16 -16
- pulumi_aws/timestreamquery/scheduled_query.py +16 -16
- pulumi_aws/verifiedpermissions/_inputs.py +3 -3
- pulumi_aws/verifiedpermissions/outputs.py +2 -2
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/RECORD +102 -104
- pulumi_aws/ecrpublic/get_images.py +0 -164
- pulumi_aws/lakeformation/identity_center_configuration.py +0 -365
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/top_level.txt +0 -0
pulumi_aws/alb/listener_rule.py
CHANGED
|
@@ -26,8 +26,7 @@ class ListenerRuleArgs:
|
|
|
26
26
|
listener_arn: pulumi.Input[_builtins.str],
|
|
27
27
|
priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
28
28
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None
|
|
30
|
-
transforms: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]] = None):
|
|
29
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
31
30
|
"""
|
|
32
31
|
The set of arguments for constructing a ListenerRule resource.
|
|
33
32
|
:param pulumi.Input[Sequence[pulumi.Input['ListenerRuleActionArgs']]] actions: An Action block. Action blocks are documented below.
|
|
@@ -36,7 +35,6 @@ class ListenerRuleArgs:
|
|
|
36
35
|
:param pulumi.Input[_builtins.int] priority: The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
|
|
37
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.
|
|
38
37
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A 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.
|
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]] transforms: Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
40
38
|
"""
|
|
41
39
|
pulumi.set(__self__, "actions", actions)
|
|
42
40
|
pulumi.set(__self__, "conditions", conditions)
|
|
@@ -47,8 +45,6 @@ class ListenerRuleArgs:
|
|
|
47
45
|
pulumi.set(__self__, "region", region)
|
|
48
46
|
if tags is not None:
|
|
49
47
|
pulumi.set(__self__, "tags", tags)
|
|
50
|
-
if transforms is not None:
|
|
51
|
-
pulumi.set(__self__, "transforms", transforms)
|
|
52
48
|
|
|
53
49
|
@_builtins.property
|
|
54
50
|
@pulumi.getter
|
|
@@ -122,18 +118,6 @@ class ListenerRuleArgs:
|
|
|
122
118
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
123
119
|
pulumi.set(self, "tags", value)
|
|
124
120
|
|
|
125
|
-
@_builtins.property
|
|
126
|
-
@pulumi.getter
|
|
127
|
-
def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]]:
|
|
128
|
-
"""
|
|
129
|
-
Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
130
|
-
"""
|
|
131
|
-
return pulumi.get(self, "transforms")
|
|
132
|
-
|
|
133
|
-
@transforms.setter
|
|
134
|
-
def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]]):
|
|
135
|
-
pulumi.set(self, "transforms", value)
|
|
136
|
-
|
|
137
121
|
|
|
138
122
|
@pulumi.input_type
|
|
139
123
|
class _ListenerRuleState:
|
|
@@ -145,8 +129,7 @@ class _ListenerRuleState:
|
|
|
145
129
|
priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
146
130
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
131
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
148
|
-
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None
|
|
149
|
-
transforms: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]] = None):
|
|
132
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
150
133
|
"""
|
|
151
134
|
Input properties used for looking up and filtering ListenerRule resources.
|
|
152
135
|
:param pulumi.Input[Sequence[pulumi.Input['ListenerRuleActionArgs']]] actions: An Action block. Action blocks are documented below.
|
|
@@ -157,7 +140,6 @@ class _ListenerRuleState:
|
|
|
157
140
|
: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.
|
|
158
141
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A 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.
|
|
159
142
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
160
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]] transforms: Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
161
143
|
"""
|
|
162
144
|
if actions is not None:
|
|
163
145
|
pulumi.set(__self__, "actions", actions)
|
|
@@ -175,8 +157,6 @@ class _ListenerRuleState:
|
|
|
175
157
|
pulumi.set(__self__, "tags", tags)
|
|
176
158
|
if tags_all is not None:
|
|
177
159
|
pulumi.set(__self__, "tags_all", tags_all)
|
|
178
|
-
if transforms is not None:
|
|
179
|
-
pulumi.set(__self__, "transforms", transforms)
|
|
180
160
|
|
|
181
161
|
@_builtins.property
|
|
182
162
|
@pulumi.getter
|
|
@@ -274,18 +254,6 @@ class _ListenerRuleState:
|
|
|
274
254
|
def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
275
255
|
pulumi.set(self, "tags_all", value)
|
|
276
256
|
|
|
277
|
-
@_builtins.property
|
|
278
|
-
@pulumi.getter
|
|
279
|
-
def transforms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]]:
|
|
280
|
-
"""
|
|
281
|
-
Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
282
|
-
"""
|
|
283
|
-
return pulumi.get(self, "transforms")
|
|
284
|
-
|
|
285
|
-
@transforms.setter
|
|
286
|
-
def transforms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTransformArgs']]]]):
|
|
287
|
-
pulumi.set(self, "transforms", value)
|
|
288
|
-
|
|
289
257
|
|
|
290
258
|
@pulumi.type_token("aws:alb/listenerRule:ListenerRule")
|
|
291
259
|
class ListenerRule(pulumi.CustomResource):
|
|
@@ -299,7 +267,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
299
267
|
priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
300
268
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
269
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
302
|
-
transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListenerRuleTransformArgs', 'ListenerRuleTransformArgsDict']]]]] = None,
|
|
303
270
|
__props__=None):
|
|
304
271
|
"""
|
|
305
272
|
Provides a Load Balancer Listener Rule resource.
|
|
@@ -453,38 +420,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
453
420
|
"target_group_arn": static_aws_lb_target_group["arn"],
|
|
454
421
|
},
|
|
455
422
|
])
|
|
456
|
-
# With transform
|
|
457
|
-
transform = aws.lb.ListenerRule("transform",
|
|
458
|
-
listener_arn=front_end_listener.arn,
|
|
459
|
-
actions=[{
|
|
460
|
-
"type": "forward",
|
|
461
|
-
"target_group_arn": static_aws_lb_target_group["arn"],
|
|
462
|
-
}],
|
|
463
|
-
conditions=[{
|
|
464
|
-
"path_pattern": {
|
|
465
|
-
"values": ["*"],
|
|
466
|
-
},
|
|
467
|
-
}],
|
|
468
|
-
transforms=[
|
|
469
|
-
{
|
|
470
|
-
"type": "host-header-rewrite",
|
|
471
|
-
"host_header_rewrite_config": {
|
|
472
|
-
"rewrite": {
|
|
473
|
-
"regex": "^mywebsite-(.+).com$",
|
|
474
|
-
"replace": "internal.dev.$1.myweb.com",
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"type": "url-rewrite",
|
|
480
|
-
"url_rewrite_config": {
|
|
481
|
-
"rewrite": {
|
|
482
|
-
"regex": "^/dp/([A-Za-z0-9]+)/?$",
|
|
483
|
-
"replace": "/product.php?id=$1",
|
|
484
|
-
},
|
|
485
|
-
},
|
|
486
|
-
},
|
|
487
|
-
])
|
|
488
423
|
```
|
|
489
424
|
|
|
490
425
|
## Import
|
|
@@ -509,7 +444,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
509
444
|
:param pulumi.Input[_builtins.int] priority: The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
|
|
510
445
|
: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.
|
|
511
446
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A 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.
|
|
512
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ListenerRuleTransformArgs', 'ListenerRuleTransformArgsDict']]]] transforms: Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
513
447
|
"""
|
|
514
448
|
...
|
|
515
449
|
@overload
|
|
@@ -669,38 +603,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
669
603
|
"target_group_arn": static_aws_lb_target_group["arn"],
|
|
670
604
|
},
|
|
671
605
|
])
|
|
672
|
-
# With transform
|
|
673
|
-
transform = aws.lb.ListenerRule("transform",
|
|
674
|
-
listener_arn=front_end_listener.arn,
|
|
675
|
-
actions=[{
|
|
676
|
-
"type": "forward",
|
|
677
|
-
"target_group_arn": static_aws_lb_target_group["arn"],
|
|
678
|
-
}],
|
|
679
|
-
conditions=[{
|
|
680
|
-
"path_pattern": {
|
|
681
|
-
"values": ["*"],
|
|
682
|
-
},
|
|
683
|
-
}],
|
|
684
|
-
transforms=[
|
|
685
|
-
{
|
|
686
|
-
"type": "host-header-rewrite",
|
|
687
|
-
"host_header_rewrite_config": {
|
|
688
|
-
"rewrite": {
|
|
689
|
-
"regex": "^mywebsite-(.+).com$",
|
|
690
|
-
"replace": "internal.dev.$1.myweb.com",
|
|
691
|
-
},
|
|
692
|
-
},
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"type": "url-rewrite",
|
|
696
|
-
"url_rewrite_config": {
|
|
697
|
-
"rewrite": {
|
|
698
|
-
"regex": "^/dp/([A-Za-z0-9]+)/?$",
|
|
699
|
-
"replace": "/product.php?id=$1",
|
|
700
|
-
},
|
|
701
|
-
},
|
|
702
|
-
},
|
|
703
|
-
])
|
|
704
606
|
```
|
|
705
607
|
|
|
706
608
|
## Import
|
|
@@ -738,7 +640,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
738
640
|
priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
739
641
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
740
642
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
741
|
-
transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListenerRuleTransformArgs', 'ListenerRuleTransformArgsDict']]]]] = None,
|
|
742
643
|
__props__=None):
|
|
743
644
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
744
645
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -760,7 +661,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
760
661
|
__props__.__dict__["priority"] = priority
|
|
761
662
|
__props__.__dict__["region"] = region
|
|
762
663
|
__props__.__dict__["tags"] = tags
|
|
763
|
-
__props__.__dict__["transforms"] = transforms
|
|
764
664
|
__props__.__dict__["arn"] = None
|
|
765
665
|
__props__.__dict__["tags_all"] = None
|
|
766
666
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="aws:applicationloadbalancing/listenerRule:ListenerRule")])
|
|
@@ -782,8 +682,7 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
782
682
|
priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
783
683
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
784
684
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
785
|
-
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None
|
|
786
|
-
transforms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListenerRuleTransformArgs', 'ListenerRuleTransformArgsDict']]]]] = None) -> 'ListenerRule':
|
|
685
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'ListenerRule':
|
|
787
686
|
"""
|
|
788
687
|
Get an existing ListenerRule resource's state with the given name, id, and optional extra
|
|
789
688
|
properties used to qualify the lookup.
|
|
@@ -799,7 +698,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
799
698
|
: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.
|
|
800
699
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A 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.
|
|
801
700
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
802
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ListenerRuleTransformArgs', 'ListenerRuleTransformArgsDict']]]] transforms: Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
803
701
|
"""
|
|
804
702
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
805
703
|
|
|
@@ -813,7 +711,6 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
813
711
|
__props__.__dict__["region"] = region
|
|
814
712
|
__props__.__dict__["tags"] = tags
|
|
815
713
|
__props__.__dict__["tags_all"] = tags_all
|
|
816
|
-
__props__.__dict__["transforms"] = transforms
|
|
817
714
|
return ListenerRule(resource_name, opts=opts, __props__=__props__)
|
|
818
715
|
|
|
819
716
|
@_builtins.property
|
|
@@ -880,11 +777,3 @@ class ListenerRule(pulumi.CustomResource):
|
|
|
880
777
|
"""
|
|
881
778
|
return pulumi.get(self, "tags_all")
|
|
882
779
|
|
|
883
|
-
@_builtins.property
|
|
884
|
-
@pulumi.getter
|
|
885
|
-
def transforms(self) -> pulumi.Output[Optional[Sequence['outputs.ListenerRuleTransform']]]:
|
|
886
|
-
"""
|
|
887
|
-
Configuration block that defines the transform to apply to requests matching this rule. See Transform Blocks below for more details. Once specified, to remove the transform from the rule, remove the `transform` block from the configuration.
|
|
888
|
-
"""
|
|
889
|
-
return pulumi.get(self, "transforms")
|
|
890
|
-
|
pulumi_aws/alb/outputs.py
CHANGED
|
@@ -41,11 +41,6 @@ __all__ = [
|
|
|
41
41
|
'ListenerRuleConditionPathPattern',
|
|
42
42
|
'ListenerRuleConditionQueryString',
|
|
43
43
|
'ListenerRuleConditionSourceIp',
|
|
44
|
-
'ListenerRuleTransform',
|
|
45
|
-
'ListenerRuleTransformHostHeaderRewriteConfig',
|
|
46
|
-
'ListenerRuleTransformHostHeaderRewriteConfigRewrite',
|
|
47
|
-
'ListenerRuleTransformUrlRewriteConfig',
|
|
48
|
-
'ListenerRuleTransformUrlRewriteConfigRewrite',
|
|
49
44
|
'LoadBalancerAccessLogs',
|
|
50
45
|
'LoadBalancerConnectionLogs',
|
|
51
46
|
'LoadBalancerIpamPools',
|
|
@@ -1607,10 +1602,10 @@ class ListenerRuleCondition(dict):
|
|
|
1607
1602
|
query_strings: Optional[Sequence['outputs.ListenerRuleConditionQueryString']] = None,
|
|
1608
1603
|
source_ip: Optional['outputs.ListenerRuleConditionSourceIp'] = None):
|
|
1609
1604
|
"""
|
|
1610
|
-
:param 'ListenerRuleConditionHostHeaderArgs' host_header:
|
|
1605
|
+
:param '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.
|
|
1611
1606
|
:param 'ListenerRuleConditionHttpHeaderArgs' http_header: HTTP headers to match. HTTP Header block fields documented below.
|
|
1612
1607
|
:param '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.
|
|
1613
|
-
:param 'ListenerRuleConditionPathPatternArgs' path_pattern:
|
|
1608
|
+
:param '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.
|
|
1614
1609
|
:param Sequence['ListenerRuleConditionQueryStringArgs'] query_strings: Query strings to match. Query String block fields documented below.
|
|
1615
1610
|
:param '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.
|
|
1616
1611
|
|
|
@@ -1633,7 +1628,7 @@ class ListenerRuleCondition(dict):
|
|
|
1633
1628
|
@pulumi.getter(name="hostHeader")
|
|
1634
1629
|
def host_header(self) -> Optional['outputs.ListenerRuleConditionHostHeader']:
|
|
1635
1630
|
"""
|
|
1636
|
-
|
|
1631
|
+
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.
|
|
1637
1632
|
"""
|
|
1638
1633
|
return pulumi.get(self, "host_header")
|
|
1639
1634
|
|
|
@@ -1657,7 +1652,7 @@ class ListenerRuleCondition(dict):
|
|
|
1657
1652
|
@pulumi.getter(name="pathPattern")
|
|
1658
1653
|
def path_pattern(self) -> Optional['outputs.ListenerRuleConditionPathPattern']:
|
|
1659
1654
|
"""
|
|
1660
|
-
|
|
1655
|
+
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.
|
|
1661
1656
|
"""
|
|
1662
1657
|
return pulumi.get(self, "path_pattern")
|
|
1663
1658
|
|
|
@@ -1682,49 +1677,13 @@ class ListenerRuleCondition(dict):
|
|
|
1682
1677
|
|
|
1683
1678
|
@pulumi.output_type
|
|
1684
1679
|
class ListenerRuleConditionHostHeader(dict):
|
|
1685
|
-
@staticmethod
|
|
1686
|
-
def __key_warning(key: str):
|
|
1687
|
-
suggest = None
|
|
1688
|
-
if key == "regexValues":
|
|
1689
|
-
suggest = "regex_values"
|
|
1690
|
-
|
|
1691
|
-
if suggest:
|
|
1692
|
-
pulumi.log.warn(f"Key '{key}' not found in ListenerRuleConditionHostHeader. Access the value via the '{suggest}' property getter instead.")
|
|
1693
|
-
|
|
1694
|
-
def __getitem__(self, key: str) -> Any:
|
|
1695
|
-
ListenerRuleConditionHostHeader.__key_warning(key)
|
|
1696
|
-
return super().__getitem__(key)
|
|
1697
|
-
|
|
1698
|
-
def get(self, key: str, default = None) -> Any:
|
|
1699
|
-
ListenerRuleConditionHostHeader.__key_warning(key)
|
|
1700
|
-
return super().get(key, default)
|
|
1701
|
-
|
|
1702
1680
|
def __init__(__self__, *,
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
"""
|
|
1706
|
-
:param Sequence[_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`.
|
|
1707
|
-
:param Sequence[_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`.
|
|
1708
|
-
"""
|
|
1709
|
-
if regex_values is not None:
|
|
1710
|
-
pulumi.set(__self__, "regex_values", regex_values)
|
|
1711
|
-
if values is not None:
|
|
1712
|
-
pulumi.set(__self__, "values", values)
|
|
1713
|
-
|
|
1714
|
-
@_builtins.property
|
|
1715
|
-
@pulumi.getter(name="regexValues")
|
|
1716
|
-
def regex_values(self) -> Optional[Sequence[_builtins.str]]:
|
|
1717
|
-
"""
|
|
1718
|
-
List of regular expressions to compare against the host header. The maximum length of each string is 128 characters. Conflicts with `values`.
|
|
1719
|
-
"""
|
|
1720
|
-
return pulumi.get(self, "regex_values")
|
|
1681
|
+
values: Sequence[_builtins.str]):
|
|
1682
|
+
pulumi.set(__self__, "values", values)
|
|
1721
1683
|
|
|
1722
1684
|
@_builtins.property
|
|
1723
1685
|
@pulumi.getter
|
|
1724
|
-
def values(self) ->
|
|
1725
|
-
"""
|
|
1726
|
-
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`.
|
|
1727
|
-
"""
|
|
1686
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
1728
1687
|
return pulumi.get(self, "values")
|
|
1729
1688
|
|
|
1730
1689
|
|
|
@@ -1735,8 +1694,6 @@ class ListenerRuleConditionHttpHeader(dict):
|
|
|
1735
1694
|
suggest = None
|
|
1736
1695
|
if key == "httpHeaderName":
|
|
1737
1696
|
suggest = "http_header_name"
|
|
1738
|
-
elif key == "regexValues":
|
|
1739
|
-
suggest = "regex_values"
|
|
1740
1697
|
|
|
1741
1698
|
if suggest:
|
|
1742
1699
|
pulumi.log.warn(f"Key '{key}' not found in ListenerRuleConditionHttpHeader. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -1751,40 +1708,27 @@ class ListenerRuleConditionHttpHeader(dict):
|
|
|
1751
1708
|
|
|
1752
1709
|
def __init__(__self__, *,
|
|
1753
1710
|
http_header_name: _builtins.str,
|
|
1754
|
-
|
|
1755
|
-
values: Optional[Sequence[_builtins.str]] = None):
|
|
1711
|
+
values: Sequence[_builtins.str]):
|
|
1756
1712
|
"""
|
|
1757
|
-
:param _builtins.str http_header_name: Name of HTTP header to search. The maximum size is 40 characters. Comparison is case
|
|
1758
|
-
:param Sequence[_builtins.str]
|
|
1759
|
-
:param Sequence[_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`.
|
|
1713
|
+
:param _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.
|
|
1714
|
+
:param Sequence[_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.
|
|
1760
1715
|
"""
|
|
1761
1716
|
pulumi.set(__self__, "http_header_name", http_header_name)
|
|
1762
|
-
|
|
1763
|
-
pulumi.set(__self__, "regex_values", regex_values)
|
|
1764
|
-
if values is not None:
|
|
1765
|
-
pulumi.set(__self__, "values", values)
|
|
1717
|
+
pulumi.set(__self__, "values", values)
|
|
1766
1718
|
|
|
1767
1719
|
@_builtins.property
|
|
1768
1720
|
@pulumi.getter(name="httpHeaderName")
|
|
1769
1721
|
def http_header_name(self) -> _builtins.str:
|
|
1770
1722
|
"""
|
|
1771
|
-
Name of HTTP header to search. The maximum size is 40 characters. Comparison is case
|
|
1723
|
+
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.
|
|
1772
1724
|
"""
|
|
1773
1725
|
return pulumi.get(self, "http_header_name")
|
|
1774
1726
|
|
|
1775
|
-
@_builtins.property
|
|
1776
|
-
@pulumi.getter(name="regexValues")
|
|
1777
|
-
def regex_values(self) -> Optional[Sequence[_builtins.str]]:
|
|
1778
|
-
"""
|
|
1779
|
-
List of regular expression to compare against the HTTP header. The maximum length of each string is 128 characters. Conflicts with `values`.
|
|
1780
|
-
"""
|
|
1781
|
-
return pulumi.get(self, "regex_values")
|
|
1782
|
-
|
|
1783
1727
|
@_builtins.property
|
|
1784
1728
|
@pulumi.getter
|
|
1785
|
-
def values(self) ->
|
|
1729
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
1786
1730
|
"""
|
|
1787
|
-
List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case
|
|
1731
|
+
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.
|
|
1788
1732
|
"""
|
|
1789
1733
|
return pulumi.get(self, "values")
|
|
1790
1734
|
|
|
@@ -1803,49 +1747,13 @@ class ListenerRuleConditionHttpRequestMethod(dict):
|
|
|
1803
1747
|
|
|
1804
1748
|
@pulumi.output_type
|
|
1805
1749
|
class ListenerRuleConditionPathPattern(dict):
|
|
1806
|
-
@staticmethod
|
|
1807
|
-
def __key_warning(key: str):
|
|
1808
|
-
suggest = None
|
|
1809
|
-
if key == "regexValues":
|
|
1810
|
-
suggest = "regex_values"
|
|
1811
|
-
|
|
1812
|
-
if suggest:
|
|
1813
|
-
pulumi.log.warn(f"Key '{key}' not found in ListenerRuleConditionPathPattern. Access the value via the '{suggest}' property getter instead.")
|
|
1814
|
-
|
|
1815
|
-
def __getitem__(self, key: str) -> Any:
|
|
1816
|
-
ListenerRuleConditionPathPattern.__key_warning(key)
|
|
1817
|
-
return super().__getitem__(key)
|
|
1818
|
-
|
|
1819
|
-
def get(self, key: str, default = None) -> Any:
|
|
1820
|
-
ListenerRuleConditionPathPattern.__key_warning(key)
|
|
1821
|
-
return super().get(key, default)
|
|
1822
|
-
|
|
1823
1750
|
def __init__(__self__, *,
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
"""
|
|
1827
|
-
:param Sequence[_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`.
|
|
1828
|
-
:param Sequence[_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`.
|
|
1829
|
-
"""
|
|
1830
|
-
if regex_values is not None:
|
|
1831
|
-
pulumi.set(__self__, "regex_values", regex_values)
|
|
1832
|
-
if values is not None:
|
|
1833
|
-
pulumi.set(__self__, "values", values)
|
|
1834
|
-
|
|
1835
|
-
@_builtins.property
|
|
1836
|
-
@pulumi.getter(name="regexValues")
|
|
1837
|
-
def regex_values(self) -> Optional[Sequence[_builtins.str]]:
|
|
1838
|
-
"""
|
|
1839
|
-
List of regular expressions to compare against the request URL. The maximum length of each string is 128 characters. Conflicts with `values`.
|
|
1840
|
-
"""
|
|
1841
|
-
return pulumi.get(self, "regex_values")
|
|
1751
|
+
values: Sequence[_builtins.str]):
|
|
1752
|
+
pulumi.set(__self__, "values", values)
|
|
1842
1753
|
|
|
1843
1754
|
@_builtins.property
|
|
1844
1755
|
@pulumi.getter
|
|
1845
|
-
def values(self) ->
|
|
1846
|
-
"""
|
|
1847
|
-
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`.
|
|
1848
|
-
"""
|
|
1756
|
+
def values(self) -> Sequence[_builtins.str]:
|
|
1849
1757
|
return pulumi.get(self, "values")
|
|
1850
1758
|
|
|
1851
1759
|
|
|
@@ -1891,163 +1799,6 @@ class ListenerRuleConditionSourceIp(dict):
|
|
|
1891
1799
|
return pulumi.get(self, "values")
|
|
1892
1800
|
|
|
1893
1801
|
|
|
1894
|
-
@pulumi.output_type
|
|
1895
|
-
class ListenerRuleTransform(dict):
|
|
1896
|
-
@staticmethod
|
|
1897
|
-
def __key_warning(key: str):
|
|
1898
|
-
suggest = None
|
|
1899
|
-
if key == "hostHeaderRewriteConfig":
|
|
1900
|
-
suggest = "host_header_rewrite_config"
|
|
1901
|
-
elif key == "urlRewriteConfig":
|
|
1902
|
-
suggest = "url_rewrite_config"
|
|
1903
|
-
|
|
1904
|
-
if suggest:
|
|
1905
|
-
pulumi.log.warn(f"Key '{key}' not found in ListenerRuleTransform. Access the value via the '{suggest}' property getter instead.")
|
|
1906
|
-
|
|
1907
|
-
def __getitem__(self, key: str) -> Any:
|
|
1908
|
-
ListenerRuleTransform.__key_warning(key)
|
|
1909
|
-
return super().__getitem__(key)
|
|
1910
|
-
|
|
1911
|
-
def get(self, key: str, default = None) -> Any:
|
|
1912
|
-
ListenerRuleTransform.__key_warning(key)
|
|
1913
|
-
return super().get(key, default)
|
|
1914
|
-
|
|
1915
|
-
def __init__(__self__, *,
|
|
1916
|
-
type: _builtins.str,
|
|
1917
|
-
host_header_rewrite_config: Optional['outputs.ListenerRuleTransformHostHeaderRewriteConfig'] = None,
|
|
1918
|
-
url_rewrite_config: Optional['outputs.ListenerRuleTransformUrlRewriteConfig'] = None):
|
|
1919
|
-
"""
|
|
1920
|
-
:param _builtins.str type: Type of transform. Valid values are `host-header-rewrite` and `url-rewrite`.
|
|
1921
|
-
:param '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.
|
|
1922
|
-
:param 'ListenerRuleTransformUrlRewriteConfigArgs' url_rewrite_config: Configuration block for URL rewrite. Required if `type` is `url-rewrite`. See URL Rewrite Config Blocks below.
|
|
1923
|
-
"""
|
|
1924
|
-
pulumi.set(__self__, "type", type)
|
|
1925
|
-
if host_header_rewrite_config is not None:
|
|
1926
|
-
pulumi.set(__self__, "host_header_rewrite_config", host_header_rewrite_config)
|
|
1927
|
-
if url_rewrite_config is not None:
|
|
1928
|
-
pulumi.set(__self__, "url_rewrite_config", url_rewrite_config)
|
|
1929
|
-
|
|
1930
|
-
@_builtins.property
|
|
1931
|
-
@pulumi.getter
|
|
1932
|
-
def type(self) -> _builtins.str:
|
|
1933
|
-
"""
|
|
1934
|
-
Type of transform. Valid values are `host-header-rewrite` and `url-rewrite`.
|
|
1935
|
-
"""
|
|
1936
|
-
return pulumi.get(self, "type")
|
|
1937
|
-
|
|
1938
|
-
@_builtins.property
|
|
1939
|
-
@pulumi.getter(name="hostHeaderRewriteConfig")
|
|
1940
|
-
def host_header_rewrite_config(self) -> Optional['outputs.ListenerRuleTransformHostHeaderRewriteConfig']:
|
|
1941
|
-
"""
|
|
1942
|
-
Configuration block for host header rewrite. Required if `type` is `host-header-rewrite`. See Host Header Rewrite Config Blocks below.
|
|
1943
|
-
"""
|
|
1944
|
-
return pulumi.get(self, "host_header_rewrite_config")
|
|
1945
|
-
|
|
1946
|
-
@_builtins.property
|
|
1947
|
-
@pulumi.getter(name="urlRewriteConfig")
|
|
1948
|
-
def url_rewrite_config(self) -> Optional['outputs.ListenerRuleTransformUrlRewriteConfig']:
|
|
1949
|
-
"""
|
|
1950
|
-
Configuration block for URL rewrite. Required if `type` is `url-rewrite`. See URL Rewrite Config Blocks below.
|
|
1951
|
-
"""
|
|
1952
|
-
return pulumi.get(self, "url_rewrite_config")
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
@pulumi.output_type
|
|
1956
|
-
class ListenerRuleTransformHostHeaderRewriteConfig(dict):
|
|
1957
|
-
def __init__(__self__, *,
|
|
1958
|
-
rewrite: Optional['outputs.ListenerRuleTransformHostHeaderRewriteConfigRewrite'] = None):
|
|
1959
|
-
"""
|
|
1960
|
-
:param 'ListenerRuleTransformHostHeaderRewriteConfigRewriteArgs' rewrite: Block for host header rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
|
|
1961
|
-
"""
|
|
1962
|
-
if rewrite is not None:
|
|
1963
|
-
pulumi.set(__self__, "rewrite", rewrite)
|
|
1964
|
-
|
|
1965
|
-
@_builtins.property
|
|
1966
|
-
@pulumi.getter
|
|
1967
|
-
def rewrite(self) -> Optional['outputs.ListenerRuleTransformHostHeaderRewriteConfigRewrite']:
|
|
1968
|
-
"""
|
|
1969
|
-
Block for host header rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
|
|
1970
|
-
"""
|
|
1971
|
-
return pulumi.get(self, "rewrite")
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
@pulumi.output_type
|
|
1975
|
-
class ListenerRuleTransformHostHeaderRewriteConfigRewrite(dict):
|
|
1976
|
-
def __init__(__self__, *,
|
|
1977
|
-
regex: _builtins.str,
|
|
1978
|
-
replace: _builtins.str):
|
|
1979
|
-
"""
|
|
1980
|
-
:param _builtins.str regex: Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
|
|
1981
|
-
:param _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.
|
|
1982
|
-
"""
|
|
1983
|
-
pulumi.set(__self__, "regex", regex)
|
|
1984
|
-
pulumi.set(__self__, "replace", replace)
|
|
1985
|
-
|
|
1986
|
-
@_builtins.property
|
|
1987
|
-
@pulumi.getter
|
|
1988
|
-
def regex(self) -> _builtins.str:
|
|
1989
|
-
"""
|
|
1990
|
-
Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
|
|
1991
|
-
"""
|
|
1992
|
-
return pulumi.get(self, "regex")
|
|
1993
|
-
|
|
1994
|
-
@_builtins.property
|
|
1995
|
-
@pulumi.getter
|
|
1996
|
-
def replace(self) -> _builtins.str:
|
|
1997
|
-
"""
|
|
1998
|
-
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.
|
|
1999
|
-
"""
|
|
2000
|
-
return pulumi.get(self, "replace")
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
@pulumi.output_type
|
|
2004
|
-
class ListenerRuleTransformUrlRewriteConfig(dict):
|
|
2005
|
-
def __init__(__self__, *,
|
|
2006
|
-
rewrite: Optional['outputs.ListenerRuleTransformUrlRewriteConfigRewrite'] = None):
|
|
2007
|
-
"""
|
|
2008
|
-
:param 'ListenerRuleTransformUrlRewriteConfigRewriteArgs' rewrite: Block for URL rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
|
|
2009
|
-
"""
|
|
2010
|
-
if rewrite is not None:
|
|
2011
|
-
pulumi.set(__self__, "rewrite", rewrite)
|
|
2012
|
-
|
|
2013
|
-
@_builtins.property
|
|
2014
|
-
@pulumi.getter
|
|
2015
|
-
def rewrite(self) -> Optional['outputs.ListenerRuleTransformUrlRewriteConfigRewrite']:
|
|
2016
|
-
"""
|
|
2017
|
-
Block for URL rewrite configuration. Only one block is accepted. See Rewrite Blocks below.
|
|
2018
|
-
"""
|
|
2019
|
-
return pulumi.get(self, "rewrite")
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
@pulumi.output_type
|
|
2023
|
-
class ListenerRuleTransformUrlRewriteConfigRewrite(dict):
|
|
2024
|
-
def __init__(__self__, *,
|
|
2025
|
-
regex: _builtins.str,
|
|
2026
|
-
replace: _builtins.str):
|
|
2027
|
-
"""
|
|
2028
|
-
:param _builtins.str regex: Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
|
|
2029
|
-
:param _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.
|
|
2030
|
-
"""
|
|
2031
|
-
pulumi.set(__self__, "regex", regex)
|
|
2032
|
-
pulumi.set(__self__, "replace", replace)
|
|
2033
|
-
|
|
2034
|
-
@_builtins.property
|
|
2035
|
-
@pulumi.getter
|
|
2036
|
-
def regex(self) -> _builtins.str:
|
|
2037
|
-
"""
|
|
2038
|
-
Regular expression to match in the input string. Length constraints: Between 1 and 1024 characters.
|
|
2039
|
-
"""
|
|
2040
|
-
return pulumi.get(self, "regex")
|
|
2041
|
-
|
|
2042
|
-
@_builtins.property
|
|
2043
|
-
@pulumi.getter
|
|
2044
|
-
def replace(self) -> _builtins.str:
|
|
2045
|
-
"""
|
|
2046
|
-
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.
|
|
2047
|
-
"""
|
|
2048
|
-
return pulumi.get(self, "replace")
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
1802
|
@pulumi.output_type
|
|
2052
1803
|
class LoadBalancerAccessLogs(dict):
|
|
2053
1804
|
def __init__(__self__, *,
|
pulumi_aws/amplify/app.py
CHANGED
|
@@ -1007,7 +1007,7 @@ class App(pulumi.CustomResource):
|
|
|
1007
1007
|
- key: 'X-Content-Type-Options'
|
|
1008
1008
|
value: 'nosniff'
|
|
1009
1009
|
- key: 'Content-Security-Policy'
|
|
1010
|
-
value:
|
|
1010
|
+
value: "default-src 'self'"
|
|
1011
1011
|
\"\"\")
|
|
1012
1012
|
```
|
|
1013
1013
|
|
|
@@ -1208,7 +1208,7 @@ class App(pulumi.CustomResource):
|
|
|
1208
1208
|
- key: 'X-Content-Type-Options'
|
|
1209
1209
|
value: 'nosniff'
|
|
1210
1210
|
- key: 'Content-Security-Policy'
|
|
1211
|
-
value:
|
|
1211
|
+
value: "default-src 'self'"
|
|
1212
1212
|
\"\"\")
|
|
1213
1213
|
```
|
|
1214
1214
|
|
|
@@ -697,7 +697,7 @@ class Integration(pulumi.CustomResource):
|
|
|
697
697
|
},
|
|
698
698
|
request_templates={
|
|
699
699
|
"application/xml": \"\"\"{
|
|
700
|
-
|
|
700
|
+
"body" : $input.json('$')
|
|
701
701
|
}
|
|
702
702
|
\"\"\",
|
|
703
703
|
})
|
|
@@ -893,7 +893,7 @@ class Integration(pulumi.CustomResource):
|
|
|
893
893
|
},
|
|
894
894
|
request_templates={
|
|
895
895
|
"application/xml": \"\"\"{
|
|
896
|
-
|
|
896
|
+
"body" : $input.json('$')
|
|
897
897
|
}
|
|
898
898
|
\"\"\",
|
|
899
899
|
})
|