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
@@ -22,25 +22,33 @@ class LogSubscriptionFilterArgs:
22
22
  destination_arn: pulumi.Input[_builtins.str],
23
23
  filter_pattern: pulumi.Input[_builtins.str],
24
24
  log_group: pulumi.Input[_builtins.str],
25
+ apply_on_transformed_logs: Optional[pulumi.Input[_builtins.bool]] = None,
25
26
  distribution: Optional[pulumi.Input[_builtins.str]] = None,
27
+ emit_system_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
26
28
  name: Optional[pulumi.Input[_builtins.str]] = None,
27
29
  region: Optional[pulumi.Input[_builtins.str]] = None,
28
30
  role_arn: Optional[pulumi.Input[_builtins.str]] = None):
29
31
  """
30
32
  The set of arguments for constructing a LogSubscriptionFilter resource.
31
- :param pulumi.Input[_builtins.str] destination_arn: The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
32
- :param pulumi.Input[_builtins.str] filter_pattern: A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
33
- :param pulumi.Input[_builtins.str] log_group: The name of the log group to associate the subscription filter with
34
- :param pulumi.Input[_builtins.str] distribution: The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
35
- :param pulumi.Input[_builtins.str] name: A name for the subscription filter
33
+ :param pulumi.Input[_builtins.str] destination_arn: ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
34
+ :param pulumi.Input[_builtins.str] filter_pattern: Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
35
+ :param pulumi.Input[_builtins.str] log_group: Name of the log group to associate the subscription filter with.
36
+ :param pulumi.Input[_builtins.bool] apply_on_transformed_logs: Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
37
+ :param pulumi.Input[_builtins.str] distribution: Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
38
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] emit_system_fields: List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
39
+ :param pulumi.Input[_builtins.str] name: Name for the subscription filter.
36
40
  :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.
37
- :param pulumi.Input[_builtins.str] role_arn: The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
41
+ :param pulumi.Input[_builtins.str] role_arn: ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
38
42
  """
39
43
  pulumi.set(__self__, "destination_arn", destination_arn)
40
44
  pulumi.set(__self__, "filter_pattern", filter_pattern)
41
45
  pulumi.set(__self__, "log_group", log_group)
46
+ if apply_on_transformed_logs is not None:
47
+ pulumi.set(__self__, "apply_on_transformed_logs", apply_on_transformed_logs)
42
48
  if distribution is not None:
43
49
  pulumi.set(__self__, "distribution", distribution)
50
+ if emit_system_fields is not None:
51
+ pulumi.set(__self__, "emit_system_fields", emit_system_fields)
44
52
  if name is not None:
45
53
  pulumi.set(__self__, "name", name)
46
54
  if region is not None:
@@ -52,7 +60,7 @@ class LogSubscriptionFilterArgs:
52
60
  @pulumi.getter(name="destinationArn")
53
61
  def destination_arn(self) -> pulumi.Input[_builtins.str]:
54
62
  """
55
- The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
63
+ ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
56
64
  """
57
65
  return pulumi.get(self, "destination_arn")
58
66
 
@@ -64,7 +72,7 @@ class LogSubscriptionFilterArgs:
64
72
  @pulumi.getter(name="filterPattern")
65
73
  def filter_pattern(self) -> pulumi.Input[_builtins.str]:
66
74
  """
67
- A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
75
+ Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
68
76
  """
69
77
  return pulumi.get(self, "filter_pattern")
70
78
 
@@ -76,7 +84,7 @@ class LogSubscriptionFilterArgs:
76
84
  @pulumi.getter(name="logGroup")
77
85
  def log_group(self) -> pulumi.Input[_builtins.str]:
78
86
  """
79
- The name of the log group to associate the subscription filter with
87
+ Name of the log group to associate the subscription filter with.
80
88
  """
81
89
  return pulumi.get(self, "log_group")
82
90
 
@@ -84,11 +92,23 @@ class LogSubscriptionFilterArgs:
84
92
  def log_group(self, value: pulumi.Input[_builtins.str]):
85
93
  pulumi.set(self, "log_group", value)
86
94
 
