pulumi-aws 7.11.0__py3-none-any.whl → 7.11.0a1761834890__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_aws/__init__.py +0 -8
- pulumi_aws/alb/_inputs.py +27 -353
- pulumi_aws/alb/listener_rule.py +3 -114
- pulumi_aws/alb/outputs.py +17 -266
- pulumi_aws/amplify/app.py +2 -2
- pulumi_aws/apigateway/integration.py +2 -2
- pulumi_aws/apigateway/integration_response.py +2 -2
- pulumi_aws/appstream/get_image.py +10 -10
- pulumi_aws/appstream/outputs.py +4 -4
- pulumi_aws/appsync/function.py +10 -10
- pulumi_aws/appsync/graph_ql_api.py +2 -2
- pulumi_aws/appsync/resolver.py +22 -22
- pulumi_aws/autoscaling/tag.py +0 -48
- pulumi_aws/autoscalingplans/scaling_plan.py +0 -184
- pulumi_aws/bcmdata/export.py +0 -13
- pulumi_aws/bedrock/agentcore_agent_runtime_endpoint.py +0 -8
- pulumi_aws/bedrock/agentcore_gateway.py +14 -14
- pulumi_aws/bedrockmodel/invocation_logging_configuration.py +28 -28
- pulumi_aws/cfg/organization_custom_policy_rule.py +6 -6
- pulumi_aws/cfg/rule.py +20 -20
- pulumi_aws/cloudwatch/event_target.py +6 -6
- pulumi_aws/cloudwatch/metric_alarm.py +2 -2
- pulumi_aws/codebuild/webhook.py +0 -38
- pulumi_aws/codepipeline/webhook.py +0 -148
- pulumi_aws/cognito/identity_pool_provider_principal_tag.py +0 -62
- pulumi_aws/datazone/form_type.py +18 -18
- pulumi_aws/dms/replication_config.py +2 -2
- pulumi_aws/dynamodb/get_table_item.py +2 -2
- pulumi_aws/dynamodb/table_item.py +10 -10
- pulumi_aws/ec2/get_subnets.py +0 -82
- pulumi_aws/ec2/security_group.py +8 -8
- pulumi_aws/ec2/vpc_ipam.py +0 -50
- pulumi_aws/ecr/lifecycle_policy.py +40 -40
- pulumi_aws/ecr/repository_creation_template.py +20 -20
- pulumi_aws/ecrpublic/__init__.py +0 -1
- pulumi_aws/ecrpublic/_inputs.py +0 -54
- pulumi_aws/ecrpublic/outputs.py +0 -116
- pulumi_aws/ecs/get_task_definition.py +18 -18
- pulumi_aws/eks/get_clusters.py +0 -22
- pulumi_aws/elasticsearch/domain.py +34 -34
- pulumi_aws/elasticsearch/domain_policy.py +16 -16
- pulumi_aws/emr/cluster.py +114 -114
- pulumi_aws/emr/instance_group.py +42 -42
- pulumi_aws/emr/security_configuration.py +18 -18
- pulumi_aws/emrserverless/_inputs.py +0 -454
- pulumi_aws/emrserverless/application.py +2 -230
- pulumi_aws/emrserverless/outputs.py +0 -367
- pulumi_aws/evidently/segment.py +4 -4
- pulumi_aws/glue/connection.py +22 -26
- pulumi_aws/glue/crawler.py +6 -6
- pulumi_aws/identitystore/group.py +0 -28
- pulumi_aws/imagebuilder/get_image_recipe.py +1 -15
- pulumi_aws/imagebuilder/image_recipe.py +0 -47
- pulumi_aws/imagebuilder/workflow.py +6 -6
- pulumi_aws/iot/get_endpoint.py +0 -44
- pulumi_aws/kinesis/firehose_delivery_stream.py +40 -40
- pulumi_aws/kinesis/resource_policy.py +26 -26
- pulumi_aws/kms/ciphertext.py +4 -4
- pulumi_aws/kms/get_cipher_text.py +4 -4
- pulumi_aws/lakeformation/__init__.py +0 -1
- pulumi_aws/lambda_/get_code_signing_config.py +0 -58
- pulumi_aws/lambda_/get_invocation.py +0 -86
- pulumi_aws/lambda_/invocation.py +0 -56
- pulumi_aws/lb/_inputs.py +36 -670
- pulumi_aws/lb/get_listener_rule.py +4 -24
- pulumi_aws/lb/listener_rule.py +3 -114
- pulumi_aws/lb/outputs.py +23 -452
- pulumi_aws/m2/application.py +26 -26
- pulumi_aws/mq/configuration.py +8 -8
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +0 -138
- pulumi_aws/opensearchingest/pipeline.py +12 -12
- pulumi_aws/organizations/get_policies.py +0 -22
- pulumi_aws/organizations/get_policies_for_target.py +0 -26
- pulumi_aws/organizations/resource_policy.py +46 -46
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/rds/custom_db_engine_version.py +2 -2
- pulumi_aws/resourcegroups/group.py +10 -10
- pulumi_aws/route53/traffic_policy.py +14 -14
- pulumi_aws/s3/bucket_website_configuration.py +8 -8
- pulumi_aws/s3/bucket_website_configuration_v2.py +8 -8
- pulumi_aws/s3control/access_grants_instance_resource_policy.py +24 -24
- pulumi_aws/sagemaker/flow_definition.py +18 -18
- pulumi_aws/sagemaker/model.py +14 -24
- pulumi_aws/sagemaker/model_package_group_policy.py +0 -54
- pulumi_aws/sagemaker/notebook_instance.py +7 -7
- pulumi_aws/secretsmanager/get_secret_version.py +0 -22
- pulumi_aws/secretsmanager/secret_version.py +0 -58
- pulumi_aws/securityhub/standards_control_association.py +0 -36
- pulumi_aws/sesv2/email_identity_policy.py +26 -26
- pulumi_aws/sfn/state_machine.py +70 -70
- pulumi_aws/sns/topic.py +24 -24
- pulumi_aws/sns/topic_subscription.py +26 -26
- pulumi_aws/sqs/queue.py +12 -0
- pulumi_aws/ssm/association.py +2 -2
- pulumi_aws/ssm/document.py +16 -16
- pulumi_aws/timestreamquery/scheduled_query.py +16 -16
- pulumi_aws/verifiedpermissions/_inputs.py +3 -3
- pulumi_aws/verifiedpermissions/outputs.py +2 -2
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/RECORD +102 -104
- pulumi_aws/ecrpublic/get_images.py +0 -164
- pulumi_aws/lakeformation/identity_center_configuration.py +0 -365
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.0.dist-info → pulumi_aws-7.11.0a1761834890.dist-info}/top_level.txt +0 -0
pulumi_aws/ecrpublic/outputs.py
CHANGED
|
@@ -16,8 +16,6 @@ from .. import _utilities
|
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
18
|
'RepositoryCatalogData',
|
|
19
|
-
'GetImagesImageResult',
|
|
20
|
-
'GetImagesImageIdResult',
|
|
21
19
|
]
|
|
22
20
|
|
|
23
21
|
@pulumi.output_type
|
|
@@ -122,117 +120,3 @@ class RepositoryCatalogData(dict):
|
|
|
122
120
|
return pulumi.get(self, "usage_text")
|
|
123
121
|
|
|
124
122
|
|
|
125
|
-
@pulumi.output_type
|
|
126
|
-
class GetImagesImageResult(dict):
|
|
127
|
-
def __init__(__self__, *,
|
|
128
|
-
artifact_media_type: _builtins.str,
|
|
129
|
-
image_digest: _builtins.str,
|
|
130
|
-
image_manifest_media_type: _builtins.str,
|
|
131
|
-
image_pushed_at: _builtins.str,
|
|
132
|
-
image_size_in_bytes: _builtins.int,
|
|
133
|
-
image_tags: Sequence[_builtins.str],
|
|
134
|
-
registry_id: _builtins.str,
|
|
135
|
-
repository_name: _builtins.str):
|
|
136
|
-
"""
|
|
137
|
-
:param _builtins.str artifact_media_type: Media type of the artifact.
|
|
138
|
-
:param _builtins.str image_digest: Digest of the image manifest.
|
|
139
|
-
:param _builtins.str image_manifest_media_type: Media type of the image manifest.
|
|
140
|
-
:param _builtins.str registry_id: AWS account ID associated with the public registry that contains the repository. If not specified, the default public registry is assumed.
|
|
141
|
-
:param _builtins.str repository_name: Name of the public repository.
|
|
142
|
-
"""
|
|
143
|
-
pulumi.set(__self__, "artifact_media_type", artifact_media_type)
|
|
144
|
-
pulumi.set(__self__, "image_digest", image_digest)
|
|
145
|
-
pulumi.set(__self__, "image_manifest_media_type", image_manifest_media_type)
|
|
146
|
-
pulumi.set(__self__, "image_pushed_at", image_pushed_at)
|
|
147
|
-
pulumi.set(__self__, "image_size_in_bytes", image_size_in_bytes)
|
|
148
|
-
pulumi.set(__self__, "image_tags", image_tags)
|
|
149
|
-
pulumi.set(__self__, "registry_id", registry_id)
|
|
150
|
-
pulumi.set(__self__, "repository_name", repository_name)
|
|
151
|
-
|
|
152
|
-
@_builtins.property
|
|
153
|
-
@pulumi.getter(name="artifactMediaType")
|
|
154
|
-
def artifact_media_type(self) -> _builtins.str:
|
|
155
|
-
"""
|
|
156
|
-
Media type of the artifact.
|
|
157
|
-
"""
|
|
158
|
-
return pulumi.get(self, "artifact_media_type")
|
|
159
|
-
|
|
160
|
-
@_builtins.property
|
|
161
|
-
@pulumi.getter(name="imageDigest")
|
|
162
|
-
def image_digest(self) -> _builtins.str:
|
|
163
|
-
"""
|
|
164
|
-
Digest of the image manifest.
|
|
165
|
-
"""
|
|
166
|
-
return pulumi.get(self, "image_digest")
|
|
167
|
-
|
|
168
|
-
@_builtins.property
|
|
169
|
-
@pulumi.getter(name="imageManifestMediaType")
|
|
170
|
-
def image_manifest_media_type(self) -> _builtins.str:
|
|
171
|
-
"""
|
|
172
|
-
Media type of the image manifest.
|
|
173
|
-
"""
|
|
174
|
-
return pulumi.get(self, "image_manifest_media_type")
|
|
175
|
-
|
|
176
|
-
@_builtins.property
|
|
177
|
-
@pulumi.getter(name="imagePushedAt")
|
|
178
|
-
def image_pushed_at(self) -> _builtins.str:
|
|
179
|
-
return pulumi.get(self, "image_pushed_at")
|
|
180
|
-
|
|
181
|
-
@_builtins.property
|
|
182
|
-
@pulumi.getter(name="imageSizeInBytes")
|
|
183
|
-
def image_size_in_bytes(self) -> _builtins.int:
|
|
184
|
-
return pulumi.get(self, "image_size_in_bytes")
|
|
185
|
-
|
|
186
|
-
@_builtins.property
|
|
187
|
-
@pulumi.getter(name="imageTags")
|
|
188
|
-
def image_tags(self) -> Sequence[_builtins.str]:
|
|
189
|
-
return pulumi.get(self, "image_tags")
|
|
190
|
-
|
|
191
|
-
@_builtins.property
|
|
192
|
-
@pulumi.getter(name="registryId")
|
|
193
|
-
def registry_id(self) -> _builtins.str:
|
|
194
|
-
"""
|
|
195
|
-
AWS account ID associated with the public registry that contains the repository. If not specified, the default public registry is assumed.
|
|
196
|
-
"""
|
|
197
|
-
return pulumi.get(self, "registry_id")
|
|
198
|
-
|
|
199
|
-
@_builtins.property
|
|
200
|
-
@pulumi.getter(name="repositoryName")
|
|
201
|
-
def repository_name(self) -> _builtins.str:
|
|
202
|
-
"""
|
|
203
|
-
Name of the public repository.
|
|
204
|
-
"""
|
|
205
|
-
return pulumi.get(self, "repository_name")
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
@pulumi.output_type
|
|
209
|
-
class GetImagesImageIdResult(dict):
|
|
210
|
-
def __init__(__self__, *,
|
|
211
|
-
image_digest: Optional[_builtins.str] = None,
|
|
212
|
-
image_tag: Optional[_builtins.str] = None):
|
|
213
|
-
"""
|
|
214
|
-
:param _builtins.str image_digest: Digest of the image manifest.
|
|
215
|
-
:param _builtins.str image_tag: Tag used for the image.
|
|
216
|
-
"""
|
|
217
|
-
if image_digest is not None:
|
|
218
|
-
pulumi.set(__self__, "image_digest", image_digest)
|
|
219
|
-
if image_tag is not None:
|
|
220
|
-
pulumi.set(__self__, "image_tag", image_tag)
|
|
221
|
-
|
|
222
|
-
@_builtins.property
|
|
223
|
-
@pulumi.getter(name="imageDigest")
|
|
224
|
-
def image_digest(self) -> Optional[_builtins.str]:
|
|
225
|
-
"""
|
|
226
|
-
Digest of the image manifest.
|
|
227
|
-
"""
|
|
228
|
-
return pulumi.get(self, "image_digest")
|
|
229
|
-
|
|
230
|
-
@_builtins.property
|
|
231
|
-
@pulumi.getter(name="imageTag")
|
|
232
|
-
def image_tag(self) -> Optional[_builtins.str]:
|
|
233
|
-
"""
|
|
234
|
-
Tag used for the image.
|
|
235
|
-
"""
|
|
236
|
-
return pulumi.get(self, "image_tag")
|
|
237
|
-
|
|
238
|
-
|
|
@@ -326,16 +326,16 @@ def get_task_definition(region: Optional[_builtins.str] = None,
|
|
|
326
326
|
family="mongodb",
|
|
327
327
|
container_definitions=\"\"\"[
|
|
328
328
|
{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
329
|
+
"cpu": 128,
|
|
330
|
+
"environment": [{
|
|
331
|
+
"name": "SECRET",
|
|
332
|
+
"value": "KEY"
|
|
333
333
|
}],
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
334
|
+
"essential": true,
|
|
335
|
+
"image": "mongo:latest",
|
|
336
|
+
"memory": 128,
|
|
337
|
+
"memoryReservation": 64,
|
|
338
|
+
"name": "mongodb"
|
|
339
339
|
}
|
|
340
340
|
]
|
|
341
341
|
\"\"\")
|
|
@@ -400,16 +400,16 @@ def get_task_definition_output(region: Optional[pulumi.Input[Optional[_builtins.
|
|
|
400
400
|
family="mongodb",
|
|
401
401
|
container_definitions=\"\"\"[
|
|
402
402
|
{
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
403
|
+
"cpu": 128,
|
|
404
|
+
"environment": [{
|
|
405
|
+
"name": "SECRET",
|
|
406
|
+
"value": "KEY"
|
|
407
407
|
}],
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
408
|
+
"essential": true,
|
|
409
|
+
"image": "mongo:latest",
|
|
410
|
+
"memory": 128,
|
|
411
|
+
"memoryReservation": 64,
|
|
412
|
+
"name": "mongodb"
|
|
413
413
|
}
|
|
414
414
|
]
|
|
415
415
|
\"\"\")
|
pulumi_aws/eks/get_clusters.py
CHANGED
|
@@ -75,17 +75,6 @@ def get_clusters(region: Optional[_builtins.str] = None,
|
|
|
75
75
|
"""
|
|
76
76
|
Retrieve EKS Clusters list
|
|
77
77
|
|
|
78
|
-
## Example Usage
|
|
79
|
-
|
|
80
|
-
```python
|
|
81
|
-
import pulumi
|
|
82
|
-
import pulumi_aws as aws
|
|
83
|
-
import pulumi_std as std
|
|
84
|
-
|
|
85
|
-
example = aws.eks.get_clusters()
|
|
86
|
-
example_get_cluster = {__key: aws.eks.get_cluster(name=__value) for __key, __value in std.toset(input=example.names).result}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
78
|
|
|
90
79
|
:param _builtins.str region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
91
80
|
"""
|
|
@@ -103,17 +92,6 @@ def get_clusters_output(region: Optional[pulumi.Input[Optional[_builtins.str]]]
|
|
|
103
92
|
"""
|
|
104
93
|
Retrieve EKS Clusters list
|
|
105
94
|
|
|
106
|
-
## Example Usage
|
|
107
|
-
|
|
108
|
-
```python
|
|
109
|
-
import pulumi
|
|
110
|
-
import pulumi_aws as aws
|
|
111
|
-
import pulumi_std as std
|
|
112
|
-
|
|
113
|
-
example = aws.eks.get_clusters()
|
|
114
|
-
example_get_cluster = {__key: aws.eks.get_cluster(name=__value) for __key, __value in std.toset(input=example.names).result}
|
|
115
|
-
```
|
|
116
|
-
|
|
117
95
|
|
|
118
96
|
:param _builtins.str region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
119
97
|
"""
|
|
@@ -731,15 +731,15 @@ class Domain(pulumi.CustomResource):
|
|
|
731
731
|
example = aws.elasticsearch.Domain("example",
|
|
732
732
|
domain_name=domain,
|
|
733
733
|
access_policies=f\"\"\"{{
|
|
734
|
-
|
|
735
|
-
|
|
734
|
+
"Version": "2012-10-17",
|
|
735
|
+
"Statement": [
|
|
736
736
|
{{
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
737
|
+
"Action": "es:*",
|
|
738
|
+
"Principal": "*",
|
|
739
|
+
"Effect": "Allow",
|
|
740
|
+
"Resource": "arn:aws:es:{current.region}:{current_get_caller_identity.account_id}:domain/{domain}/*",
|
|
741
|
+
"Condition": {{
|
|
742
|
+
"IpAddress": {{"aws:SourceIp": ["66.193.100.22/32"]}}
|
|
743
743
|
}}
|
|
744
744
|
}}
|
|
745
745
|
]
|
|
@@ -828,15 +828,15 @@ class Domain(pulumi.CustomResource):
|
|
|
828
828
|
"rest.action.multi.allow_explicit_index": "true",
|
|
829
829
|
},
|
|
830
830
|
access_policies=f\"\"\"{{
|
|
831
|
-
\\
|
|
832
|
-
\\
|
|
833
|
-
\\
|
|
834
|
-
\\
|
|
835
|
-
\\
|
|
836
|
-
\\
|
|
837
|
-
\\
|
|
838
|
-
\\
|
|
839
|
-
\\
|
|
831
|
+
\\x09"Version": "2012-10-17",
|
|
832
|
+
\\x09"Statement": [
|
|
833
|
+
\\x09\\x09{{
|
|
834
|
+
\\x09\\x09\\x09"Action": "es:*",
|
|
835
|
+
\\x09\\x09\\x09"Principal": "*",
|
|
836
|
+
\\x09\\x09\\x09"Effect": "Allow",
|
|
837
|
+
\\x09\\x09\\x09"Resource": "arn:aws:es:{current.region}:{current_get_caller_identity.account_id}:domain/{domain}/*"
|
|
838
|
+
\\x09\\x09}}
|
|
839
|
+
\\x09]
|
|
840
840
|
}}
|
|
841
841
|
\"\"\",
|
|
842
842
|
tags={
|
|
@@ -920,15 +920,15 @@ class Domain(pulumi.CustomResource):
|
|
|
920
920
|
example = aws.elasticsearch.Domain("example",
|
|
921
921
|
domain_name=domain,
|
|
922
922
|
access_policies=f\"\"\"{{
|
|
923
|
-
|
|
924
|
-
|
|
923
|
+
"Version": "2012-10-17",
|
|
924
|
+
"Statement": [
|
|
925
925
|
{{
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
926
|
+
"Action": "es:*",
|
|
927
|
+
"Principal": "*",
|
|
928
|
+
"Effect": "Allow",
|
|
929
|
+
"Resource": "arn:aws:es:{current.region}:{current_get_caller_identity.account_id}:domain/{domain}/*",
|
|
930
|
+
"Condition": {{
|
|
931
|
+
"IpAddress": {{"aws:SourceIp": ["66.193.100.22/32"]}}
|
|
932
932
|
}}
|
|
933
933
|
}}
|
|
934
934
|
]
|
|
@@ -1017,15 +1017,15 @@ class Domain(pulumi.CustomResource):
|
|
|
1017
1017
|
"rest.action.multi.allow_explicit_index": "true",
|
|
1018
1018
|
},
|
|
1019
1019
|
access_policies=f\"\"\"{{
|
|
1020
|
-
\\
|
|
1021
|
-
\\
|
|
1022
|
-
\\
|
|
1023
|
-
\\
|
|
1024
|
-
\\
|
|
1025
|
-
\\
|
|
1026
|
-
\\
|
|
1027
|
-
\\
|
|
1028
|
-
\\
|
|
1020
|
+
\\x09"Version": "2012-10-17",
|
|
1021
|
+
\\x09"Statement": [
|
|
1022
|
+
\\x09\\x09{{
|
|
1023
|
+
\\x09\\x09\\x09"Action": "es:*",
|
|
1024
|
+
\\x09\\x09\\x09"Principal": "*",
|
|
1025
|
+
\\x09\\x09\\x09"Effect": "Allow",
|
|
1026
|
+
\\x09\\x09\\x09"Resource": "arn:aws:es:{current.region}:{current_get_caller_identity.account_id}:domain/{domain}/*"
|
|
1027
|
+
\\x09\\x09}}
|
|
1028
|
+
\\x09]
|
|
1029
1029
|
}}
|
|
1030
1030
|
\"\"\",
|
|
1031
1031
|
tags={
|
|
@@ -154,16 +154,16 @@ class DomainPolicy(pulumi.CustomResource):
|
|
|
154
154
|
main = aws.elasticsearch.DomainPolicy("main",
|
|
155
155
|
domain_name=example.domain_name,
|
|
156
156
|
access_policies=example.arn.apply(lambda arn: f\"\"\"{{
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
"Version": "2012-10-17",
|
|
158
|
+
"Statement": [
|
|
159
159
|
{{
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
160
|
+
"Action": "es:*",
|
|
161
|
+
"Principal": "*",
|
|
162
|
+
"Effect": "Allow",
|
|
163
|
+
"Condition": {{
|
|
164
|
+
"IpAddress": {{"aws:SourceIp": "127.0.0.1/32"}}
|
|
165
165
|
}},
|
|
166
|
-
|
|
166
|
+
"Resource": "{arn}/*"
|
|
167
167
|
}}
|
|
168
168
|
]
|
|
169
169
|
}}
|
|
@@ -197,16 +197,16 @@ class DomainPolicy(pulumi.CustomResource):
|
|
|
197
197
|
main = aws.elasticsearch.DomainPolicy("main",
|
|
198
198
|
domain_name=example.domain_name,
|
|
199
199
|
access_policies=example.arn.apply(lambda arn: f\"\"\"{{
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
"Version": "2012-10-17",
|
|
201
|
+
"Statement": [
|
|
202
202
|
{{
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
203
|
+
"Action": "es:*",
|
|
204
|
+
"Principal": "*",
|
|
205
|
+
"Effect": "Allow",
|
|
206
|
+
"Condition": {{
|
|
207
|
+
"IpAddress": {{"aws:SourceIp": "127.0.0.1/32"}}
|
|
208
208
|
}},
|
|
209
|
-
|
|
209
|
+
"Resource": "{arn}/*"
|
|
210
210
|
}}
|
|
211
211
|
]
|
|
212
212
|
}}
|