pulumi-aws 7.11.1__py3-none-any.whl → 7.12.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.
Files changed (122) hide show
  1. pulumi_aws/__init__.py +57 -0
  2. pulumi_aws/acm/certificate.py +20 -20
  3. pulumi_aws/acmpca/certificate.py +8 -8
  4. pulumi_aws/apigateway/account.py +0 -4
  5. pulumi_aws/appflow/_inputs.py +33 -0
  6. pulumi_aws/appflow/outputs.py +22 -0
  7. pulumi_aws/appsync/graph_ql_api.py +84 -0
  8. pulumi_aws/bedrock/_inputs.py +97 -21
  9. pulumi_aws/bedrock/agent_agent_alias.py +94 -0
  10. pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
  11. pulumi_aws/bedrock/agentcore_browser.py +42 -0
  12. pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
  13. pulumi_aws/bedrock/agentcore_memory.py +37 -9
  14. pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
  15. pulumi_aws/bedrock/outputs.py +64 -17
  16. pulumi_aws/cloudfront/_inputs.py +15 -14
  17. pulumi_aws/cloudfront/distribution.py +28 -0
  18. pulumi_aws/cloudfront/outputs.py +10 -9
  19. pulumi_aws/cloudhsmv2/cluster.py +64 -0
  20. pulumi_aws/cloudwatch/_inputs.py +9 -8
  21. pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
  22. pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
  23. pulumi_aws/cloudwatch/outputs.py +6 -5
  24. pulumi_aws/codebuild/webhook.py +16 -16
  25. pulumi_aws/codepipeline/webhook.py +16 -16
  26. pulumi_aws/connect/_inputs.py +50 -4
  27. pulumi_aws/connect/outputs.py +95 -4
  28. pulumi_aws/connect/routing_profile.py +42 -18
  29. pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
  30. pulumi_aws/datazone/project.py +24 -0
  31. pulumi_aws/detective/organization_configuration.py +20 -0
  32. pulumi_aws/dms/_inputs.py +3 -3
  33. pulumi_aws/dms/outputs.py +2 -2
  34. pulumi_aws/ec2/__init__.py +1 -0
  35. pulumi_aws/ec2/_inputs.py +182 -0
  36. pulumi_aws/ec2/allowed_images_settings.py +338 -0
  37. pulumi_aws/ec2/get_coip_pools.py +24 -0
  38. pulumi_aws/ec2/image_block_public_access.py +48 -1
  39. pulumi_aws/ec2/outputs.py +167 -0
  40. pulumi_aws/ec2/security_group.py +6 -6
  41. pulumi_aws/ec2/serial_console_access.py +50 -3
  42. pulumi_aws/ec2/vpc_endpoint.py +92 -0
  43. pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
  44. pulumi_aws/ec2clientvpn/route.py +7 -7
  45. pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
  46. pulumi_aws/ecrpublic/get_images.py +24 -0
  47. pulumi_aws/ecs/_inputs.py +172 -33
  48. pulumi_aws/ecs/get_service.py +318 -7
  49. pulumi_aws/ecs/outputs.py +957 -86
  50. pulumi_aws/ecs/service.py +76 -0
  51. pulumi_aws/eks/_inputs.py +195 -5
  52. pulumi_aws/eks/outputs.py +164 -4
  53. pulumi_aws/elasticache/_inputs.py +154 -0
  54. pulumi_aws/elasticache/get_replication_group.py +23 -9
  55. pulumi_aws/elasticache/outputs.py +204 -0
  56. pulumi_aws/elasticache/replication_group.py +115 -0
  57. pulumi_aws/elasticache/reserved_cache_node.py +28 -0
  58. pulumi_aws/finspace/kx_cluster.py +76 -0
  59. pulumi_aws/fis/__init__.py +1 -0
  60. pulumi_aws/fis/target_account_configuration.py +401 -0
  61. pulumi_aws/glue/job.py +7 -7
  62. pulumi_aws/guardduty/malware_protection_plan.py +50 -0
  63. pulumi_aws/guardduty/member_detector_feature.py +42 -0
  64. pulumi_aws/invoicing/__init__.py +11 -0
  65. pulumi_aws/invoicing/_inputs.py +128 -0
  66. pulumi_aws/invoicing/invoice_unit.py +620 -0
  67. pulumi_aws/invoicing/outputs.py +99 -0
  68. pulumi_aws/iot/ca_certificate.py +32 -32
  69. pulumi_aws/iot/get_registration_code.py +8 -8
  70. pulumi_aws/ivschat/logging_configuration.py +28 -0
  71. pulumi_aws/kinesis/get_stream.py +15 -1
  72. pulumi_aws/kinesis/stream.py +47 -0
  73. pulumi_aws/kms/key.py +7 -7
  74. pulumi_aws/licensemanager/license_grant.py +36 -0
  75. pulumi_aws/m2/environment.py +150 -0
  76. pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
  77. pulumi_aws/networkflowmonitor/__init__.py +12 -0
  78. pulumi_aws/networkflowmonitor/_inputs.py +412 -0
  79. pulumi_aws/networkflowmonitor/monitor.py +568 -0
  80. pulumi_aws/networkflowmonitor/outputs.py +302 -0
  81. pulumi_aws/networkflowmonitor/scope.py +443 -0
  82. pulumi_aws/observabilityadmin/__init__.py +11 -0
  83. pulumi_aws/observabilityadmin/_inputs.py +506 -0
  84. pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
  85. pulumi_aws/observabilityadmin/outputs.py +415 -0
  86. pulumi_aws/opensearch/_inputs.py +92 -133
  87. pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
  88. pulumi_aws/opensearch/domain.py +60 -0
  89. pulumi_aws/opensearch/get_domain.py +16 -9
  90. pulumi_aws/opensearch/outputs.py +131 -2
  91. pulumi_aws/organizations/get_policies.py +2 -2
  92. pulumi_aws/organizations/get_policies_for_target.py +2 -2
  93. pulumi_aws/organizations/get_policy.py +1 -1
  94. pulumi_aws/organizations/organization.py +7 -7
  95. pulumi_aws/organizations/policy.py +35 -7
  96. pulumi_aws/pulumi-plugin.json +1 -1
  97. pulumi_aws/quicksight/analysis.py +108 -0
  98. pulumi_aws/quicksight/dashboard.py +110 -0
  99. pulumi_aws/quicksight/template.py +126 -0
  100. pulumi_aws/redshift/cluster_snapshot.py +28 -0
  101. pulumi_aws/redshift/get_cluster.py +52 -0
  102. pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
  103. pulumi_aws/route53/profiles_association.py +30 -0
  104. pulumi_aws/route53/profiles_resource_association.py +34 -0
  105. pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
  106. pulumi_aws/s3tables/table.py +76 -1
  107. pulumi_aws/s3tables/table_bucket.py +78 -3
  108. pulumi_aws/sagemaker/_inputs.py +225 -232
  109. pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
  110. pulumi_aws/sagemaker/outputs.py +154 -158
  111. pulumi_aws/ssmincidents/get_response_plan.py +14 -0
  112. pulumi_aws/ssoadmin/account_assignment.py +4 -4
  113. pulumi_aws/transfer/profile.py +20 -0
  114. pulumi_aws/transfer/server.py +7 -0
  115. pulumi_aws/transfer/ssh_key.py +6 -6
  116. pulumi_aws/wafv2/rule_group.py +440 -0
  117. pulumi_aws/workspacesweb/session_logger_association.py +80 -0
  118. pulumi_aws/workspacesweb/trust_store_association.py +24 -0
  119. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
  120. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
  121. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
  122. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