95
+ @_builtins.property
96
+ @pulumi.getter(name="applyOnTransformedLogs")
97
+ def apply_on_transformed_logs(self) -> Optional[pulumi.Input[_builtins.bool]]:
98
+ """
99
+ Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
100
+ """
101
+ return pulumi.get(self, "apply_on_transformed_logs")
102
+
103
+ @apply_on_transformed_logs.setter
104
+ def apply_on_transformed_logs(self, value: Optional[pulumi.Input[_builtins.bool]]):
105
+ pulumi.set(self, "apply_on_transformed_logs", value)
106
+
87
107
  @_builtins.property
88
108
  @pulumi.getter
89
109
  def distribution(self) -> Optional[pulumi.Input[_builtins.str]]:
90
110
  """
91
- The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
111
+ Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
92
112
  """
93
113
  return pulumi.get(self, "distribution")
94
114
 
@@ -96,11 +116,23 @@ class LogSubscriptionFilterArgs:
96
116
  def distribution(self, value: Optional[pulumi.Input[_builtins.str]]):
97
117
  pulumi.set(self, "distribution", value)
98
118
 
119
+ @_builtins.property
120
+ @pulumi.getter(name="emitSystemFields")
121
+ def emit_system_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
122
+ """
123
+ List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
124
+ """
125
+ return pulumi.get(self, "emit_system_fields")
126
+
127
+ @emit_system_fields.setter
128
+ def emit_system_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
129
+ pulumi.set(self, "emit_system_fields", value)
130
+
99
131
  @_builtins.property
100
132
  @pulumi.getter
101
133
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
102
134
  """
103
- A name for the subscription filter
135
+ Name for the subscription filter.
104
136
  """
105
137
  return pulumi.get(self, "name")
106
138
 
@@ -124,7 +156,7 @@ class LogSubscriptionFilterArgs:
124
156
  @pulumi.getter(name="roleArn")
125
157
  def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
126
158
  """
127
- The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
159
+ ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
128
160
  """
129
161
  return pulumi.get(self, "role_arn")
130
162
 
@@ -136,8 +168,10 @@ class LogSubscriptionFilterArgs:
136
168
  @pulumi.input_type
137
169
  class _LogSubscriptionFilterState:
138
170
  def __init__(__self__, *,
171
+ apply_on_transformed_logs: Optional[pulumi.Input[_builtins.bool]] = None,
139
172
  destination_arn: Optional[pulumi.Input[_builtins.str]] = None,
140
173
  distribution: Optional[pulumi.Input[_builtins.str]] = None,
174
+ emit_system_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
141
175
  filter_pattern: Optional[pulumi.Input[_builtins.str]] = None,
142
176
  log_group: Optional[pulumi.Input[_builtins.str]] = None,
143
177
  name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -145,18 +179,24 @@ class _LogSubscriptionFilterState:
145
179
  role_arn: Optional[pulumi.Input[_builtins.str]] = None):
146
180
  """
147
181
  Input properties used for looking up and filtering LogSubscriptionFilter resources.
148
- :param pulumi.Input[_builtins.str] destination_arn: The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
149
- :param pulumi.Input[_builtins.str] distribution: The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
150
- :param pulumi.Input[_builtins.str] filter_pattern: A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
151
- :param pulumi.Input[_builtins.str] log_group: The name of the log group to associate the subscription filter with
152
- :param pulumi.Input[_builtins.str] name: A name for the subscription filter
182
+ :param pulumi.Input[_builtins.bool] apply_on_transformed_logs: Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
183
+ :param pulumi.Input[_builtins.str] destination_arn: ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
184
+ :param pulumi.Input[_builtins.str] distribution: Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
185
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] emit_system_fields: List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
186
+ :param pulumi.Input[_builtins.str] filter_pattern: Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
187
+ :param pulumi.Input[_builtins.str] log_group: Name of the log group to associate the subscription filter with.
188
+ :param pulumi.Input[_builtins.str] name: Name for the subscription filter.
153
189
  :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.
154
- :param pulumi.Input[_builtins.str] role_arn: The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
190
+ :param pulumi.Input[_builtins.str] role_arn: ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
155
191
  """
192
+ if apply_on_transformed_logs is not None:
193
+ pulumi.set(__self__, "apply_on_transformed_logs", apply_on_transformed_logs)
156
194
  if destination_arn is not None:
157
195
  pulumi.set(__self__, "destination_arn", destination_arn)
158
196
  if distribution is not None:
159
197
  pulumi.set(__self__, "distribution", distribution)
