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,249 @@
|
|
|
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__ = [
|
|
18
|
+
'GetConnectionGroupResult',
|
|
19
|
+
'AwaitableGetConnectionGroupResult',
|
|
20
|
+
'get_connection_group',
|
|
21
|
+
'get_connection_group_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetConnectionGroupResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getConnectionGroup.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, anycast_ip_list_id=None, arn=None, enabled=None, etag=None, id=None, ipv6_enabled=None, is_default=None, last_modified_time=None, name=None, routing_endpoint=None, status=None, tags=None):
|
|
30
|
+
if anycast_ip_list_id and not isinstance(anycast_ip_list_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'anycast_ip_list_id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "anycast_ip_list_id", anycast_ip_list_id)
|
|
33
|
+
if arn and not isinstance(arn, str):
|
|
34
|
+
raise TypeError("Expected argument 'arn' to be a str")
|
|
35
|
+
pulumi.set(__self__, "arn", arn)
|
|
36
|
+
if enabled and not isinstance(enabled, bool):
|
|
37
|
+
raise TypeError("Expected argument 'enabled' to be a bool")
|
|
38
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
39
|
+
if etag and not isinstance(etag, str):
|
|
40
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
|
41
|
+
pulumi.set(__self__, "etag", etag)
|
|
42
|
+
if id and not isinstance(id, str):
|
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "id", id)
|
|
45
|
+
if ipv6_enabled and not isinstance(ipv6_enabled, bool):
|
|
46
|
+
raise TypeError("Expected argument 'ipv6_enabled' to be a bool")
|
|
47
|
+
pulumi.set(__self__, "ipv6_enabled", ipv6_enabled)
|
|
48
|
+
if is_default and not isinstance(is_default, bool):
|
|
49
|
+
raise TypeError("Expected argument 'is_default' to be a bool")
|
|
50
|
+
pulumi.set(__self__, "is_default", is_default)
|
|
51
|
+
if last_modified_time and not isinstance(last_modified_time, str):
|
|
52
|
+
raise TypeError("Expected argument 'last_modified_time' to be a str")
|
|
53
|
+
pulumi.set(__self__, "last_modified_time", last_modified_time)
|
|
54
|
+
if name and not isinstance(name, str):
|
|
55
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
56
|
+
pulumi.set(__self__, "name", name)
|
|
57
|
+
if routing_endpoint and not isinstance(routing_endpoint, str):
|
|
58
|
+
raise TypeError("Expected argument 'routing_endpoint' to be a str")
|
|
59
|
+
pulumi.set(__self__, "routing_endpoint", routing_endpoint)
|
|
60
|
+
if status and not isinstance(status, str):
|
|
61
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
62
|
+
pulumi.set(__self__, "status", status)
|
|
63
|
+
if tags and not isinstance(tags, dict):
|
|
64
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
65
|
+
pulumi.set(__self__, "tags", tags)
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter(name="anycastIpListId")
|
|
69
|
+
def anycast_ip_list_id(self) -> _builtins.str:
|
|
70
|
+
"""
|
|
71
|
+
ID of the anycast IP list associated with this connection group, if any.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "anycast_ip_list_id")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def arn(self) -> _builtins.str:
|
|
78
|
+
"""
|
|
79
|
+
ARN (Amazon Resource Name) for the connection group.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "arn")
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def enabled(self) -> _builtins.bool:
|
|
86
|
+
"""
|
|
87
|
+
Whether the connection group is enabled.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "enabled")
|
|
90
|
+
|
|
91
|
+
@_builtins.property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def etag(self) -> _builtins.str:
|
|
94
|
+
"""
|
|
95
|
+
Current version of the connection group's information. For example:
|
|
96
|
+
`E2QWRUHAPOMQZL`.
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "etag")
|
|
99
|
+
|
|
100
|
+
@_builtins.property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def id(self) -> _builtins.str:
|
|
103
|
+
return pulumi.get(self, "id")
|
|
104
|
+
|
|
105
|
+
@_builtins.property
|
|
106
|
+
@pulumi.getter(name="ipv6Enabled")
|
|
107
|
+
def ipv6_enabled(self) -> _builtins.bool:
|
|
108
|
+
return pulumi.get(self, "ipv6_enabled")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="isDefault")
|
|
112
|
+
def is_default(self) -> _builtins.bool:
|
|
113
|
+
"""
|
|
114
|
+
Whether the connection group is the default connection group for the distribution tenants.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "is_default")
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="lastModifiedTime")
|
|
120
|
+
def last_modified_time(self) -> _builtins.str:
|
|
121
|
+
"""
|
|
122
|
+
Date and time the connection group was last modified.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "last_modified_time")
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def name(self) -> _builtins.str:
|
|
129
|
+
"""
|
|
130
|
+
name of the connection group.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "name")
|
|
133
|
+
|
|
134
|
+
@_builtins.property
|
|
135
|
+
@pulumi.getter(name="routingEndpoint")
|
|
136
|
+
def routing_endpoint(self) -> _builtins.str:
|
|
137
|
+
return pulumi.get(self, "routing_endpoint")
|
|
138
|
+
|
|
139
|
+
@_builtins.property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def status(self) -> _builtins.str:
|
|
142
|
+
"""
|
|
143
|
+
Current status of the connection group. `Deployed` if the
|
|
144
|
+
connection group's information is fully propagated throughout the Amazon
|
|
145
|
+
CloudFront system.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "status")
|
|
148
|
+
|
|
149
|
+
@_builtins.property
|
|
150
|
+
@pulumi.getter
|
|
151
|
+
def tags(self) -> Mapping[str, _builtins.str]:
|
|
152
|
+
return pulumi.get(self, "tags")
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class AwaitableGetConnectionGroupResult(GetConnectionGroupResult):
|
|
156
|
+
# pylint: disable=using-constant-test
|
|
157
|
+
def __await__(self):
|
|
158
|
+
if False:
|
|
159
|
+
yield self
|
|
160
|
+
return GetConnectionGroupResult(
|
|
161
|
+
anycast_ip_list_id=self.anycast_ip_list_id,
|
|
162
|
+
arn=self.arn,
|
|
163
|
+
enabled=self.enabled,
|
|
164
|
+
etag=self.etag,
|
|
165
|
+
id=self.id,
|
|
166
|
+
ipv6_enabled=self.ipv6_enabled,
|
|
167
|
+
is_default=self.is_default,
|
|
168
|
+
last_modified_time=self.last_modified_time,
|
|
169
|
+
name=self.name,
|
|
170
|
+
routing_endpoint=self.routing_endpoint,
|
|
171
|
+
status=self.status,
|
|
172
|
+
tags=self.tags)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def get_connection_group(id: Optional[_builtins.str] = None,
|
|
176
|
+
routing_endpoint: Optional[_builtins.str] = None,
|
|
177
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionGroupResult:
|
|
178
|
+
"""
|
|
179
|
+
Use this data source to retrieve information about a CloudFront connection group.
|
|
180
|
+
|
|
181
|
+
## Example Usage
|
|
182
|
+
|
|
183
|
+
```python
|
|
184
|
+
import pulumi
|
|
185
|
+
import pulumi_aws as aws
|
|
186
|
+
|
|
187
|
+
test = aws.cloudfront.get_connection_group(id="EDFDVBD632BHDS5")
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
:param _builtins.str id: Identifier for the connection group. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `routing_endpoint` must be specified.
|
|
192
|
+
:param _builtins.str routing_endpoint: Routing endpoint for the connection group. For example: `d111111abcdef8.cloudfront.net`. Exactly one of `id` or `routing_endpoint` must be specified.
|
|
193
|
+
"""
|
|
194
|
+
__args__ = dict()
|
|
195
|
+
__args__['id'] = id
|
|
196
|
+
__args__['routingEndpoint'] = routing_endpoint
|
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
|
+
__ret__ = pulumi.runtime.invoke('aws:cloudfront/getConnectionGroup:getConnectionGroup', __args__, opts=opts, typ=GetConnectionGroupResult).value
|
|
199
|
+
|
|
200
|
+
return AwaitableGetConnectionGroupResult(
|
|
201
|
+
anycast_ip_list_id=pulumi.get(__ret__, 'anycast_ip_list_id'),
|
|
202
|
+
arn=pulumi.get(__ret__, 'arn'),
|
|
203
|
+
enabled=pulumi.get(__ret__, 'enabled'),
|
|
204
|
+
etag=pulumi.get(__ret__, 'etag'),
|
|
205
|
+
id=pulumi.get(__ret__, 'id'),
|
|
206
|
+
ipv6_enabled=pulumi.get(__ret__, 'ipv6_enabled'),
|
|
207
|
+
is_default=pulumi.get(__ret__, 'is_default'),
|
|
208
|
+
last_modified_time=pulumi.get(__ret__, 'last_modified_time'),
|
|
209
|
+
name=pulumi.get(__ret__, 'name'),
|
|
210
|
+
routing_endpoint=pulumi.get(__ret__, 'routing_endpoint'),
|
|
211
|
+
status=pulumi.get(__ret__, 'status'),
|
|
212
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
213
|
+
def get_connection_group_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
214
|
+
routing_endpoint: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
215
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConnectionGroupResult]:
|
|
216
|
+
"""
|
|
217
|
+
Use this data source to retrieve information about a CloudFront connection group.
|
|
218
|
+
|
|
219
|
+
## Example Usage
|
|
220
|
+
|
|
221
|
+
```python
|
|
222
|
+
import pulumi
|
|
223
|
+
import pulumi_aws as aws
|
|
224
|
+
|
|
225
|
+
test = aws.cloudfront.get_connection_group(id="EDFDVBD632BHDS5")
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:param _builtins.str id: Identifier for the connection group. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `routing_endpoint` must be specified.
|
|
230
|
+
:param _builtins.str routing_endpoint: Routing endpoint for the connection group. For example: `d111111abcdef8.cloudfront.net`. Exactly one of `id` or `routing_endpoint` must be specified.
|
|
231
|
+
"""
|
|
232
|
+
__args__ = dict()
|
|
233
|
+
__args__['id'] = id
|
|
234
|
+
__args__['routingEndpoint'] = routing_endpoint
|
|
235
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
236
|
+
__ret__ = pulumi.runtime.invoke_output('aws:cloudfront/getConnectionGroup:getConnectionGroup', __args__, opts=opts, typ=GetConnectionGroupResult)
|
|
237
|
+
return __ret__.apply(lambda __response__: GetConnectionGroupResult(
|
|
238
|
+
anycast_ip_list_id=pulumi.get(__response__, 'anycast_ip_list_id'),
|
|
239
|
+
arn=pulumi.get(__response__, 'arn'),
|
|
240
|
+
enabled=pulumi.get(__response__, 'enabled'),
|
|
241
|
+
etag=pulumi.get(__response__, 'etag'),
|
|
242
|
+
id=pulumi.get(__response__, 'id'),
|
|
243
|
+
ipv6_enabled=pulumi.get(__response__, 'ipv6_enabled'),
|
|
244
|
+
is_default=pulumi.get(__response__, 'is_default'),
|
|
245
|
+
last_modified_time=pulumi.get(__response__, 'last_modified_time'),
|
|
246
|
+
name=pulumi.get(__response__, 'name'),
|
|
247
|
+
routing_endpoint=pulumi.get(__response__, 'routing_endpoint'),
|
|
248
|
+
status=pulumi.get(__response__, 'status'),
|
|
249
|
+
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -0,0 +1,279 @@
|
|
|
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
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetDistributionTenantResult',
|
|
20
|
+
'AwaitableGetDistributionTenantResult',
|
|
21
|
+
'get_distribution_tenant',
|
|
22
|
+
'get_distribution_tenant_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetDistributionTenantResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getDistributionTenant.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, arn=None, connection_group_id=None, customizations=None, distribution_id=None, domain=None, domains=None, enabled=None, etag=None, id=None, managed_certificate_requests=None, name=None, parameters=None, status=None, tags=None):
|
|
31
|
+
if arn and not isinstance(arn, str):
|
|
32
|
+
raise TypeError("Expected argument 'arn' to be a str")
|
|
33
|
+
pulumi.set(__self__, "arn", arn)
|
|
34
|
+
if connection_group_id and not isinstance(connection_group_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'connection_group_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "connection_group_id", connection_group_id)
|
|
37
|
+
if customizations and not isinstance(customizations, list):
|
|
38
|
+
raise TypeError("Expected argument 'customizations' to be a list")
|
|
39
|
+
pulumi.set(__self__, "customizations", customizations)
|
|
40
|
+
if distribution_id and not isinstance(distribution_id, str):
|
|
41
|
+
raise TypeError("Expected argument 'distribution_id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "distribution_id", distribution_id)
|
|
43
|
+
if domain and not isinstance(domain, str):
|
|
44
|
+
raise TypeError("Expected argument 'domain' to be a str")
|
|
45
|
+
pulumi.set(__self__, "domain", domain)
|
|
46
|
+
if domains and not isinstance(domains, list):
|
|
47
|
+
raise TypeError("Expected argument 'domains' to be a list")
|
|
48
|
+
pulumi.set(__self__, "domains", domains)
|
|
49
|
+
if enabled and not isinstance(enabled, bool):
|
|
50
|
+
raise TypeError("Expected argument 'enabled' to be a bool")
|
|
51
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
52
|
+
if etag and not isinstance(etag, str):
|
|
53
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
|
54
|
+
pulumi.set(__self__, "etag", etag)
|
|
55
|
+
if id and not isinstance(id, str):
|
|
56
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
57
|
+
pulumi.set(__self__, "id", id)
|
|
58
|
+
if managed_certificate_requests and not isinstance(managed_certificate_requests, list):
|
|
59
|
+
raise TypeError("Expected argument 'managed_certificate_requests' to be a list")
|
|
60
|
+
pulumi.set(__self__, "managed_certificate_requests", managed_certificate_requests)
|
|
61
|
+
if name and not isinstance(name, str):
|
|
62
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
63
|
+
pulumi.set(__self__, "name", name)
|
|
64
|
+
if parameters and not isinstance(parameters, list):
|
|
65
|
+
raise TypeError("Expected argument 'parameters' to be a list")
|
|
66
|
+
pulumi.set(__self__, "parameters", parameters)
|
|
67
|
+
if status and not isinstance(status, str):
|
|
68
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
69
|
+
pulumi.set(__self__, "status", status)
|
|
70
|
+
if tags and not isinstance(tags, dict):
|
|
71
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
72
|
+
pulumi.set(__self__, "tags", tags)
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def arn(self) -> _builtins.str:
|
|
77
|
+
"""
|
|
78
|
+
ARN (Amazon Resource Name) for the distribution tenant.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "arn")
|
|
81
|
+
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter(name="connectionGroupId")
|
|
84
|
+
def connection_group_id(self) -> _builtins.str:
|
|
85
|
+
"""
|
|
86
|
+
The CloudFront connection group the tenant is associated with.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "connection_group_id")
|
|
89
|
+
|
|
90
|
+
@_builtins.property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def customizations(self) -> Sequence['outputs.GetDistributionTenantCustomizationResult']:
|
|
93
|
+
return pulumi.get(self, "customizations")
|
|
94
|
+
|
|
95
|
+
@_builtins.property
|
|
96
|
+
@pulumi.getter(name="distributionId")
|
|
97
|
+
def distribution_id(self) -> _builtins.str:
|
|
98
|
+
"""
|
|
99
|
+
The ID of the CloudFront distribution the tenant is associated with.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "distribution_id")
|
|
102
|
+
|
|
103
|
+
@_builtins.property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def domain(self) -> Optional[_builtins.str]:
|
|
106
|
+
return pulumi.get(self, "domain")
|
|
107
|
+
|
|
108
|
+
@_builtins.property
|
|
109
|
+
@pulumi.getter
|
|
110
|
+
def domains(self) -> Sequence['outputs.GetDistributionTenantDomainResult']:
|
|
111
|
+
"""
|
|
112
|
+
List of domains for the distribution tenant.
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "domains")
|
|
115
|
+
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter
|
|
118
|
+
def enabled(self) -> _builtins.bool:
|
|
119
|
+
"""
|
|
120
|
+
Whether the distribution tenant is enabled.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "enabled")
|
|
123
|
+
|
|
124
|
+
@_builtins.property
|
|
125
|
+
@pulumi.getter
|
|
126
|
+
def etag(self) -> _builtins.str:
|
|
127
|
+
"""
|
|
128
|
+
Current version of the distribution tenant's information. For example:
|
|
129
|
+
`E2QWRUHAPOMQZL`.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "etag")
|
|
132
|
+
|
|
133
|
+
@_builtins.property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def id(self) -> _builtins.str:
|
|
136
|
+
return pulumi.get(self, "id")
|
|
137
|
+
|
|
138
|
+
@_builtins.property
|
|
139
|
+
@pulumi.getter(name="managedCertificateRequests")
|
|
140
|
+
def managed_certificate_requests(self) -> Sequence['outputs.GetDistributionTenantManagedCertificateRequestResult']:
|
|
141
|
+
return pulumi.get(self, "managed_certificate_requests")
|
|
142
|
+
|
|
143
|
+
@_builtins.property
|
|
144
|
+
@pulumi.getter
|
|
145
|
+
def name(self) -> _builtins.str:
|
|
146
|
+
return pulumi.get(self, "name")
|
|
147
|
+
|
|
148
|
+
@_builtins.property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def parameters(self) -> Sequence['outputs.GetDistributionTenantParameterResult']:
|
|
151
|
+
return pulumi.get(self, "parameters")
|
|
152
|
+
|
|
153
|
+
@_builtins.property
|
|
154
|
+
@pulumi.getter
|
|
155
|
+
def status(self) -> _builtins.str:
|
|
156
|
+
"""
|
|
157
|
+
Current status of the distribution tenant. `Deployed` if the
|
|
158
|
+
distribution tenant's information is fully propagated throughout the Amazon
|
|
159
|
+
CloudFront system.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "status")
|
|
162
|
+
|
|
163
|
+
@_builtins.property
|
|
164
|
+
@pulumi.getter
|
|
165
|
+
def tags(self) -> Mapping[str, _builtins.str]:
|
|
166
|
+
return pulumi.get(self, "tags")
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class AwaitableGetDistributionTenantResult(GetDistributionTenantResult):
|
|
170
|
+
# pylint: disable=using-constant-test
|
|
171
|
+
def __await__(self):
|
|
172
|
+
if False:
|
|
173
|
+
yield self
|
|
174
|
+
return GetDistributionTenantResult(
|
|
175
|
+
arn=self.arn,
|
|
176
|
+
connection_group_id=self.connection_group_id,
|
|
177
|
+
customizations=self.customizations,
|
|
178
|
+
distribution_id=self.distribution_id,
|
|
179
|
+
domain=self.domain,
|
|
180
|
+
domains=self.domains,
|
|
181
|
+
enabled=self.enabled,
|
|
182
|
+
etag=self.etag,
|
|
183
|
+
id=self.id,
|
|
184
|
+
managed_certificate_requests=self.managed_certificate_requests,
|
|
185
|
+
name=self.name,
|
|
186
|
+
parameters=self.parameters,
|
|
187
|
+
status=self.status,
|
|
188
|
+
tags=self.tags)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def get_distribution_tenant(arn: Optional[_builtins.str] = None,
|
|
192
|
+
domain: Optional[_builtins.str] = None,
|
|
193
|
+
id: Optional[_builtins.str] = None,
|
|
194
|
+
name: Optional[_builtins.str] = None,
|
|
195
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDistributionTenantResult:
|
|
196
|
+
"""
|
|
197
|
+
Use this data source to retrieve information about a CloudFront distribution tenant.
|
|
198
|
+
|
|
199
|
+
## Example Usage
|
|
200
|
+
|
|
201
|
+
```python
|
|
202
|
+
import pulumi
|
|
203
|
+
import pulumi_aws as aws
|
|
204
|
+
|
|
205
|
+
test = aws.cloudfront.get_distribution_tenant(id="EDFDVBD632BHDS5")
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:param _builtins.str arn: ARN (Amazon Resource Name) for the distribution tenant.
|
|
210
|
+
:param _builtins.str domain: An associated domain of the distribution tenant. Exactly one of `id` or `domain` must be specified.
|
|
211
|
+
:param _builtins.str id: Identifier for the distribution tenant. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `domain` must be specified.
|
|
212
|
+
"""
|
|
213
|
+
__args__ = dict()
|
|
214
|
+
__args__['arn'] = arn
|
|
215
|
+
__args__['domain'] = domain
|
|
216
|
+
__args__['id'] = id
|
|
217
|
+
__args__['name'] = name
|
|
218
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
219
|
+
__ret__ = pulumi.runtime.invoke('aws:cloudfront/getDistributionTenant:getDistributionTenant', __args__, opts=opts, typ=GetDistributionTenantResult).value
|
|
220
|
+
|
|
221
|
+
return AwaitableGetDistributionTenantResult(
|
|
222
|
+
arn=pulumi.get(__ret__, 'arn'),
|
|
223
|
+
connection_group_id=pulumi.get(__ret__, 'connection_group_id'),
|
|
224
|
+
customizations=pulumi.get(__ret__, 'customizations'),
|
|
225
|
+
distribution_id=pulumi.get(__ret__, 'distribution_id'),
|
|
226
|
+
domain=pulumi.get(__ret__, 'domain'),
|
|
227
|
+
domains=pulumi.get(__ret__, 'domains'),
|
|
228
|
+
enabled=pulumi.get(__ret__, 'enabled'),
|
|
229
|
+
etag=pulumi.get(__ret__, 'etag'),
|
|
230
|
+
id=pulumi.get(__ret__, 'id'),
|
|
231
|
+
managed_certificate_requests=pulumi.get(__ret__, 'managed_certificate_requests'),
|
|
232
|
+
name=pulumi.get(__ret__, 'name'),
|
|
233
|
+
parameters=pulumi.get(__ret__, 'parameters'),
|
|
234
|
+
status=pulumi.get(__ret__, 'status'),
|
|
235
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
236
|
+
def get_distribution_tenant_output(arn: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
237
|
+
domain: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
238
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
239
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
240
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDistributionTenantResult]:
|
|
241
|
+
"""
|
|
242
|
+
Use this data source to retrieve information about a CloudFront distribution tenant.
|
|
243
|
+
|
|
244
|
+
## Example Usage
|
|
245
|
+
|
|
246
|
+
```python
|
|
247
|
+
import pulumi
|
|
248
|
+
import pulumi_aws as aws
|
|
249
|
+
|
|
250
|
+
test = aws.cloudfront.get_distribution_tenant(id="EDFDVBD632BHDS5")
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
:param _builtins.str arn: ARN (Amazon Resource Name) for the distribution tenant.
|
|
255
|
+
:param _builtins.str domain: An associated domain of the distribution tenant. Exactly one of `id` or `domain` must be specified.
|
|
256
|
+
:param _builtins.str id: Identifier for the distribution tenant. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `domain` must be specified.
|
|
257
|
+
"""
|
|
258
|
+
__args__ = dict()
|
|
259
|
+
__args__['arn'] = arn
|
|
260
|
+
__args__['domain'] = domain
|
|
261
|
+
__args__['id'] = id
|
|
262
|
+
__args__['name'] = name
|
|
263
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
264
|
+
__ret__ = pulumi.runtime.invoke_output('aws:cloudfront/getDistributionTenant:getDistributionTenant', __args__, opts=opts, typ=GetDistributionTenantResult)
|
|
265
|
+
return __ret__.apply(lambda __response__: GetDistributionTenantResult(
|
|
266
|
+
arn=pulumi.get(__response__, 'arn'),
|
|
267
|
+
connection_group_id=pulumi.get(__response__, 'connection_group_id'),
|
|
268
|
+
customizations=pulumi.get(__response__, 'customizations'),
|
|
269
|
+
distribution_id=pulumi.get(__response__, 'distribution_id'),
|
|
270
|
+
domain=pulumi.get(__response__, 'domain'),
|
|
271
|
+
domains=pulumi.get(__response__, 'domains'),
|
|
272
|
+
enabled=pulumi.get(__response__, 'enabled'),
|
|
273
|
+
etag=pulumi.get(__response__, 'etag'),
|
|
274
|
+
id=pulumi.get(__response__, 'id'),
|
|
275
|
+
managed_certificate_requests=pulumi.get(__response__, 'managed_certificate_requests'),
|
|
276
|
+
name=pulumi.get(__response__, 'name'),
|
|
277
|
+
parameters=pulumi.get(__response__, 'parameters'),
|
|
278
|
+
status=pulumi.get(__response__, 'status'),
|
|
279
|
+
tags=pulumi.get(__response__, 'tags')))
|