@@ -489,6 +489,60 @@ class Analysis(pulumi.CustomResource):
489
489
 
490
490
  ### With Definition
491
491
 
492
+ ```python
493
+ import pulumi
494
+ import pulumi_aws as aws
495
+
496
+ example = aws.quicksight.Analysis("example",
497
+ analysis_id="example-id",
498
+ name="example-name",
499
+ definition={
500
+ "dataSetIdentifiersDeclarations": [{
501
+ "dataSetArn": dataset["arn"],
502
+ "identifier": "1",
503
+ }],
504
+ "sheets": [{
505
+ "title": "Example",
506
+ "sheetId": "Example1",
507
+ "visuals": [{
508
+ "lineChartVisual": {
509
+ "visualId": "LineChart",
510
+ "title": {
511
+ "formatText": {
512
+ "plainText": "Line Chart Example",
513
+ },
514
+ },
515
+ "chartConfiguration": {
516
+ "fieldWells": {
517
+ "lineChartAggregatedFieldWells": {
518
+ "categories": [{
519
+ "categoricalDimensionField": {
520
+ "fieldId": "1",
521
+ "column": {
522
+ "dataSetIdentifier": "1",
523
+ "columnName": "Column1",
524
+ },
525
+ },
526
+ }],
527
+ "values": [{
528
+ "categoricalMeasureField": {
529
+ "fieldId": "2",
530
+ "column": {
531
+ "dataSetIdentifier": "1",
532
+ "columnName": "Column1",
533
+ },
534
+ "aggregationFunction": "COUNT",
535
+ },
536
+ }],
537
+ },
538
+ },
539
+ },
540
+ },
541
+ }],
542
+ }],
543
+ })
544
+ ```
545
+
492
546
  ## Import
