pulumi-aws 7.15.0__py3-none-any.whl → 7.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_aws/__init__.py +80 -0
- pulumi_aws/alb/listener.py +7 -7
- pulumi_aws/alb/target_group.py +7 -7
- pulumi_aws/alb/target_group_attachment.py +83 -0
- pulumi_aws/apigateway/domain_name.py +86 -7
- pulumi_aws/apigateway/get_domain_name.py +15 -1
- pulumi_aws/apigateway/integration.py +48 -8
- pulumi_aws/athena/_inputs.py +412 -5
- pulumi_aws/athena/outputs.py +342 -2
- pulumi_aws/backup/global_settings.py +15 -7
- pulumi_aws/bedrock/agentcore_memory_strategy.py +8 -0
- pulumi_aws/cleanrooms/collaboration.py +26 -6
- pulumi_aws/cloudfront/__init__.py +6 -0
- pulumi_aws/cloudfront/_inputs.py +3601 -478
- pulumi_aws/cloudfront/connection_function.py +658 -0
- pulumi_aws/cloudfront/connection_group.py +649 -0
- pulumi_aws/cloudfront/distribution.py +142 -0
- pulumi_aws/cloudfront/distribution_tenant.py +857 -0
- pulumi_aws/cloudfront/get_connection_group.py +249 -0
- pulumi_aws/cloudfront/get_distribution_tenant.py +279 -0
- pulumi_aws/cloudfront/multitenant_distribution.py +1181 -0
- pulumi_aws/cloudfront/outputs.py +3034 -376
- pulumi_aws/cloudwatch/log_subscription_filter.py +136 -42
- pulumi_aws/directconnect/gateway.py +78 -3
- pulumi_aws/directconnect/get_gateway.py +24 -4
- pulumi_aws/dlm/_inputs.py +3 -3
- pulumi_aws/dlm/outputs.py +2 -2
- pulumi_aws/dynamodb/__init__.py +1 -0
- pulumi_aws/dynamodb/_inputs.py +370 -0
- pulumi_aws/dynamodb/global_secondary_index.py +666 -0
- pulumi_aws/dynamodb/outputs.py +315 -0
- pulumi_aws/dynamodb/table.py +9 -1
- pulumi_aws/ec2/_inputs.py +44 -4
- pulumi_aws/ec2/get_vpc_endpoint.py +24 -4
- pulumi_aws/ec2/outputs.py +54 -4
- pulumi_aws/ecr/__init__.py +1 -0
- pulumi_aws/ecr/_inputs.py +58 -22
- pulumi_aws/ecr/get_repository_creation_template.py +1 -1
- pulumi_aws/ecr/lifecycle_policy.py +152 -64
- pulumi_aws/ecr/outputs.py +37 -15
- pulumi_aws/ecr/pull_time_update_exclusion.py +363 -0
- pulumi_aws/ecr/repository_creation_template.py +7 -7
- pulumi_aws/ecs/_inputs.py +20 -0
- pulumi_aws/ecs/outputs.py +14 -0
- pulumi_aws/ecs/task_definition.py +28 -28
- pulumi_aws/elasticache/replication_group.py +7 -7
- pulumi_aws/fsx/ontap_file_system.py +14 -0
- pulumi_aws/glue/resource_policy.py +4 -4
- pulumi_aws/guardduty/_inputs.py +41 -1
- pulumi_aws/guardduty/outputs.py +27 -1
- pulumi_aws/iam/get_saml_provider.py +15 -1
- pulumi_aws/iam/outbound_web_identity_federation.py +0 -4
- pulumi_aws/iam/policy.py +47 -0
- pulumi_aws/iam/saml_provider.py +28 -0
- pulumi_aws/iam/virtual_mfa_device.py +66 -38
- pulumi_aws/imagebuilder/_inputs.py +87 -0
- pulumi_aws/imagebuilder/image.py +47 -0
- pulumi_aws/imagebuilder/image_pipeline.py +47 -0
- pulumi_aws/imagebuilder/outputs.py +87 -0
- pulumi_aws/kms/grant.py +18 -18
- pulumi_aws/lambda_/_inputs.py +24 -4
- pulumi_aws/lambda_/event_source_mapping.py +2 -0
- pulumi_aws/lambda_/function.py +28 -0
- pulumi_aws/lambda_/function_url.py +4 -0
- pulumi_aws/lambda_/get_function.py +15 -1
- pulumi_aws/lambda_/outputs.py +17 -3
- pulumi_aws/lambda_/permission.py +47 -0
- pulumi_aws/lb/listener.py +7 -7
- pulumi_aws/lb/target_group.py +7 -7
- pulumi_aws/lb/target_group_attachment.py +83 -0
- pulumi_aws/networkfirewall/_inputs.py +3 -3
- pulumi_aws/networkfirewall/outputs.py +2 -2
- pulumi_aws/networkfirewall/vpc_endpoint_association.py +2 -2
- pulumi_aws/networkmanager/vpc_attachment.py +7 -7
- pulumi_aws/opensearchingest/pipeline.py +47 -0
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/tag.py +292 -0
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/cluster.py +21 -21
- pulumi_aws/rds/get_proxy.py +29 -1
- pulumi_aws/rds/proxy.py +94 -0
- pulumi_aws/rds/proxy_default_target_group.py +0 -76
- pulumi_aws/rds/proxy_target.py +0 -80
- pulumi_aws/redshift/__init__.py +1 -0
- pulumi_aws/redshift/_inputs.py +329 -0
- pulumi_aws/redshift/idc_application.py +687 -0
- pulumi_aws/redshift/outputs.py +265 -0
- pulumi_aws/route53/get_resolver_firewall_rules.py +9 -0
- pulumi_aws/route53/get_resolver_rule.py +19 -4
- pulumi_aws/route53/outputs.py +108 -1
- pulumi_aws/route53/resolver_firewall_rule.py +199 -32
- pulumi_aws/secretsmanager/__init__.py +1 -0
- pulumi_aws/secretsmanager/tag.py +333 -0
- pulumi_aws/sesv2/__init__.py +1 -0
- pulumi_aws/sesv2/tenant.py +418 -0
- pulumi_aws/sfn/activity.py +0 -4
- pulumi_aws/sfn/alias.py +0 -4
- pulumi_aws/transfer/_inputs.py +126 -0
- pulumi_aws/transfer/outputs.py +97 -0
- pulumi_aws/transfer/web_app.py +54 -7
- pulumi_aws/vpclattice/service_network_resource_association.py +47 -0
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/RECORD +105 -93
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/top_level.txt +0 -0
pulumi_aws/kms/grant.py
CHANGED
|
@@ -35,8 +35,8 @@ class GrantArgs:
|
|
|
35
35
|
:param pulumi.Input[_builtins.str] grantee_principal: The principal that is given permission to perform the operations that the grant permits in ARN format. Note that due to eventual consistency issues around IAM principals, the providers's state may not always be refreshed to reflect what is true in AWS.
|
|
36
36
|
:param pulumi.Input[_builtins.str] key_id: The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.
|
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: A list of operations that the grant permits. The permitted values are: `Decrypt`, `Encrypt`, `GenerateDataKey`, `GenerateDataKeyWithoutPlaintext`, `ReEncryptFrom`, `ReEncryptTo`, `Sign`, `Verify`, `GetPublicKey`, `CreateGrant`, `RetireGrant`, `DescribeKey`, `GenerateDataKeyPair`, or `GenerateDataKeyPairWithoutPlaintext`.
|
|
38
|
-
:param pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
38
|
+
:param pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
40
40
|
:param pulumi.Input[_builtins.str] name: A friendly name for identifying the grant.
|
|
41
41
|
: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.
|
|
42
42
|
:param pulumi.Input[_builtins.bool] retire_on_delete: If set to false (the default) the grants will be revoked upon deletion, and if set to true the grants will try to be retired upon deletion. Note that retiring grants requires special permissions, hence why we default to revoking grants.
|
|
@@ -99,7 +99,7 @@ class GrantArgs:
|
|
|
99
99
|
@pulumi.getter
|
|
100
100
|
def constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]]]:
|
|
101
101
|
"""
|
|
102
|
-
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
102
|
+
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
103
103
|
"""
|
|
104
104
|
return pulumi.get(self, "constraints")
|
|
105
105
|
|
|
@@ -111,7 +111,7 @@ class GrantArgs:
|
|
|
111
111
|
@pulumi.getter(name="grantCreationTokens")
|
|
112
112
|
def grant_creation_tokens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
113
113
|
"""
|
|
114
|
-
A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
114
|
+
A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "grant_creation_tokens")
|
|
117
117
|
|
|
@@ -185,10 +185,10 @@ class _GrantState:
|
|
|
185
185
|
retiring_principal: Optional[pulumi.Input[_builtins.str]] = None):
|
|
186
186
|
"""
|
|
187
187
|
Input properties used for looking up and filtering Grant resources.
|
|
188
|
-
:param pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
189
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
188
|
+
:param pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
190
190
|
:param pulumi.Input[_builtins.str] grant_id: The unique identifier for the grant.
|
|
191
|
-
:param pulumi.Input[_builtins.str] grant_token: The grant token for the created grant. For more information, see [Grant Tokens](
|
|
191
|
+
:param pulumi.Input[_builtins.str] grant_token: The grant token for the created grant. For more information, see [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token).
|
|
192
192
|
:param pulumi.Input[_builtins.str] grantee_principal: The principal that is given permission to perform the operations that the grant permits in ARN format. Note that due to eventual consistency issues around IAM principals, the providers's state may not always be refreshed to reflect what is true in AWS.
|
|
193
193
|
:param pulumi.Input[_builtins.str] key_id: The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.
|
|
194
194
|
:param pulumi.Input[_builtins.str] name: A friendly name for identifying the grant.
|
|
@@ -225,7 +225,7 @@ class _GrantState:
|
|
|
225
225
|
@pulumi.getter
|
|
226
226
|
def constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GrantConstraintArgs']]]]:
|
|
227
227
|
"""
|
|
228
|
-
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
228
|
+
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
229
229
|
"""
|
|
230
230
|
return pulumi.get(self, "constraints")
|
|
231
231
|
|
|
@@ -237,7 +237,7 @@ class _GrantState:
|
|
|
237
237
|
@pulumi.getter(name="grantCreationTokens")
|
|
238
238
|
def grant_creation_tokens(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
239
239
|
"""
|
|
240
|
-
A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
240
|
+
A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
241
241
|
"""
|
|
242
242
|
return pulumi.get(self, "grant_creation_tokens")
|
|
243
243
|
|
|
@@ -261,7 +261,7 @@ class _GrantState:
|
|
|
261
261
|
@pulumi.getter(name="grantToken")
|
|
262
262
|
def grant_token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
263
263
|
"""
|
|
264
|
-
The grant token for the created grant. For more information, see [Grant Tokens](
|
|
264
|
+
The grant token for the created grant. For more information, see [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token).
|
|
265
265
|
"""
|
|
266
266
|
return pulumi.get(self, "grant_token")
|
|
267
267
|
|
|
@@ -385,8 +385,8 @@ class Grant(pulumi.CustomResource):
|
|
|
385
385
|
|
|
386
386
|
:param str resource_name: The name of the resource.
|
|
387
387
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['GrantConstraintArgs', 'GrantConstraintArgsDict']]]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
389
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
388
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrantConstraintArgs', 'GrantConstraintArgsDict']]]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
389
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
390
390
|
:param pulumi.Input[_builtins.str] grantee_principal: The principal that is given permission to perform the operations that the grant permits in ARN format. Note that due to eventual consistency issues around IAM principals, the providers's state may not always be refreshed to reflect what is true in AWS.
|
|
391
391
|
:param pulumi.Input[_builtins.str] key_id: The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.
|
|
392
392
|
:param pulumi.Input[_builtins.str] name: A friendly name for identifying the grant.
|
|
@@ -494,10 +494,10 @@ class Grant(pulumi.CustomResource):
|
|
|
494
494
|
:param str resource_name: The unique name of the resulting resource.
|
|
495
495
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
496
496
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
497
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['GrantConstraintArgs', 'GrantConstraintArgsDict']]]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
498
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
497
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrantConstraintArgs', 'GrantConstraintArgsDict']]]] constraints: A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
498
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] grant_creation_tokens: A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
499
499
|
:param pulumi.Input[_builtins.str] grant_id: The unique identifier for the grant.
|
|
500
|
-
:param pulumi.Input[_builtins.str] grant_token: The grant token for the created grant. For more information, see [Grant Tokens](
|
|
500
|
+
:param pulumi.Input[_builtins.str] grant_token: The grant token for the created grant. For more information, see [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token).
|
|
501
501
|
:param pulumi.Input[_builtins.str] grantee_principal: The principal that is given permission to perform the operations that the grant permits in ARN format. Note that due to eventual consistency issues around IAM principals, the providers's state may not always be refreshed to reflect what is true in AWS.
|
|
502
502
|
:param pulumi.Input[_builtins.str] key_id: The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN.
|
|
503
503
|
:param pulumi.Input[_builtins.str] name: A friendly name for identifying the grant.
|
|
@@ -528,7 +528,7 @@ class Grant(pulumi.CustomResource):
|
|
|
528
528
|
@pulumi.getter
|
|
529
529
|
def constraints(self) -> pulumi.Output[Optional[Sequence['outputs.GrantConstraint']]]:
|
|
530
530
|
"""
|
|
531
|
-
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](
|
|
531
|
+
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see [Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html).
|
|
532
532
|
"""
|
|
533
533
|
return pulumi.get(self, "constraints")
|
|
534
534
|
|
|
@@ -536,7 +536,7 @@ class Grant(pulumi.CustomResource):
|
|
|
536
536
|
@pulumi.getter(name="grantCreationTokens")
|
|
537
537
|
def grant_creation_tokens(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
538
538
|
"""
|
|
539
|
-
A list of grant tokens to be used when creating the grant. See [Grant Tokens](
|
|
539
|
+
A list of grant tokens to be used when creating the grant. See [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token) for more information about grant tokens.
|
|
540
540
|
"""
|
|
541
541
|
return pulumi.get(self, "grant_creation_tokens")
|
|
542
542
|
|
|
@@ -552,7 +552,7 @@ class Grant(pulumi.CustomResource):
|
|
|
552
552
|
@pulumi.getter(name="grantToken")
|
|
553
553
|
def grant_token(self) -> pulumi.Output[_builtins.str]:
|
|
554
554
|
"""
|
|
555
|
-
The grant token for the created grant. For more information, see [Grant Tokens](
|
|
555
|
+
The grant token for the created grant. For more information, see [Grant Tokens](https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token).
|
|
556
556
|
"""
|
|
557
557
|
return pulumi.get(self, "grant_token")
|
|
558
558
|
|
pulumi_aws/lambda_/_inputs.py
CHANGED
|
@@ -800,7 +800,7 @@ if not MYPY:
|
|
|
800
800
|
class EventSourceMappingDestinationConfigOnFailureArgsDict(TypedDict):
|
|
801
801
|
destination_arn: pulumi.Input[_builtins.str]
|
|
802
802
|
"""
|
|
803
|
-
ARN of the destination resource.
|
|
803
|
+
ARN of the destination resource, or `kafka://your-topic-name` for Amazon MSK and self-managed Apache Kafka destinations.
|
|
804
804
|
"""
|
|
805
805
|
elif False:
|
|
806
806
|
EventSourceMappingDestinationConfigOnFailureArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -810,7 +810,7 @@ class EventSourceMappingDestinationConfigOnFailureArgs:
|
|
|
810
810
|
def __init__(__self__, *,
|
|
811
811
|
destination_arn: pulumi.Input[_builtins.str]):
|
|
812
812
|
"""
|
|
813
|
-
:param pulumi.Input[_builtins.str] destination_arn: ARN of the destination resource.
|
|
813
|
+
:param pulumi.Input[_builtins.str] destination_arn: ARN of the destination resource, or `kafka://your-topic-name` for Amazon MSK and self-managed Apache Kafka destinations.
|
|
814
814
|
"""
|
|
815
815
|
pulumi.set(__self__, "destination_arn", destination_arn)
|
|
816
816
|
|
|
@@ -818,7 +818,7 @@ class EventSourceMappingDestinationConfigOnFailureArgs:
|
|
|
818
818
|
@pulumi.getter(name="destinationArn")
|
|
819
819
|
def destination_arn(self) -> pulumi.Input[_builtins.str]:
|
|
820
820
|
"""
|
|
821
|
-
ARN of the destination resource.
|
|
821
|
+
ARN of the destination resource, or `kafka://your-topic-name` for Amazon MSK and self-managed Apache Kafka destinations.
|
|
822
822
|
"""
|
|
823
823
|
return pulumi.get(self, "destination_arn")
|
|
824
824
|
|
|
@@ -1003,6 +1003,10 @@ if not MYPY:
|
|
|
1003
1003
|
"""
|
|
1004
1004
|
Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.
|
|
1005
1005
|
"""
|
|
1006
|
+
poller_group_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1007
|
+
"""
|
|
1008
|
+
The name of the provisioned poller group used to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
1009
|
+
"""
|
|
1006
1010
|
elif False:
|
|
1007
1011
|
EventSourceMappingProvisionedPollerConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
1008
1012
|
|
|
@@ -1010,15 +1014,19 @@ elif False:
|
|
|
1010
1014
|
class EventSourceMappingProvisionedPollerConfigArgs:
|
|
1011
1015
|
def __init__(__self__, *,
|
|
1012
1016
|
maximum_pollers: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1013
|
-
minimum_pollers: Optional[pulumi.Input[_builtins.int]] = None
|
|
1017
|
+
minimum_pollers: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1018
|
+
poller_group_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1014
1019
|
"""
|
|
1015
1020
|
:param pulumi.Input[_builtins.int] maximum_pollers: Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.
|
|
1016
1021
|
:param pulumi.Input[_builtins.int] minimum_pollers: Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.
|
|
1022
|
+
:param pulumi.Input[_builtins.str] poller_group_name: The name of the provisioned poller group used to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
1017
1023
|
"""
|
|
1018
1024
|
if maximum_pollers is not None:
|
|
1019
1025
|
pulumi.set(__self__, "maximum_pollers", maximum_pollers)
|
|
1020
1026
|
if minimum_pollers is not None:
|
|
1021
1027
|
pulumi.set(__self__, "minimum_pollers", minimum_pollers)
|
|
1028
|
+
if poller_group_name is not None:
|
|
1029
|
+
pulumi.set(__self__, "poller_group_name", poller_group_name)
|
|
1022
1030
|
|
|
1023
1031
|
@_builtins.property
|
|
1024
1032
|
@pulumi.getter(name="maximumPollers")
|
|
@@ -1044,6 +1052,18 @@ class EventSourceMappingProvisionedPollerConfigArgs:
|
|
|
1044
1052
|
def minimum_pollers(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1045
1053
|
pulumi.set(self, "minimum_pollers", value)
|
|
1046
1054
|
|
|
1055
|
+
@_builtins.property
|
|
1056
|
+
@pulumi.getter(name="pollerGroupName")
|
|
1057
|
+
def poller_group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1058
|
+
"""
|
|
1059
|
+
The name of the provisioned poller group used to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
1060
|
+
"""
|
|
1061
|
+
return pulumi.get(self, "poller_group_name")
|
|
1062
|
+
|
|
1063
|
+
@poller_group_name.setter
|
|
1064
|
+
def poller_group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1065
|
+
pulumi.set(self, "poller_group_name", value)
|
|
1066
|
+
|
|
1047
1067
|
|
|
1048
1068
|
if not MYPY:
|
|
1049
1069
|
class EventSourceMappingScalingConfigArgsDict(TypedDict):
|
|
@@ -1241,6 +1241,7 @@ class EventSourceMapping(pulumi.CustomResource):
|
|
|
1241
1241
|
provisioned_poller_config={
|
|
1242
1242
|
"maximum_pollers": 100,
|
|
1243
1243
|
"minimum_pollers": 10,
|
|
1244
|
+
"poller_group_name": "group-123",
|
|
1244
1245
|
})
|
|
1245
1246
|
```
|
|
1246
1247
|
|
|
@@ -1493,6 +1494,7 @@ class EventSourceMapping(pulumi.CustomResource):
|
|
|
1493
1494
|
provisioned_poller_config={
|
|
1494
1495
|
"maximum_pollers": 100,
|
|
1495
1496
|
"minimum_pollers": 10,
|
|
1497
|
+
"poller_group_name": "group-123",
|
|
1496
1498
|
})
|
|
1497
1499
|
```
|
|
1498
1500
|
|
pulumi_aws/lambda_/function.py
CHANGED
|
@@ -704,6 +704,7 @@ class _FunctionState:
|
|
|
704
704
|
replace_security_groups_on_destroy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
705
705
|
replacement_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
706
706
|
reserved_concurrent_executions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
707
|
+
response_streaming_invoke_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
707
708
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
|
708
709
|
runtime: Optional[pulumi.Input[Union[_builtins.str, 'Runtime']]] = None,
|
|
709
710
|
s3_bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -756,6 +757,7 @@ class _FunctionState:
|
|
|
756
757
|
:param pulumi.Input[_builtins.bool] replace_security_groups_on_destroy: Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
|
|
757
758
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replacement_security_group_ids: List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replace_security_groups_on_destroy` is `true`.
|
|
758
759
|
:param pulumi.Input[_builtins.int] reserved_concurrent_executions: Amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`.
|
|
760
|
+
:param pulumi.Input[_builtins.str] response_streaming_invoke_arn: ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `apigateway.Integration`'s `uri`.
|
|
759
761
|
:param pulumi.Input[_builtins.str] role: ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.
|
|
760
762
|
|
|
761
763
|
The following arguments are optional:
|
|
@@ -840,6 +842,8 @@ class _FunctionState:
|
|
|
840
842
|
pulumi.set(__self__, "replacement_security_group_ids", replacement_security_group_ids)
|
|
841
843
|
if reserved_concurrent_executions is not None:
|
|
842
844
|
pulumi.set(__self__, "reserved_concurrent_executions", reserved_concurrent_executions)
|
|
845
|
+
if response_streaming_invoke_arn is not None:
|
|
846
|
+
pulumi.set(__self__, "response_streaming_invoke_arn", response_streaming_invoke_arn)
|
|
843
847
|
if role is not None:
|
|
844
848
|
pulumi.set(__self__, "role", role)
|
|
845
849
|
if runtime is not None:
|
|
@@ -1251,6 +1255,18 @@ class _FunctionState:
|
|
|
1251
1255
|
def reserved_concurrent_executions(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1252
1256
|
pulumi.set(self, "reserved_concurrent_executions", value)
|
|
1253
1257
|
|
|
1258
|
+
@_builtins.property
|
|
1259
|
+
@pulumi.getter(name="responseStreamingInvokeArn")
|
|
1260
|
+
def response_streaming_invoke_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1261
|
+
"""
|
|
1262
|
+
ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `apigateway.Integration`'s `uri`.
|
|
1263
|
+
"""
|
|
1264
|
+
return pulumi.get(self, "response_streaming_invoke_arn")
|
|
1265
|
+
|
|
1266
|
+
@response_streaming_invoke_arn.setter
|
|
1267
|
+
def response_streaming_invoke_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1268
|
+
pulumi.set(self, "response_streaming_invoke_arn", value)
|
|
1269
|
+
|
|
1254
1270
|
@_builtins.property
|
|
1255
1271
|
@pulumi.getter
|
|
1256
1272
|
def role(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -2581,6 +2597,7 @@ class Function(pulumi.CustomResource):
|
|
|
2581
2597
|
__props__.__dict__["last_modified"] = None
|
|
2582
2598
|
__props__.__dict__["qualified_arn"] = None
|
|
2583
2599
|
__props__.__dict__["qualified_invoke_arn"] = None
|
|
2600
|
+
__props__.__dict__["response_streaming_invoke_arn"] = None
|
|
2584
2601
|
__props__.__dict__["signing_job_arn"] = None
|
|
2585
2602
|
__props__.__dict__["signing_profile_version_arn"] = None
|
|
2586
2603
|
__props__.__dict__["source_code_size"] = None
|
|
@@ -2627,6 +2644,7 @@ class Function(pulumi.CustomResource):
|
|
|
2627
2644
|
replace_security_groups_on_destroy: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2628
2645
|
replacement_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2629
2646
|
reserved_concurrent_executions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2647
|
+
response_streaming_invoke_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2630
2648
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2631
2649
|
runtime: Optional[pulumi.Input[Union[_builtins.str, 'Runtime']]] = None,
|
|
2632
2650
|
s3_bucket: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -2684,6 +2702,7 @@ class Function(pulumi.CustomResource):
|
|
|
2684
2702
|
:param pulumi.Input[_builtins.bool] replace_security_groups_on_destroy: Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
|
|
2685
2703
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] replacement_security_group_ids: List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replace_security_groups_on_destroy` is `true`.
|
|
2686
2704
|
:param pulumi.Input[_builtins.int] reserved_concurrent_executions: Amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`.
|
|
2705
|
+
:param pulumi.Input[_builtins.str] response_streaming_invoke_arn: ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `apigateway.Integration`'s `uri`.
|
|
2687
2706
|
:param pulumi.Input[_builtins.str] role: ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources.
|
|
2688
2707
|
|
|
2689
2708
|
The following arguments are optional:
|
|
@@ -2741,6 +2760,7 @@ class Function(pulumi.CustomResource):
|
|
|
2741
2760
|
__props__.__dict__["replace_security_groups_on_destroy"] = replace_security_groups_on_destroy
|
|
2742
2761
|
__props__.__dict__["replacement_security_group_ids"] = replacement_security_group_ids
|
|
2743
2762
|
__props__.__dict__["reserved_concurrent_executions"] = reserved_concurrent_executions
|
|
2763
|
+
__props__.__dict__["response_streaming_invoke_arn"] = response_streaming_invoke_arn
|
|
2744
2764
|
__props__.__dict__["role"] = role
|
|
2745
2765
|
__props__.__dict__["runtime"] = runtime
|
|
2746
2766
|
__props__.__dict__["s3_bucket"] = s3_bucket
|
|
@@ -3010,6 +3030,14 @@ class Function(pulumi.CustomResource):
|
|
|
3010
3030
|
"""
|
|
3011
3031
|
return pulumi.get(self, "reserved_concurrent_executions")
|
|
3012
3032
|
|
|
3033
|
+
@_builtins.property
|
|
3034
|
+
@pulumi.getter(name="responseStreamingInvokeArn")
|
|
3035
|
+
def response_streaming_invoke_arn(self) -> pulumi.Output[_builtins.str]:
|
|
3036
|
+
"""
|
|
3037
|
+
ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `apigateway.Integration`'s `uri`.
|
|
3038
|
+
"""
|
|
3039
|
+
return pulumi.get(self, "response_streaming_invoke_arn")
|
|
3040
|
+
|
|
3013
3041
|
@_builtins.property
|
|
3014
3042
|
@pulumi.getter
|
|
3015
3043
|
def role(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -296,6 +296,8 @@ class FunctionUrl(pulumi.CustomResource):
|
|
|
296
296
|
"""
|
|
297
297
|
Manages a Lambda function URL. Creates a dedicated HTTP(S) endpoint for a Lambda function to enable direct invocation via HTTP requests.
|
|
298
298
|
|
|
299
|
+
> **NOTE:** When [`authorization_type` is `"NONE"`](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html#urls-auth-none) the `lambda:InvokeFunctionUrl` permission allowing a public endpoint and `lambda:InvokeFunction` permission with the `InvokedViaFunctionUrl` flag set to `true` are automatically added to the Lambda function on creation. These policies are NOT removed from AWS when the resource is destroyed.
|
|
300
|
+
|
|
299
301
|
## Example Usage
|
|
300
302
|
|
|
301
303
|
### Basic Function URL with No Authentication
|
|
@@ -367,6 +369,8 @@ class FunctionUrl(pulumi.CustomResource):
|
|
|
367
369
|
"""
|
|
368
370
|
Manages a Lambda function URL. Creates a dedicated HTTP(S) endpoint for a Lambda function to enable direct invocation via HTTP requests.
|
|
369
371
|
|
|
372
|
+
> **NOTE:** When [`authorization_type` is `"NONE"`](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html#urls-auth-none) the `lambda:InvokeFunctionUrl` permission allowing a public endpoint and `lambda:InvokeFunction` permission with the `InvokedViaFunctionUrl` flag set to `true` are automatically added to the Lambda function on creation. These policies are NOT removed from AWS when the resource is destroyed.
|
|
373
|
+
|
|
370
374
|
## Example Usage
|
|
371
375
|
|
|
372
376
|
### Basic Function URL with No Authentication
|
|
@@ -27,7 +27,7 @@ class GetFunctionResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getFunction.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, architectures=None, arn=None, capacity_provider_configs=None, code_sha256=None, code_signing_config_arn=None, dead_letter_config=None, description=None, durable_configs=None, environment=None, ephemeral_storages=None, file_system_configs=None, function_name=None, handler=None, id=None, image_uri=None, invoke_arn=None, kms_key_arn=None, last_modified=None, layers=None, logging_configs=None, memory_size=None, qualified_arn=None, qualified_invoke_arn=None, qualifier=None, region=None, reserved_concurrent_executions=None, role=None, runtime=None, signing_job_arn=None, signing_profile_version_arn=None, source_code_hash=None, source_code_size=None, source_kms_key_arn=None, tags=None, tenancy_configs=None, timeout=None, tracing_config=None, version=None, vpc_config=None):
|
|
30
|
+
def __init__(__self__, architectures=None, arn=None, capacity_provider_configs=None, code_sha256=None, code_signing_config_arn=None, dead_letter_config=None, description=None, durable_configs=None, environment=None, ephemeral_storages=None, file_system_configs=None, function_name=None, handler=None, id=None, image_uri=None, invoke_arn=None, kms_key_arn=None, last_modified=None, layers=None, logging_configs=None, memory_size=None, qualified_arn=None, qualified_invoke_arn=None, qualifier=None, region=None, reserved_concurrent_executions=None, response_streaming_invoke_arn=None, role=None, runtime=None, signing_job_arn=None, signing_profile_version_arn=None, source_code_hash=None, source_code_size=None, source_kms_key_arn=None, tags=None, tenancy_configs=None, timeout=None, tracing_config=None, version=None, vpc_config=None):
|
|
31
31
|
if architectures and not isinstance(architectures, list):
|
|
32
32
|
raise TypeError("Expected argument 'architectures' to be a list")
|
|
33
33
|
pulumi.set(__self__, "architectures", architectures)
|
|
@@ -106,6 +106,9 @@ class GetFunctionResult:
|
|
|
106
106
|
if reserved_concurrent_executions and not isinstance(reserved_concurrent_executions, int):
|
|
107
107
|
raise TypeError("Expected argument 'reserved_concurrent_executions' to be a int")
|
|
108
108
|
pulumi.set(__self__, "reserved_concurrent_executions", reserved_concurrent_executions)
|
|
109
|
+
if response_streaming_invoke_arn and not isinstance(response_streaming_invoke_arn, str):
|
|
110
|
+
raise TypeError("Expected argument 'response_streaming_invoke_arn' to be a str")
|
|
111
|
+
pulumi.set(__self__, "response_streaming_invoke_arn", response_streaming_invoke_arn)
|
|
109
112
|
if role and not isinstance(role, str):
|
|
110
113
|
raise TypeError("Expected argument 'role' to be a str")
|
|
111
114
|
pulumi.set(__self__, "role", role)
|
|
@@ -345,6 +348,14 @@ class GetFunctionResult:
|
|
|
345
348
|
"""
|
|
346
349
|
return pulumi.get(self, "reserved_concurrent_executions")
|
|
347
350
|
|
|
351
|
+
@_builtins.property
|
|
352
|
+
@pulumi.getter(name="responseStreamingInvokeArn")
|
|
353
|
+
def response_streaming_invoke_arn(self) -> _builtins.str:
|
|
354
|
+
"""
|
|
355
|
+
ARN to be used for invoking Lambda Function from API Gateway with response streaming.
|
|
356
|
+
"""
|
|
357
|
+
return pulumi.get(self, "response_streaming_invoke_arn")
|
|
358
|
+
|
|
348
359
|
@_builtins.property
|
|
349
360
|
@pulumi.getter
|
|
350
361
|
def role(self) -> _builtins.str:
|
|
@@ -483,6 +494,7 @@ class AwaitableGetFunctionResult(GetFunctionResult):
|
|
|
483
494
|
qualifier=self.qualifier,
|
|
484
495
|
region=self.region,
|
|
485
496
|
reserved_concurrent_executions=self.reserved_concurrent_executions,
|
|
497
|
+
response_streaming_invoke_arn=self.response_streaming_invoke_arn,
|
|
486
498
|
role=self.role,
|
|
487
499
|
runtime=self.runtime,
|
|
488
500
|
signing_job_arn=self.signing_job_arn,
|
|
@@ -651,6 +663,7 @@ def get_function(function_name: Optional[_builtins.str] = None,
|
|
|
651
663
|
qualifier=pulumi.get(__ret__, 'qualifier'),
|
|
652
664
|
region=pulumi.get(__ret__, 'region'),
|
|
653
665
|
reserved_concurrent_executions=pulumi.get(__ret__, 'reserved_concurrent_executions'),
|
|
666
|
+
response_streaming_invoke_arn=pulumi.get(__ret__, 'response_streaming_invoke_arn'),
|
|
654
667
|
role=pulumi.get(__ret__, 'role'),
|
|
655
668
|
runtime=pulumi.get(__ret__, 'runtime'),
|
|
656
669
|
signing_job_arn=pulumi.get(__ret__, 'signing_job_arn'),
|
|
@@ -816,6 +829,7 @@ def get_function_output(function_name: Optional[pulumi.Input[_builtins.str]] = N
|
|
|
816
829
|
qualifier=pulumi.get(__response__, 'qualifier'),
|
|
817
830
|
region=pulumi.get(__response__, 'region'),
|
|
818
831
|
reserved_concurrent_executions=pulumi.get(__response__, 'reserved_concurrent_executions'),
|
|
832
|
+
response_streaming_invoke_arn=pulumi.get(__response__, 'response_streaming_invoke_arn'),
|
|
819
833
|
role=pulumi.get(__response__, 'role'),
|
|
820
834
|
runtime=pulumi.get(__response__, 'runtime'),
|
|
821
835
|
signing_job_arn=pulumi.get(__response__, 'signing_job_arn'),
|
pulumi_aws/lambda_/outputs.py
CHANGED
|
@@ -709,7 +709,7 @@ class EventSourceMappingDestinationConfigOnFailure(dict):
|
|
|
709
709
|
def __init__(__self__, *,
|
|
710
710
|
destination_arn: _builtins.str):
|
|
711
711
|
"""
|
|
712
|
-
:param _builtins.str destination_arn: ARN of the destination resource.
|
|
712
|
+
:param _builtins.str destination_arn: ARN of the destination resource, or `kafka://your-topic-name` for Amazon MSK and self-managed Apache Kafka destinations.
|
|
713
713
|
"""
|
|
714
714
|
pulumi.set(__self__, "destination_arn", destination_arn)
|
|
715
715
|
|
|
@@ -717,7 +717,7 @@ class EventSourceMappingDestinationConfigOnFailure(dict):
|
|
|
717
717
|
@pulumi.getter(name="destinationArn")
|
|
718
718
|
def destination_arn(self) -> _builtins.str:
|
|
719
719
|
"""
|
|
720
|
-
ARN of the destination resource.
|
|
720
|
+
ARN of the destination resource, or `kafka://your-topic-name` for Amazon MSK and self-managed Apache Kafka destinations.
|
|
721
721
|
"""
|
|
722
722
|
return pulumi.get(self, "destination_arn")
|
|
723
723
|
|
|
@@ -850,6 +850,8 @@ class EventSourceMappingProvisionedPollerConfig(dict):
|
|
|
850
850
|
suggest = "maximum_pollers"
|
|
851
851
|
elif key == "minimumPollers":
|
|
852
852
|
suggest = "minimum_pollers"
|
|
853
|
+
elif key == "pollerGroupName":
|
|
854
|
+
suggest = "poller_group_name"
|
|
853
855
|
|
|
854
856
|
if suggest:
|
|
855
857
|
pulumi.log.warn(f"Key '{key}' not found in EventSourceMappingProvisionedPollerConfig. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -864,15 +866,19 @@ class EventSourceMappingProvisionedPollerConfig(dict):
|
|
|
864
866
|
|
|
865
867
|
def __init__(__self__, *,
|
|
866
868
|
maximum_pollers: Optional[_builtins.int] = None,
|
|
867
|
-
minimum_pollers: Optional[_builtins.int] = None
|
|
869
|
+
minimum_pollers: Optional[_builtins.int] = None,
|
|
870
|
+
poller_group_name: Optional[_builtins.str] = None):
|
|
868
871
|
"""
|
|
869
872
|
:param _builtins.int maximum_pollers: Maximum number of event pollers this event source can scale up to. The range is between 1 and 2000.
|
|
870
873
|
:param _builtins.int minimum_pollers: Minimum number of event pollers this event source can scale down to. The range is between 1 and 200.
|
|
874
|
+
:param _builtins.str poller_group_name: The name of the provisioned poller group used to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
871
875
|
"""
|
|
872
876
|
if maximum_pollers is not None:
|
|
873
877
|
pulumi.set(__self__, "maximum_pollers", maximum_pollers)
|
|
874
878
|
if minimum_pollers is not None:
|
|
875
879
|
pulumi.set(__self__, "minimum_pollers", minimum_pollers)
|
|
880
|
+
if poller_group_name is not None:
|
|
881
|
+
pulumi.set(__self__, "poller_group_name", poller_group_name)
|
|
876
882
|
|
|
877
883
|
@_builtins.property
|
|
878
884
|
@pulumi.getter(name="maximumPollers")
|
|
@@ -890,6 +896,14 @@ class EventSourceMappingProvisionedPollerConfig(dict):
|
|
|
890
896
|
"""
|
|
891
897
|
return pulumi.get(self, "minimum_pollers")
|
|
892
898
|
|
|
899
|
+
@_builtins.property
|
|
900
|
+
@pulumi.getter(name="pollerGroupName")
|
|
901
|
+
def poller_group_name(self) -> Optional[_builtins.str]:
|
|
902
|
+
"""
|
|
903
|
+
The name of the provisioned poller group used to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
904
|
+
"""
|
|
905
|
+
return pulumi.get(self, "poller_group_name")
|
|
906
|
+
|
|
893
907
|
|
|
894
908
|
@pulumi.output_type
|
|
895
909
|
class EventSourceMappingScalingConfig(dict):
|
pulumi_aws/lambda_/permission.py
CHANGED
|
@@ -24,6 +24,7 @@ class PermissionArgs:
|
|
|
24
24
|
principal: pulumi.Input[_builtins.str],
|
|
25
25
|
event_source_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
26
|
function_url_auth_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
invoked_via_function_url: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
28
|
principal_org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
29
|
qualifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
30
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -40,6 +41,7 @@ class PermissionArgs:
|
|
|
40
41
|
The following arguments are optional:
|
|
41
42
|
:param pulumi.Input[_builtins.str] event_source_token: Event Source Token for Alexa Skills
|
|
42
43
|
:param pulumi.Input[_builtins.str] function_url_auth_type: Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
|
|
44
|
+
:param pulumi.Input[_builtins.bool] invoked_via_function_url: Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
43
45
|
:param pulumi.Input[_builtins.str] principal_org_id: AWS Organizations ID to grant permission to all accounts under this organization
|
|
44
46
|
:param pulumi.Input[_builtins.str] qualifier: Lambda function version or alias name
|
|
45
47
|
: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
|
|
@@ -55,6 +57,8 @@ class PermissionArgs:
|
|
|
55
57
|
pulumi.set(__self__, "event_source_token", event_source_token)
|
|
56
58
|
if function_url_auth_type is not None:
|
|
57
59
|
pulumi.set(__self__, "function_url_auth_type", function_url_auth_type)
|
|
60
|
+
if invoked_via_function_url is not None:
|
|
61
|
+
pulumi.set(__self__, "invoked_via_function_url", invoked_via_function_url)
|
|
58
62
|
if principal_org_id is not None:
|
|
59
63
|
pulumi.set(__self__, "principal_org_id", principal_org_id)
|
|
60
64
|
if qualifier is not None:
|
|
@@ -132,6 +136,18 @@ class PermissionArgs:
|
|
|
132
136
|
def function_url_auth_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
137
|
pulumi.set(self, "function_url_auth_type", value)
|
|
134
138
|
|
|
139
|
+
@_builtins.property
|
|
140
|
+
@pulumi.getter(name="invokedViaFunctionUrl")
|
|
141
|
+
def invoked_via_function_url(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
142
|
+
"""
|
|
143
|
+
Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "invoked_via_function_url")
|
|
146
|
+
|
|
147
|
+
@invoked_via_function_url.setter
|
|
148
|
+
def invoked_via_function_url(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
149
|
+
pulumi.set(self, "invoked_via_function_url", value)
|
|
150
|
+
|
|
135
151
|
@_builtins.property
|
|
136
152
|
@pulumi.getter(name="principalOrgId")
|
|
137
153
|
def principal_org_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -224,6 +240,7 @@ class _PermissionState:
|
|
|
224
240
|
event_source_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
225
241
|
function: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
242
|
function_url_auth_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
|
+
invoked_via_function_url: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
227
244
|
principal: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
245
|
principal_org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
229
246
|
qualifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -238,6 +255,7 @@ class _PermissionState:
|
|
|
238
255
|
:param pulumi.Input[_builtins.str] event_source_token: Event Source Token for Alexa Skills
|
|
239
256
|
:param pulumi.Input[_builtins.str] function: Name or ARN of the Lambda function
|
|
240
257
|
:param pulumi.Input[_builtins.str] function_url_auth_type: Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
|
|
258
|
+
:param pulumi.Input[_builtins.bool] invoked_via_function_url: Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
241
259
|
:param pulumi.Input[_builtins.str] principal: AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
|
|
242
260
|
|
|
243
261
|
The following arguments are optional:
|
|
@@ -257,6 +275,8 @@ class _PermissionState:
|
|
|
257
275
|
pulumi.set(__self__, "function", function)
|
|
258
276
|
if function_url_auth_type is not None:
|
|
259
277
|
pulumi.set(__self__, "function_url_auth_type", function_url_auth_type)
|
|
278
|
+
if invoked_via_function_url is not None:
|
|
279
|
+
pulumi.set(__self__, "invoked_via_function_url", invoked_via_function_url)
|
|
260
280
|
if principal is not None:
|
|
261
281
|
pulumi.set(__self__, "principal", principal)
|
|
262
282
|
if principal_org_id is not None:
|
|
@@ -322,6 +342,18 @@ class _PermissionState:
|
|
|
322
342
|
def function_url_auth_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
323
343
|
pulumi.set(self, "function_url_auth_type", value)
|
|
324
344
|
|
|
345
|
+
@_builtins.property
|
|
346
|
+
@pulumi.getter(name="invokedViaFunctionUrl")
|
|
347
|
+
def invoked_via_function_url(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
348
|
+
"""
|
|
349
|
+
Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
350
|
+
"""
|
|
351
|
+
return pulumi.get(self, "invoked_via_function_url")
|
|
352
|
+
|
|
353
|
+
@invoked_via_function_url.setter
|
|
354
|
+
def invoked_via_function_url(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
355
|
+
pulumi.set(self, "invoked_via_function_url", value)
|
|
356
|
+
|
|
325
357
|
@_builtins.property
|
|
326
358
|
@pulumi.getter
|
|
327
359
|
def principal(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -431,6 +463,7 @@ class Permission(pulumi.CustomResource):
|
|
|
431
463
|
event_source_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
464
|
function: Optional[pulumi.Input[_builtins.str]] = None,
|
|
433
465
|
function_url_auth_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
466
|
+
invoked_via_function_url: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
434
467
|
principal: Optional[pulumi.Input[_builtins.str]] = None,
|
|
435
468
|
principal_org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
436
469
|
qualifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -601,6 +634,7 @@ class Permission(pulumi.CustomResource):
|
|
|
601
634
|
:param pulumi.Input[_builtins.str] event_source_token: Event Source Token for Alexa Skills
|
|
602
635
|
:param pulumi.Input[_builtins.str] function: Name or ARN of the Lambda function
|
|
603
636
|
:param pulumi.Input[_builtins.str] function_url_auth_type: Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
|
|
637
|
+
:param pulumi.Input[_builtins.bool] invoked_via_function_url: Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
604
638
|
:param pulumi.Input[_builtins.str] principal: AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
|
|
605
639
|
|
|
606
640
|
The following arguments are optional:
|
|
@@ -792,6 +826,7 @@ class Permission(pulumi.CustomResource):
|
|
|
792
826
|
event_source_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
793
827
|
function: Optional[pulumi.Input[_builtins.str]] = None,
|
|
794
828
|
function_url_auth_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
829
|
+
invoked_via_function_url: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
795
830
|
principal: Optional[pulumi.Input[_builtins.str]] = None,
|
|
796
831
|
principal_org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
797
832
|
qualifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -817,6 +852,7 @@ class Permission(pulumi.CustomResource):
|
|
|
817
852
|
raise TypeError("Missing required property 'function'")
|
|
818
853
|
__props__.__dict__["function"] = function
|
|
819
854
|
__props__.__dict__["function_url_auth_type"] = function_url_auth_type
|
|
855
|
+
__props__.__dict__["invoked_via_function_url"] = invoked_via_function_url
|
|
820
856
|
if principal is None and not opts.urn:
|
|
821
857
|
raise TypeError("Missing required property 'principal'")
|
|
822
858
|
__props__.__dict__["principal"] = principal
|
|
@@ -841,6 +877,7 @@ class Permission(pulumi.CustomResource):
|
|
|
841
877
|
event_source_token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
842
878
|
function: Optional[pulumi.Input[_builtins.str]] = None,
|
|
843
879
|
function_url_auth_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
880
|
+
invoked_via_function_url: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
844
881
|
principal: Optional[pulumi.Input[_builtins.str]] = None,
|
|
845
882
|
principal_org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
846
883
|
qualifier: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -860,6 +897,7 @@ class Permission(pulumi.CustomResource):
|
|
|
860
897
|
:param pulumi.Input[_builtins.str] event_source_token: Event Source Token for Alexa Skills
|
|
861
898
|
:param pulumi.Input[_builtins.str] function: Name or ARN of the Lambda function
|
|
862
899
|
:param pulumi.Input[_builtins.str] function_url_auth_type: Lambda Function URL authentication type. Valid values: `AWS_IAM` or `NONE`. Only valid with `lambda:InvokeFunctionUrl` action
|
|
900
|
+
:param pulumi.Input[_builtins.bool] invoked_via_function_url: Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
863
901
|
:param pulumi.Input[_builtins.str] principal: AWS service or account that invokes the function (e.g., `s3.amazonaws.com`, `sns.amazonaws.com`, AWS account ID, or AWS IAM principal)
|
|
864
902
|
|
|
865
903
|
The following arguments are optional:
|
|
@@ -879,6 +917,7 @@ class Permission(pulumi.CustomResource):
|
|
|
879
917
|
__props__.__dict__["event_source_token"] = event_source_token
|
|
880
918
|
__props__.__dict__["function"] = function
|
|
881
919
|
__props__.__dict__["function_url_auth_type"] = function_url_auth_type
|
|
920
|
+
__props__.__dict__["invoked_via_function_url"] = invoked_via_function_url
|
|
882
921
|
__props__.__dict__["principal"] = principal
|
|
883
922
|
__props__.__dict__["principal_org_id"] = principal_org_id
|
|
884
923
|
__props__.__dict__["qualifier"] = qualifier
|
|
@@ -921,6 +960,14 @@ class Permission(pulumi.CustomResource):
|
|
|
921
960
|
"""
|
|
922
961
|
return pulumi.get(self, "function_url_auth_type")
|
|
923
962
|
|
|
963
|
+
@_builtins.property
|
|
964
|
+
@pulumi.getter(name="invokedViaFunctionUrl")
|
|
965
|
+
def invoked_via_function_url(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
966
|
+
"""
|
|
967
|
+
Lambda Function URL invoke permission. Only valid with `lambda:InvokeFunction` action
|
|
968
|
+
"""
|
|
969
|
+
return pulumi.get(self, "invoked_via_function_url")
|
|
970
|
+
|
|
924
971
|
@_builtins.property
|
|
925
972
|
@pulumi.getter
|
|
926
973
|
def principal(self) -> pulumi.Output[_builtins.str]:
|