198
+ if emit_system_fields is not None:
199
+ pulumi.set(__self__, "emit_system_fields", emit_system_fields)
160
200
  if filter_pattern is not None:
161
201
  pulumi.set(__self__, "filter_pattern", filter_pattern)
162
202
  if log_group is not None:
@@ -168,11 +208,23 @@ class _LogSubscriptionFilterState:
168
208
  if role_arn is not None:
169
209
  pulumi.set(__self__, "role_arn", role_arn)
170
210
 
211
+ @_builtins.property
212
+ @pulumi.getter(name="applyOnTransformedLogs")
213
+ def apply_on_transformed_logs(self) -> Optional[pulumi.Input[_builtins.bool]]:
214
+ """
215
+ Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
216
+ """
217
+ return pulumi.get(self, "apply_on_transformed_logs")
218
+
219
+ @apply_on_transformed_logs.setter
220
+ def apply_on_transformed_logs(self, value: Optional[pulumi.Input[_builtins.bool]]):
221
+ pulumi.set(self, "apply_on_transformed_logs", value)
222
+
171
223
  @_builtins.property
172
224
  @pulumi.getter(name="destinationArn")
173
225
  def destination_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
174
226
  """
175
- The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
227
+ ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
176
228
  """
177
229
  return pulumi.get(self, "destination_arn")
178
230
 
@@ -184,7 +236,7 @@ class _LogSubscriptionFilterState:
184
236
  @pulumi.getter
185
237
  def distribution(self) -> Optional[pulumi.Input[_builtins.str]]:
186
238
  """
187
- The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
239
+ Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
188
240
  """
189
241
  return pulumi.get(self, "distribution")
190
242
 
@@ -192,11 +244,23 @@ class _LogSubscriptionFilterState:
192
244
  def distribution(self, value: Optional[pulumi.Input[_builtins.str]]):
193
245
  pulumi.set(self, "distribution", value)
194
246
 
247
+ @_builtins.property
248
+ @pulumi.getter(name="emitSystemFields")
249
+ def emit_system_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
250
+ """
251
+ List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
252
+ """
253
+ return pulumi.get(self, "emit_system_fields")
254
+
255
+ @emit_system_fields.setter
256
+ def emit_system_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
257
+ pulumi.set(self, "emit_system_fields", value)
258
+
195
259
  @_builtins.property
196
260
  @pulumi.getter(name="filterPattern")
197
261
  def filter_pattern(self) -> Optional[pulumi.Input[_builtins.str]]:
198
262
  """
199
- A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
263
+ Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
200
264
  """
201
265
  return pulumi.get(self, "filter_pattern")
202
266
 
@@ -208,7 +272,7 @@ class _LogSubscriptionFilterState:
208
272
  @pulumi.getter(name="logGroup")
209
273
  def log_group(self) -> Optional[pulumi.Input[_builtins.str]]:
210
274
  """
211
- The name of the log group to associate the subscription filter with
275
+ Name of the log group to associate the subscription filter with.
212
276
  """
213
277
  return pulumi.get(self, "log_group")
214
278
 
@@ -220,7 +284,7 @@ class _LogSubscriptionFilterState:
220
284
  @pulumi.getter
221
285
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
222
286
  """
223
- A name for the subscription filter
287
+ Name for the subscription filter.
224
288
  """
225
289
  return pulumi.get(self, "name")
226
290
 
@@ -244,7 +308,7 @@ class _LogSubscriptionFilterState:
244
308
  @pulumi.getter(name="roleArn")
245
309
  def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
246
310
  """
247
- The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
311
+ ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
248
312
  """
249
313
  return pulumi.get(self, "role_arn")
250
314
 
