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
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['TenantArgs', 'Tenant']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class TenantArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
tenant_name: pulumi.Input[_builtins.str],
|
|
23
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a Tenant resource.
|
|
27
|
+
:param pulumi.Input[_builtins.str] tenant_name: Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
28
|
+
|
|
29
|
+
The following arguments are optional:
|
|
30
|
+
: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.
|
|
31
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the tenant.
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "tenant_name", tenant_name)
|
|
34
|
+
if region is not None:
|
|
35
|
+
pulumi.set(__self__, "region", region)
|
|
36
|
+
if tags is not None:
|
|
37
|
+
pulumi.set(__self__, "tags", tags)
|
|
38
|
+
|
|
39
|
+
@_builtins.property
|
|
40
|
+
@pulumi.getter(name="tenantName")
|
|
41
|
+
def tenant_name(self) -> pulumi.Input[_builtins.str]:
|
|
42
|
+
"""
|
|
43
|
+
Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
44
|
+
|
|
45
|
+
The following arguments are optional:
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "tenant_name")
|
|
48
|
+
|
|
49
|
+
@tenant_name.setter
|
|
50
|
+
def tenant_name(self, value: pulumi.Input[_builtins.str]):
|
|
51
|
+
pulumi.set(self, "tenant_name", value)
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
56
|
+
"""
|
|
57
|
+
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.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "region")
|
|
60
|
+
|
|
61
|
+
@region.setter
|
|
62
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
63
|
+
pulumi.set(self, "region", value)
|
|
64
|
+
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter
|
|
67
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
68
|
+
"""
|
|
69
|
+
Map of tags to assign to the tenant.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "tags")
|
|
72
|
+
|
|
73
|
+
@tags.setter
|
|
74
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
75
|
+
pulumi.set(self, "tags", value)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
@pulumi.input_type
|
|
79
|
+
class _TenantState:
|
|
80
|
+
def __init__(__self__, *,
|
|
81
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
82
|
+
sending_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
83
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
84
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
85
|
+
tenant_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
86
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
87
|
+
tenant_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
88
|
+
"""
|
|
89
|
+
Input properties used for looking up and filtering Tenant resources.
|
|
90
|
+
: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.
|
|
91
|
+
:param pulumi.Input[_builtins.str] sending_status: Current sending status of the tenant.
|
|
92
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the tenant.
|
|
93
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the tenant, including provider default tags.
|
|
94
|
+
:param pulumi.Input[_builtins.str] tenant_arn: ARN of the Tenant.
|
|
95
|
+
:param pulumi.Input[_builtins.str] tenant_id: ID of the Tenant.
|
|
96
|
+
:param pulumi.Input[_builtins.str] tenant_name: Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
97
|
+
|
|
98
|
+
The following arguments are optional:
|
|
99
|
+
"""
|
|
100
|
+
if region is not None:
|
|
101
|
+
pulumi.set(__self__, "region", region)
|
|
102
|
+
if sending_status is not None:
|
|
103
|
+
pulumi.set(__self__, "sending_status", sending_status)
|
|
104
|
+
if tags is not None:
|
|
105
|
+
pulumi.set(__self__, "tags", tags)
|
|
106
|
+
if tags_all is not None:
|
|
107
|
+
pulumi.set(__self__, "tags_all", tags_all)
|
|
108
|
+
if tenant_arn is not None:
|
|
109
|
+
pulumi.set(__self__, "tenant_arn", tenant_arn)
|
|
110
|
+
if tenant_id is not None:
|
|
111
|
+
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
112
|
+
if tenant_name is not None:
|
|
113
|
+
pulumi.set(__self__, "tenant_name", tenant_name)
|
|
114
|
+
|
|
115
|
+
@_builtins.property
|
|
116
|
+
@pulumi.getter
|
|
117
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
118
|
+
"""
|
|
119
|
+
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.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "region")
|
|
122
|
+
|
|
123
|
+
@region.setter
|
|
124
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
125
|
+
pulumi.set(self, "region", value)
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter(name="sendingStatus")
|
|
129
|
+
def sending_status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
|
+
"""
|
|
131
|
+
Current sending status of the tenant.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "sending_status")
|
|
134
|
+
|
|
135
|
+
@sending_status.setter
|
|
136
|
+
def sending_status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
137
|
+
pulumi.set(self, "sending_status", value)
|
|
138
|
+
|
|
139
|
+
@_builtins.property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
142
|
+
"""
|
|
143
|
+
Map of tags to assign to the tenant.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "tags")
|
|
146
|
+
|
|
147
|
+
@tags.setter
|
|
148
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
149
|
+
pulumi.set(self, "tags", value)
|
|
150
|
+
|
|
151
|
+
@_builtins.property
|
|
152
|
+
@pulumi.getter(name="tagsAll")
|
|
153
|
+
def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
154
|
+
"""
|
|
155
|
+
Map of tags assigned to the tenant, including provider default tags.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "tags_all")
|
|
158
|
+
|
|
159
|
+
@tags_all.setter
|
|
160
|
+
def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
161
|
+
pulumi.set(self, "tags_all", value)
|
|
162
|
+
|
|
163
|
+
@_builtins.property
|
|
164
|
+
@pulumi.getter(name="tenantArn")
|
|
165
|
+
def tenant_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
|
+
"""
|
|
167
|
+
ARN of the Tenant.
|
|
168
|
+
"""
|
|
169
|
+
return pulumi.get(self, "tenant_arn")
|
|
170
|
+
|
|
171
|
+
@tenant_arn.setter
|
|
172
|
+
def tenant_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
173
|
+
pulumi.set(self, "tenant_arn", value)
|
|
174
|
+
|
|
175
|
+
@_builtins.property
|
|
176
|
+
@pulumi.getter(name="tenantId")
|
|
177
|
+
def tenant_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
|
+
"""
|
|
179
|
+
ID of the Tenant.
|
|
180
|
+
"""
|
|
181
|
+
return pulumi.get(self, "tenant_id")
|
|
182
|
+
|
|
183
|
+
@tenant_id.setter
|
|
184
|
+
def tenant_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
185
|
+
pulumi.set(self, "tenant_id", value)
|
|
186
|
+
|
|
187
|
+
@_builtins.property
|
|
188
|
+
@pulumi.getter(name="tenantName")
|
|
189
|
+
def tenant_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
190
|
+
"""
|
|
191
|
+
Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
192
|
+
|
|
193
|
+
The following arguments are optional:
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "tenant_name")
|
|
196
|
+
|
|
197
|
+
@tenant_name.setter
|
|
198
|
+
def tenant_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
199
|
+
pulumi.set(self, "tenant_name", value)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
@pulumi.type_token("aws:sesv2/tenant:Tenant")
|
|
203
|
+
class Tenant(pulumi.CustomResource):
|
|
204
|
+
@overload
|
|
205
|
+
def __init__(__self__,
|
|
206
|
+
resource_name: str,
|
|
207
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
208
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
209
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
210
|
+
tenant_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
211
|
+
__props__=None):
|
|
212
|
+
"""
|
|
213
|
+
Manages an AWS SESv2 (Simple Email V2) Tenant.
|
|
214
|
+
|
|
215
|
+
## Example Usage
|
|
216
|
+
|
|
217
|
+
### Basic Usage
|
|
218
|
+
|
|
219
|
+
```python
|
|
220
|
+
import pulumi
|
|
221
|
+
import pulumi_aws as aws
|
|
222
|
+
|
|
223
|
+
example = aws.sesv2.Tenant("example",
|
|
224
|
+
tenant_name="example-tenant",
|
|
225
|
+
tags={
|
|
226
|
+
"Environment": "test",
|
|
227
|
+
})
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Import
|
|
231
|
+
|
|
232
|
+
Using `pulumi import`, import an SESv2 Tenant using the `tenant_name`. For example:
|
|
233
|
+
|
|
234
|
+
```sh
|
|
235
|
+
$ pulumi import aws:sesv2/tenant:Tenant example example-tenant
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
:param str resource_name: The name of the resource.
|
|
239
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
240
|
+
: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.
|
|
241
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the tenant.
|
|
242
|
+
:param pulumi.Input[_builtins.str] tenant_name: Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
243
|
+
|
|
244
|
+
The following arguments are optional:
|
|
245
|
+
"""
|
|
246
|
+
...
|
|
247
|
+
@overload
|
|
248
|
+
def __init__(__self__,
|
|
249
|
+
resource_name: str,
|
|
250
|
+
args: TenantArgs,
|
|
251
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
252
|
+
"""
|
|
253
|
+
Manages an AWS SESv2 (Simple Email V2) Tenant.
|
|
254
|
+
|
|
255
|
+
## Example Usage
|
|
256
|
+
|
|
257
|
+
### Basic Usage
|
|
258
|
+
|
|
259
|
+
```python
|
|
260
|
+
import pulumi
|
|
261
|
+
import pulumi_aws as aws
|
|
262
|
+
|
|
263
|
+
example = aws.sesv2.Tenant("example",
|
|
264
|
+
tenant_name="example-tenant",
|
|
265
|
+
tags={
|
|
266
|
+
"Environment": "test",
|
|
267
|
+
})
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## Import
|
|
271
|
+
|
|
272
|
+
Using `pulumi import`, import an SESv2 Tenant using the `tenant_name`. For example:
|
|
273
|
+
|
|
274
|
+
```sh
|
|
275
|
+
$ pulumi import aws:sesv2/tenant:Tenant example example-tenant
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
:param str resource_name: The name of the resource.
|
|
279
|
+
:param TenantArgs args: The arguments to use to populate this resource's properties.
|
|
280
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
281
|
+
"""
|
|
282
|
+
...
|
|
283
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
284
|
+
resource_args, opts = _utilities.get_resource_args_opts(TenantArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
285
|
+
if resource_args is not None:
|
|
286
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
287
|
+
else:
|
|
288
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
289
|
+
|
|
290
|
+
def _internal_init(__self__,
|
|
291
|
+
resource_name: str,
|
|
292
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
295
|
+
tenant_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
__props__=None):
|
|
297
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
298
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
299
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
300
|
+
if opts.id is None:
|
|
301
|
+
if __props__ is not None:
|
|
302
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
303
|
+
__props__ = TenantArgs.__new__(TenantArgs)
|
|
304
|
+
|
|
305
|
+
__props__.__dict__["region"] = region
|
|
306
|
+
__props__.__dict__["tags"] = tags
|
|
307
|
+
if tenant_name is None and not opts.urn:
|
|
308
|
+
raise TypeError("Missing required property 'tenant_name'")
|
|
309
|
+
__props__.__dict__["tenant_name"] = tenant_name
|
|
310
|
+
__props__.__dict__["sending_status"] = None
|
|
311
|
+
__props__.__dict__["tags_all"] = None
|
|
312
|
+
__props__.__dict__["tenant_arn"] = None
|
|
313
|
+
__props__.__dict__["tenant_id"] = None
|
|
314
|
+
super(Tenant, __self__).__init__(
|
|
315
|
+
'aws:sesv2/tenant:Tenant',
|
|
316
|
+
resource_name,
|
|
317
|
+
__props__,
|
|
318
|
+
opts)
|
|
319
|
+
|
|
320
|
+
@staticmethod
|
|
321
|
+
def get(resource_name: str,
|
|
322
|
+
id: pulumi.Input[str],
|
|
323
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
324
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
325
|
+
sending_status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
326
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
327
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
328
|
+
tenant_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
tenant_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
|
+
tenant_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'Tenant':
|
|
331
|
+
"""
|
|
332
|
+
Get an existing Tenant resource's state with the given name, id, and optional extra
|
|
333
|
+
properties used to qualify the lookup.
|
|
334
|
+
|
|
335
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
336
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
337
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
338
|
+
: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.
|
|
339
|
+
:param pulumi.Input[_builtins.str] sending_status: Current sending status of the tenant.
|
|
340
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the tenant.
|
|
341
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the tenant, including provider default tags.
|
|
342
|
+
:param pulumi.Input[_builtins.str] tenant_arn: ARN of the Tenant.
|
|
343
|
+
:param pulumi.Input[_builtins.str] tenant_id: ID of the Tenant.
|
|
344
|
+
:param pulumi.Input[_builtins.str] tenant_name: Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
345
|
+
|
|
346
|
+
The following arguments are optional:
|
|
347
|
+
"""
|
|
348
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
349
|
+
|
|
350
|
+
__props__ = _TenantState.__new__(_TenantState)
|
|
351
|
+
|
|
352
|
+
__props__.__dict__["region"] = region
|
|
353
|
+
__props__.__dict__["sending_status"] = sending_status
|
|
354
|
+
__props__.__dict__["tags"] = tags
|
|
355
|
+
__props__.__dict__["tags_all"] = tags_all
|
|
356
|
+
__props__.__dict__["tenant_arn"] = tenant_arn
|
|
357
|
+
__props__.__dict__["tenant_id"] = tenant_id
|
|
358
|
+
__props__.__dict__["tenant_name"] = tenant_name
|
|
359
|
+
return Tenant(resource_name, opts=opts, __props__=__props__)
|
|
360
|
+
|
|
361
|
+
@_builtins.property
|
|
362
|
+
@pulumi.getter
|
|
363
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
364
|
+
"""
|
|
365
|
+
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.
|
|
366
|
+
"""
|
|
367
|
+
return pulumi.get(self, "region")
|
|
368
|
+
|
|
369
|
+
@_builtins.property
|
|
370
|
+
@pulumi.getter(name="sendingStatus")
|
|
371
|
+
def sending_status(self) -> pulumi.Output[_builtins.str]:
|
|
372
|
+
"""
|
|
373
|
+
Current sending status of the tenant.
|
|
374
|
+
"""
|
|
375
|
+
return pulumi.get(self, "sending_status")
|
|
376
|
+
|
|
377
|
+
@_builtins.property
|
|
378
|
+
@pulumi.getter
|
|
379
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
380
|
+
"""
|
|
381
|
+
Map of tags to assign to the tenant.
|
|
382
|
+
"""
|
|
383
|
+
return pulumi.get(self, "tags")
|
|
384
|
+
|
|
385
|
+
@_builtins.property
|
|
386
|
+
@pulumi.getter(name="tagsAll")
|
|
387
|
+
def tags_all(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
388
|
+
"""
|
|
389
|
+
Map of tags assigned to the tenant, including provider default tags.
|
|
390
|
+
"""
|
|
391
|
+
return pulumi.get(self, "tags_all")
|
|
392
|
+
|
|
393
|
+
@_builtins.property
|
|
394
|
+
@pulumi.getter(name="tenantArn")
|
|
395
|
+
def tenant_arn(self) -> pulumi.Output[_builtins.str]:
|
|
396
|
+
"""
|
|
397
|
+
ARN of the Tenant.
|
|
398
|
+
"""
|
|
399
|
+
return pulumi.get(self, "tenant_arn")
|
|
400
|
+
|
|
401
|
+
@_builtins.property
|
|
402
|
+
@pulumi.getter(name="tenantId")
|
|
403
|
+
def tenant_id(self) -> pulumi.Output[_builtins.str]:
|
|
404
|
+
"""
|
|
405
|
+
ID of the Tenant.
|
|
406
|
+
"""
|
|
407
|
+
return pulumi.get(self, "tenant_id")
|
|
408
|
+
|
|
409
|
+
@_builtins.property
|
|
410
|
+
@pulumi.getter(name="tenantName")
|
|
411
|
+
def tenant_name(self) -> pulumi.Output[_builtins.str]:
|
|
412
|
+
"""
|
|
413
|
+
Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
|
|
414
|
+
|
|
415
|
+
The following arguments are optional:
|
|
416
|
+
"""
|
|
417
|
+
return pulumi.get(self, "tenant_name")
|
|
418
|
+
|
pulumi_aws/sfn/activity.py
CHANGED
|
@@ -254,8 +254,6 @@ class Activity(pulumi.CustomResource):
|
|
|
254
254
|
|
|
255
255
|
## Import
|
|
256
256
|
|
|
257
|
-
In Terraform v1.12.0 and later, the `import` block can be used with the `identity` attribute. For example:
|
|
258
|
-
|
|
259
257
|
Using `pulumi import`, import activities using the `arn`. For example:
|
|
260
258
|
|
|
261
259
|
```sh
|
|
@@ -308,8 +306,6 @@ class Activity(pulumi.CustomResource):
|
|
|
308
306
|
|
|
309
307
|
## Import
|
|
310
308
|
|
|
311
|
-
In Terraform v1.12.0 and later, the `import` block can be used with the `identity` attribute. For example:
|
|
312
|
-
|
|
313
309
|
Using `pulumi import`, import activities using the `arn`. For example:
|
|
314
310
|
|
|
315
311
|
```sh
|
pulumi_aws/sfn/alias.py
CHANGED
|
@@ -237,8 +237,6 @@ class Alias(pulumi.CustomResource):
|
|
|
237
237
|
|
|
238
238
|
## Import
|
|
239
239
|
|
|
240
|
-
In Terraform v1.12.0 and later, the `import` block can be used with the `identity` attribute. For example:
|
|
241
|
-
|
|
242
240
|
Using `pulumi import`, import SFN (Step Functions) Alias using the `arn`. For example:
|
|
243
241
|
|
|
244
242
|
```sh
|
|
@@ -291,8 +289,6 @@ class Alias(pulumi.CustomResource):
|
|
|
291
289
|
|
|
292
290
|
## Import
|
|
293
291
|
|
|
294
|
-
In Terraform v1.12.0 and later, the `import` block can be used with the `identity` attribute. For example:
|
|
295
|
-
|
|
296
292
|
Using `pulumi import`, import SFN (Step Functions) Alias using the `arn`. For example:
|
|
297
293
|
|
|
298
294
|
```sh
|
pulumi_aws/transfer/_inputs.py
CHANGED
|
@@ -43,6 +43,10 @@ __all__ = [
|
|
|
43
43
|
'UserHomeDirectoryMappingArgsDict',
|
|
44
44
|
'UserPosixProfileArgs',
|
|
45
45
|
'UserPosixProfileArgsDict',
|
|
46
|
+
'WebAppEndpointDetailsArgs',
|
|
47
|
+
'WebAppEndpointDetailsArgsDict',
|
|
48
|
+
'WebAppEndpointDetailsVpcArgs',
|
|
49
|
+
'WebAppEndpointDetailsVpcArgsDict',
|
|
46
50
|
'WebAppIdentityProviderDetailsArgs',
|
|
47
51
|
'WebAppIdentityProviderDetailsArgsDict',
|
|
48
52
|
'WebAppIdentityProviderDetailsIdentityCenterConfigArgs',
|
|
@@ -1067,6 +1071,128 @@ class UserPosixProfileArgs:
|
|
|
1067
1071
|
pulumi.set(self, "secondary_gids", value)
|
|
1068
1072
|
|
|
1069
1073
|
|
|
1074
|
+
if not MYPY:
|
|
1075
|
+
class WebAppEndpointDetailsArgsDict(TypedDict):
|
|
1076
|
+
vpc: NotRequired[pulumi.Input['WebAppEndpointDetailsVpcArgsDict']]
|
|
1077
|
+
"""
|
|
1078
|
+
Block defining VPC configuration for hosting the web app endpoint within a VPC. See Vpc below.
|
|
1079
|
+
"""
|
|
1080
|
+
elif False:
|
|
1081
|
+
WebAppEndpointDetailsArgsDict: TypeAlias = Mapping[str, Any]
|
|
1082
|
+
|
|
1083
|
+
@pulumi.input_type
|
|
1084
|
+
class WebAppEndpointDetailsArgs:
|
|
1085
|
+
def __init__(__self__, *,
|
|
1086
|
+
vpc: Optional[pulumi.Input['WebAppEndpointDetailsVpcArgs']] = None):
|
|
1087
|
+
"""
|
|
1088
|
+
:param pulumi.Input['WebAppEndpointDetailsVpcArgs'] vpc: Block defining VPC configuration for hosting the web app endpoint within a VPC. See Vpc below.
|
|
1089
|
+
"""
|
|
1090
|
+
if vpc is not None:
|
|
1091
|
+
pulumi.set(__self__, "vpc", vpc)
|
|
1092
|
+
|
|
1093
|
+
@_builtins.property
|
|
1094
|
+
@pulumi.getter
|
|
1095
|
+
def vpc(self) -> Optional[pulumi.Input['WebAppEndpointDetailsVpcArgs']]:
|
|
1096
|
+
"""
|
|
1097
|
+
Block defining VPC configuration for hosting the web app endpoint within a VPC. See Vpc below.
|
|
1098
|
+
"""
|
|
1099
|
+
return pulumi.get(self, "vpc")
|
|
1100
|
+
|
|
1101
|
+
@vpc.setter
|
|
1102
|
+
def vpc(self, value: Optional[pulumi.Input['WebAppEndpointDetailsVpcArgs']]):
|
|
1103
|
+
pulumi.set(self, "vpc", value)
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
if not MYPY:
|
|
1107
|
+
class WebAppEndpointDetailsVpcArgsDict(TypedDict):
|
|
1108
|
+
subnet_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1109
|
+
"""
|
|
1110
|
+
List of subnet IDs within the VPC where the web app endpoint will be deployed. These subnets must be in the same VPC specified in the `vpc_id` parameter.
|
|
1111
|
+
"""
|
|
1112
|
+
vpc_id: pulumi.Input[_builtins.str]
|
|
1113
|
+
"""
|
|
1114
|
+
ID of the VPC where the web app endpoint will be hosted. The VPC must be dual-stack, meaning it supports both IPv4 and IPv6 addressing.
|
|
1115
|
+
"""
|
|
1116
|
+
security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1117
|
+
"""
|
|
1118
|
+
List of security group IDs that control access to the web app endpoint. If not specified, the VPC's default security group is used.
|
|
1119
|
+
"""
|
|
1120
|
+
vpc_endpoint_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1121
|
+
"""
|
|
1122
|
+
ID of the VPC endpoint created for the web app.
|
|
1123
|
+
"""
|
|
1124
|
+
elif False:
|
|
1125
|
+
WebAppEndpointDetailsVpcArgsDict: TypeAlias = Mapping[str, Any]
|
|
1126
|
+
|
|
1127
|
+
@pulumi.input_type
|
|
1128
|
+
class WebAppEndpointDetailsVpcArgs:
|
|
1129
|
+
def __init__(__self__, *,
|
|
1130
|
+
subnet_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
1131
|
+
vpc_id: pulumi.Input[_builtins.str],
|
|
1132
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1133
|
+
vpc_endpoint_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1134
|
+
"""
|
|
1135
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] subnet_ids: List of subnet IDs within the VPC where the web app endpoint will be deployed. These subnets must be in the same VPC specified in the `vpc_id` parameter.
|
|
1136
|
+
:param pulumi.Input[_builtins.str] vpc_id: ID of the VPC where the web app endpoint will be hosted. The VPC must be dual-stack, meaning it supports both IPv4 and IPv6 addressing.
|
|
1137
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: List of security group IDs that control access to the web app endpoint. If not specified, the VPC's default security group is used.
|
|
1138
|
+
:param pulumi.Input[_builtins.str] vpc_endpoint_id: ID of the VPC endpoint created for the web app.
|
|
1139
|
+
"""
|
|
1140
|
+
pulumi.set(__self__, "subnet_ids", subnet_ids)
|
|
1141
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
1142
|
+
if security_group_ids is not None:
|
|
1143
|
+
pulumi.set(__self__, "security_group_ids", security_group_ids)
|
|
1144
|
+
if vpc_endpoint_id is not None:
|
|
1145
|
+
pulumi.set(__self__, "vpc_endpoint_id", vpc_endpoint_id)
|
|
1146
|
+
|
|
1147
|
+
@_builtins.property
|
|
1148
|
+
@pulumi.getter(name="subnetIds")
|
|
1149
|
+
def subnet_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1150
|
+
"""
|
|
1151
|
+
List of subnet IDs within the VPC where the web app endpoint will be deployed. These subnets must be in the same VPC specified in the `vpc_id` parameter.
|
|
1152
|
+
"""
|
|
1153
|
+
return pulumi.get(self, "subnet_ids")
|
|
1154
|
+
|
|
1155
|
+
@subnet_ids.setter
|
|
1156
|
+
def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1157
|
+
pulumi.set(self, "subnet_ids", value)
|
|
1158
|
+
|
|
1159
|
+
@_builtins.property
|
|
1160
|
+
@pulumi.getter(name="vpcId")
|
|
1161
|
+
def vpc_id(self) -> pulumi.Input[_builtins.str]:
|
|
1162
|
+
"""
|
|
1163
|
+
ID of the VPC where the web app endpoint will be hosted. The VPC must be dual-stack, meaning it supports both IPv4 and IPv6 addressing.
|
|
1164
|
+
"""
|
|
1165
|
+
return pulumi.get(self, "vpc_id")
|
|
1166
|
+
|
|
1167
|
+
@vpc_id.setter
|
|
1168
|
+
def vpc_id(self, value: pulumi.Input[_builtins.str]):
|
|
1169
|
+
pulumi.set(self, "vpc_id", value)
|
|
1170
|
+
|
|
1171
|
+
@_builtins.property
|
|
1172
|
+
@pulumi.getter(name="securityGroupIds")
|
|
1173
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1174
|
+
"""
|
|
1175
|
+
List of security group IDs that control access to the web app endpoint. If not specified, the VPC's default security group is used.
|
|
1176
|
+
"""
|
|
1177
|
+
return pulumi.get(self, "security_group_ids")
|
|
1178
|
+
|
|
1179
|
+
@security_group_ids.setter
|
|
1180
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1181
|
+
pulumi.set(self, "security_group_ids", value)
|
|
1182
|
+
|
|
1183
|
+
@_builtins.property
|
|
1184
|
+
@pulumi.getter(name="vpcEndpointId")
|
|
1185
|
+
def vpc_endpoint_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1186
|
+
"""
|
|
1187
|
+
ID of the VPC endpoint created for the web app.
|
|
1188
|
+
"""
|
|
1189
|
+
return pulumi.get(self, "vpc_endpoint_id")
|
|
1190
|
+
|
|
1191
|
+
@vpc_endpoint_id.setter
|
|
1192
|
+
def vpc_endpoint_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1193
|
+
pulumi.set(self, "vpc_endpoint_id", value)
|
|
1194
|
+
|
|
1195
|
+
|
|
1070
1196
|
if not MYPY:
|
|
1071
1197
|
class WebAppIdentityProviderDetailsArgsDict(TypedDict):
|
|
1072
1198
|
identity_center_config: NotRequired[pulumi.Input['WebAppIdentityProviderDetailsIdentityCenterConfigArgsDict']]
|