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.
- pulumi_aws/__init__.py +57 -0
- pulumi_aws/acm/certificate.py +20 -20
- pulumi_aws/acmpca/certificate.py +8 -8
- pulumi_aws/apigateway/account.py +0 -4
- pulumi_aws/appflow/_inputs.py +33 -0
- pulumi_aws/appflow/outputs.py +22 -0
- pulumi_aws/appsync/graph_ql_api.py +84 -0
- pulumi_aws/bedrock/_inputs.py +97 -21
- pulumi_aws/bedrock/agent_agent_alias.py +94 -0
- pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
- pulumi_aws/bedrock/agentcore_browser.py +42 -0
- pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
- pulumi_aws/bedrock/agentcore_memory.py +37 -9
- pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
- pulumi_aws/bedrock/outputs.py +64 -17
- pulumi_aws/cloudfront/_inputs.py +15 -14
- pulumi_aws/cloudfront/distribution.py +28 -0
- pulumi_aws/cloudfront/outputs.py +10 -9
- pulumi_aws/cloudhsmv2/cluster.py +64 -0
- pulumi_aws/cloudwatch/_inputs.py +9 -8
- pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
- pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
- pulumi_aws/cloudwatch/outputs.py +6 -5
- pulumi_aws/codebuild/webhook.py +16 -16
- pulumi_aws/codepipeline/webhook.py +16 -16
- pulumi_aws/connect/_inputs.py +50 -4
- pulumi_aws/connect/outputs.py +95 -4
- pulumi_aws/connect/routing_profile.py +42 -18
- pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
- pulumi_aws/datazone/project.py +24 -0
- pulumi_aws/detective/organization_configuration.py +20 -0
- pulumi_aws/dms/_inputs.py +3 -3
- pulumi_aws/dms/outputs.py +2 -2
- pulumi_aws/ec2/__init__.py +1 -0
- pulumi_aws/ec2/_inputs.py +182 -0
- pulumi_aws/ec2/allowed_images_settings.py +338 -0
- pulumi_aws/ec2/get_coip_pools.py +24 -0
- pulumi_aws/ec2/image_block_public_access.py +48 -1
- pulumi_aws/ec2/outputs.py +167 -0
- pulumi_aws/ec2/security_group.py +6 -6
- pulumi_aws/ec2/serial_console_access.py +50 -3
- pulumi_aws/ec2/vpc_endpoint.py +92 -0
- pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
- pulumi_aws/ec2clientvpn/route.py +7 -7
- pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
- pulumi_aws/ecrpublic/get_images.py +24 -0
- pulumi_aws/ecs/_inputs.py +172 -33
- pulumi_aws/ecs/get_service.py +318 -7
- pulumi_aws/ecs/outputs.py +957 -86
- pulumi_aws/ecs/service.py +76 -0
- pulumi_aws/eks/_inputs.py +195 -5
- pulumi_aws/eks/outputs.py +164 -4
- pulumi_aws/elasticache/_inputs.py +154 -0
- pulumi_aws/elasticache/get_replication_group.py +23 -9
- pulumi_aws/elasticache/outputs.py +204 -0
- pulumi_aws/elasticache/replication_group.py +115 -0
- pulumi_aws/elasticache/reserved_cache_node.py +28 -0
- pulumi_aws/finspace/kx_cluster.py +76 -0
- pulumi_aws/fis/__init__.py +1 -0
- pulumi_aws/fis/target_account_configuration.py +401 -0
- pulumi_aws/glue/job.py +7 -7
- pulumi_aws/guardduty/malware_protection_plan.py +50 -0
- pulumi_aws/guardduty/member_detector_feature.py +42 -0
- pulumi_aws/invoicing/__init__.py +11 -0
- pulumi_aws/invoicing/_inputs.py +128 -0
- pulumi_aws/invoicing/invoice_unit.py +620 -0
- pulumi_aws/invoicing/outputs.py +99 -0
- pulumi_aws/iot/ca_certificate.py +32 -32
- pulumi_aws/iot/get_registration_code.py +8 -8
- pulumi_aws/ivschat/logging_configuration.py +28 -0
- pulumi_aws/kinesis/get_stream.py +15 -1
- pulumi_aws/kinesis/stream.py +47 -0
- pulumi_aws/kms/key.py +7 -7
- pulumi_aws/licensemanager/license_grant.py +36 -0
- pulumi_aws/m2/environment.py +150 -0
- pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
- pulumi_aws/networkflowmonitor/__init__.py +12 -0
- pulumi_aws/networkflowmonitor/_inputs.py +412 -0
- pulumi_aws/networkflowmonitor/monitor.py +568 -0
- pulumi_aws/networkflowmonitor/outputs.py +302 -0
- pulumi_aws/networkflowmonitor/scope.py +443 -0
- pulumi_aws/observabilityadmin/__init__.py +11 -0
- pulumi_aws/observabilityadmin/_inputs.py +506 -0
- pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
- pulumi_aws/observabilityadmin/outputs.py +415 -0
- pulumi_aws/opensearch/_inputs.py +92 -133
- pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
- pulumi_aws/opensearch/domain.py +60 -0
- pulumi_aws/opensearch/get_domain.py +16 -9
- pulumi_aws/opensearch/outputs.py +131 -2
- pulumi_aws/organizations/get_policies.py +2 -2
- pulumi_aws/organizations/get_policies_for_target.py +2 -2
- pulumi_aws/organizations/get_policy.py +1 -1
- pulumi_aws/organizations/organization.py +7 -7
- pulumi_aws/organizations/policy.py +35 -7
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/quicksight/analysis.py +108 -0
- pulumi_aws/quicksight/dashboard.py +110 -0
- pulumi_aws/quicksight/template.py +126 -0
- pulumi_aws/redshift/cluster_snapshot.py +28 -0
- pulumi_aws/redshift/get_cluster.py +52 -0
- pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
- pulumi_aws/route53/profiles_association.py +30 -0
- pulumi_aws/route53/profiles_resource_association.py +34 -0
- pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
- pulumi_aws/s3tables/table.py +76 -1
- pulumi_aws/s3tables/table_bucket.py +78 -3
- pulumi_aws/sagemaker/_inputs.py +225 -232
- pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
- pulumi_aws/sagemaker/outputs.py +154 -158
- pulumi_aws/ssmincidents/get_response_plan.py +14 -0
- pulumi_aws/ssoadmin/account_assignment.py +4 -4
- pulumi_aws/transfer/profile.py +20 -0
- pulumi_aws/transfer/server.py +7 -0
- pulumi_aws/transfer/ssh_key.py +6 -6
- pulumi_aws/wafv2/rule_group.py +440 -0
- pulumi_aws/workspacesweb/session_logger_association.py +80 -0
- pulumi_aws/workspacesweb/trust_store_association.py +24 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,415 @@
|
|
|
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
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'CentralizationRuleForOrganizationRule',
|
|
20
|
+
'CentralizationRuleForOrganizationRuleDestination',
|
|
21
|
+
'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration',
|
|
22
|
+
'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration',
|
|
23
|
+
'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration',
|
|
24
|
+
'CentralizationRuleForOrganizationRuleSource',
|
|
25
|
+
'CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration',
|
|
26
|
+
'CentralizationRuleForOrganizationTimeouts',
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
@pulumi.output_type
|
|
30
|
+
class CentralizationRuleForOrganizationRule(dict):
|
|
31
|
+
def __init__(__self__, *,
|
|
32
|
+
destination: Optional['outputs.CentralizationRuleForOrganizationRuleDestination'] = None,
|
|
33
|
+
source: Optional['outputs.CentralizationRuleForOrganizationRuleSource'] = None):
|
|
34
|
+
"""
|
|
35
|
+
:param 'CentralizationRuleForOrganizationRuleDestinationArgs' destination: Configuration block for the destination where logs will be centralized. See `destination` below.
|
|
36
|
+
:param 'CentralizationRuleForOrganizationRuleSourceArgs' source: Configuration block for the source of logs to be centralized. See `source` below.
|
|
37
|
+
"""
|
|
38
|
+
if destination is not None:
|
|
39
|
+
pulumi.set(__self__, "destination", destination)
|
|
40
|
+
if source is not None:
|
|
41
|
+
pulumi.set(__self__, "source", source)
|
|
42
|
+
|
|
43
|
+
@_builtins.property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def destination(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleDestination']:
|
|
46
|
+
"""
|
|
47
|
+
Configuration block for the destination where logs will be centralized. See `destination` below.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "destination")
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def source(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleSource']:
|
|
54
|
+
"""
|
|
55
|
+
Configuration block for the source of logs to be centralized. See `source` below.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "source")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@pulumi.output_type
|
|
61
|
+
class CentralizationRuleForOrganizationRuleDestination(dict):
|
|
62
|
+
@staticmethod
|
|
63
|
+
def __key_warning(key: str):
|
|
64
|
+
suggest = None
|
|
65
|
+
if key == "destinationLogsConfiguration":
|
|
66
|
+
suggest = "destination_logs_configuration"
|
|
67
|
+
|
|
68
|
+
if suggest:
|
|
69
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleDestination. Access the value via the '{suggest}' property getter instead.")
|
|
70
|
+
|
|
71
|
+
def __getitem__(self, key: str) -> Any:
|
|
72
|
+
CentralizationRuleForOrganizationRuleDestination.__key_warning(key)
|
|
73
|
+
return super().__getitem__(key)
|
|
74
|
+
|
|
75
|
+
def get(self, key: str, default = None) -> Any:
|
|
76
|
+
CentralizationRuleForOrganizationRuleDestination.__key_warning(key)
|
|
77
|
+
return super().get(key, default)
|
|
78
|
+
|
|
79
|
+
def __init__(__self__, *,
|
|
80
|
+
account: _builtins.str,
|
|
81
|
+
region: _builtins.str,
|
|
82
|
+
destination_logs_configuration: Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration'] = None):
|
|
83
|
+
"""
|
|
84
|
+
:param _builtins.str account: AWS account ID where logs will be centralized.
|
|
85
|
+
:param _builtins.str region: AWS region where logs will be centralized.
|
|
86
|
+
:param 'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationArgs' destination_logs_configuration: Configuration block for destination logs settings. See `destination_logs_configuration` below.
|
|
87
|
+
"""
|
|
88
|
+
pulumi.set(__self__, "account", account)
|
|
89
|
+
pulumi.set(__self__, "region", region)
|
|
90
|
+
if destination_logs_configuration is not None:
|
|
91
|
+
pulumi.set(__self__, "destination_logs_configuration", destination_logs_configuration)
|
|
92
|
+
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def account(self) -> _builtins.str:
|
|
96
|
+
"""
|
|
97
|
+
AWS account ID where logs will be centralized.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "account")
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def region(self) -> _builtins.str:
|
|
104
|
+
"""
|
|
105
|
+
AWS region where logs will be centralized.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "region")
|
|
108
|
+
|
|
109
|
+
@_builtins.property
|
|
110
|
+
@pulumi.getter(name="destinationLogsConfiguration")
|
|
111
|
+
def destination_logs_configuration(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration']:
|
|
112
|
+
"""
|
|
113
|
+
Configuration block for destination logs settings. See `destination_logs_configuration` below.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "destination_logs_configuration")
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
@pulumi.output_type
|
|
119
|
+
class CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration(dict):
|
|
120
|
+
@staticmethod
|
|
121
|
+
def __key_warning(key: str):
|
|
122
|
+
suggest = None
|
|
123
|
+
if key == "backupConfiguration":
|
|
124
|
+
suggest = "backup_configuration"
|
|
125
|
+
elif key == "logsEncryptionConfiguration":
|
|
126
|
+
suggest = "logs_encryption_configuration"
|
|
127
|
+
|
|
128
|
+
if suggest:
|
|
129
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
130
|
+
|
|
131
|
+
def __getitem__(self, key: str) -> Any:
|
|
132
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration.__key_warning(key)
|
|
133
|
+
return super().__getitem__(key)
|
|
134
|
+
|
|
135
|
+
def get(self, key: str, default = None) -> Any:
|
|
136
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfiguration.__key_warning(key)
|
|
137
|
+
return super().get(key, default)
|
|
138
|
+
|
|
139
|
+
def __init__(__self__, *,
|
|
140
|
+
backup_configuration: Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration'] = None,
|
|
141
|
+
logs_encryption_configuration: Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration'] = None):
|
|
142
|
+
"""
|
|
143
|
+
:param 'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfigurationArgs' backup_configuration: Configuration block for backup settings. See `backup_configuration` below.
|
|
144
|
+
:param 'CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfigurationArgs' logs_encryption_configuration: Configuration block for logs encryption settings. See `logs_encryption_configuration` below.
|
|
145
|
+
"""
|
|
146
|
+
if backup_configuration is not None:
|
|
147
|
+
pulumi.set(__self__, "backup_configuration", backup_configuration)
|
|
148
|
+
if logs_encryption_configuration is not None:
|
|
149
|
+
pulumi.set(__self__, "logs_encryption_configuration", logs_encryption_configuration)
|
|
150
|
+
|
|
151
|
+
@_builtins.property
|
|
152
|
+
@pulumi.getter(name="backupConfiguration")
|
|
153
|
+
def backup_configuration(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration']:
|
|
154
|
+
"""
|
|
155
|
+
Configuration block for backup settings. See `backup_configuration` below.
|
|
156
|
+
"""
|
|
157
|
+
return pulumi.get(self, "backup_configuration")
|
|
158
|
+
|
|
159
|
+
@_builtins.property
|
|
160
|
+
@pulumi.getter(name="logsEncryptionConfiguration")
|
|
161
|
+
def logs_encryption_configuration(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration']:
|
|
162
|
+
"""
|
|
163
|
+
Configuration block for logs encryption settings. See `logs_encryption_configuration` below.
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "logs_encryption_configuration")
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
@pulumi.output_type
|
|
169
|
+
class CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration(dict):
|
|
170
|
+
@staticmethod
|
|
171
|
+
def __key_warning(key: str):
|
|
172
|
+
suggest = None
|
|
173
|
+
if key == "kmsKeyArn":
|
|
174
|
+
suggest = "kms_key_arn"
|
|
175
|
+
|
|
176
|
+
if suggest:
|
|
177
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
178
|
+
|
|
179
|
+
def __getitem__(self, key: str) -> Any:
|
|
180
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration.__key_warning(key)
|
|
181
|
+
return super().__getitem__(key)
|
|
182
|
+
|
|
183
|
+
def get(self, key: str, default = None) -> Any:
|
|
184
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationBackupConfiguration.__key_warning(key)
|
|
185
|
+
return super().get(key, default)
|
|
186
|
+
|
|
187
|
+
def __init__(__self__, *,
|
|
188
|
+
kms_key_arn: Optional[_builtins.str] = None,
|
|
189
|
+
region: Optional[_builtins.str] = None):
|
|
190
|
+
"""
|
|
191
|
+
:param _builtins.str kms_key_arn: ARN of the KMS key to use for backup encryption.
|
|
192
|
+
:param _builtins.str region: AWS region for backup storage.
|
|
193
|
+
"""
|
|
194
|
+
if kms_key_arn is not None:
|
|
195
|
+
pulumi.set(__self__, "kms_key_arn", kms_key_arn)
|
|
196
|
+
if region is not None:
|
|
197
|
+
pulumi.set(__self__, "region", region)
|
|
198
|
+
|
|
199
|
+
@_builtins.property
|
|
200
|
+
@pulumi.getter(name="kmsKeyArn")
|
|
201
|
+
def kms_key_arn(self) -> Optional[_builtins.str]:
|
|
202
|
+
"""
|
|
203
|
+
ARN of the KMS key to use for backup encryption.
|
|
204
|
+
"""
|
|
205
|
+
return pulumi.get(self, "kms_key_arn")
|
|
206
|
+
|
|
207
|
+
@_builtins.property
|
|
208
|
+
@pulumi.getter
|
|
209
|
+
def region(self) -> Optional[_builtins.str]:
|
|
210
|
+
"""
|
|
211
|
+
AWS region for backup storage.
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "region")
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
@pulumi.output_type
|
|
217
|
+
class CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration(dict):
|
|
218
|
+
@staticmethod
|
|
219
|
+
def __key_warning(key: str):
|
|
220
|
+
suggest = None
|
|
221
|
+
if key == "encryptionStrategy":
|
|
222
|
+
suggest = "encryption_strategy"
|
|
223
|
+
elif key == "encryptionConflictResolutionStrategy":
|
|
224
|
+
suggest = "encryption_conflict_resolution_strategy"
|
|
225
|
+
elif key == "kmsKeyArn":
|
|
226
|
+
suggest = "kms_key_arn"
|
|
227
|
+
|
|
228
|
+
if suggest:
|
|
229
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
230
|
+
|
|
231
|
+
def __getitem__(self, key: str) -> Any:
|
|
232
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration.__key_warning(key)
|
|
233
|
+
return super().__getitem__(key)
|
|
234
|
+
|
|
235
|
+
def get(self, key: str, default = None) -> Any:
|
|
236
|
+
CentralizationRuleForOrganizationRuleDestinationDestinationLogsConfigurationLogsEncryptionConfiguration.__key_warning(key)
|
|
237
|
+
return super().get(key, default)
|
|
238
|
+
|
|
239
|
+
def __init__(__self__, *,
|
|
240
|
+
encryption_strategy: _builtins.str,
|
|
241
|
+
encryption_conflict_resolution_strategy: Optional[_builtins.str] = None,
|
|
242
|
+
kms_key_arn: Optional[_builtins.str] = None):
|
|
243
|
+
"""
|
|
244
|
+
:param _builtins.str encryption_strategy: Encryption strategy for logs. Valid values: `AWS_OWNED`, `CUSTOMER_MANAGED`.
|
|
245
|
+
:param _builtins.str encryption_conflict_resolution_strategy: Strategy for resolving encryption conflicts. Valid values: `ALLOW`, `SKIP`.
|
|
246
|
+
:param _builtins.str kms_key_arn: ARN of the KMS key to use for encryption when `encryption_strategy` is `CUSTOMER_MANAGED`.
|
|
247
|
+
"""
|
|
248
|
+
pulumi.set(__self__, "encryption_strategy", encryption_strategy)
|
|
249
|
+
if encryption_conflict_resolution_strategy is not None:
|
|
250
|
+
pulumi.set(__self__, "encryption_conflict_resolution_strategy", encryption_conflict_resolution_strategy)
|
|
251
|
+
if kms_key_arn is not None:
|
|
252
|
+
pulumi.set(__self__, "kms_key_arn", kms_key_arn)
|
|
253
|
+
|
|
254
|
+
@_builtins.property
|
|
255
|
+
@pulumi.getter(name="encryptionStrategy")
|
|
256
|
+
def encryption_strategy(self) -> _builtins.str:
|
|
257
|
+
"""
|
|
258
|
+
Encryption strategy for logs. Valid values: `AWS_OWNED`, `CUSTOMER_MANAGED`.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "encryption_strategy")
|
|
261
|
+
|
|
262
|
+
@_builtins.property
|
|
263
|
+
@pulumi.getter(name="encryptionConflictResolutionStrategy")
|
|
264
|
+
def encryption_conflict_resolution_strategy(self) -> Optional[_builtins.str]:
|
|
265
|
+
"""
|
|
266
|
+
Strategy for resolving encryption conflicts. Valid values: `ALLOW`, `SKIP`.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "encryption_conflict_resolution_strategy")
|
|
269
|
+
|
|
270
|
+
@_builtins.property
|
|
271
|
+
@pulumi.getter(name="kmsKeyArn")
|
|
272
|
+
def kms_key_arn(self) -> Optional[_builtins.str]:
|
|
273
|
+
"""
|
|
274
|
+
ARN of the KMS key to use for encryption when `encryption_strategy` is `CUSTOMER_MANAGED`.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "kms_key_arn")
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
@pulumi.output_type
|
|
280
|
+
class CentralizationRuleForOrganizationRuleSource(dict):
|
|
281
|
+
@staticmethod
|
|
282
|
+
def __key_warning(key: str):
|
|
283
|
+
suggest = None
|
|
284
|
+
if key == "sourceLogsConfiguration":
|
|
285
|
+
suggest = "source_logs_configuration"
|
|
286
|
+
|
|
287
|
+
if suggest:
|
|
288
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleSource. Access the value via the '{suggest}' property getter instead.")
|
|
289
|
+
|
|
290
|
+
def __getitem__(self, key: str) -> Any:
|
|
291
|
+
CentralizationRuleForOrganizationRuleSource.__key_warning(key)
|
|
292
|
+
return super().__getitem__(key)
|
|
293
|
+
|
|
294
|
+
def get(self, key: str, default = None) -> Any:
|
|
295
|
+
CentralizationRuleForOrganizationRuleSource.__key_warning(key)
|
|
296
|
+
return super().get(key, default)
|
|
297
|
+
|
|
298
|
+
def __init__(__self__, *,
|
|
299
|
+
regions: Sequence[_builtins.str],
|
|
300
|
+
scope: _builtins.str,
|
|
301
|
+
source_logs_configuration: Optional['outputs.CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration'] = None):
|
|
302
|
+
"""
|
|
303
|
+
:param Sequence[_builtins.str] regions: Set of AWS regions from which to centralize logs. Must contain at least one region.
|
|
304
|
+
:param _builtins.str scope: Scope defining which resources to include. Use organization ID format: `OrganizationId = 'o-example123456'`.
|
|
305
|
+
:param 'CentralizationRuleForOrganizationRuleSourceSourceLogsConfigurationArgs' source_logs_configuration: Configuration block for source logs settings. See `source_logs_configuration` below.
|
|
306
|
+
"""
|
|
307
|
+
pulumi.set(__self__, "regions", regions)
|
|
308
|
+
pulumi.set(__self__, "scope", scope)
|
|
309
|
+
if source_logs_configuration is not None:
|
|
310
|
+
pulumi.set(__self__, "source_logs_configuration", source_logs_configuration)
|
|
311
|
+
|
|
312
|
+
@_builtins.property
|
|
313
|
+
@pulumi.getter
|
|
314
|
+
def regions(self) -> Sequence[_builtins.str]:
|
|
315
|
+
"""
|
|
316
|
+
Set of AWS regions from which to centralize logs. Must contain at least one region.
|
|
317
|
+
"""
|
|
318
|
+
return pulumi.get(self, "regions")
|
|
319
|
+
|
|
320
|
+
@_builtins.property
|
|
321
|
+
@pulumi.getter
|
|
322
|
+
def scope(self) -> _builtins.str:
|
|
323
|
+
"""
|
|
324
|
+
Scope defining which resources to include. Use organization ID format: `OrganizationId = 'o-example123456'`.
|
|
325
|
+
"""
|
|
326
|
+
return pulumi.get(self, "scope")
|
|
327
|
+
|
|
328
|
+
@_builtins.property
|
|
329
|
+
@pulumi.getter(name="sourceLogsConfiguration")
|
|
330
|
+
def source_logs_configuration(self) -> Optional['outputs.CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration']:
|
|
331
|
+
"""
|
|
332
|
+
Configuration block for source logs settings. See `source_logs_configuration` below.
|
|
333
|
+
"""
|
|
334
|
+
return pulumi.get(self, "source_logs_configuration")
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
@pulumi.output_type
|
|
338
|
+
class CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration(dict):
|
|
339
|
+
@staticmethod
|
|
340
|
+
def __key_warning(key: str):
|
|
341
|
+
suggest = None
|
|
342
|
+
if key == "encryptedLogGroupStrategy":
|
|
343
|
+
suggest = "encrypted_log_group_strategy"
|
|
344
|
+
elif key == "logGroupSelectionCriteria":
|
|
345
|
+
suggest = "log_group_selection_criteria"
|
|
346
|
+
|
|
347
|
+
if suggest:
|
|
348
|
+
pulumi.log.warn(f"Key '{key}' not found in CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
349
|
+
|
|
350
|
+
def __getitem__(self, key: str) -> Any:
|
|
351
|
+
CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration.__key_warning(key)
|
|
352
|
+
return super().__getitem__(key)
|
|
353
|
+
|
|
354
|
+
def get(self, key: str, default = None) -> Any:
|
|
355
|
+
CentralizationRuleForOrganizationRuleSourceSourceLogsConfiguration.__key_warning(key)
|
|
356
|
+
return super().get(key, default)
|
|
357
|
+
|
|
358
|
+
def __init__(__self__, *,
|
|
359
|
+
encrypted_log_group_strategy: _builtins.str,
|
|
360
|
+
log_group_selection_criteria: _builtins.str):
|
|
361
|
+
"""
|
|
362
|
+
:param _builtins.str encrypted_log_group_strategy: Strategy for handling encrypted log groups. Valid values: `ALLOW`, `SKIP`.
|
|
363
|
+
:param _builtins.str log_group_selection_criteria: Criteria for selecting log groups. Use `*` for all log groups or OAM filter syntax like `LogGroupName LIKE '/aws/lambda%'`. Must be between 1 and 2000 characters.
|
|
364
|
+
"""
|
|
365
|
+
pulumi.set(__self__, "encrypted_log_group_strategy", encrypted_log_group_strategy)
|
|
366
|
+
pulumi.set(__self__, "log_group_selection_criteria", log_group_selection_criteria)
|
|
367
|
+
|
|
368
|
+
@_builtins.property
|
|
369
|
+
@pulumi.getter(name="encryptedLogGroupStrategy")
|
|
370
|
+
def encrypted_log_group_strategy(self) -> _builtins.str:
|
|
371
|
+
"""
|
|
372
|
+
Strategy for handling encrypted log groups. Valid values: `ALLOW`, `SKIP`.
|
|
373
|
+
"""
|
|
374
|
+
return pulumi.get(self, "encrypted_log_group_strategy")
|
|
375
|
+
|
|
376
|
+
@_builtins.property
|
|
377
|
+
@pulumi.getter(name="logGroupSelectionCriteria")
|
|
378
|
+
def log_group_selection_criteria(self) -> _builtins.str:
|
|
379
|
+
"""
|
|
380
|
+
Criteria for selecting log groups. Use `*` for all log groups or OAM filter syntax like `LogGroupName LIKE '/aws/lambda%'`. Must be between 1 and 2000 characters.
|
|
381
|
+
"""
|
|
382
|
+
return pulumi.get(self, "log_group_selection_criteria")
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
@pulumi.output_type
|
|
386
|
+
class CentralizationRuleForOrganizationTimeouts(dict):
|
|
387
|
+
def __init__(__self__, *,
|
|
388
|
+
create: Optional[_builtins.str] = None,
|
|
389
|
+
update: Optional[_builtins.str] = None):
|
|
390
|
+
"""
|
|
391
|
+
:param _builtins.str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
392
|
+
:param _builtins.str update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
393
|
+
"""
|
|
394
|
+
if create is not None:
|
|
395
|
+
pulumi.set(__self__, "create", create)
|
|
396
|
+
if update is not None:
|
|
397
|
+
pulumi.set(__self__, "update", update)
|
|
398
|
+
|
|
399
|
+
@_builtins.property
|
|
400
|
+
@pulumi.getter
|
|
401
|
+
def create(self) -> Optional[_builtins.str]:
|
|
402
|
+
"""
|
|
403
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
404
|
+
"""
|
|
405
|
+
return pulumi.get(self, "create")
|
|
406
|
+
|
|
407
|
+
@_builtins.property
|
|
408
|
+
@pulumi.getter
|
|
409
|
+
def update(self) -> Optional[_builtins.str]:
|
|
410
|
+
"""
|
|
411
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
412
|
+
"""
|
|
413
|
+
return pulumi.get(self, "update")
|
|
414
|
+
|
|
415
|
+
|