@@ -259,8 +323,10 @@ class LogSubscriptionFilter(pulumi.CustomResource):
259
323
  def __init__(__self__,
260
324
  resource_name: str,
261
325
  opts: Optional[pulumi.ResourceOptions] = None,
326
+ apply_on_transformed_logs: Optional[pulumi.Input[_builtins.bool]] = None,
262
327
  destination_arn: Optional[pulumi.Input[_builtins.str]] = None,
263
328
  distribution: Optional[pulumi.Input[_builtins.str]] = None,
329
+ emit_system_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
264
330
  filter_pattern: Optional[pulumi.Input[_builtins.str]] = None,
265
331
  log_group: Optional[pulumi.Input[_builtins.str]] = None,
266
332
  name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -295,13 +361,15 @@ class LogSubscriptionFilter(pulumi.CustomResource):
295
361
 
296
362
  :param str resource_name: The name of the resource.
297
363
  :param pulumi.ResourceOptions opts: Options for the resource.
298
- :param pulumi.Input[_builtins.str] destination_arn: The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
299
- :param pulumi.Input[_builtins.str] distribution: The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
300
- :param pulumi.Input[_builtins.str] filter_pattern: A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
301
- :param pulumi.Input[_builtins.str] log_group: The name of the log group to associate the subscription filter with
302
- :param pulumi.Input[_builtins.str] name: A name for the subscription filter
364
+ :param pulumi.Input[_builtins.bool] apply_on_transformed_logs: Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
365
+ :param pulumi.Input[_builtins.str] destination_arn: ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
366
+ :param pulumi.Input[_builtins.str] distribution: Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
367
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] emit_system_fields: List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
368
+ :param pulumi.Input[_builtins.str] filter_pattern: Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
369
+ :param pulumi.Input[_builtins.str] log_group: Name of the log group to associate the subscription filter with.
370
+ :param pulumi.Input[_builtins.str] name: Name for the subscription filter.
303
371
  :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.
304
- :param pulumi.Input[_builtins.str] role_arn: The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
372
+ :param pulumi.Input[_builtins.str] role_arn: ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
305
373
  """
306
374
  ...
307
375
  @overload
@@ -350,8 +418,10 @@ class LogSubscriptionFilter(pulumi.CustomResource):
350
418
  def _internal_init(__self__,
351
419
  resource_name: str,
352
420
  opts: Optional[pulumi.ResourceOptions] = None,
421
+ apply_on_transformed_logs: Optional[pulumi.Input[_builtins.bool]] = None,
353
422
  destination_arn: Optional[pulumi.Input[_builtins.str]] = None,
354
423
  distribution: Optional[pulumi.Input[_builtins.str]] = None,
424
+ emit_system_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
355
425
  filter_pattern: Optional[pulumi.Input[_builtins.str]] = None,
356
426
  log_group: Optional[pulumi.Input[_builtins.str]] = None,
357
427
  name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -366,10 +436,12 @@ class LogSubscriptionFilter(pulumi.CustomResource):
366
436
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
367
437
  __props__ = LogSubscriptionFilterArgs.__new__(LogSubscriptionFilterArgs)
368
438
 
439
+ __props__.__dict__["apply_on_transformed_logs"] = apply_on_transformed_logs
369
440
  if destination_arn is None and not opts.urn:
370
441
  raise TypeError("Missing required property 'destination_arn'")
371
442
  __props__.__dict__["destination_arn"] = destination_arn
372
443
  __props__.__dict__["distribution"] = distribution
444
+ __props__.__dict__["emit_system_fields"] = emit_system_fields
373
445
  if filter_pattern is None and not opts.urn:
374
446
  raise TypeError("Missing required property 'filter_pattern'")
375
447
  __props__.__dict__["filter_pattern"] = filter_pattern
@@ -389,8 +461,10 @@ class LogSubscriptionFilter(pulumi.CustomResource):
389
461
  def get(resource_name: str,
390
462
  id: pulumi.Input[str],
391
463
  opts: Optional[pulumi.ResourceOptions] = None,
464
+ apply_on_transformed_logs: Optional[pulumi.Input[_builtins.bool]] = None,
392
465
  destination_arn: Optional[pulumi.Input[_builtins.str]] = None,
393
466
  distribution: Optional[pulumi.Input[_builtins.str]] = None,
467
+ emit_system_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
394
468
  filter_pattern: Optional[pulumi.Input[_builtins.str]] = None,
395
469
  log_group: Optional[pulumi.Input[_builtins.str]] = None,
396
470
  name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -403,20 +477,24 @@ class LogSubscriptionFilter(pulumi.CustomResource):
403
477
  :param str resource_name: The unique name of the resulting resource.
404
478
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
405
479
  :param pulumi.ResourceOptions opts: Options for the resource.
406
- :param pulumi.Input[_builtins.str] destination_arn: The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
407
- :param pulumi.Input[_builtins.str] distribution: The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
408
- :param pulumi.Input[_builtins.str] filter_pattern: A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
409
- :param pulumi.Input[_builtins.str] log_group: The name of the log group to associate the subscription filter with
410
- :param pulumi.Input[_builtins.str] name: A name for the subscription filter
480
+ :param pulumi.Input[_builtins.bool] apply_on_transformed_logs: Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
481
+ :param pulumi.Input[_builtins.str] destination_arn: ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
482
+ :param pulumi.Input[_builtins.str] distribution: Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
483
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] emit_system_fields: List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
484
+ :param pulumi.Input[_builtins.str] filter_pattern: Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
485
+ :param pulumi.Input[_builtins.str] log_group: Name of the log group to associate the subscription filter with.
486
+ :param pulumi.Input[_builtins.str] name: Name for the subscription filter.
411
487
  :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.
412
- :param pulumi.Input[_builtins.str] role_arn: The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
488
+ :param pulumi.Input[_builtins.str] role_arn: ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
413
489
  """
