pulumi-aws 7.14.0__py3-none-any.whl → 7.15.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 +8 -0
- pulumi_aws/bedrock/_inputs.py +1894 -267
- pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
- pulumi_aws/bedrock/outputs.py +1571 -199
- pulumi_aws/cloudfront/__init__.py +1 -0
- pulumi_aws/cloudfront/_inputs.py +199 -0
- pulumi_aws/cloudfront/outputs.py +134 -0
- pulumi_aws/cloudfront/trust_store.py +497 -0
- pulumi_aws/codebuild/_inputs.py +20 -0
- pulumi_aws/codebuild/outputs.py +29 -0
- pulumi_aws/config/__init__.pyi +5 -0
- pulumi_aws/config/vars.py +7 -0
- pulumi_aws/datazone/domain.py +28 -0
- pulumi_aws/datazone/get_domain.py +15 -1
- pulumi_aws/ecs/_inputs.py +6 -6
- pulumi_aws/ecs/cluster.py +2 -2
- pulumi_aws/ecs/outputs.py +4 -4
- pulumi_aws/elasticache/serverless_cache.py +7 -7
- pulumi_aws/lambda_/function.py +31 -12
- pulumi_aws/networkmanager/_inputs.py +650 -23
- pulumi_aws/networkmanager/connect_attachment.py +47 -0
- pulumi_aws/networkmanager/connect_peer.py +7 -7
- pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
- pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
- pulumi_aws/networkmanager/outputs.py +379 -14
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
- pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
- pulumi_aws/networkmanager/vpc_attachment.py +47 -0
- pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/get_account.py +231 -0
- pulumi_aws/provider.py +21 -1
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/route53/get_resolver_endpoint.py +29 -1
- pulumi_aws/route53/resolver_endpoint.py +97 -3
- pulumi_aws/s3/_inputs.py +7 -0
- pulumi_aws/s3/outputs.py +4 -0
- pulumi_aws/vpclattice/_inputs.py +54 -0
- pulumi_aws/vpclattice/outputs.py +51 -0
- pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,497 @@
|
|
|
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
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['TrustStoreArgs', 'TrustStore']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class TrustStoreArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
ca_certificates_bundle_source: Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']] = None,
|
|
25
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
27
|
+
timeouts: Optional[pulumi.Input['TrustStoreTimeoutsArgs']] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a TrustStore resource.
|
|
30
|
+
:param pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs'] ca_certificates_bundle_source: Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
31
|
+
|
|
32
|
+
The following arguments are optional:
|
|
33
|
+
:param pulumi.Input[_builtins.str] name: Name of the trust store. Changing this forces a new resource to be created.
|
|
34
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
35
|
+
"""
|
|
36
|
+
if ca_certificates_bundle_source is not None:
|
|
37
|
+
pulumi.set(__self__, "ca_certificates_bundle_source", ca_certificates_bundle_source)
|
|
38
|
+
if name is not None:
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if tags is not None:
|
|
41
|
+
pulumi.set(__self__, "tags", tags)
|
|
42
|
+
if timeouts is not None:
|
|
43
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
44
|
+
|
|
45
|
+
@_builtins.property
|
|
46
|
+
@pulumi.getter(name="caCertificatesBundleSource")
|
|
47
|
+
def ca_certificates_bundle_source(self) -> Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']]:
|
|
48
|
+
"""
|
|
49
|
+
Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
50
|
+
|
|
51
|
+
The following arguments are optional:
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "ca_certificates_bundle_source")
|
|
54
|
+
|
|
55
|
+
@ca_certificates_bundle_source.setter
|
|
56
|
+
def ca_certificates_bundle_source(self, value: Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']]):
|
|
57
|
+
pulumi.set(self, "ca_certificates_bundle_source", value)
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
62
|
+
"""
|
|
63
|
+
Name of the trust store. Changing this forces a new resource to be created.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "name")
|
|
66
|
+
|
|
67
|
+
@name.setter
|
|
68
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
69
|
+
pulumi.set(self, "name", value)
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
74
|
+
"""
|
|
75
|
+
Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "tags")
|
|
78
|
+
|
|
79
|
+
@tags.setter
|
|
80
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
81
|
+
pulumi.set(self, "tags", value)
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def timeouts(self) -> Optional[pulumi.Input['TrustStoreTimeoutsArgs']]:
|
|
86
|
+
return pulumi.get(self, "timeouts")
|
|
87
|
+
|
|
88
|
+
@timeouts.setter
|
|
89
|
+
def timeouts(self, value: Optional[pulumi.Input['TrustStoreTimeoutsArgs']]):
|
|
90
|
+
pulumi.set(self, "timeouts", value)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@pulumi.input_type
|
|
94
|
+
class _TrustStoreState:
|
|
95
|
+
def __init__(__self__, *,
|
|
96
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
97
|
+
ca_certificates_bundle_source: Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']] = None,
|
|
98
|
+
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
|
99
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
100
|
+
number_of_ca_certificates: Optional[pulumi.Input[_builtins.int]] = None,
|
|
101
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
102
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
103
|
+
timeouts: Optional[pulumi.Input['TrustStoreTimeoutsArgs']] = None):
|
|
104
|
+
"""
|
|
105
|
+
Input properties used for looking up and filtering TrustStore resources.
|
|
106
|
+
:param pulumi.Input[_builtins.str] arn: ARN of the trust store.
|
|
107
|
+
:param pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs'] ca_certificates_bundle_source: Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
108
|
+
|
|
109
|
+
The following arguments are optional:
|
|
110
|
+
:param pulumi.Input[_builtins.str] etag: ETag of the trust store.
|
|
111
|
+
:param pulumi.Input[_builtins.str] name: Name of the trust store. Changing this forces a new resource to be created.
|
|
112
|
+
:param pulumi.Input[_builtins.int] number_of_ca_certificates: Number of CA certificates in the trust store.
|
|
113
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
114
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
115
|
+
"""
|
|
116
|
+
if arn is not None:
|
|
117
|
+
pulumi.set(__self__, "arn", arn)
|
|
118
|
+
if ca_certificates_bundle_source is not None:
|
|
119
|
+
pulumi.set(__self__, "ca_certificates_bundle_source", ca_certificates_bundle_source)
|
|
120
|
+
if etag is not None:
|
|
121
|
+
pulumi.set(__self__, "etag", etag)
|
|
122
|
+
if name is not None:
|
|
123
|
+
pulumi.set(__self__, "name", name)
|
|
124
|
+
if number_of_ca_certificates is not None:
|
|
125
|
+
pulumi.set(__self__, "number_of_ca_certificates", number_of_ca_certificates)
|
|
126
|
+
if tags is not None:
|
|
127
|
+
pulumi.set(__self__, "tags", tags)
|
|
128
|
+
if tags_all is not None:
|
|
129
|
+
pulumi.set(__self__, "tags_all", tags_all)
|
|
130
|
+
if timeouts is not None:
|
|
131
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
132
|
+
|
|
133
|
+
@_builtins.property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
|
+
"""
|
|
137
|
+
ARN of the trust store.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "arn")
|
|
140
|
+
|
|
141
|
+
@arn.setter
|
|
142
|
+
def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
|
+
pulumi.set(self, "arn", value)
|
|
144
|
+
|
|
145
|
+
@_builtins.property
|
|
146
|
+
@pulumi.getter(name="caCertificatesBundleSource")
|
|
147
|
+
def ca_certificates_bundle_source(self) -> Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']]:
|
|
148
|
+
"""
|
|
149
|
+
Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
150
|
+
|
|
151
|
+
The following arguments are optional:
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "ca_certificates_bundle_source")
|
|
154
|
+
|
|
155
|
+
@ca_certificates_bundle_source.setter
|
|
156
|
+
def ca_certificates_bundle_source(self, value: Optional[pulumi.Input['TrustStoreCaCertificatesBundleSourceArgs']]):
|
|
157
|
+
pulumi.set(self, "ca_certificates_bundle_source", value)
|
|
158
|
+
|
|
159
|
+
@_builtins.property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def etag(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
|
+
"""
|
|
163
|
+
ETag of the trust store.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "etag")
|
|
166
|
+
|
|
167
|
+
@etag.setter
|
|
168
|
+
def etag(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
169
|
+
pulumi.set(self, "etag", value)
|
|
170
|
+
|
|
171
|
+
@_builtins.property
|
|
172
|
+
@pulumi.getter
|
|
173
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
174
|
+
"""
|
|
175
|
+
Name of the trust store. Changing this forces a new resource to be created.
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "name")
|
|
178
|
+
|
|
179
|
+
@name.setter
|
|
180
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
181
|
+
pulumi.set(self, "name", value)
|
|
182
|
+
|
|
183
|
+
@_builtins.property
|
|
184
|
+
@pulumi.getter(name="numberOfCaCertificates")
|
|
185
|
+
def number_of_ca_certificates(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
186
|
+
"""
|
|
187
|
+
Number of CA certificates in the trust store.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "number_of_ca_certificates")
|
|
190
|
+
|
|
191
|
+
@number_of_ca_certificates.setter
|
|
192
|
+
def number_of_ca_certificates(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
193
|
+
pulumi.set(self, "number_of_ca_certificates", value)
|
|
194
|
+
|
|
195
|
+
@_builtins.property
|
|
196
|
+
@pulumi.getter
|
|
197
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
198
|
+
"""
|
|
199
|
+
Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "tags")
|
|
202
|
+
|
|
203
|
+
@tags.setter
|
|
204
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
205
|
+
pulumi.set(self, "tags", value)
|
|
206
|
+
|
|
207
|
+
@_builtins.property
|
|
208
|
+
@pulumi.getter(name="tagsAll")
|
|
209
|
+
def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
210
|
+
"""
|
|
211
|
+
A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "tags_all")
|
|
214
|
+
|
|
215
|
+
@tags_all.setter
|
|
216
|
+
def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
217
|
+
pulumi.set(self, "tags_all", value)
|
|
218
|
+
|
|
219
|
+
@_builtins.property
|
|
220
|
+
@pulumi.getter
|
|
221
|
+
def timeouts(self) -> Optional[pulumi.Input['TrustStoreTimeoutsArgs']]:
|
|
222
|
+
return pulumi.get(self, "timeouts")
|
|
223
|
+
|
|
224
|
+
@timeouts.setter
|
|
225
|
+
def timeouts(self, value: Optional[pulumi.Input['TrustStoreTimeoutsArgs']]):
|
|
226
|
+
pulumi.set(self, "timeouts", value)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
@pulumi.type_token("aws:cloudfront/trustStore:TrustStore")
|
|
230
|
+
class TrustStore(pulumi.CustomResource):
|
|
231
|
+
@overload
|
|
232
|
+
def __init__(__self__,
|
|
233
|
+
resource_name: str,
|
|
234
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
235
|
+
ca_certificates_bundle_source: Optional[pulumi.Input[Union['TrustStoreCaCertificatesBundleSourceArgs', 'TrustStoreCaCertificatesBundleSourceArgsDict']]] = None,
|
|
236
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
237
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
238
|
+
timeouts: Optional[pulumi.Input[Union['TrustStoreTimeoutsArgs', 'TrustStoreTimeoutsArgsDict']]] = None,
|
|
239
|
+
__props__=None):
|
|
240
|
+
"""
|
|
241
|
+
Manages an AWS CloudFront Trust Store.
|
|
242
|
+
|
|
243
|
+
## Example Usage
|
|
244
|
+
|
|
245
|
+
### Basic Usage
|
|
246
|
+
|
|
247
|
+
```python
|
|
248
|
+
import pulumi
|
|
249
|
+
import pulumi_aws as aws
|
|
250
|
+
|
|
251
|
+
example = aws.cloudfront.TrustStore("example",
|
|
252
|
+
name="example-trust-store",
|
|
253
|
+
ca_certificates_bundle_source={
|
|
254
|
+
"ca_certificates_bundle_s3_location": {
|
|
255
|
+
"bucket": "example-bucket",
|
|
256
|
+
"key": "ca-certificates.pem",
|
|
257
|
+
"region": "us-east-1",
|
|
258
|
+
},
|
|
259
|
+
})
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### With S3 Object Version
|
|
263
|
+
|
|
264
|
+
```python
|
|
265
|
+
import pulumi
|
|
266
|
+
import pulumi_aws as aws
|
|
267
|
+
|
|
268
|
+
example = aws.cloudfront.TrustStore("example",
|
|
269
|
+
name="example-trust-store",
|
|
270
|
+
ca_certificates_bundle_source={
|
|
271
|
+
"ca_certificates_bundle_s3_location": {
|
|
272
|
+
"bucket": "example-bucket",
|
|
273
|
+
"key": "ca-certificates.pem",
|
|
274
|
+
"region": "us-east-1",
|
|
275
|
+
"version": "abc123",
|
|
276
|
+
},
|
|
277
|
+
})
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## Import
|
|
281
|
+
|
|
282
|
+
Using `pulumi import`, import CloudFront Trust Store using the trust store ID. For example:
|
|
283
|
+
|
|
284
|
+
```sh
|
|
285
|
+
$ pulumi import aws:cloudfront/trustStore:TrustStore example ts_12abcXYZhA4Q6RS6tuvW5Xy0ZZZ
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
:param str resource_name: The name of the resource.
|
|
289
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
+
:param pulumi.Input[Union['TrustStoreCaCertificatesBundleSourceArgs', 'TrustStoreCaCertificatesBundleSourceArgsDict']] ca_certificates_bundle_source: Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
291
|
+
|
|
292
|
+
The following arguments are optional:
|
|
293
|
+
:param pulumi.Input[_builtins.str] name: Name of the trust store. Changing this forces a new resource to be created.
|
|
294
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
295
|
+
"""
|
|
296
|
+
...
|
|
297
|
+
@overload
|
|
298
|
+
def __init__(__self__,
|
|
299
|
+
resource_name: str,
|
|
300
|
+
args: Optional[TrustStoreArgs] = None,
|
|
301
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
302
|
+
"""
|
|
303
|
+
Manages an AWS CloudFront Trust Store.
|
|
304
|
+
|
|
305
|
+
## Example Usage
|
|
306
|
+
|
|
307
|
+
### Basic Usage
|
|
308
|
+
|
|
309
|
+
```python
|
|
310
|
+
import pulumi
|
|
311
|
+
import pulumi_aws as aws
|
|
312
|
+
|
|
313
|
+
example = aws.cloudfront.TrustStore("example",
|
|
314
|
+
name="example-trust-store",
|
|
315
|
+
ca_certificates_bundle_source={
|
|
316
|
+
"ca_certificates_bundle_s3_location": {
|
|
317
|
+
"bucket": "example-bucket",
|
|
318
|
+
"key": "ca-certificates.pem",
|
|
319
|
+
"region": "us-east-1",
|
|
320
|
+
},
|
|
321
|
+
})
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### With S3 Object Version
|
|
325
|
+
|
|
326
|
+
```python
|
|
327
|
+
import pulumi
|
|
328
|
+
import pulumi_aws as aws
|
|
329
|
+
|
|
330
|
+
example = aws.cloudfront.TrustStore("example",
|
|
331
|
+
name="example-trust-store",
|
|
332
|
+
ca_certificates_bundle_source={
|
|
333
|
+
"ca_certificates_bundle_s3_location": {
|
|
334
|
+
"bucket": "example-bucket",
|
|
335
|
+
"key": "ca-certificates.pem",
|
|
336
|
+
"region": "us-east-1",
|
|
337
|
+
"version": "abc123",
|
|
338
|
+
},
|
|
339
|
+
})
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
## Import
|
|
343
|
+
|
|
344
|
+
Using `pulumi import`, import CloudFront Trust Store using the trust store ID. For example:
|
|
345
|
+
|
|
346
|
+
```sh
|
|
347
|
+
$ pulumi import aws:cloudfront/trustStore:TrustStore example ts_12abcXYZhA4Q6RS6tuvW5Xy0ZZZ
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
:param str resource_name: The name of the resource.
|
|
351
|
+
:param TrustStoreArgs args: The arguments to use to populate this resource's properties.
|
|
352
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
353
|
+
"""
|
|
354
|
+
...
|
|
355
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
356
|
+
resource_args, opts = _utilities.get_resource_args_opts(TrustStoreArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
357
|
+
if resource_args is not None:
|
|
358
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
359
|
+
else:
|
|
360
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
361
|
+
|
|
362
|
+
def _internal_init(__self__,
|
|
363
|
+
resource_name: str,
|
|
364
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
365
|
+
ca_certificates_bundle_source: Optional[pulumi.Input[Union['TrustStoreCaCertificatesBundleSourceArgs', 'TrustStoreCaCertificatesBundleSourceArgsDict']]] = None,
|
|
366
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
367
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
368
|
+
timeouts: Optional[pulumi.Input[Union['TrustStoreTimeoutsArgs', 'TrustStoreTimeoutsArgsDict']]] = None,
|
|
369
|
+
__props__=None):
|
|
370
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
371
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
372
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
373
|
+
if opts.id is None:
|
|
374
|
+
if __props__ is not None:
|
|
375
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
376
|
+
__props__ = TrustStoreArgs.__new__(TrustStoreArgs)
|
|
377
|
+
|
|
378
|
+
__props__.__dict__["ca_certificates_bundle_source"] = ca_certificates_bundle_source
|
|
379
|
+
__props__.__dict__["name"] = name
|
|
380
|
+
__props__.__dict__["tags"] = tags
|
|
381
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
382
|
+
__props__.__dict__["arn"] = None
|
|
383
|
+
__props__.__dict__["etag"] = None
|
|
384
|
+
__props__.__dict__["number_of_ca_certificates"] = None
|
|
385
|
+
__props__.__dict__["tags_all"] = None
|
|
386
|
+
super(TrustStore, __self__).__init__(
|
|
387
|
+
'aws:cloudfront/trustStore:TrustStore',
|
|
388
|
+
resource_name,
|
|
389
|
+
__props__,
|
|
390
|
+
opts)
|
|
391
|
+
|
|
392
|
+
@staticmethod
|
|
393
|
+
def get(resource_name: str,
|
|
394
|
+
id: pulumi.Input[str],
|
|
395
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
396
|
+
arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
397
|
+
ca_certificates_bundle_source: Optional[pulumi.Input[Union['TrustStoreCaCertificatesBundleSourceArgs', 'TrustStoreCaCertificatesBundleSourceArgsDict']]] = None,
|
|
398
|
+
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
|
399
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
400
|
+
number_of_ca_certificates: Optional[pulumi.Input[_builtins.int]] = None,
|
|
401
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
402
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
403
|
+
timeouts: Optional[pulumi.Input[Union['TrustStoreTimeoutsArgs', 'TrustStoreTimeoutsArgsDict']]] = None) -> 'TrustStore':
|
|
404
|
+
"""
|
|
405
|
+
Get an existing TrustStore resource's state with the given name, id, and optional extra
|
|
406
|
+
properties used to qualify the lookup.
|
|
407
|
+
|
|
408
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
409
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
410
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
411
|
+
:param pulumi.Input[_builtins.str] arn: ARN of the trust store.
|
|
412
|
+
:param pulumi.Input[Union['TrustStoreCaCertificatesBundleSourceArgs', 'TrustStoreCaCertificatesBundleSourceArgsDict']] ca_certificates_bundle_source: Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
413
|
+
|
|
414
|
+
The following arguments are optional:
|
|
415
|
+
:param pulumi.Input[_builtins.str] etag: ETag of the trust store.
|
|
416
|
+
:param pulumi.Input[_builtins.str] name: Name of the trust store. Changing this forces a new resource to be created.
|
|
417
|
+
:param pulumi.Input[_builtins.int] number_of_ca_certificates: Number of CA certificates in the trust store.
|
|
418
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
419
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
420
|
+
"""
|
|
421
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
422
|
+
|
|
423
|
+
__props__ = _TrustStoreState.__new__(_TrustStoreState)
|
|
424
|
+
|
|
425
|
+
__props__.__dict__["arn"] = arn
|
|
426
|
+
__props__.__dict__["ca_certificates_bundle_source"] = ca_certificates_bundle_source
|
|
427
|
+
__props__.__dict__["etag"] = etag
|
|
428
|
+
__props__.__dict__["name"] = name
|
|
429
|
+
__props__.__dict__["number_of_ca_certificates"] = number_of_ca_certificates
|
|
430
|
+
__props__.__dict__["tags"] = tags
|
|
431
|
+
__props__.__dict__["tags_all"] = tags_all
|
|
432
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
433
|
+
return TrustStore(resource_name, opts=opts, __props__=__props__)
|
|
434
|
+
|
|
435
|
+
@_builtins.property
|
|
436
|
+
@pulumi.getter
|
|
437
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
438
|
+
"""
|
|
439
|
+
ARN of the trust store.
|
|
440
|
+
"""
|
|
441
|
+
return pulumi.get(self, "arn")
|
|
442
|
+
|
|
443
|
+
@_builtins.property
|
|
444
|
+
@pulumi.getter(name="caCertificatesBundleSource")
|
|
445
|
+
def ca_certificates_bundle_source(self) -> pulumi.Output[Optional['outputs.TrustStoreCaCertificatesBundleSource']]:
|
|
446
|
+
"""
|
|
447
|
+
Configuration block for the CA certificates bundle source. See `ca_certificates_bundle_source` below.
|
|
448
|
+
|
|
449
|
+
The following arguments are optional:
|
|
450
|
+
"""
|
|
451
|
+
return pulumi.get(self, "ca_certificates_bundle_source")
|
|
452
|
+
|
|
453
|
+
@_builtins.property
|
|
454
|
+
@pulumi.getter
|
|
455
|
+
def etag(self) -> pulumi.Output[_builtins.str]:
|
|
456
|
+
"""
|
|
457
|
+
ETag of the trust store.
|
|
458
|
+
"""
|
|
459
|
+
return pulumi.get(self, "etag")
|
|
460
|
+
|
|
461
|
+
@_builtins.property
|
|
462
|
+
@pulumi.getter
|
|
463
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
464
|
+
"""
|
|
465
|
+
Name of the trust store. Changing this forces a new resource to be created.
|
|
466
|
+
"""
|
|
467
|
+
return pulumi.get(self, "name")
|
|
468
|
+
|
|
469
|
+
@_builtins.property
|
|
470
|
+
@pulumi.getter(name="numberOfCaCertificates")
|
|
471
|
+
def number_of_ca_certificates(self) -> pulumi.Output[_builtins.int]:
|
|
472
|
+
"""
|
|
473
|
+
Number of CA certificates in the trust store.
|
|
474
|
+
"""
|
|
475
|
+
return pulumi.get(self, "number_of_ca_certificates")
|
|
476
|
+
|
|
477
|
+
@_builtins.property
|
|
478
|
+
@pulumi.getter
|
|
479
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
480
|
+
"""
|
|
481
|
+
Key-value tags for the place index. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
482
|
+
"""
|
|
483
|
+
return pulumi.get(self, "tags")
|
|
484
|
+
|
|
485
|
+
@_builtins.property
|
|
486
|
+
@pulumi.getter(name="tagsAll")
|
|
487
|
+
def tags_all(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
488
|
+
"""
|
|
489
|
+
A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
490
|
+
"""
|
|
491
|
+
return pulumi.get(self, "tags_all")
|
|
492
|
+
|
|
493
|
+
@_builtins.property
|
|
494
|
+
@pulumi.getter
|
|
495
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.TrustStoreTimeouts']]:
|
|
496
|
+
return pulumi.get(self, "timeouts")
|
|
497
|
+
|
pulumi_aws/codebuild/_inputs.py
CHANGED
|
@@ -877,6 +877,10 @@ class ProjectBuildBatchConfigRestrictionsArgs:
|
|
|
877
877
|
|
|
878
878
|
if not MYPY:
|
|
879
879
|
class ProjectCacheArgsDict(TypedDict):
|
|
880
|
+
cache_namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
881
|
+
"""
|
|
882
|
+
Namespace that determines the scope in which a cache is shared across multiple projects.
|
|
883
|
+
"""
|
|
880
884
|
location: NotRequired[pulumi.Input[_builtins.str]]
|
|
881
885
|
"""
|
|
882
886
|
Location where the AWS CodeBuild project stores cached resources. For
|
|
@@ -898,10 +902,12 @@ elif False:
|
|
|
898
902
|
@pulumi.input_type
|
|
899
903
|
class ProjectCacheArgs:
|
|
900
904
|
def __init__(__self__, *,
|
|
905
|
+
cache_namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
901
906
|
location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
902
907
|
modes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
903
908
|
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
904
909
|
"""
|
|
910
|
+
:param pulumi.Input[_builtins.str] cache_namespace: Namespace that determines the scope in which a cache is shared across multiple projects.
|
|
905
911
|
:param pulumi.Input[_builtins.str] location: Location where the AWS CodeBuild project stores cached resources. For
|
|
906
912
|
type `S3`, the value must be a valid S3 bucket name/prefix.
|
|
907
913
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] modes: Specifies settings that AWS CodeBuild uses to store and reuse build
|
|
@@ -909,6 +915,8 @@ class ProjectCacheArgs:
|
|
|
909
915
|
:param pulumi.Input[_builtins.str] type: Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`,
|
|
910
916
|
`LOCAL`, `S3`. Defaults to `NO_CACHE`.
|
|
911
917
|
"""
|
|
918
|
+
if cache_namespace is not None:
|
|
919
|
+
pulumi.set(__self__, "cache_namespace", cache_namespace)
|
|
912
920
|
if location is not None:
|
|
913
921
|
pulumi.set(__self__, "location", location)
|
|
914
922
|
if modes is not None:
|
|
@@ -916,6 +924,18 @@ class ProjectCacheArgs:
|
|
|
916
924
|
if type is not None:
|
|
917
925
|
pulumi.set(__self__, "type", type)
|
|
918
926
|
|
|
927
|
+
@_builtins.property
|
|
928
|
+
@pulumi.getter(name="cacheNamespace")
|
|
929
|
+
def cache_namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
930
|
+
"""
|
|
931
|
+
Namespace that determines the scope in which a cache is shared across multiple projects.
|
|
932
|
+
"""
|
|
933
|
+
return pulumi.get(self, "cache_namespace")
|
|
934
|
+
|
|
935
|
+
@cache_namespace.setter
|
|
936
|
+
def cache_namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
937
|
+
pulumi.set(self, "cache_namespace", value)
|
|
938
|
+
|
|
919
939
|
@_builtins.property
|
|
920
940
|
@pulumi.getter
|
|
921
941
|
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
pulumi_aws/codebuild/outputs.py
CHANGED
|
@@ -693,11 +693,30 @@ class ProjectBuildBatchConfigRestrictions(dict):
|
|
|
693
693
|
|
|
694
694
|
@pulumi.output_type
|
|
695
695
|
class ProjectCache(dict):
|
|
696
|
+
@staticmethod
|
|
697
|
+
def __key_warning(key: str):
|
|
698
|
+
suggest = None
|
|
699
|
+
if key == "cacheNamespace":
|
|
700
|
+
suggest = "cache_namespace"
|
|
701
|
+
|
|
702
|
+
if suggest:
|
|
703
|
+
pulumi.log.warn(f"Key '{key}' not found in ProjectCache. Access the value via the '{suggest}' property getter instead.")
|
|
704
|
+
|
|
705
|
+
def __getitem__(self, key: str) -> Any:
|
|
706
|
+
ProjectCache.__key_warning(key)
|
|
707
|
+
return super().__getitem__(key)
|
|
708
|
+
|
|
709
|
+
def get(self, key: str, default = None) -> Any:
|
|
710
|
+
ProjectCache.__key_warning(key)
|
|
711
|
+
return super().get(key, default)
|
|
712
|
+
|
|
696
713
|
def __init__(__self__, *,
|
|
714
|
+
cache_namespace: Optional[_builtins.str] = None,
|
|
697
715
|
location: Optional[_builtins.str] = None,
|
|
698
716
|
modes: Optional[Sequence[_builtins.str]] = None,
|
|
699
717
|
type: Optional[_builtins.str] = None):
|
|
700
718
|
"""
|
|
719
|
+
:param _builtins.str cache_namespace: Namespace that determines the scope in which a cache is shared across multiple projects.
|
|
701
720
|
:param _builtins.str location: Location where the AWS CodeBuild project stores cached resources. For
|
|
702
721
|
type `S3`, the value must be a valid S3 bucket name/prefix.
|
|
703
722
|
:param Sequence[_builtins.str] modes: Specifies settings that AWS CodeBuild uses to store and reuse build
|
|
@@ -705,6 +724,8 @@ class ProjectCache(dict):
|
|
|
705
724
|
:param _builtins.str type: Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`,
|
|
706
725
|
`LOCAL`, `S3`. Defaults to `NO_CACHE`.
|
|
707
726
|
"""
|
|
727
|
+
if cache_namespace is not None:
|
|
728
|
+
pulumi.set(__self__, "cache_namespace", cache_namespace)
|
|
708
729
|
if location is not None:
|
|
709
730
|
pulumi.set(__self__, "location", location)
|
|
710
731
|
if modes is not None:
|
|
@@ -712,6 +733,14 @@ class ProjectCache(dict):
|
|
|
712
733
|
if type is not None:
|
|
713
734
|
pulumi.set(__self__, "type", type)
|
|
714
735
|
|
|
736
|
+
@_builtins.property
|
|
737
|
+
@pulumi.getter(name="cacheNamespace")
|
|
738
|
+
def cache_namespace(self) -> Optional[_builtins.str]:
|
|
739
|
+
"""
|
|
740
|
+
Namespace that determines the scope in which a cache is shared across multiple projects.
|
|
741
|
+
"""
|
|
742
|
+
return pulumi.get(self, "cache_namespace")
|
|
743
|
+
|
|
715
744
|
@_builtins.property
|
|
716
745
|
@pulumi.getter
|
|
717
746
|
def location(self) -> Optional[_builtins.str]:
|
pulumi_aws/config/__init__.pyi
CHANGED
pulumi_aws/config/vars.py
CHANGED
|
@@ -255,3 +255,10 @@ class _ExportableConfig(types.ModuleType):
|
|
|
255
255
|
"""
|
|
256
256
|
return __config__.get_bool('useFipsEndpoint')
|
|
257
257
|
|
|
258
|
+
@_builtins.property
|
|
259
|
+
def user_agents(self) -> Optional[str]:
|
|
260
|
+
"""
|
|
261
|
+
Product details to append to the User-Agent string sent in all AWS API calls.
|
|
262
|
+
"""
|
|
263
|
+
return __config__.get('userAgents')
|
|
264
|
+
|