pulumi-aws 7.15.0__py3-none-any.whl → 7.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. pulumi_aws/__init__.py +80 -0
  2. pulumi_aws/alb/listener.py +7 -7
  3. pulumi_aws/alb/target_group.py +7 -7
  4. pulumi_aws/alb/target_group_attachment.py +83 -0
  5. pulumi_aws/apigateway/domain_name.py +86 -7
  6. pulumi_aws/apigateway/get_domain_name.py +15 -1
  7. pulumi_aws/apigateway/integration.py +48 -8
  8. pulumi_aws/athena/_inputs.py +412 -5
  9. pulumi_aws/athena/outputs.py +342 -2
  10. pulumi_aws/backup/global_settings.py +15 -7
  11. pulumi_aws/bedrock/agentcore_memory_strategy.py +8 -0
  12. pulumi_aws/cleanrooms/collaboration.py +26 -6
  13. pulumi_aws/cloudfront/__init__.py +6 -0
  14. pulumi_aws/cloudfront/_inputs.py +3601 -478
  15. pulumi_aws/cloudfront/connection_function.py +658 -0
  16. pulumi_aws/cloudfront/connection_group.py +649 -0
  17. pulumi_aws/cloudfront/distribution.py +142 -0
  18. pulumi_aws/cloudfront/distribution_tenant.py +857 -0
  19. pulumi_aws/cloudfront/get_connection_group.py +249 -0
  20. pulumi_aws/cloudfront/get_distribution_tenant.py +279 -0
  21. pulumi_aws/cloudfront/multitenant_distribution.py +1181 -0
  22. pulumi_aws/cloudfront/outputs.py +3034 -376
  23. pulumi_aws/cloudwatch/log_subscription_filter.py +136 -42
  24. pulumi_aws/directconnect/gateway.py +78 -3
  25. pulumi_aws/directconnect/get_gateway.py +24 -4
  26. pulumi_aws/dlm/_inputs.py +3 -3
  27. pulumi_aws/dlm/outputs.py +2 -2
  28. pulumi_aws/dynamodb/__init__.py +1 -0
  29. pulumi_aws/dynamodb/_inputs.py +370 -0
  30. pulumi_aws/dynamodb/global_secondary_index.py +666 -0
  31. pulumi_aws/dynamodb/outputs.py +315 -0
  32. pulumi_aws/dynamodb/table.py +9 -1
  33. pulumi_aws/ec2/_inputs.py +44 -4
  34. pulumi_aws/ec2/get_vpc_endpoint.py +24 -4
  35. pulumi_aws/ec2/outputs.py +54 -4
  36. pulumi_aws/ecr/__init__.py +1 -0
  37. pulumi_aws/ecr/_inputs.py +58 -22
  38. pulumi_aws/ecr/get_repository_creation_template.py +1 -1
  39. pulumi_aws/ecr/lifecycle_policy.py +152 -64
  40. pulumi_aws/ecr/outputs.py +37 -15
  41. pulumi_aws/ecr/pull_time_update_exclusion.py +363 -0
  42. pulumi_aws/ecr/repository_creation_template.py +7 -7
  43. pulumi_aws/ecs/_inputs.py +20 -0
  44. pulumi_aws/ecs/outputs.py +14 -0
  45. pulumi_aws/ecs/task_definition.py +28 -28
  46. pulumi_aws/elasticache/replication_group.py +7 -7
  47. pulumi_aws/fsx/ontap_file_system.py +14 -0
  48. pulumi_aws/glue/resource_policy.py +4 -4
  49. pulumi_aws/guardduty/_inputs.py +41 -1
  50. pulumi_aws/guardduty/outputs.py +27 -1
  51. pulumi_aws/iam/get_saml_provider.py +15 -1
  52. pulumi_aws/iam/outbound_web_identity_federation.py +0 -4
  53. pulumi_aws/iam/policy.py +47 -0
  54. pulumi_aws/iam/saml_provider.py +28 -0
  55. pulumi_aws/iam/virtual_mfa_device.py +66 -38
  56. pulumi_aws/imagebuilder/_inputs.py +87 -0
  57. pulumi_aws/imagebuilder/image.py +47 -0
  58. pulumi_aws/imagebuilder/image_pipeline.py +47 -0
  59. pulumi_aws/imagebuilder/outputs.py +87 -0
  60. pulumi_aws/kms/grant.py +18 -18
  61. pulumi_aws/lambda_/_inputs.py +24 -4
  62. pulumi_aws/lambda_/event_source_mapping.py +2 -0
  63. pulumi_aws/lambda_/function.py +28 -0
  64. pulumi_aws/lambda_/function_url.py +4 -0
  65. pulumi_aws/lambda_/get_function.py +15 -1
  66. pulumi_aws/lambda_/outputs.py +17 -3
  67. pulumi_aws/lambda_/permission.py +47 -0
  68. pulumi_aws/lb/listener.py +7 -7
  69. pulumi_aws/lb/target_group.py +7 -7
  70. pulumi_aws/lb/target_group_attachment.py +83 -0
  71. pulumi_aws/networkfirewall/_inputs.py +3 -3
  72. pulumi_aws/networkfirewall/outputs.py +2 -2
  73. pulumi_aws/networkfirewall/vpc_endpoint_association.py +2 -2
  74. pulumi_aws/networkmanager/vpc_attachment.py +7 -7
  75. pulumi_aws/opensearchingest/pipeline.py +47 -0
  76. pulumi_aws/organizations/__init__.py +1 -0
  77. pulumi_aws/organizations/tag.py +292 -0
  78. pulumi_aws/pulumi-plugin.json +1 -1
  79. pulumi_aws/rds/cluster.py +21 -21
  80. pulumi_aws/rds/get_proxy.py +29 -1
  81. pulumi_aws/rds/proxy.py +94 -0
  82. pulumi_aws/rds/proxy_default_target_group.py +0 -76
  83. pulumi_aws/rds/proxy_target.py +0 -80
  84. pulumi_aws/redshift/__init__.py +1 -0
  85. pulumi_aws/redshift/_inputs.py +329 -0
  86. pulumi_aws/redshift/idc_application.py +687 -0
  87. pulumi_aws/redshift/outputs.py +265 -0
  88. pulumi_aws/route53/get_resolver_firewall_rules.py +9 -0
  89. pulumi_aws/route53/get_resolver_rule.py +19 -4
  90. pulumi_aws/route53/outputs.py +108 -1
  91. pulumi_aws/route53/resolver_firewall_rule.py +199 -32
  92. pulumi_aws/secretsmanager/__init__.py +1 -0
  93. pulumi_aws/secretsmanager/tag.py +333 -0
  94. pulumi_aws/sesv2/__init__.py +1 -0
  95. pulumi_aws/sesv2/tenant.py +418 -0
  96. pulumi_aws/sfn/activity.py +0 -4
  97. pulumi_aws/sfn/alias.py +0 -4
  98. pulumi_aws/transfer/_inputs.py +126 -0
  99. pulumi_aws/transfer/outputs.py +97 -0
  100. pulumi_aws/transfer/web_app.py +54 -7
  101. pulumi_aws/vpclattice/service_network_resource_association.py +47 -0
  102. {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/METADATA +1 -1
  103. {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/RECORD +105 -93
  104. {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/WHEEL +0 -0
  105. {pulumi_aws-7.15.0.dist-info → pulumi_aws-7.16.0.dist-info}/top_level.txt +0 -0
@@ -28,6 +28,7 @@ class PipelineArgs:
28
28
  buffer_options: Optional[pulumi.Input['PipelineBufferOptionsArgs']] = None,
29
29
  encryption_at_rest_options: Optional[pulumi.Input['PipelineEncryptionAtRestOptionsArgs']] = None,
30
30
  log_publishing_options: Optional[pulumi.Input['PipelineLogPublishingOptionsArgs']] = None,
31
+ pipeline_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
31
32
  region: Optional[pulumi.Input[_builtins.str]] = None,
32
33
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
33
34
  timeouts: Optional[pulumi.Input['PipelineTimeoutsArgs']] = None,
@@ -43,6 +44,7 @@ class PipelineArgs:
43
44
  :param pulumi.Input['PipelineBufferOptionsArgs'] buffer_options: Key-value pairs to configure persistent buffering for the pipeline. See `buffer_options` below.
44
45
  :param pulumi.Input['PipelineEncryptionAtRestOptionsArgs'] encryption_at_rest_options: Key-value pairs to configure encryption for data that is written to a persistent buffer. See `encryption_at_rest_options` below.
45
46
  :param pulumi.Input['PipelineLogPublishingOptionsArgs'] log_publishing_options: Key-value pairs to configure log publishing. See `log_publishing_options` below.
47
+ :param pulumi.Input[_builtins.str] pipeline_role_arn: ARN of the IAM role that grants the pipeline permission to access AWS resources.
46
48
  :param pulumi.Input[_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.
47
49
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the pipeline. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
48
50
  :param pulumi.Input['PipelineVpcOptionsArgs'] vpc_options: Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint. See `vpc_options` below.
@@ -57,6 +59,8 @@ class PipelineArgs:
57
59
  pulumi.set(__self__, "encryption_at_rest_options", encryption_at_rest_options)
58
60
  if log_publishing_options is not None:
59
61
  pulumi.set(__self__, "log_publishing_options", log_publishing_options)
62
+ if pipeline_role_arn is not None:
63
+ pulumi.set(__self__, "pipeline_role_arn", pipeline_role_arn)
60
64
  if region is not None:
61
65
  pulumi.set(__self__, "region", region)
62
66
  if tags is not None:
@@ -152,6 +156,18 @@ class PipelineArgs:
152
156
  def log_publishing_options(self, value: Optional[pulumi.Input['PipelineLogPublishingOptionsArgs']]):
153
157
  pulumi.set(self, "log_publishing_options", value)
154
158
 
159
+ @_builtins.property
160
+ @pulumi.getter(name="pipelineRoleArn")
161
+ def pipeline_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
162
+ """
163
+ ARN of the IAM role that grants the pipeline permission to access AWS resources.
164
+ """
165
+ return pulumi.get(self, "pipeline_role_arn")
166
+
167
+ @pipeline_role_arn.setter
168
+ def pipeline_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
169
+ pulumi.set(self, "pipeline_role_arn", value)
170
+
155
171
  @_builtins.property
156
172
  @pulumi.getter
157
173
  def region(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -210,6 +226,7 @@ class _PipelineState:
210
226
  pipeline_arn: Optional[pulumi.Input[_builtins.str]] = None,
211
227
  pipeline_configuration_body: Optional[pulumi.Input[_builtins.str]] = None,
212
228
  pipeline_name: Optional[pulumi.Input[_builtins.str]] = None,
229
+ pipeline_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
213
230
  region: Optional[pulumi.Input[_builtins.str]] = None,
214
231
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
215
232
  tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -228,6 +245,7 @@ class _PipelineState:
228
245
  :param pulumi.Input[_builtins.str] pipeline_name: The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an AWS Region.
229
246
 
230
247
  The following arguments are optional:
248
+ :param pulumi.Input[_builtins.str] pipeline_role_arn: ARN of the IAM role that grants the pipeline permission to access AWS resources.
231
249
  :param pulumi.Input[_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.
232
250
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the pipeline. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
233
251
  :param pulumi.Input['PipelineVpcOptionsArgs'] vpc_options: Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint. See `vpc_options` below.
@@ -250,6 +268,8 @@ class _PipelineState:
250
268
  pulumi.set(__self__, "pipeline_configuration_body", pipeline_configuration_body)
251
269
  if pipeline_name is not None:
252
270
  pulumi.set(__self__, "pipeline_name", pipeline_name)
271
+ if pipeline_role_arn is not None:
272
+ pulumi.set(__self__, "pipeline_role_arn", pipeline_role_arn)
253
273
  if region is not None:
254
274
  pulumi.set(__self__, "region", region)
255
275
  if tags is not None:
@@ -371,6 +391,18 @@ class _PipelineState:
371
391
  def pipeline_name(self, value: Optional[pulumi.Input[_builtins.str]]):
372
392
  pulumi.set(self, "pipeline_name", value)
373
393
 
394
+ @_builtins.property
395
+ @pulumi.getter(name="pipelineRoleArn")
396
+ def pipeline_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
397
+ """
398
+ ARN of the IAM role that grants the pipeline permission to access AWS resources.
399
+ """
400
+ return pulumi.get(self, "pipeline_role_arn")
401
+
402
+ @pipeline_role_arn.setter
403
+ def pipeline_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
404
+ pulumi.set(self, "pipeline_role_arn", value)
405
+
374
406
  @_builtins.property
375
407
  @pulumi.getter
376
408
  def region(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -439,6 +471,7 @@ class Pipeline(pulumi.CustomResource):
439
471
  min_units: Optional[pulumi.Input[_builtins.int]] = None,
440
472
  pipeline_configuration_body: Optional[pulumi.Input[_builtins.str]] = None,
441
473
  pipeline_name: Optional[pulumi.Input[_builtins.str]] = None,
474
+ pipeline_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
442
475
  region: Optional[pulumi.Input[_builtins.str]] = None,
443
476
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
444
477
  timeouts: Optional[pulumi.Input[Union['PipelineTimeoutsArgs', 'PipelineTimeoutsArgsDict']]] = None,
@@ -523,6 +556,7 @@ class Pipeline(pulumi.CustomResource):
523
556
  :param pulumi.Input[_builtins.str] pipeline_name: The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an AWS Region.
524
557
 
525
558
  The following arguments are optional:
559
+ :param pulumi.Input[_builtins.str] pipeline_role_arn: ARN of the IAM role that grants the pipeline permission to access AWS resources.
526
560
  :param pulumi.Input[_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.
527
561
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the pipeline. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
528
562
  :param pulumi.Input[Union['PipelineVpcOptionsArgs', 'PipelineVpcOptionsArgsDict']] vpc_options: Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint. See `vpc_options` below.
@@ -623,6 +657,7 @@ class Pipeline(pulumi.CustomResource):
623
657
  min_units: Optional[pulumi.Input[_builtins.int]] = None,
624
658
  pipeline_configuration_body: Optional[pulumi.Input[_builtins.str]] = None,
625
659
  pipeline_name: Optional[pulumi.Input[_builtins.str]] = None,
660
+ pipeline_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
626
661
  region: Optional[pulumi.Input[_builtins.str]] = None,
627
662
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
628
663
  timeouts: Optional[pulumi.Input[Union['PipelineTimeoutsArgs', 'PipelineTimeoutsArgsDict']]] = None,
@@ -651,6 +686,7 @@ class Pipeline(pulumi.CustomResource):
651
686
  if pipeline_name is None and not opts.urn:
652
687
  raise TypeError("Missing required property 'pipeline_name'")
653
688
  __props__.__dict__["pipeline_name"] = pipeline_name
689
+ __props__.__dict__["pipeline_role_arn"] = pipeline_role_arn
654
690
  __props__.__dict__["region"] = region
655
691
  __props__.__dict__["tags"] = tags
656
692
  __props__.__dict__["timeouts"] = timeouts
@@ -677,6 +713,7 @@ class Pipeline(pulumi.CustomResource):
677
713
  pipeline_arn: Optional[pulumi.Input[_builtins.str]] = None,
678
714
  pipeline_configuration_body: Optional[pulumi.Input[_builtins.str]] = None,
679
715
  pipeline_name: Optional[pulumi.Input[_builtins.str]] = None,
716
+ pipeline_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
680
717
  region: Optional[pulumi.Input[_builtins.str]] = None,
681
718
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
682
719
  tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -700,6 +737,7 @@ class Pipeline(pulumi.CustomResource):
700
737
  :param pulumi.Input[_builtins.str] pipeline_name: The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an AWS Region.
701
738
 
702
739
  The following arguments are optional:
740
+ :param pulumi.Input[_builtins.str] pipeline_role_arn: ARN of the IAM role that grants the pipeline permission to access AWS resources.
703
741
  :param pulumi.Input[_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.
704
742
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the pipeline. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
705
743
  :param pulumi.Input[Union['PipelineVpcOptionsArgs', 'PipelineVpcOptionsArgsDict']] vpc_options: Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint. See `vpc_options` below.
@@ -717,6 +755,7 @@ class Pipeline(pulumi.CustomResource):
717
755
  __props__.__dict__["pipeline_arn"] = pipeline_arn
718
756
  __props__.__dict__["pipeline_configuration_body"] = pipeline_configuration_body
719
757
  __props__.__dict__["pipeline_name"] = pipeline_name
758
+ __props__.__dict__["pipeline_role_arn"] = pipeline_role_arn
720
759
  __props__.__dict__["region"] = region
721
760
  __props__.__dict__["tags"] = tags
722
761
  __props__.__dict__["tags_all"] = tags_all
@@ -798,6 +837,14 @@ class Pipeline(pulumi.CustomResource):
798
837
  """
799
838
  return pulumi.get(self, "pipeline_name")
800
839
 
840
+ @_builtins.property
841
+ @pulumi.getter(name="pipelineRoleArn")
842
+ def pipeline_role_arn(self) -> pulumi.Output[_builtins.str]:
843
+ """
844
+ ARN of the IAM role that grants the pipeline permission to access AWS resources.
845
+ """
846
+ return pulumi.get(self, "pipeline_role_arn")
847
+
801
848
  @_builtins.property
802
849
  @pulumi.getter
803
850
  def region(self) -> pulumi.Output[_builtins.str]:
@@ -26,5 +26,6 @@ from .organizational_unit import *
26
26
  from .policy import *
27
27
  from .policy_attachment import *
28
28
  from .resource_policy import *
29
+ from .tag import *
29
30
  from ._inputs import *
30
31
  from . import outputs
@@ -0,0 +1,292 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['TagArgs', 'Tag']
18
+
19
+ @pulumi.input_type
20
+ class TagArgs:
21
+ def __init__(__self__, *,
22
+ key: pulumi.Input[_builtins.str],
23
+ resource_id: pulumi.Input[_builtins.str],
24
+ value: pulumi.Input[_builtins.str]):
25
+ """
26
+ The set of arguments for constructing a Tag resource.
27
+ :param pulumi.Input[_builtins.str] key: Tag name.
28
+ :param pulumi.Input[_builtins.str] resource_id: Id of the Organizations resource to tag.
29
+ :param pulumi.Input[_builtins.str] value: Tag value.
30
+ """
31
+ pulumi.set(__self__, "key", key)
32
+ pulumi.set(__self__, "resource_id", resource_id)
33
+ pulumi.set(__self__, "value", value)
34
+
35
+ @_builtins.property
36
+ @pulumi.getter
37
+ def key(self) -> pulumi.Input[_builtins.str]:
38
+ """
39
+ Tag name.
40
+ """
41
+ return pulumi.get(self, "key")
42
+
43
+ @key.setter
44
+ def key(self, value: pulumi.Input[_builtins.str]):
45
+ pulumi.set(self, "key", value)
46
+
47
+ @_builtins.property
48
+ @pulumi.getter(name="resourceId")
49
+ def resource_id(self) -> pulumi.Input[_builtins.str]:
50
+ """
51
+ Id of the Organizations resource to tag.
52
+ """
53
+ return pulumi.get(self, "resource_id")
54
+
55
+ @resource_id.setter
56
+ def resource_id(self, value: pulumi.Input[_builtins.str]):
57
+ pulumi.set(self, "resource_id", value)
58
+
59
+ @_builtins.property
60
+ @pulumi.getter
61
+ def value(self) -> pulumi.Input[_builtins.str]:
62
+ """
63
+ Tag value.
64
+ """
65
+ return pulumi.get(self, "value")
66
+
67
+ @value.setter
68
+ def value(self, value: pulumi.Input[_builtins.str]):
69
+ pulumi.set(self, "value", value)
70
+
71
+
72
+ @pulumi.input_type
73
+ class _TagState:
74
+ def __init__(__self__, *,
75
+ key: Optional[pulumi.Input[_builtins.str]] = None,
76
+ resource_id: Optional[pulumi.Input[_builtins.str]] = None,
77
+ value: Optional[pulumi.Input[_builtins.str]] = None):
78
+ """
79
+ Input properties used for looking up and filtering Tag resources.
80
+ :param pulumi.Input[_builtins.str] key: Tag name.
81
+ :param pulumi.Input[_builtins.str] resource_id: Id of the Organizations resource to tag.
82
+ :param pulumi.Input[_builtins.str] value: Tag value.
83
+ """
84
+ if key is not None:
85
+ pulumi.set(__self__, "key", key)
86
+ if resource_id is not None:
87
+ pulumi.set(__self__, "resource_id", resource_id)
88
+ if value is not None:
89
+ pulumi.set(__self__, "value", value)
90
+
91
+ @_builtins.property
92
+ @pulumi.getter
93
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
94
+ """
95
+ Tag name.
96
+ """
97
+ return pulumi.get(self, "key")
98
+
99
+ @key.setter
100
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
101
+ pulumi.set(self, "key", value)
102
+
103
+ @_builtins.property
104
+ @pulumi.getter(name="resourceId")
105
+ def resource_id(self) -> Optional[pulumi.Input[_builtins.str]]:
106
+ """
107
+ Id of the Organizations resource to tag.
108
+ """
109
+ return pulumi.get(self, "resource_id")
110
+
111
+ @resource_id.setter
112
+ def resource_id(self, value: Optional[pulumi.Input[_builtins.str]]):
113
+ pulumi.set(self, "resource_id", value)
114
+
115
+ @_builtins.property
116
+ @pulumi.getter
117
+ def value(self) -> Optional[pulumi.Input[_builtins.str]]:
118
+ """
119
+ Tag value.
120
+ """
121
+ return pulumi.get(self, "value")
122
+
123
+ @value.setter
124
+ def value(self, value: Optional[pulumi.Input[_builtins.str]]):
125
+ pulumi.set(self, "value", value)
126
+
127
+
128
+ @pulumi.type_token("aws:organizations/tag:Tag")
129
+ class Tag(pulumi.CustomResource):
130
+ @overload
131
+ def __init__(__self__,
132
+ resource_name: str,
133
+ opts: Optional[pulumi.ResourceOptions] = None,
134
+ key: Optional[pulumi.Input[_builtins.str]] = None,
135
+ resource_id: Optional[pulumi.Input[_builtins.str]] = None,
136
+ value: Optional[pulumi.Input[_builtins.str]] = None,
137
+ __props__=None):
138
+ """
139
+ ## Example Usage
140
+
141
+ ```python
142
+ import pulumi
143
+ import pulumi_aws as aws
144
+
145
+ example = aws.organizations.get_organization()
146
+ example_organizational_unit = aws.organizations.OrganizationalUnit("example",
147
+ name="ExampleOU",
148
+ parent_id=example.roots[0].id)
149
+ example_tag = aws.organizations.Tag("example",
150
+ resource_id=example_organizational_unit.id,
151
+ key="ExampleKey",
152
+ value="ExampleValue")
153
+ ```
154
+
155
+ ## Import
156
+
157
+ Using `pulumi import`, import `aws_organizations_tag` using the Organizations resource identifier and key, separated by a comma (`,`). For example:
158
+
159
+ ```sh
160
+ $ pulumi import aws:organizations/tag:Tag example ou-1234567,ExampleKey
161
+ ```
162
+
163
+ :param str resource_name: The name of the resource.
164
+ :param pulumi.ResourceOptions opts: Options for the resource.
165
+ :param pulumi.Input[_builtins.str] key: Tag name.
166
+ :param pulumi.Input[_builtins.str] resource_id: Id of the Organizations resource to tag.
167
+ :param pulumi.Input[_builtins.str] value: Tag value.
168
+ """
169
+ ...
170
+ @overload
171
+ def __init__(__self__,
172
+ resource_name: str,
173
+ args: TagArgs,
174
+ opts: Optional[pulumi.ResourceOptions] = None):
175
+ """
176
+ ## Example Usage
177
+
178
+ ```python
179
+ import pulumi
180
+ import pulumi_aws as aws
181
+
182
+ example = aws.organizations.get_organization()
183
+ example_organizational_unit = aws.organizations.OrganizationalUnit("example",
184
+ name="ExampleOU",
185
+ parent_id=example.roots[0].id)
186
+ example_tag = aws.organizations.Tag("example",
187
+ resource_id=example_organizational_unit.id,
188
+ key="ExampleKey",
189
+ value="ExampleValue")
190
+ ```
191
+
192
+ ## Import
193
+
194
+ Using `pulumi import`, import `aws_organizations_tag` using the Organizations resource identifier and key, separated by a comma (`,`). For example:
195
+
196
+ ```sh
197
+ $ pulumi import aws:organizations/tag:Tag example ou-1234567,ExampleKey
198
+ ```
199
+
200
+ :param str resource_name: The name of the resource.
201
+ :param TagArgs args: The arguments to use to populate this resource's properties.
202
+ :param pulumi.ResourceOptions opts: Options for the resource.
203
+ """
204
+ ...
205
+ def __init__(__self__, resource_name: str, *args, **kwargs):
206
+ resource_args, opts = _utilities.get_resource_args_opts(TagArgs, pulumi.ResourceOptions, *args, **kwargs)
207
+ if resource_args is not None:
208
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
209
+ else:
210
+ __self__._internal_init(resource_name, *args, **kwargs)
211
+
212
+ def _internal_init(__self__,
213
+ resource_name: str,
214
+ opts: Optional[pulumi.ResourceOptions] = None,
215
+ key: Optional[pulumi.Input[_builtins.str]] = None,
216
+ resource_id: Optional[pulumi.Input[_builtins.str]] = None,
217
+ value: Optional[pulumi.Input[_builtins.str]] = None,
218
+ __props__=None):
219
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
220
+ if not isinstance(opts, pulumi.ResourceOptions):
221
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
222
+ if opts.id is None:
223
+ if __props__ is not None:
224
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
225
+ __props__ = TagArgs.__new__(TagArgs)
226
+
227
+ if key is None and not opts.urn:
228
+ raise TypeError("Missing required property 'key'")
229
+ __props__.__dict__["key"] = key
230
+ if resource_id is None and not opts.urn:
231
+ raise TypeError("Missing required property 'resource_id'")
232
+ __props__.__dict__["resource_id"] = resource_id
233
+ if value is None and not opts.urn:
234
+ raise TypeError("Missing required property 'value'")
235
+ __props__.__dict__["value"] = value
236
+ super(Tag, __self__).__init__(
237
+ 'aws:organizations/tag:Tag',
238
+ resource_name,
239
+ __props__,
240
+ opts)
241
+
242
+ @staticmethod
243
+ def get(resource_name: str,
244
+ id: pulumi.Input[str],
245
+ opts: Optional[pulumi.ResourceOptions] = None,
246
+ key: Optional[pulumi.Input[_builtins.str]] = None,
247
+ resource_id: Optional[pulumi.Input[_builtins.str]] = None,
248
+ value: Optional[pulumi.Input[_builtins.str]] = None) -> 'Tag':
249
+ """
250
+ Get an existing Tag resource's state with the given name, id, and optional extra
251
+ properties used to qualify the lookup.
252
+
253
+ :param str resource_name: The unique name of the resulting resource.
254
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
255
+ :param pulumi.ResourceOptions opts: Options for the resource.
256
+ :param pulumi.Input[_builtins.str] key: Tag name.
257
+ :param pulumi.Input[_builtins.str] resource_id: Id of the Organizations resource to tag.
258
+ :param pulumi.Input[_builtins.str] value: Tag value.
259
+ """
260
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
261
+
262
+ __props__ = _TagState.__new__(_TagState)
263
+
264
+ __props__.__dict__["key"] = key
265
+ __props__.__dict__["resource_id"] = resource_id
266
+ __props__.__dict__["value"] = value
267
+ return Tag(resource_name, opts=opts, __props__=__props__)
268
+
269
+ @_builtins.property
270
+ @pulumi.getter
271
+ def key(self) -> pulumi.Output[_builtins.str]:
272
+ """
273
+ Tag name.
274
+ """
275
+ return pulumi.get(self, "key")
276
+
277
+ @_builtins.property
278
+ @pulumi.getter(name="resourceId")
279
+ def resource_id(self) -> pulumi.Output[_builtins.str]:
280
+ """
281
+ Id of the Organizations resource to tag.
282
+ """
283
+ return pulumi.get(self, "resource_id")
284
+
285
+ @_builtins.property
286
+ @pulumi.getter
287
+ def value(self) -> pulumi.Output[_builtins.str]:
288
+ """
289
+ Tag value.
290
+ """
291
+ return pulumi.get(self, "value")
292
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "aws",
4
- "version": "7.15.0"
4
+ "version": "7.16.0"
5
5
  }