414
490
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
415
491
 
416
492
  __props__ = _LogSubscriptionFilterState.__new__(_LogSubscriptionFilterState)
417
493
 
494
+ __props__.__dict__["apply_on_transformed_logs"] = apply_on_transformed_logs
418
495
  __props__.__dict__["destination_arn"] = destination_arn
419
496
  __props__.__dict__["distribution"] = distribution
497
+ __props__.__dict__["emit_system_fields"] = emit_system_fields
420
498
  __props__.__dict__["filter_pattern"] = filter_pattern
421
499
  __props__.__dict__["log_group"] = log_group
422
500
  __props__.__dict__["name"] = name
@@ -424,11 +502,19 @@ class LogSubscriptionFilter(pulumi.CustomResource):
424
502
  __props__.__dict__["role_arn"] = role_arn
425
503
  return LogSubscriptionFilter(resource_name, opts=opts, __props__=__props__)
426
504
 
505
+ @_builtins.property
506
+ @pulumi.getter(name="applyOnTransformedLogs")
507
+ def apply_on_transformed_logs(self) -> pulumi.Output[_builtins.bool]:
508
+ """
509
+ Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
510
+ """
511
+ return pulumi.get(self, "apply_on_transformed_logs")
512
+
427
513
  @_builtins.property
428
514
  @pulumi.getter(name="destinationArn")
429
515
  def destination_arn(self) -> pulumi.Output[_builtins.str]:
430
516
  """
431
- The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
517
+ ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
432
518
  """
433
519
  return pulumi.get(self, "destination_arn")
434
520
 
@@ -436,15 +522,23 @@ class LogSubscriptionFilter(pulumi.CustomResource):
436
522
  @pulumi.getter
437
523
  def distribution(self) -> pulumi.Output[Optional[_builtins.str]]:
438
524
  """
439
- The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
525
+ Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
440
526
  """
441
527
  return pulumi.get(self, "distribution")
442
528
 