493
547
 
494
548
  Using `pulumi import`, import a QuickSight Analysis using the AWS account ID and analysis ID separated by a comma (`,`). For example:
@@ -544,6 +598,60 @@ class Analysis(pulumi.CustomResource):
544
598
 
545
599
  ### With Definition
546
600
 
601
+ ```python
602
+ import pulumi
603
+ import pulumi_aws as aws
604
+
605
+ example = aws.quicksight.Analysis("example",
606
+ analysis_id="example-id",
607
+ name="example-name",
608
+ definition={
609
+ "dataSetIdentifiersDeclarations": [{
610
+ "dataSetArn": dataset["arn"],
611
+ "identifier": "1",
612
+ }],
613
+ "sheets": [{
614
+ "title": "Example",
615
+ "sheetId": "Example1",
616
+ "visuals": [{
617
+ "lineChartVisual": {
618
+ "visualId": "LineChart",
619
+ "title": {
620
+ "formatText": {
621
+ "plainText": "Line Chart Example",
622
+ },
623
+ },
624
+ "chartConfiguration": {
625
+ "fieldWells": {
626
+ "lineChartAggregatedFieldWells": {
627
+ "categories": [{
628
+ "categoricalDimensionField": {
629
+ "fieldId": "1",
630
+ "column": {
631
+ "dataSetIdentifier": "1",
632
+ "columnName": "Column1",
633
+ },
634
+ },
635
+ }],
636
+ "values": [{
637
+ "categoricalMeasureField": {
638
+ "fieldId": "2",
639
+ "column": {
640
+ "dataSetIdentifier": "1",
641
+ "columnName": "Column1",
642
+ },
643
+ "aggregationFunction": "COUNT",
644
+ },
645
+ }],
646
+ },
647
+ },
648
+ },
649
+ },
650
+ }],
651
+ }],
652
+ })
653
+ ```
654
+
547
655
  ## Import
548
656
 
549
657
  Using `pulumi import`, import a QuickSight Analysis using the AWS account ID and analysis ID separated by a comma (`,`). For example:
@@ -554,6 +554,61 @@ class Dashboard(pulumi.CustomResource):
554
554
 
555
555
  ### With Definition
556
556
 
