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/m2/application.py
CHANGED
|
@@ -417,28 +417,28 @@ class Application(pulumi.CustomResource):
|
|
|
417
417
|
engine_type="bluage",
|
|
418
418
|
definition={
|
|
419
419
|
"content": f\"\"\"{{
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
"definition": {{
|
|
421
|
+
"listeners": [
|
|
422
422
|
{{
|
|
423
|
-
|
|
424
|
-
|
|
423
|
+
"port": 8196,
|
|
424
|
+
"type": "http"
|
|
425
425
|
}}
|
|
426
426
|
],
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
"ba-application": {{
|
|
428
|
+
"app-location": "{s3_source}/PlanetsDemo-v1.zip"
|
|
429
429
|
}}
|
|
430
430
|
}},
|
|
431
|
-
|
|
431
|
+
"source-locations": [
|
|
432
432
|
{{
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
433
|
+
"source-id": "s3-source",
|
|
434
|
+
"source-type": "s3",
|
|
435
|
+
"properties": {{
|
|
436
|
+
"s3-bucket": "example-bucket",
|
|
437
|
+
"s3-key-prefix": "v1"
|
|
438
438
|
}}
|
|
439
439
|
}}
|
|
440
440
|
],
|
|
441
|
-
|
|
441
|
+
"template-version": "2.0"
|
|
442
442
|
}}
|
|
443
443
|
|
|
444
444
|
\"\"\",
|
|
@@ -488,28 +488,28 @@ class Application(pulumi.CustomResource):
|
|
|
488
488
|
engine_type="bluage",
|
|
489
489
|
definition={
|
|
490
490
|
"content": f\"\"\"{{
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
"definition": {{
|
|
492
|
+
"listeners": [
|
|
493
493
|
{{
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
"port": 8196,
|
|
495
|
+
"type": "http"
|
|
496
496
|
}}
|
|
497
497
|
],
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
"ba-application": {{
|
|
499
|
+
"app-location": "{s3_source}/PlanetsDemo-v1.zip"
|
|
500
500
|
}}
|
|
501
501
|
}},
|
|
502
|
-
|
|
502
|
+
"source-locations": [
|
|
503
503
|
{{
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
504
|
+
"source-id": "s3-source",
|
|
505
|
+
"source-type": "s3",
|
|
506
|
+
"properties": {{
|
|
507
|
+
"s3-bucket": "example-bucket",
|
|
508
|
+
"s3-key-prefix": "v1"
|
|
509
509
|
}}
|
|
510
510
|
}}
|
|
511
511
|
],
|
|
512
|
-
|
|
512
|
+
"template-version": "2.0"
|
|
513
513
|
}}
|
|
514
514
|
|
|
515
515
|
\"\"\",
|
pulumi_aws/mq/configuration.py
CHANGED
|
@@ -372,12 +372,12 @@ class Configuration(pulumi.CustomResource):
|
|
|
372
372
|
name="example",
|
|
373
373
|
engine_type="ActiveMQ",
|
|
374
374
|
engine_version="5.17.6",
|
|
375
|
-
data=\"\"\"<?xml version
|
|
376
|
-
<broker xmlns
|
|
375
|
+
data=\"\"\"<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
376
|
+
<broker xmlns="http://activemq.apache.org/schema/core">
|
|
377
377
|
<plugins>
|
|
378
|
-
<forcePersistencyModeBrokerPlugin persistenceFlag
|
|
378
|
+
<forcePersistencyModeBrokerPlugin persistenceFlag="true"/>
|
|
379
379
|
<statisticsBrokerPlugin/>
|
|
380
|
-
<timeStampingBrokerPlugin ttlCeiling
|
|
380
|
+
<timeStampingBrokerPlugin ttlCeiling="86400000" zeroExpirationOverride="86400000"/>
|
|
381
381
|
</plugins>
|
|
382
382
|
</broker>
|
|
383
383
|
\"\"\")
|
|
@@ -442,12 +442,12 @@ class Configuration(pulumi.CustomResource):
|
|
|
442
442
|
name="example",
|
|
443
443
|
engine_type="ActiveMQ",
|
|
444
444
|
engine_version="5.17.6",
|
|
445
|
-
data=\"\"\"<?xml version
|
|
446
|
-
<broker xmlns
|
|
445
|
+
data=\"\"\"<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
446
|
+
<broker xmlns="http://activemq.apache.org/schema/core">
|
|
447
447
|
<plugins>
|
|
448
|
-
<forcePersistencyModeBrokerPlugin persistenceFlag
|
|
448
|
+
<forcePersistencyModeBrokerPlugin persistenceFlag="true"/>
|
|
449
449
|
<statisticsBrokerPlugin/>
|
|
450
|
-
<timeStampingBrokerPlugin ttlCeiling
|
|
450
|
+
<timeStampingBrokerPlugin ttlCeiling="86400000" zeroExpirationOverride="86400000"/>
|
|
451
451
|
</plugins>
|
|
452
452
|
</broker>
|
|
453
453
|
\"\"\")
|
|
@@ -320,75 +320,6 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
|
|
|
320
320
|
vpn_connection_arn=example_aws_vpn_connection["arn"])
|
|
321
321
|
```
|
|
322
322
|
|
|
323
|
-
### Full Usage
|
|
324
|
-
|
|
325
|
-
```python
|
|
326
|
-
import pulumi
|
|
327
|
-
import json
|
|
328
|
-
import pulumi_aws as aws
|
|
329
|
-
import pulumi_awscc as awscc
|
|
330
|
-
import pulumi_std as std
|
|
331
|
-
|
|
332
|
-
test_customer_gateway = aws.ec2.CustomerGateway("test",
|
|
333
|
-
bgp_asn="65000",
|
|
334
|
-
ip_address="172.0.0.1",
|
|
335
|
-
type="ipsec.1")
|
|
336
|
-
test_vpn_connection = aws.ec2.VpnConnection("test",
|
|
337
|
-
customer_gateway_id=test_customer_gateway.id,
|
|
338
|
-
type="ipsec.1",
|
|
339
|
-
tags={
|
|
340
|
-
"Name": "test",
|
|
341
|
-
})
|
|
342
|
-
test_global_network = aws.networkmanager.GlobalNetwork("test", tags={
|
|
343
|
-
"Name": "test",
|
|
344
|
-
})
|
|
345
|
-
test = aws.networkmanager.get_core_network_policy_document(core_network_configurations=[{
|
|
346
|
-
"vpn_ecmp_support": False,
|
|
347
|
-
"asn_ranges": ["64512-64555"],
|
|
348
|
-
"edge_locations": [{
|
|
349
|
-
"location": current["region"],
|
|
350
|
-
"asn": "64512",
|
|
351
|
-
}],
|
|
352
|
-
}],
|
|
353
|
-
segments=[{
|
|
354
|
-
"name": "shared",
|
|
355
|
-
"description": "SegmentForSharedServices",
|
|
356
|
-
"require_attachment_acceptance": True,
|
|
357
|
-
}],
|
|
358
|
-
segment_actions=[{
|
|
359
|
-
"action": "share",
|
|
360
|
-
"mode": "attachment-route",
|
|
361
|
-
"segment": "shared",
|
|
362
|
-
"share_withs": ["*"],
|
|
363
|
-
}],
|
|
364
|
-
attachment_policies=[{
|
|
365
|
-
"rule_number": 1,
|
|
366
|
-
"condition_logic": "or",
|
|
367
|
-
"conditions": [{
|
|
368
|
-
"type": "tag-value",
|
|
369
|
-
"operator": "equals",
|
|
370
|
-
"key": "segment",
|
|
371
|
-
"value": "shared",
|
|
372
|
-
}],
|
|
373
|
-
"action": {
|
|
374
|
-
"association_method": "constant",
|
|
375
|
-
"segment": "shared",
|
|
376
|
-
},
|
|
377
|
-
}])
|
|
378
|
-
test_networkmanager_core_network = awscc.index.NetworkmanagerCoreNetwork("test",
|
|
379
|
-
global_network_id=test_global_network.id,
|
|
380
|
-
policy_document=json.dumps(std.jsondecode(input=test.json).result))
|
|
381
|
-
test_site_to_site_vpn_attachment = aws.networkmanager.SiteToSiteVpnAttachment("test",
|
|
382
|
-
core_network_id=test_networkmanager_core_network["id"],
|
|
383
|
-
vpn_connection_arn=test_vpn_connection.arn,
|
|
384
|
-
tags={
|
|
385
|
-
"segment": "shared",
|
|
386
|
-
})
|
|
387
|
-
test_attachment_accepter = aws.networkmanager.AttachmentAccepter("test",
|
|
388
|
-
attachment_id=test_site_to_site_vpn_attachment.id,
|
|
389
|
-
attachment_type=test_site_to_site_vpn_attachment.attachment_type)
|
|
390
|
-
```
|
|
391
|
-
|
|
392
323
|
## Import
|
|
393
324
|
|
|
394
325
|
Using `pulumi import`, import `aws_networkmanager_site_to_site_vpn_attachment` using the attachment ID. For example:
|
|
@@ -427,75 +358,6 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
|
|
|
427
358
|
vpn_connection_arn=example_aws_vpn_connection["arn"])
|
|
428
359
|
```
|
|
429
360
|
|
|
430
|
-
### Full Usage
|
|
431
|
-
|
|
432
|
-
```python
|
|
433
|
-
import pulumi
|
|
434
|
-
import json
|
|
435
|
-
import pulumi_aws as aws
|
|
436
|
-
import pulumi_awscc as awscc
|
|
437
|
-
import pulumi_std as std
|
|
438
|
-
|
|
439
|
-
test_customer_gateway = aws.ec2.CustomerGateway("test",
|
|
440
|
-
bgp_asn="65000",
|
|
441
|
-
ip_address="172.0.0.1",
|
|
442
|
-
type="ipsec.1")
|
|
443
|
-
test_vpn_connection = aws.ec2.VpnConnection("test",
|
|
444
|
-
customer_gateway_id=test_customer_gateway.id,
|
|
445
|
-
type="ipsec.1",
|
|
446
|
-
tags={
|
|
447
|
-
"Name": "test",
|
|
448
|
-
})
|
|
449
|
-
test_global_network = aws.networkmanager.GlobalNetwork("test", tags={
|
|
450
|
-
"Name": "test",
|
|
451
|
-
})
|
|
452
|
-
test = aws.networkmanager.get_core_network_policy_document(core_network_configurations=[{
|
|
453
|
-
"vpn_ecmp_support": False,
|
|
454
|
-
"asn_ranges": ["64512-64555"],
|
|
455
|
-
"edge_locations": [{
|
|
456
|
-
"location": current["region"],
|
|
457
|
-
"asn": "64512",
|
|
458
|
-
}],
|
|
459
|
-
}],
|
|
460
|
-
segments=[{
|
|
461
|
-
"name": "shared",
|
|
462
|
-
"description": "SegmentForSharedServices",
|
|
463
|
-
"require_attachment_acceptance": True,
|
|
464
|
-
}],
|
|
465
|
-
segment_actions=[{
|
|
466
|
-
"action": "share",
|
|
467
|
-
"mode": "attachment-route",
|
|
468
|
-
"segment": "shared",
|
|
469
|
-
"share_withs": ["*"],
|
|
470
|
-
}],
|
|
471
|
-
attachment_policies=[{
|
|
472
|
-
"rule_number": 1,
|
|
473
|
-
"condition_logic": "or",
|
|
474
|
-
"conditions": [{
|
|
475
|
-
"type": "tag-value",
|
|
476
|
-
"operator": "equals",
|
|
477
|
-
"key": "segment",
|
|
478
|
-
"value": "shared",
|
|
479
|
-
}],
|
|
480
|
-
"action": {
|
|
481
|
-
"association_method": "constant",
|
|
482
|
-
"segment": "shared",
|
|
483
|
-
},
|
|
484
|
-
}])
|
|
485
|
-
test_networkmanager_core_network = awscc.index.NetworkmanagerCoreNetwork("test",
|
|
486
|
-
global_network_id=test_global_network.id,
|
|
487
|
-
policy_document=json.dumps(std.jsondecode(input=test.json).result))
|
|
488
|
-
test_site_to_site_vpn_attachment = aws.networkmanager.SiteToSiteVpnAttachment("test",
|
|
489
|
-
core_network_id=test_networkmanager_core_network["id"],
|
|
490
|
-
vpn_connection_arn=test_vpn_connection.arn,
|
|
491
|
-
tags={
|
|
492
|
-
"segment": "shared",
|
|
493
|
-
})
|
|
494
|
-
test_attachment_accepter = aws.networkmanager.AttachmentAccepter("test",
|
|
495
|
-
attachment_id=test_site_to_site_vpn_attachment.id,
|
|
496
|
-
attachment_type=test_site_to_site_vpn_attachment.attachment_type)
|
|
497
|
-
```
|
|
498
|
-
|
|
499
361
|
## Import
|
|
500
362
|
|
|
501
363
|
Using `pulumi import`, import `aws_networkmanager_site_to_site_vpn_attachment` using the attachment ID. For example:
|
|
@@ -470,19 +470,19 @@ class Pipeline(pulumi.CustomResource):
|
|
|
470
470
|
}))
|
|
471
471
|
example_pipeline = aws.opensearchingest.Pipeline("example",
|
|
472
472
|
pipeline_name="example",
|
|
473
|
-
pipeline_configuration_body=example.arn.apply(lambda arn: f\"\"\"version:
|
|
473
|
+
pipeline_configuration_body=example.arn.apply(lambda arn: f\"\"\"version: "2"
|
|
474
474
|
example-pipeline:
|
|
475
475
|
source:
|
|
476
476
|
http:
|
|
477
|
-
path:
|
|
477
|
+
path: "/example"
|
|
478
478
|
sink:
|
|
479
479
|
- s3:
|
|
480
480
|
aws:
|
|
481
|
-
sts_role_arn:
|
|
482
|
-
region:
|
|
483
|
-
bucket:
|
|
481
|
+
sts_role_arn: "{arn}"
|
|
482
|
+
region: "{current.region}"
|
|
483
|
+
bucket: "example"
|
|
484
484
|
threshold:
|
|
485
|
-
event_collect_timeout:
|
|
485
|
+
event_collect_timeout: "60s"
|
|
486
486
|
codec:
|
|
487
487
|
ndjson:
|
|
488
488
|
\"\"\"),
|
|
@@ -559,19 +559,19 @@ class Pipeline(pulumi.CustomResource):
|
|
|
559
559
|
}))
|
|
560
560
|
example_pipeline = aws.opensearchingest.Pipeline("example",
|
|
561
561
|
pipeline_name="example",
|
|
562
|
-
pipeline_configuration_body=example.arn.apply(lambda arn: f\"\"\"version:
|
|
562
|
+
pipeline_configuration_body=example.arn.apply(lambda arn: f\"\"\"version: "2"
|
|
563
563
|
example-pipeline:
|
|
564
564
|
source:
|
|
565
565
|
http:
|
|
566
|
-
path:
|
|
566
|
+
path: "/example"
|
|
567
567
|
sink:
|
|
568
568
|
- s3:
|
|
569
569
|
aws:
|
|
570
|
-
sts_role_arn:
|
|
571
|
-
region:
|
|
572
|
-
bucket:
|
|
570
|
+
sts_role_arn: "{arn}"
|
|
571
|
+
region: "{current.region}"
|
|
572
|
+
bucket: "example"
|
|
573
573
|
threshold:
|
|
574
|
-
event_collect_timeout:
|
|
574
|
+
event_collect_timeout: "60s"
|
|
575
575
|
codec:
|
|
576
576
|
ndjson:
|
|
577
577
|
\"\"\"),
|
|
@@ -77,17 +77,6 @@ def get_policies(filter: Optional[_builtins.str] = None,
|
|
|
77
77
|
|
|
78
78
|
## Example Usage
|
|
79
79
|
|
|
80
|
-
### Basic Usage
|
|
81
|
-
|
|
82
|
-
```python
|
|
83
|
-
import pulumi
|
|
84
|
-
import pulumi_aws as aws
|
|
85
|
-
import pulumi_std as std
|
|
86
|
-
|
|
87
|
-
example = aws.organizations.get_policies(filter="SERVICE_CONTROL_POLICY")
|
|
88
|
-
example_get_policy = {__key: aws.organizations.get_policy(policy_id=__value) for __key, __value in std.toset(input=example.ids).result}
|
|
89
|
-
```
|
|
90
|
-
|
|
91
80
|
|
|
92
81
|
:param _builtins.str filter: The type of policies to be returned in the response. Valid values are `AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY`
|
|
93
82
|
"""
|
|
@@ -107,17 +96,6 @@ def get_policies_output(filter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
107
96
|
|
|
108
97
|
## Example Usage
|
|
109
98
|
|
|
110
|
-
### Basic Usage
|
|
111
|
-
|
|
112
|
-
```python
|
|
113
|
-
import pulumi
|
|
114
|
-
import pulumi_aws as aws
|
|
115
|
-
import pulumi_std as std
|
|
116
|
-
|
|
117
|
-
example = aws.organizations.get_policies(filter="SERVICE_CONTROL_POLICY")
|
|
118
|
-
example_get_policy = {__key: aws.organizations.get_policy(policy_id=__value) for __key, __value in std.toset(input=example.ids).result}
|
|
119
|
-
```
|
|
120
|
-
|
|
121
99
|
|
|
122
100
|
:param _builtins.str filter: The type of policies to be returned in the response. Valid values are `AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY`
|
|
123
101
|
"""
|
|
@@ -87,19 +87,6 @@ def get_policies_for_target(filter: Optional[_builtins.str] = None,
|
|
|
87
87
|
|
|
88
88
|
## Example Usage
|
|
89
89
|
|
|
90
|
-
### Basic Usage
|
|
91
|
-
|
|
92
|
-
```python
|
|
93
|
-
import pulumi
|
|
94
|
-
import pulumi_aws as aws
|
|
95
|
-
import pulumi_std as std
|
|
96
|
-
|
|
97
|
-
example = aws.organizations.get_organization()
|
|
98
|
-
example_get_policies_for_target = aws.organizations.get_policies_for_target(target_id=example.roots[0].id,
|
|
99
|
-
filter="SERVICE_CONTROL_POLICY")
|
|
100
|
-
example_get_policy = {__key: aws.organizations.get_policy(policy_id=__value) for __key, __value in std.toset(input=example_get_policies_for_target.ids).result}
|
|
101
|
-
```
|
|
102
|
-
|
|
103
90
|
|
|
104
91
|
:param _builtins.str filter: Must supply one of the 5 different policy filters for a target (AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY)
|
|
105
92
|
:param _builtins.str target_id: The root (string that begins with "r-" followed by 4-32 lowercase letters or digits), account (12 digit string), or Organizational Unit (string starting with "ou-" followed by 4-32 lowercase letters or digits. This string is followed by a second "-" dash and from 8-32 additional lowercase letters or digits.)
|
|
@@ -123,19 +110,6 @@ def get_policies_for_target_output(filter: Optional[pulumi.Input[_builtins.str]]
|
|
|
123
110
|
|
|
124
111
|
## Example Usage
|
|
125
112
|
|
|
126
|
-
### Basic Usage
|
|
127
|
-
|
|
128
|
-
```python
|
|
129
|
-
import pulumi
|
|
130
|
-
import pulumi_aws as aws
|
|
131
|
-
import pulumi_std as std
|
|
132
|
-
|
|
133
|
-
example = aws.organizations.get_organization()
|
|
134
|
-
example_get_policies_for_target = aws.organizations.get_policies_for_target(target_id=example.roots[0].id,
|
|
135
|
-
filter="SERVICE_CONTROL_POLICY")
|
|
136
|
-
example_get_policy = {__key: aws.organizations.get_policy(policy_id=__value) for __key, __value in std.toset(input=example_get_policies_for_target.ids).result}
|
|
137
|
-
```
|
|
138
|
-
|
|
139
113
|
|
|
140
114
|
:param _builtins.str filter: Must supply one of the 5 different policy filters for a target (AISERVICES_OPT_OUT_POLICY | BACKUP_POLICY | RESOURCE_CONTROL_POLICY | SERVICE_CONTROL_POLICY | TAG_POLICY)
|
|
141
115
|
:param _builtins.str target_id: The root (string that begins with "r-" followed by 4-32 lowercase letters or digits), account (12 digit string), or Organizational Unit (string starting with "ou-" followed by 4-32 lowercase letters or digits. This string is followed by a second "-" dash and from 8-32 additional lowercase letters or digits.)
|
|
@@ -146,32 +146,32 @@ class ResourcePolicy(pulumi.CustomResource):
|
|
|
146
146
|
import pulumi_aws as aws
|
|
147
147
|
|
|
148
148
|
example = aws.organizations.ResourcePolicy("example", content=\"\"\"{
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
"Version": "2012-10-17",
|
|
150
|
+
"Statement": [
|
|
151
151
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
"Sid": "DelegatingNecessaryDescribeListActions",
|
|
153
|
+
"Effect": "Allow",
|
|
154
|
+
"Principal": {
|
|
155
|
+
"AWS": "arn:aws:iam::123456789012:root"
|
|
156
156
|
},
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
157
|
+
"Action": [
|
|
158
|
+
"organizations:DescribeOrganization",
|
|
159
|
+
"organizations:DescribeOrganizationalUnit",
|
|
160
|
+
"organizations:DescribeAccount",
|
|
161
|
+
"organizations:DescribePolicy",
|
|
162
|
+
"organizations:DescribeEffectivePolicy",
|
|
163
|
+
"organizations:ListRoots",
|
|
164
|
+
"organizations:ListOrganizationalUnitsForParent",
|
|
165
|
+
"organizations:ListParents",
|
|
166
|
+
"organizations:ListChildren",
|
|
167
|
+
"organizations:ListAccounts",
|
|
168
|
+
"organizations:ListAccountsForParent",
|
|
169
|
+
"organizations:ListPolicies",
|
|
170
|
+
"organizations:ListPoliciesForTarget",
|
|
171
|
+
"organizations:ListTargetsForPolicy",
|
|
172
|
+
"organizations:ListTagsForResource"
|
|
173
173
|
],
|
|
174
|
-
|
|
174
|
+
"Resource": "*"
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
}
|
|
@@ -207,32 +207,32 @@ class ResourcePolicy(pulumi.CustomResource):
|
|
|
207
207
|
import pulumi_aws as aws
|
|
208
208
|
|
|
209
209
|
example = aws.organizations.ResourcePolicy("example", content=\"\"\"{
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
"Version": "2012-10-17",
|
|
211
|
+
"Statement": [
|
|
212
212
|
{
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
"Sid": "DelegatingNecessaryDescribeListActions",
|
|
214
|
+
"Effect": "Allow",
|
|
215
|
+
"Principal": {
|
|
216
|
+
"AWS": "arn:aws:iam::123456789012:root"
|
|
217
217
|
},
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
218
|
+
"Action": [
|
|
219
|
+
"organizations:DescribeOrganization",
|
|
220
|
+
"organizations:DescribeOrganizationalUnit",
|
|
221
|
+
"organizations:DescribeAccount",
|
|
222
|
+
"organizations:DescribePolicy",
|
|
223
|
+
"organizations:DescribeEffectivePolicy",
|
|
224
|
+
"organizations:ListRoots",
|
|
225
|
+
"organizations:ListOrganizationalUnitsForParent",
|
|
226
|
+
"organizations:ListParents",
|
|
227
|
+
"organizations:ListChildren",
|
|
228
|
+
"organizations:ListAccounts",
|
|
229
|
+
"organizations:ListAccountsForParent",
|
|
230
|
+
"organizations:ListPolicies",
|
|
231
|
+
"organizations:ListPoliciesForTarget",
|
|
232
|
+
"organizations:ListTargetsForPolicy",
|
|
233
|
+
"organizations:ListTagsForResource"
|
|
234
234
|
],
|
|
235
|
-
|
|
235
|
+
"Resource": "*"
|
|
236
236
|
}
|
|
237
237
|
]
|
|
238
238
|
}
|
pulumi_aws/pulumi-plugin.json
CHANGED
|
@@ -597,7 +597,7 @@ class CustomDbEngineVersion(pulumi.CustomResource):
|
|
|
597
597
|
engine_version="19.cdb_cev1",
|
|
598
598
|
kms_key_id=example.arn,
|
|
599
599
|
manifest=\"\"\" {
|
|
600
|
-
\\
|
|
600
|
+
\\x09"databaseInstallationFileNames":["V982063-01.zip"]
|
|
601
601
|
}
|
|
602
602
|
\"\"\",
|
|
603
603
|
tags={
|
|
@@ -708,7 +708,7 @@ class CustomDbEngineVersion(pulumi.CustomResource):
|
|
|
708
708
|
engine_version="19.cdb_cev1",
|
|
709
709
|
kms_key_id=example.arn,
|
|
710
710
|
manifest=\"\"\" {
|
|
711
|
-
\\
|
|
711
|
+
\\x09"databaseInstallationFileNames":["V982063-01.zip"]
|
|
712
712
|
}
|
|
713
713
|
\"\"\",
|
|
714
714
|
tags={
|
|
@@ -284,13 +284,13 @@ class Group(pulumi.CustomResource):
|
|
|
284
284
|
name="test-group",
|
|
285
285
|
resource_query={
|
|
286
286
|
"query": \"\"\"{
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
"ResourceTypeFilters": [
|
|
288
|
+
"AWS::EC2::Instance"
|
|
289
289
|
],
|
|
290
|
-
|
|
290
|
+
"TagFilters": [
|
|
291
291
|
{
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
"Key": "Stage",
|
|
293
|
+
"Values": ["Test"]
|
|
294
294
|
}
|
|
295
295
|
]
|
|
296
296
|
}
|
|
@@ -334,13 +334,13 @@ class Group(pulumi.CustomResource):
|
|
|
334
334
|
name="test-group",
|
|
335
335
|
resource_query={
|
|
336
336
|
"query": \"\"\"{
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
"ResourceTypeFilters": [
|
|
338
|
+
"AWS::EC2::Instance"
|
|
339
339
|
],
|
|
340
|
-
|
|
340
|
+
"TagFilters": [
|
|
341
341
|
{
|
|
342
|
-
|
|
343
|
-
|
|
342
|
+
"Key": "Stage",
|
|
343
|
+
"Values": ["Test"]
|
|
344
344
|
}
|
|
345
345
|
]
|
|
346
346
|
}
|
|
@@ -206,15 +206,15 @@ class TrafficPolicy(pulumi.CustomResource):
|
|
|
206
206
|
name="example",
|
|
207
207
|
comment="example comment",
|
|
208
208
|
document=\"\"\"{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
"AWSPolicyFormatVersion": "2015-10-01",
|
|
210
|
+
"RecordType": "A",
|
|
211
|
+
"Endpoints": {
|
|
212
|
+
"endpoint-start-NkPh": {
|
|
213
|
+
"Type": "value",
|
|
214
|
+
"Value": "10.0.0.2"
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
|
|
217
|
+
"StartEndpoint": "endpoint-start-NkPh"
|
|
218
218
|
}
|
|
219
219
|
\"\"\")
|
|
220
220
|
```
|
|
@@ -254,15 +254,15 @@ class TrafficPolicy(pulumi.CustomResource):
|
|
|
254
254
|
name="example",
|
|
255
255
|
comment="example comment",
|
|
256
256
|
document=\"\"\"{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
257
|
+
"AWSPolicyFormatVersion": "2015-10-01",
|
|
258
|
+
"RecordType": "A",
|
|
259
|
+
"Endpoints": {
|
|
260
|
+
"endpoint-start-NkPh": {
|
|
261
|
+
"Type": "value",
|
|
262
|
+
"Value": "10.0.0.2"
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
|
-
|
|
265
|
+
"StartEndpoint": "endpoint-start-NkPh"
|
|
266
266
|
}
|
|
267
267
|
\"\"\")
|
|
268
268
|
```
|