529
+ @_builtins.property
530
+ @pulumi.getter(name="emitSystemFields")
531
+ def emit_system_fields(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
532
+ """
533
+ List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
534
+ """
535
+ return pulumi.get(self, "emit_system_fields")
536
+
443
537
  @_builtins.property
444
538
  @pulumi.getter(name="filterPattern")
445
539
  def filter_pattern(self) -> pulumi.Output[_builtins.str]:
446
540
  """
447
- A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
541
+ Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
448
542
  """
449
543
  return pulumi.get(self, "filter_pattern")
450
544
 
@@ -452,7 +546,7 @@ class LogSubscriptionFilter(pulumi.CustomResource):
452
546
  @pulumi.getter(name="logGroup")
453
547
  def log_group(self) -> pulumi.Output[_builtins.str]:
454
548
  """
455
- The name of the log group to associate the subscription filter with
549
+ Name of the log group to associate the subscription filter with.
456
550
  """
457
551
  return pulumi.get(self, "log_group")
458
552
 
@@ -460,7 +554,7 @@ class LogSubscriptionFilter(pulumi.CustomResource):
460
554
  @pulumi.getter
461
555
  def name(self) -> pulumi.Output[_builtins.str]:
462
556
  """
463
- A name for the subscription filter
557
+ Name for the subscription filter.
464
558
  """
465
559
  return pulumi.get(self, "name")
466
560
 
@@ -476,7 +570,7 @@ class LogSubscriptionFilter(pulumi.CustomResource):
476
570
  @pulumi.getter(name="roleArn")
477
571
  def role_arn(self) -> pulumi.Output[_builtins.str]:
478
572
  """
479
- The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
573
+ ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
480
574
  """
481
575
  return pulumi.get(self, "role_arn")
482
576
 
@@ -20,15 +20,19 @@ __all__ = ['GatewayArgs', 'Gateway']
20
20
  class GatewayArgs:
21
21
  def __init__(__self__, *,
22
22
  amazon_side_asn: pulumi.Input[_builtins.str],
23
- name: Optional[pulumi.Input[_builtins.str]] = None):
23
+ name: Optional[pulumi.Input[_builtins.str]] = None,
24
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
24
25
  """
25
26
  The set of arguments for constructing a Gateway resource.
26
27
  :param pulumi.Input[_builtins.str] amazon_side_asn: The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
27
28
  :param pulumi.Input[_builtins.str] name: The name of the connection.
29
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
28
30
  """
29
31
  pulumi.set(__self__, "amazon_side_asn", amazon_side_asn)
30
32
  if name is not None:
31
33
  pulumi.set(__self__, "name", name)
34
+ if tags is not None:
35
+ pulumi.set(__self__, "tags", tags)
32
36
 
33
37
  @_builtins.property
34
38
  @pulumi.getter(name="amazonSideAsn")
@@ -54,6 +58,18 @@ class GatewayArgs:
54
58
  def name(self, value: Optional[pulumi.Input[_builtins.str]]):
55
59
  pulumi.set(self, "name", value)
56
60
 
61
+ @_builtins.property
62
+ @pulumi.getter
63
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
64
+ """
65
+ Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
66
+ """
67
+ return pulumi.get(self, "tags")
68
+
69
+ @tags.setter
70
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
71
+ pulumi.set(self, "tags", value)
72
+
57
73
 
58
74
  @pulumi.input_type
59
75
  class _GatewayState:
@@ -61,13 +77,17 @@ class _GatewayState:
61
77
  amazon_side_asn: Optional[pulumi.Input[_builtins.str]] = None,
62
78
  arn: Optional[pulumi.Input[_builtins.str]] = None,
63
79
  name: Optional[pulumi.Input[_builtins.str]] = None,
64
- owner_account_id: Optional[pulumi.Input[_builtins.str]] = None):
80
+ owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
81
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
82
+ tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
65
83
  """
66
84
  Input properties used for looking up and filtering Gateway resources.
67
85
  :param pulumi.Input[_builtins.str] amazon_side_asn: The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
68
86
  :param pulumi.Input[_builtins.str] arn: The ARN of the gateway.
69
87
  :param pulumi.Input[_builtins.str] name: The name of the connection.
70
88
  :param pulumi.Input[_builtins.str] owner_account_id: AWS Account ID of the gateway.
89
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
90
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
71
91
  """
72
92
  if amazon_side_asn is not None:
73
93
  pulumi.set(__self__, "amazon_side_asn", amazon_side_asn)
@@ -77,6 +97,10 @@ class _GatewayState:
77
97
  pulumi.set(__self__, "name", name)
78
98
  if owner_account_id is not None:
79
99
  pulumi.set(__self__, "owner_account_id", owner_account_id)
100
+ if tags is not None:
101
+ pulumi.set(__self__, "tags", tags)
102
+ if tags_all is not None:
103
+ pulumi.set(__self__, "tags_all", tags_all)
80
104
 
81
105
  @_builtins.property
82
106
  @pulumi.getter(name="amazonSideAsn")
@@ -126,6 +150,30 @@ class _GatewayState:
126
150
  def owner_account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
127
151
  pulumi.set(self, "owner_account_id", value)
128
152
 
153
+ @_builtins.property
154
+ @pulumi.getter
155
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
156
+ """
157
+ Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
158
+ """
159
+ return pulumi.get(self, "tags")
160
+
161
+ @tags.setter
162
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
163
+ pulumi.set(self, "tags", value)
164
+
165
+ @_builtins.property
166
+ @pulumi.getter(name="tagsAll")
167
+ def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
168
+ """
169
+ A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
170
+ """
171
+ return pulumi.get(self, "tags_all")
172
+
173
+ @tags_all.setter
174
+ def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
175
+ pulumi.set(self, "tags_all", value)
176
+
129
177
 
130
178
  @pulumi.type_token("aws:directconnect/gateway:Gateway")
131
179
  class Gateway(pulumi.CustomResource):
@@ -135,6 +183,7 @@ class Gateway(pulumi.CustomResource):
135
183
  opts: Optional[pulumi.ResourceOptions] = None,
136
184
  amazon_side_asn: Optional[pulumi.Input[_builtins.str]] = None,
137
185
  name: Optional[pulumi.Input[_builtins.str]] = None,
186
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
138
187
  __props__=None):
139
188
  """
140
189
  Provides a Direct Connect Gateway.
@@ -172,6 +221,7 @@ class Gateway(pulumi.CustomResource):
172
221
  :param pulumi.ResourceOptions opts: Options for the resource.
173
222
  :param pulumi.Input[_builtins.str] amazon_side_asn: The ASN to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294.
174
223
  :param pulumi.Input[_builtins.str] name: The name of the connection.
224
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
175
225
  """
176
226
  ...
177
227
  @overload
@@ -228,6 +278,7 @@ class Gateway(pulumi.CustomResource):
228
278
  opts: Optional[pulumi.ResourceOptions] = None,
229
279
  amazon_side_asn: Optional[pulumi.Input[_builtins.str]] = None,
230
280
  name: Optional[pulumi.Input[_builtins.str]] = None,
281
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
231
282
  __props__=None):
232
283
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
233
284
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -241,8 +292,10 @@ class Gateway(pulumi.CustomResource):
241
292
  raise TypeError("Missing required property 'amazon_side_asn'")
242
293
  __props__.__dict__["amazon_side_asn"] = amazon_side_asn
243
294
  __props__.__dict__["name"] = name
295
+ __props__.__dict__["tags"] = tags
244
296
  __props__.__dict__["arn"] = None
245
297
  __props__.__dict__["owner_account_id"] = None
298
+ __props__.__dict__["tags_all"] = None
246
299
  super(Gateway, __self__).__init__(
247
300
  'aws:directconnect/gateway:Gateway',
248
301
  resource_name,
@@ -256,7 +309,9 @@ class Gateway(pulumi.CustomResource):
256
309
  amazon_side_asn: Optional[pulumi.Input[_builtins.str]] = None,
257
310
  arn: Optional[pulumi.Input[_builtins.str]] = None,
258
311
  name: Optional[pulumi.Input[_builtins.str]] = None,
259
- owner_account_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'Gateway':
312
+ owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
313
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
314
+ tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'Gateway':
260
315
  """
261
316
  Get an existing Gateway resource's state with the given name, id, and optional extra
262
317
  properties used to qualify the lookup.
@@ -268,6 +323,8 @@ class Gateway(pulumi.CustomResource):
268
323
  :param pulumi.Input[_builtins.str] arn: The ARN of the gateway.
269
324
  :param pulumi.Input[_builtins.str] name: The name of the connection.
270
325
  :param pulumi.Input[_builtins.str] owner_account_id: AWS Account ID of the gateway.
326
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
327
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
271
328
  """
272
329
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
273
330
 
@@ -277,6 +334,8 @@ class Gateway(pulumi.CustomResource):
277
334
  __props__.__dict__["arn"] = arn
278
335
  __props__.__dict__["name"] = name
279
336
  __props__.__dict__["owner_account_id"] = owner_account_id
337
+ __props__.__dict__["tags"] = tags
338
+ __props__.__dict__["tags_all"] = tags_all
280
339
  return Gateway(resource_name, opts=opts, __props__=__props__)
281
340
 
282
341
  @_builtins.property
@@ -311,3 +370,19 @@ class Gateway(pulumi.CustomResource):
311
370
  """
312
371
  return pulumi.get(self, "owner_account_id")
313
372
 
373
+ @_builtins.property
374
+ @pulumi.getter
375
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
376
+ """
377
+ Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
378
+ """
379
+ return pulumi.get(self, "tags")
380
+
381
+ @_builtins.property
382
+ @pulumi.getter(name="tagsAll")
383
+ def tags_all(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
384
+ """
385
+ A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
386
+ """
387
+ return pulumi.get(self, "tags_all")
388
+