557
+ ```python
558
+ import pulumi
559
+ import pulumi_aws as aws
560
+
561
+ example = aws.quicksight.Dashboard("example",
562
+ dashboard_id="example-id",
563
+ name="example-name",
564
+ version_description="version",
565
+ definition={
566
+ "dataSetIdentifiersDeclarations": [{
567
+ "dataSetArn": dataset["arn"],
568
+ "identifier": "1",
569
+ }],
570
+ "sheets": [{
571
+ "title": "Example",
572
+ "sheetId": "Example1",
573
+ "visuals": [{
574
+ "lineChartVisual": {
575
+ "visualId": "LineChart",
576
+ "title": {
577
+ "formatText": {
578
+ "plainText": "Line Chart Example",
579
+ },
580
+ },
581
+ "chartConfiguration": {
582
+ "fieldWells": {
583
+ "lineChartAggregatedFieldWells": {
584
+ "categories": [{
585
+ "categoricalDimensionField": {
586
+ "fieldId": "1",
587
+ "column": {
588
+ "dataSetIdentifier": "1",
589
+ "columnName": "Column1",
590
+ },
591
+ },
592
+ }],
593
+ "values": [{
594
+ "categoricalMeasureField": {
595
+ "fieldId": "2",
596
+ "column": {
597
+ "dataSetIdentifier": "1",
598
+ "columnName": "Column1",
599
+ },
600
+ "aggregationFunction": "COUNT",
601
+ },
602
+ }],
603
+ },
604
+ },
605
+ },
606
+ },
607
+ }],
608
+ }],
609
+ })
610
+ ```
611
+
557
612
  ## Import
558
613
 
559
614
  Using `pulumi import`, import a QuickSight Dashboard using the AWS account ID and dashboard ID separated by a comma (`,`). For example:
@@ -611,6 +666,61 @@ class Dashboard(pulumi.CustomResource):
611
666
 
612
667
  ### With Definition
613
668
 
669
+ ```python
670
+ import pulumi
671
+ import pulumi_aws as aws
672
+
673
+ example = aws.quicksight.Dashboard("example",
674
+ dashboard_id="example-id",
675
+ name="example-name",
676
+ version_description="version",
677
+ definition={
678
+ "dataSetIdentifiersDeclarations": [{
679
+ "dataSetArn": dataset["arn"],
680
+ "identifier": "1",
681
+ }],
682
+ "sheets": [{
683
+ "title": "Example",
684
+ "sheetId": "Example1",
685
+ "visuals": [{
686
+ "lineChartVisual": {
687
+ "visualId": "LineChart",
688
+ "title": {
689
+ "formatText": {
690
+ "plainText": "Line Chart Example",
691
+ },
692
+ },
693
+ "chartConfiguration": {
694
+ "fieldWells": {
695
+ "lineChartAggregatedFieldWells": {
696
+ "categories": [{
697
+ "categoricalDimensionField": {
698
+ "fieldId": "1",
699
+ "column": {
700
+ "dataSetIdentifier": "1",
701
+ "columnName": "Column1",
702
+ },
703
+ },
704
+ }],
705
+ "values": [{
706
+ "categoricalMeasureField": {
707
+ "fieldId": "2",
708
+ "column": {
709
+ "dataSetIdentifier": "1",
710
+ "columnName": "Column1",
711
+ },
712
+ "aggregationFunction": "COUNT",
713
+ },
714
+ }],
715
+ },
716
+ },
717
+ },
718
+ },
719
+ }],
720
+ }],
721
+ })
722
+ ```
723
+
614
724
  ## Import
615
725
 
616
726
  Using `pulumi import`, import a QuickSight Dashboard using the AWS account ID and dashboard ID separated by a comma (`,`). For example:
@@ -439,6 +439,69 @@ class Template(pulumi.CustomResource):
439
439
 
440
440
  ### With Definition
441
441
 
442
+ ```python
443
+ import pulumi
444
+ import pulumi_aws as aws
445
+
446
+ example = aws.quicksight.Template("example",
447
+ template_id="example-id",
448
+ name="example-name",
449
+ version_description="version",
450
+ definition={
451
+ "dataSetConfigurations": [{
452
+ "dataSetSchema": {
453
+ "columnSchemaLists": [
454
+ {
455
+ "name": "Column1",
456
+ "dataType": "STRING",
457
+ },
458
+ {
459
+ "name": "Column2",
460
+ "dataType": "INTEGER",
461
+ },
462
+ ],
463
+ },
464
+ "placeholder": "1",
465
+ }],
466
+ "sheets": [{
467
+ "title": "Test",
468
+ "sheetId": "Test1",
469
+ "visuals": [{
470
+ "barChartVisual": {
471
+ "visualId": "BarChart",
472
+ "chartConfiguration": {
473
+ "fieldWells": {
474
+ "barChartAggregatedFieldWells": {
475
+ "categories": [{
476
+ "categoricalDimensionField": {
477
+ "fieldId": "1",
478
+ "column": {
479
+ "columnName": "Column1",
480
+ "dataSetIdentifier": "1",
481
+ },
482
+ },
483
+ }],
484
+ "values": [{
485
+ "numericalMeasureField": {
486
+ "fieldId": "2",
487
+ "column": {
488
+ "columnName": "Column2",
489
+ "dataSetIdentifier": "1",
490
+ },
491
+ "aggregationFunction": {
492
+ "simpleNumericalAggregation": "SUM",
493
+ },
494
+ },
495
+ }],
496
+ },
497
+ },
498
+ },
499
+ },
500
+ }],
501
+ }],
502
+ })
503
+ ```
504
+
442
505
  ## Import
