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
|
@@ -28,7 +28,7 @@ class GetListenerRuleResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getListenerRule.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, actions=None, arn=None, conditions=None, id=None, listener_arn=None, priority=None, region=None, tags=None
|
|
31
|
+
def __init__(__self__, actions=None, arn=None, conditions=None, id=None, listener_arn=None, priority=None, region=None, tags=None):
|
|
32
32
|
if actions and not isinstance(actions, list):
|
|
33
33
|
raise TypeError("Expected argument 'actions' to be a list")
|
|
34
34
|
pulumi.set(__self__, "actions", actions)
|
|
@@ -53,9 +53,6 @@ class GetListenerRuleResult:
|
|
|
53
53
|
if tags and not isinstance(tags, dict):
|
|
54
54
|
raise TypeError("Expected argument 'tags' to be a dict")
|
|
55
55
|
pulumi.set(__self__, "tags", tags)
|
|
56
|
-
if transforms and not isinstance(transforms, list):
|
|
57
|
-
raise TypeError("Expected argument 'transforms' to be a list")
|
|
58
|
-
pulumi.set(__self__, "transforms", transforms)
|
|
59
56
|
|
|
60
57
|
@_builtins.property
|
|
61
58
|
@pulumi.getter
|
|
@@ -114,14 +111,6 @@ class GetListenerRuleResult:
|
|
|
114
111
|
"""
|
|
115
112
|
return pulumi.get(self, "tags")
|
|
116
113
|
|
|
117
|
-
@_builtins.property
|
|
118
|
-
@pulumi.getter
|
|
119
|
-
def transforms(self) -> Optional[Sequence['outputs.GetListenerRuleTransformResult']]:
|
|
120
|
-
"""
|
|
121
|
-
Block for transform to apply to requests that match this rule. Detailed below.
|
|
122
|
-
"""
|
|
123
|
-
return pulumi.get(self, "transforms")
|
|
124
|
-
|
|
125
114
|
|
|
126
115
|
class AwaitableGetListenerRuleResult(GetListenerRuleResult):
|
|
127
116
|
# pylint: disable=using-constant-test
|
|
@@ -136,8 +125,7 @@ class AwaitableGetListenerRuleResult(GetListenerRuleResult):
|
|
|
136
125
|
listener_arn=self.listener_arn,
|
|
137
126
|
priority=self.priority,
|
|
138
127
|
region=self.region,
|
|
139
|
-
tags=self.tags
|
|
140
|
-
transforms=self.transforms)
|
|
128
|
+
tags=self.tags)
|
|
141
129
|
|
|
142
130
|
|
|
143
131
|
def get_listener_rule(actions: Optional[Sequence[Union['GetListenerRuleActionArgs', 'GetListenerRuleActionArgsDict']]] = None,
|
|
@@ -146,7 +134,6 @@ def get_listener_rule(actions: Optional[Sequence[Union['GetListenerRuleActionArg
|
|
|
146
134
|
listener_arn: Optional[_builtins.str] = None,
|
|
147
135
|
priority: Optional[_builtins.int] = None,
|
|
148
136
|
region: Optional[_builtins.str] = None,
|
|
149
|
-
transforms: Optional[Sequence[Union['GetListenerRuleTransformArgs', 'GetListenerRuleTransformArgsDict']]] = None,
|
|
150
137
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetListenerRuleResult:
|
|
151
138
|
"""
|
|
152
139
|
Provides information about an AWS Elastic Load Balancing Listener Rule.
|
|
@@ -189,7 +176,6 @@ def get_listener_rule(actions: Optional[Sequence[Union['GetListenerRuleActionArg
|
|
|
189
176
|
:param _builtins.int priority: Priority of the Listener Rule within the Listener.
|
|
190
177
|
Must be set if `listener_arn` is set, otherwise must not be set.
|
|
191
178
|
:param _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.
|
|
192
|
-
:param Sequence[Union['GetListenerRuleTransformArgs', 'GetListenerRuleTransformArgsDict']] transforms: Block for transform to apply to requests that match this rule. Detailed below.
|
|
193
179
|
"""
|
|
194
180
|
__args__ = dict()
|
|
195
181
|
__args__['actions'] = actions
|
|
@@ -198,7 +184,6 @@ def get_listener_rule(actions: Optional[Sequence[Union['GetListenerRuleActionArg
|
|
|
198
184
|
__args__['listenerArn'] = listener_arn
|
|
199
185
|
__args__['priority'] = priority
|
|
200
186
|
__args__['region'] = region
|
|
201
|
-
__args__['transforms'] = transforms
|
|
202
187
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
188
|
__ret__ = pulumi.runtime.invoke('aws:lb/getListenerRule:getListenerRule', __args__, opts=opts, typ=GetListenerRuleResult).value
|
|
204
189
|
|
|
@@ -210,15 +195,13 @@ def get_listener_rule(actions: Optional[Sequence[Union['GetListenerRuleActionArg
|
|
|
210
195
|
listener_arn=pulumi.get(__ret__, 'listener_arn'),
|
|
211
196
|
priority=pulumi.get(__ret__, 'priority'),
|
|
212
197
|
region=pulumi.get(__ret__, 'region'),
|
|
213
|
-
tags=pulumi.get(__ret__, 'tags')
|
|
214
|
-
transforms=pulumi.get(__ret__, 'transforms'))
|
|
198
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
215
199
|
def get_listener_rule_output(actions: Optional[pulumi.Input[Optional[Sequence[Union['GetListenerRuleActionArgs', 'GetListenerRuleActionArgsDict']]]]] = None,
|
|
216
200
|
arn: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
217
201
|
conditions: Optional[pulumi.Input[Optional[Sequence[Union['GetListenerRuleConditionArgs', 'GetListenerRuleConditionArgsDict']]]]] = None,
|
|
218
202
|
listener_arn: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
219
203
|
priority: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
220
204
|
region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
221
|
-
transforms: Optional[pulumi.Input[Optional[Sequence[Union['GetListenerRuleTransformArgs', 'GetListenerRuleTransformArgsDict']]]]] = None,
|
|
222
205
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetListenerRuleResult]:
|
|
223
206
|
"""
|
|
224
207
|
Provides information about an AWS Elastic Load Balancing Listener Rule.
|
|
@@ -261,7 +244,6 @@ def get_listener_rule_output(actions: Optional[pulumi.Input[Optional[Sequence[Un
|
|
|
261
244
|
:param _builtins.int priority: Priority of the Listener Rule within the Listener.
|
|
262
245
|
Must be set if `listener_arn` is set, otherwise must not be set.
|
|
263
246
|
:param _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.
|
|
264
|
-
:param Sequence[Union['GetListenerRuleTransformArgs', 'GetListenerRuleTransformArgsDict']] transforms: Block for transform to apply to requests that match this rule. Detailed below.
|
|
265
247
|
"""
|
|
266
248
|
__args__ = dict()
|
|
267
249
|
__args__['actions'] = actions
|
|
@@ -270,7 +252,6 @@ def get_listener_rule_output(actions: Optional[pulumi.Input[Optional[Sequence[Un
|
|
|
270
252
|
__args__['listenerArn'] = listener_arn
|
|
271
253
|
__args__['priority'] = priority
|
|
272
254
|
__args__['region'] = region
|
|
273
|
-
__args__['transforms'] = transforms
|
|
274
255
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
275
256
|
__ret__ = pulumi.runtime.invoke_output('aws:lb/getListenerRule:getListenerRule', __args__, opts=opts, typ=GetListenerRuleResult)
|
|
276
257
|
return __ret__.apply(lambda __response__: GetListenerRuleResult(
|
|
@@ -281,5 +262,4 @@ def get_listener_rule_output(actions: Optional[pulumi.Input[Optional[Sequence[Un
|
|
|
281
262
|
listener_arn=pulumi.get(__response__, 'listener_arn'),
|
|
282
263
|
priority=pulumi.get(__response__, 'priority'),
|
|
283
264
|
region=pulumi.get(__response__, 'region'),
|
|
284
|
-
tags=pulumi.get(__response__, 'tags')
|
|
285
|
-
transforms=pulumi.get(__response__, 'transforms')))
|
|
265
|
+
tags=pulumi.get(__response__, 'tags')))
|
pulumi_aws/lb/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:lb/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:elasticloadbalancingv2/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
|
-
|