443
506
 
444
507
  Using `pulumi import`, import a QuickSight Template using the AWS account ID and template ID separated by a comma (`,`). For example:
@@ -489,6 +552,69 @@ class Template(pulumi.CustomResource):
489
552
 
490
553
  ### With Definition
491
554
 
555
+ ```python
556
+ import pulumi
557
+ import pulumi_aws as aws
558
+
559
+ example = aws.quicksight.Template("example",
560
+ template_id="example-id",
561
+ name="example-name",
562
+ version_description="version",
563
+ definition={
564
+ "dataSetConfigurations": [{
565
+ "dataSetSchema": {
566
+ "columnSchemaLists": [
567
+ {
568
+ "name": "Column1",
569
+ "dataType": "STRING",
570
+ },
571
+ {
572
+ "name": "Column2",
573
+ "dataType": "INTEGER",
574
+ },
575
+ ],
576
+ },
577
+ "placeholder": "1",
578
+ }],
579
+ "sheets": [{
580
+ "title": "Test",
581
+ "sheetId": "Test1",
582
+ "visuals": [{
583
+ "barChartVisual": {
584
+ "visualId": "BarChart",
585
+ "chartConfiguration": {
586
+ "fieldWells": {
587
+ "barChartAggregatedFieldWells": {
588
+ "categories": [{
589
+ "categoricalDimensionField": {
590
+ "fieldId": "1",
591
+ "column": {
592
+ "columnName": "Column1",
593
+ "dataSetIdentifier": "1",
594
+ },
595
+ },
596
+ }],
597
+ "values": [{
598
+ "numericalMeasureField": {
599
+ "fieldId": "2",
600
+ "column": {
601
+ "columnName": "Column2",
602
+ "dataSetIdentifier": "1",
603
+ },
604
+ "aggregationFunction": {
605
+ "simpleNumericalAggregation": "SUM",
606
+ },
607
+ },
608
+ }],
609
+ },
610
+ },
611
+ },
612
+ },
613
+ }],
614
+ }],
615
+ })
616
+ ```
617
+
492
618
  ## Import
493
619
 
494
620
  Using `pulumi import`, import a QuickSight Template using the AWS account ID and template ID separated by a comma (`,`). For example:
@@ -271,6 +271,20 @@ class ClusterSnapshot(pulumi.CustomResource):
271
271
 
272
272
  ## Example Usage
273
273
 
274
+ ```python
275
+ import pulumi
276
+ import json
277
+ import pulumi_aws as aws
278
+
279
+ example = aws.redshift.ClusterSnapshot("example",
280
+ cluster_snapshot_name="example",
281
+ cluster_snapshot_content=json.dumps({
282
+ "AllowDBUserOverride": "1",
283
+ "Client_ID": "ExampleClientID",
284
+ "App_ID": "example",
285
+ }))
286
+ ```
287
+
274
288
  ## Import
275
289
 
276
290
  Using `pulumi import`, import Redshift Cluster Snapshots using `snapshot_identifier`. For example:
@@ -298,6 +312,20 @@ class ClusterSnapshot(pulumi.CustomResource):
298
312
 
299
313
  ## Example Usage
300
314
 
315
+ ```python
316
+ import pulumi
317
+ import json
318
+ import pulumi_aws as aws
319
+
320
+ example = aws.redshift.ClusterSnapshot("example",
321
+ cluster_snapshot_name="example",
322
+ cluster_snapshot_content=json.dumps({
323
+ "AllowDBUserOverride": "1",
324
+ "Client_ID": "ExampleClientID",
325
+ "App_ID": "example",
326
+ }))
327
+ ```
328
+
301
329
  ## Import
302
330
 
303
331
  Using `pulumi import`, import Redshift Cluster Snapshots using `snapshot_identifier`. For example:
@@ -545,6 +545,32 @@ def get_cluster(cluster_identifier: Optional[_builtins.str] = None,
545
545
 
546
546
  ## Example Usage
547
547
 
548
+ ```python
549
+ import pulumi
550
+ import pulumi_aws as aws
551
+
552
+ example = aws.redshift.get_cluster(cluster_identifier="example-cluster")
553
+ example_stream = aws.kinesis.FirehoseDeliveryStream("example_stream",
554
+ name="kinesis-firehose-example-stream",
555
+ destination="redshift",
556
+ redshift_configuration={
557
+ "role_arn": firehose_role["arn"],
558
+ "cluster_jdbcurl": f"jdbc:redshift://{example.endpoint}/{example.database_name}",
559
+ "username": "exampleuser",
560
+ "password": "Exampl3Pass",
561
+ "data_table_name": "example-table",
562
+ "copy_options": "delimiter '|'",
563
+ "data_table_columns": "example-col",
564
+ "s3_configuration": {
565
+ "role_arn": firehose_role["arn"],
566
+ "bucket_arn": bucket["arn"],
567
+ "buffer_size": 10,
568
+ "buffer_interval": 400,
569
+ "compression_format": "GZIP",
570
+ },
571
+ })
572
+ ```
573
+
548
574
 
549
575
  :param _builtins.str cluster_identifier: Cluster identifier
550
576
  :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.
@@ -609,6 +635,32 @@ def get_cluster_output(cluster_identifier: Optional[pulumi.Input[_builtins.str]]
609
635
 
610
636
  ## Example Usage
611
637
 
638
+ ```python
639
+ import pulumi
640
+ import pulumi_aws as aws
641
+
642
+ example = aws.redshift.get_cluster(cluster_identifier="example-cluster")
643
+ example_stream = aws.kinesis.FirehoseDeliveryStream("example_stream",
644
+ name="kinesis-firehose-example-stream",
645
+ destination="redshift",
646
+ redshift_configuration={
647
+ "role_arn": firehose_role["arn"],
648
+ "cluster_jdbcurl": f"jdbc:redshift://{example.endpoint}/{example.database_name}",
649
+ "username": "exampleuser",
650
+ "password": "Exampl3Pass",
651
+ "data_table_name": "example-table",
652
+ "copy_options": "delimiter '|'",
653
+ "data_table_columns": "example-col",
654
+ "s3_configuration": {
655
+ "role_arn": firehose_role["arn"],
656
+ "bucket_arn": bucket["arn"],
657
+ "buffer_size": 10,
658
+ "buffer_interval": 400,
659
+ "compression_format": "GZIP",
660
+ },
661
+ })
662
+ ```
663
+
612
664
 
613
665
  :param _builtins.str cluster_identifier: Cluster identifier
614
666
  :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.
@@ -209,6 +209,17 @@ class SnapshotCopyGrant(pulumi.CustomResource):
209
209
 
210
210
  ## Example Usage
211
211
 
212
+ ```python
213
+ import pulumi
214
+ import pulumi_aws as aws
215
+
216
+ test = aws.redshift.SnapshotCopyGrant("test", snapshot_copy_grant_name="my-grant")
217
+ test_cluster = aws.redshift.Cluster("test", snapshot_copy=[{
218
+ "destinationRegion": "us-east-2",
219
+ "grantName": test.snapshot_copy_grant_name,
220
+ }])
221
+ ```
222
+
212
223
  ## Import
213
224
 
214
225
  Using `pulumi import`, import Redshift Snapshot Copy Grants by name. For example:
@@ -237,6 +248,17 @@ class SnapshotCopyGrant(pulumi.CustomResource):
237
248
 
238
249
  ## Example Usage
239
250
 
251
+ ```python
252
+ import pulumi
253
+ import pulumi_aws as aws
254
+
255
+ test = aws.redshift.SnapshotCopyGrant("test", snapshot_copy_grant_name="my-grant")
256
+ test_cluster = aws.redshift.Cluster("test", snapshot_copy=[{
257
+ "destinationRegion": "us-east-2",
258
+ "grantName": test.snapshot_copy_grant_name,
259
+ }])
260
+ ```
261
+
240
262
  ## Import
241
263
 
242
264
  Using `pulumi import`, import Redshift Snapshot Copy Grants by name. For example:
@@ -308,6 +308,21 @@ class ProfilesAssociation(pulumi.CustomResource):
308
308
 
309
309
  ### Basic Usage
310
310
 
311
+ ```python
312
+ import pulumi
313
+ import pulumi_aws as aws
314
+
315
+ example = aws.route53.ProfilesProfile("example", name="example")
316
+ example_vpc = aws.ec2.Vpc("example", cidr="10.0.0.0/16")
317
+ example_profiles_association = aws.route53.ProfilesAssociation("example",
318
+ name="example",
319
+ profile_id=example.id,
320
+ resource_id=example_vpc.id,
321
+ tags={
322
+ "Environment": "dev",
323
+ })
324
+ ```
325
+
311
326
  ## Import
312
327
 
313
328
  Using `pulumi import`, import Route 53 Profiles Association using the `id`. For example:
@@ -337,6 +352,21 @@ class ProfilesAssociation(pulumi.CustomResource):
337
352
 
338
353
  ### Basic Usage
339
354
 
355
+ ```python
356
+ import pulumi
357
+ import pulumi_aws as aws
358
+
359
+ example = aws.route53.ProfilesProfile("example", name="example")
360
+ example_vpc = aws.ec2.Vpc("example", cidr="10.0.0.0/16")
361
+ example_profiles_association = aws.route53.ProfilesAssociation("example",
362
+ name="example",
363
+ profile_id=example.id,
364
+ resource_id=example_vpc.id,
365
+ tags={
366
+ "Environment": "dev",
367
+ })
368
+ ```
369
+
340
370
  ## Import
341
371
 
342
372
  Using `pulumi import`, import Route 53 Profiles Association using the `id`. For example:
@@ -296,6 +296,23 @@ class ProfilesResourceAssociation(pulumi.CustomResource):
296
296
 
297
297
  ### Basic Usage
298
298
 
299
+ ```python
300
+ import pulumi
301
+ import pulumi_aws as aws
302
+
303
+ example = aws.route53.ProfilesProfile("example", name="example")
304
+ example_vpc = aws.ec2.Vpc("example", cidr="10.0.0.0/16")
305
+ example_zone = aws.route53.Zone("example",
306
+ name="example.com",
307
+ vpcs=[{
308
+ "vpc_id": example_vpc.id,
309
+ }])
310
+ example_profiles_resource_association = aws.route53.ProfilesResourceAssociation("example",
311
+ name="example",
312
+ profile_id=example.id,
313
+ resource_arn=example_zone.arn)
314
+ ```
315
+
299
316
  ## Import
300
317
 
301
318
  Using `pulumi import`, import Route 53 Profiles Resource Association using the `id`. For example:
@@ -325,6 +342,23 @@ class ProfilesResourceAssociation(pulumi.CustomResource):
325
342
 
326
343
  ### Basic Usage
327
344
 
345
+ ```python
346
+ import pulumi
347
+ import pulumi_aws as aws
348
+
349
+ example = aws.route53.ProfilesProfile("example", name="example")
350
+ example_vpc = aws.ec2.Vpc("example", cidr="10.0.0.0/16")
351
+ example_zone = aws.route53.Zone("example",
352
+ name="example.com",
353
+ vpcs=[{
354
+ "vpc_id": example_vpc.id,
355
+ }])
356
+ example_profiles_resource_association = aws.route53.ProfilesResourceAssociation("example",
357
+ name="example",
358
+ profile_id=example.id,
359
+ resource_arn=example_zone.arn)
360
+ ```
361
+
328
362
  ## Import
329
363
 
330
364
  Using `pulumi import`, import Route 53 Profiles Resource Association using the `id`. For example: