pulumi-aws-native 1.38.0a1761284362__py3-none-any.whl → 1.39.0a1762409198__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.
Potentially problematic release.
This version of pulumi-aws-native might be problematic. Click here for more details.
- pulumi_aws_native/__init__.py +33 -1
- pulumi_aws_native/_enums.py +4 -0
- pulumi_aws_native/amazonmq/_enums.py +4 -12
- pulumi_aws_native/amazonmq/_inputs.py +21 -91
- pulumi_aws_native/amazonmq/broker.py +56 -67
- pulumi_aws_native/amazonmq/get_broker.py +6 -13
- pulumi_aws_native/amazonmq/outputs.py +14 -54
- pulumi_aws_native/applicationsignals/get_grouping_configuration.py +9 -0
- pulumi_aws_native/applicationsignals/grouping_configuration.py +3 -0
- pulumi_aws_native/appstream/get_image_builder.py +0 -4
- pulumi_aws_native/appstream/image_builder.py +0 -16
- pulumi_aws_native/aps/__init__.py +2 -0
- pulumi_aws_native/aps/_inputs.py +290 -0
- pulumi_aws_native/aps/anomaly_detector.py +318 -0
- pulumi_aws_native/aps/get_anomaly_detector.py +149 -0
- pulumi_aws_native/aps/outputs.py +229 -0
- pulumi_aws_native/arcregionswitch/get_plan.py +0 -3
- pulumi_aws_native/arcregionswitch/plan.py +0 -3
- pulumi_aws_native/batch/_inputs.py +34 -0
- pulumi_aws_native/batch/job_definition.py +29 -0
- pulumi_aws_native/batch/outputs.py +37 -0
- pulumi_aws_native/bedrock/automated_reasoning_policy.py +51 -0
- pulumi_aws_native/bedrock/get_automated_reasoning_policy.py +12 -1
- pulumi_aws_native/bedrockagentcore/__init__.py +2 -0
- pulumi_aws_native/bedrockagentcore/_enums.py +1 -0
- pulumi_aws_native/bedrockagentcore/get_workload_identity.py +134 -0
- pulumi_aws_native/bedrockagentcore/workload_identity.py +217 -0
- pulumi_aws_native/ce/_enums.py +3 -0
- pulumi_aws_native/cleanrooms/configured_table.py +4 -4
- pulumi_aws_native/cleanrooms/get_configured_table.py +1 -1
- pulumi_aws_native/cloudfront/_inputs.py +14 -1
- pulumi_aws_native/cloudfront/get_vpc_origin.py +12 -1
- pulumi_aws_native/cloudfront/outputs.py +11 -1
- pulumi_aws_native/cloudfront/vpc_origin.py +7 -0
- pulumi_aws_native/cognito/__init__.py +2 -0
- pulumi_aws_native/cognito/_enums.py +12 -0
- pulumi_aws_native/cognito/get_terms.py +117 -0
- pulumi_aws_native/cognito/terms.py +236 -0
- pulumi_aws_native/connect/_enums.py +68 -0
- pulumi_aws_native/connect/_inputs.py +581 -1
- pulumi_aws_native/connect/email_address.py +31 -0
- pulumi_aws_native/connect/get_email_address.py +16 -1
- pulumi_aws_native/connect/outputs.py +473 -3
- pulumi_aws_native/connectcampaignsv2/_enums.py +9 -0
- pulumi_aws_native/connectcampaignsv2/_inputs.py +127 -0
- pulumi_aws_native/connectcampaignsv2/outputs.py +118 -0
- pulumi_aws_native/datazone/_inputs.py +81 -0
- pulumi_aws_native/datazone/connection.py +83 -26
- pulumi_aws_native/datazone/outputs.py +84 -0
- pulumi_aws_native/ec2/__init__.py +2 -0
- pulumi_aws_native/ec2/_enums.py +19 -0
- pulumi_aws_native/ec2/_inputs.py +15 -12
- pulumi_aws_native/ec2/capacity_manager_data_export.py +259 -0
- pulumi_aws_native/ec2/capacity_reservation.py +6 -6
- pulumi_aws_native/ec2/get_capacity_manager_data_export.py +92 -0
- pulumi_aws_native/ec2/get_capacity_reservation.py +2 -2
- pulumi_aws_native/ec2/get_nat_gateway.py +3 -0
- pulumi_aws_native/ec2/get_volume.py +37 -15
- pulumi_aws_native/ec2/nat_gateway.py +11 -0
- pulumi_aws_native/ec2/outputs.py +10 -8
- pulumi_aws_native/ec2/volume.py +115 -74
- pulumi_aws_native/ecr/_inputs.py +2 -2
- pulumi_aws_native/ecr/get_repository.py +3 -2
- pulumi_aws_native/ecr/outputs.py +2 -2
- pulumi_aws_native/ecr/repository.py +12 -8
- pulumi_aws_native/ecs/_enums.py +24 -0
- pulumi_aws_native/ecs/_inputs.py +230 -23
- pulumi_aws_native/ecs/outputs.py +195 -15
- pulumi_aws_native/ecs/service.py +4 -0
- pulumi_aws_native/eks/_enums.py +11 -0
- pulumi_aws_native/eks/_inputs.py +199 -1
- pulumi_aws_native/eks/get_nodegroup.py +1 -0
- pulumi_aws_native/eks/nodegroup.py +1 -0
- pulumi_aws_native/eks/outputs.py +169 -1
- pulumi_aws_native/elasticloadbalancingv2/_inputs.py +213 -34
- pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py +15 -4
- pulumi_aws_native/elasticloadbalancingv2/listener_rule.py +22 -1
- pulumi_aws_native/elasticloadbalancingv2/load_balancer.py +4 -4
- pulumi_aws_native/elasticloadbalancingv2/outputs.py +187 -24
- pulumi_aws_native/events/__init__.py +2 -0
- pulumi_aws_native/events/_inputs.py +78 -0
- pulumi_aws_native/events/event_bus_policy.py +275 -0
- pulumi_aws_native/events/get_event_bus_policy.py +85 -0
- pulumi_aws_native/events/outputs.py +48 -0
- pulumi_aws_native/gameliftstreams/application.py +4 -4
- pulumi_aws_native/glue/__init__.py +2 -0
- pulumi_aws_native/glue/_inputs.py +134 -0
- pulumi_aws_native/glue/get_integration_resource_property.py +127 -0
- pulumi_aws_native/glue/integration_resource_property.py +229 -0
- pulumi_aws_native/glue/outputs.py +122 -0
- pulumi_aws_native/imagebuilder/_inputs.py +95 -0
- pulumi_aws_native/imagebuilder/get_image_pipeline.py +15 -1
- pulumi_aws_native/imagebuilder/image.py +58 -0
- pulumi_aws_native/imagebuilder/image_pipeline.py +10 -0
- pulumi_aws_native/imagebuilder/outputs.py +95 -0
- pulumi_aws_native/kendra/_inputs.py +21 -21
- pulumi_aws_native/kendra/outputs.py +14 -14
- pulumi_aws_native/lambda_/permission.py +4 -4
- pulumi_aws_native/mediapackagev2/_enums.py +15 -0
- pulumi_aws_native/mediapackagev2/_inputs.py +103 -0
- pulumi_aws_native/mediapackagev2/get_origin_endpoint.py +26 -1
- pulumi_aws_native/mediapackagev2/origin_endpoint.py +36 -0
- pulumi_aws_native/mediapackagev2/outputs.py +88 -0
- pulumi_aws_native/neptune/db_instance.py +29 -0
- pulumi_aws_native/neptune/get_db_instance.py +15 -1
- pulumi_aws_native/networkfirewall/_enums.py +2 -0
- pulumi_aws_native/networkfirewall/_inputs.py +20 -0
- pulumi_aws_native/networkfirewall/firewall.py +10 -0
- pulumi_aws_native/networkfirewall/get_firewall.py +15 -1
- pulumi_aws_native/networkfirewall/outputs.py +14 -0
- pulumi_aws_native/observabilityadmin/_enums.py +9 -0
- pulumi_aws_native/observabilityadmin/_inputs.py +252 -0
- pulumi_aws_native/observabilityadmin/get_organization_centralization_rule.py +9 -0
- pulumi_aws_native/observabilityadmin/get_organization_telemetry_rule.py +3 -0
- pulumi_aws_native/observabilityadmin/get_telemetry_rule.py +3 -0
- pulumi_aws_native/observabilityadmin/organization_centralization_rule.py +11 -0
- pulumi_aws_native/observabilityadmin/organization_telemetry_rule.py +8 -0
- pulumi_aws_native/observabilityadmin/outputs.py +150 -0
- pulumi_aws_native/observabilityadmin/telemetry_rule.py +8 -0
- pulumi_aws_native/organizations/_enums.py +13 -0
- pulumi_aws_native/organizations/account.py +10 -0
- pulumi_aws_native/organizations/get_account.py +15 -1
- pulumi_aws_native/osis/_inputs.py +24 -0
- pulumi_aws_native/osis/get_pipeline.py +26 -1
- pulumi_aws_native/osis/outputs.py +13 -0
- pulumi_aws_native/osis/pipeline.py +50 -0
- pulumi_aws_native/pulumi-plugin.json +1 -1
- pulumi_aws_native/qbusiness/_inputs.py +3 -3
- pulumi_aws_native/qbusiness/application.py +4 -4
- pulumi_aws_native/qbusiness/outputs.py +2 -2
- pulumi_aws_native/quicksight/_enums.py +1 -1
- pulumi_aws_native/quicksight/_inputs.py +12 -12
- pulumi_aws_native/quicksight/outputs.py +8 -8
- pulumi_aws_native/rds/db_cluster.py +24 -40
- pulumi_aws_native/route53/_inputs.py +21 -3
- pulumi_aws_native/route53/outputs.py +14 -2
- pulumi_aws_native/rtbfabric/__init__.py +17 -0
- pulumi_aws_native/rtbfabric/_enums.py +89 -0
- pulumi_aws_native/rtbfabric/_inputs.py +390 -0
- pulumi_aws_native/rtbfabric/get_link.py +199 -0
- pulumi_aws_native/rtbfabric/get_requester_gateway.py +217 -0
- pulumi_aws_native/rtbfabric/get_responder_gateway.py +255 -0
- pulumi_aws_native/rtbfabric/link.py +344 -0
- pulumi_aws_native/rtbfabric/outputs.py +363 -0
- pulumi_aws_native/rtbfabric/requester_gateway.py +303 -0
- pulumi_aws_native/rtbfabric/responder_gateway.py +431 -0
- pulumi_aws_native/s3/_enums.py +1 -1
- pulumi_aws_native/s3/_inputs.py +11 -5
- pulumi_aws_native/s3/access_grants_location.py +15 -13
- pulumi_aws_native/s3/outputs.py +10 -4
- pulumi_aws_native/s3vectors/__init__.py +17 -0
- pulumi_aws_native/s3vectors/_enums.py +39 -0
- pulumi_aws_native/s3vectors/_inputs.py +138 -0
- pulumi_aws_native/s3vectors/get_index.py +99 -0
- pulumi_aws_native/s3vectors/get_vector_bucket.py +99 -0
- pulumi_aws_native/s3vectors/get_vector_bucket_policy.py +78 -0
- pulumi_aws_native/s3vectors/index.py +367 -0
- pulumi_aws_native/s3vectors/outputs.py +129 -0
- pulumi_aws_native/s3vectors/vector_bucket.py +199 -0
- pulumi_aws_native/s3vectors/vector_bucket_policy.py +188 -0
- pulumi_aws_native/sagemaker/_enums.py +12 -171
- pulumi_aws_native/sagemaker/_inputs.py +81 -5
- pulumi_aws_native/sagemaker/cluster.py +21 -0
- pulumi_aws_native/sagemaker/get_cluster.py +15 -4
- pulumi_aws_native/sagemaker/outputs.py +67 -3
- pulumi_aws_native/ssm/_inputs.py +15 -3
- pulumi_aws_native/ssm/outputs.py +10 -2
- pulumi_aws_native/ssmquicksetup/get_lifecycle_automation.py +6 -0
- pulumi_aws_native/ssmquicksetup/lifecycle_automation.py +16 -0
- pulumi_aws_native/sso/_enums.py +1 -1
- pulumi_aws_native/sso/assignment.py +8 -8
- pulumi_aws_native/synthetics/_inputs.py +52 -12
- pulumi_aws_native/synthetics/outputs.py +35 -8
- pulumi_aws_native/transfer/_enums.py +15 -0
- pulumi_aws_native/transfer/_inputs.py +95 -3
- pulumi_aws_native/transfer/connector.py +86 -19
- pulumi_aws_native/transfer/get_connector.py +43 -1
- pulumi_aws_native/transfer/outputs.py +92 -2
- pulumi_aws_native/wafv2/_inputs.py +72 -0
- pulumi_aws_native/wafv2/get_web_acl.py +15 -1
- pulumi_aws_native/wafv2/outputs.py +45 -0
- pulumi_aws_native/wafv2/web_acl.py +29 -0
- pulumi_aws_native/wisdom/_enums.py +4 -0
- {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/METADATA +1 -1
- {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/RECORD +187 -155
- {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/WHEEL +0 -0
- {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.39.0a1762409198.dist-info}/top_level.txt +0 -0
pulumi_aws_native/aps/outputs.py
CHANGED
|
@@ -17,6 +17,11 @@ from . import outputs
|
|
|
17
17
|
from ._enums import *
|
|
18
18
|
|
|
19
19
|
__all__ = [
|
|
20
|
+
'AnomalyDetectorConfiguration',
|
|
21
|
+
'AnomalyDetectorIgnoreNearExpected',
|
|
22
|
+
'AnomalyDetectorLabel',
|
|
23
|
+
'AnomalyDetectorMissingDataAction',
|
|
24
|
+
'AnomalyDetectorRandomCutForestConfiguration',
|
|
20
25
|
'ScraperCloudWatchLogDestination',
|
|
21
26
|
'ScraperComponent',
|
|
22
27
|
'ScraperComponentConfig',
|
|
@@ -39,6 +44,230 @@ __all__ = [
|
|
|
39
44
|
'WorkspaceQueryLoggingConfiguration',
|
|
40
45
|
]
|
|
41
46
|
|
|
47
|
+
@pulumi.output_type
|
|
48
|
+
class AnomalyDetectorConfiguration(dict):
|
|
49
|
+
@staticmethod
|
|
50
|
+
def __key_warning(key: str):
|
|
51
|
+
suggest = None
|
|
52
|
+
if key == "randomCutForest":
|
|
53
|
+
suggest = "random_cut_forest"
|
|
54
|
+
|
|
55
|
+
if suggest:
|
|
56
|
+
pulumi.log.warn(f"Key '{key}' not found in AnomalyDetectorConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
AnomalyDetectorConfiguration.__key_warning(key)
|
|
60
|
+
return super().__getitem__(key)
|
|
61
|
+
|
|
62
|
+
def get(self, key: str, default = None) -> Any:
|
|
63
|
+
AnomalyDetectorConfiguration.__key_warning(key)
|
|
64
|
+
return super().get(key, default)
|
|
65
|
+
|
|
66
|
+
def __init__(__self__, *,
|
|
67
|
+
random_cut_forest: 'outputs.AnomalyDetectorRandomCutForestConfiguration'):
|
|
68
|
+
"""
|
|
69
|
+
:param 'AnomalyDetectorRandomCutForestConfiguration' random_cut_forest: The Random Cut Forest algorithm configuration for anomaly detection.
|
|
70
|
+
"""
|
|
71
|
+
pulumi.set(__self__, "random_cut_forest", random_cut_forest)
|
|
72
|
+
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter(name="randomCutForest")
|
|
75
|
+
def random_cut_forest(self) -> 'outputs.AnomalyDetectorRandomCutForestConfiguration':
|
|
76
|
+
"""
|
|
77
|
+
The Random Cut Forest algorithm configuration for anomaly detection.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "random_cut_forest")
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
@pulumi.output_type
|
|
83
|
+
class AnomalyDetectorIgnoreNearExpected(dict):
|
|
84
|
+
def __init__(__self__, *,
|
|
85
|
+
amount: Optional[_builtins.float] = None,
|
|
86
|
+
ratio: Optional[_builtins.float] = None):
|
|
87
|
+
if amount is not None:
|
|
88
|
+
pulumi.set(__self__, "amount", amount)
|
|
89
|
+
if ratio is not None:
|
|
90
|
+
pulumi.set(__self__, "ratio", ratio)
|
|
91
|
+
|
|
92
|
+
@_builtins.property
|
|
93
|
+
@pulumi.getter
|
|
94
|
+
def amount(self) -> Optional[_builtins.float]:
|
|
95
|
+
return pulumi.get(self, "amount")
|
|
96
|
+
|
|
97
|
+
@_builtins.property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def ratio(self) -> Optional[_builtins.float]:
|
|
100
|
+
return pulumi.get(self, "ratio")
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
@pulumi.output_type
|
|
104
|
+
class AnomalyDetectorLabel(dict):
|
|
105
|
+
"""
|
|
106
|
+
A key-value pair to provide meta-data and multi-dimensional data analysis for filtering and aggregation.
|
|
107
|
+
"""
|
|
108
|
+
def __init__(__self__, *,
|
|
109
|
+
key: _builtins.str,
|
|
110
|
+
value: _builtins.str):
|
|
111
|
+
"""
|
|
112
|
+
A key-value pair to provide meta-data and multi-dimensional data analysis for filtering and aggregation.
|
|
113
|
+
:param _builtins.str key: The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
114
|
+
:param _builtins.str value: The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
115
|
+
"""
|
|
116
|
+
pulumi.set(__self__, "key", key)
|
|
117
|
+
pulumi.set(__self__, "value", value)
|
|
118
|
+
|
|
119
|
+
@_builtins.property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def key(self) -> _builtins.str:
|
|
122
|
+
"""
|
|
123
|
+
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "key")
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def value(self) -> _builtins.str:
|
|
130
|
+
"""
|
|
131
|
+
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "value")
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
@pulumi.output_type
|
|
137
|
+
class AnomalyDetectorMissingDataAction(dict):
|
|
138
|
+
@staticmethod
|
|
139
|
+
def __key_warning(key: str):
|
|
140
|
+
suggest = None
|
|
141
|
+
if key == "markAsAnomaly":
|
|
142
|
+
suggest = "mark_as_anomaly"
|
|
143
|
+
|
|
144
|
+
if suggest:
|
|
145
|
+
pulumi.log.warn(f"Key '{key}' not found in AnomalyDetectorMissingDataAction. Access the value via the '{suggest}' property getter instead.")
|
|
146
|
+
|
|
147
|
+
def __getitem__(self, key: str) -> Any:
|
|
148
|
+
AnomalyDetectorMissingDataAction.__key_warning(key)
|
|
149
|
+
return super().__getitem__(key)
|
|
150
|
+
|
|
151
|
+
def get(self, key: str, default = None) -> Any:
|
|
152
|
+
AnomalyDetectorMissingDataAction.__key_warning(key)
|
|
153
|
+
return super().get(key, default)
|
|
154
|
+
|
|
155
|
+
def __init__(__self__, *,
|
|
156
|
+
mark_as_anomaly: Optional[_builtins.bool] = None,
|
|
157
|
+
skip: Optional[_builtins.bool] = None):
|
|
158
|
+
if mark_as_anomaly is not None:
|
|
159
|
+
pulumi.set(__self__, "mark_as_anomaly", mark_as_anomaly)
|
|
160
|
+
if skip is not None:
|
|
161
|
+
pulumi.set(__self__, "skip", skip)
|
|
162
|
+
|
|
163
|
+
@_builtins.property
|
|
164
|
+
@pulumi.getter(name="markAsAnomaly")
|
|
165
|
+
def mark_as_anomaly(self) -> Optional[_builtins.bool]:
|
|
166
|
+
return pulumi.get(self, "mark_as_anomaly")
|
|
167
|
+
|
|
168
|
+
@_builtins.property
|
|
169
|
+
@pulumi.getter
|
|
170
|
+
def skip(self) -> Optional[_builtins.bool]:
|
|
171
|
+
return pulumi.get(self, "skip")
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
@pulumi.output_type
|
|
175
|
+
class AnomalyDetectorRandomCutForestConfiguration(dict):
|
|
176
|
+
@staticmethod
|
|
177
|
+
def __key_warning(key: str):
|
|
178
|
+
suggest = None
|
|
179
|
+
if key == "ignoreNearExpectedFromAbove":
|
|
180
|
+
suggest = "ignore_near_expected_from_above"
|
|
181
|
+
elif key == "ignoreNearExpectedFromBelow":
|
|
182
|
+
suggest = "ignore_near_expected_from_below"
|
|
183
|
+
elif key == "sampleSize":
|
|
184
|
+
suggest = "sample_size"
|
|
185
|
+
elif key == "shingleSize":
|
|
186
|
+
suggest = "shingle_size"
|
|
187
|
+
|
|
188
|
+
if suggest:
|
|
189
|
+
pulumi.log.warn(f"Key '{key}' not found in AnomalyDetectorRandomCutForestConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
190
|
+
|
|
191
|
+
def __getitem__(self, key: str) -> Any:
|
|
192
|
+
AnomalyDetectorRandomCutForestConfiguration.__key_warning(key)
|
|
193
|
+
return super().__getitem__(key)
|
|
194
|
+
|
|
195
|
+
def get(self, key: str, default = None) -> Any:
|
|
196
|
+
AnomalyDetectorRandomCutForestConfiguration.__key_warning(key)
|
|
197
|
+
return super().get(key, default)
|
|
198
|
+
|
|
199
|
+
def __init__(__self__, *,
|
|
200
|
+
query: _builtins.str,
|
|
201
|
+
ignore_near_expected_from_above: Optional['outputs.AnomalyDetectorIgnoreNearExpected'] = None,
|
|
202
|
+
ignore_near_expected_from_below: Optional['outputs.AnomalyDetectorIgnoreNearExpected'] = None,
|
|
203
|
+
sample_size: Optional[_builtins.int] = None,
|
|
204
|
+
shingle_size: Optional[_builtins.int] = None):
|
|
205
|
+
"""
|
|
206
|
+
:param _builtins.str query: The Prometheus query used to retrieve the time-series data for anomaly detection.
|
|
207
|
+
|
|
208
|
+
> Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see [Aggregation operators](https://docs.aws.amazon.com/https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators) on the *Prometheus docs* website.
|
|
209
|
+
>
|
|
210
|
+
> *Supported PromQL aggregation operators* : `avg` , `count` , `group` , `max` , `min` , `quantile` , `stddev` , `stdvar` , and `sum` .
|
|
211
|
+
:param 'AnomalyDetectorIgnoreNearExpected' ignore_near_expected_from_above: Configuration for ignoring values that are near expected values from above during anomaly detection.
|
|
212
|
+
:param 'AnomalyDetectorIgnoreNearExpected' ignore_near_expected_from_below: Configuration for ignoring values that are near expected values from below during anomaly detection.
|
|
213
|
+
:param _builtins.int sample_size: The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.
|
|
214
|
+
:param _builtins.int shingle_size: The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.
|
|
215
|
+
"""
|
|
216
|
+
pulumi.set(__self__, "query", query)
|
|
217
|
+
if ignore_near_expected_from_above is not None:
|
|
218
|
+
pulumi.set(__self__, "ignore_near_expected_from_above", ignore_near_expected_from_above)
|
|
219
|
+
if ignore_near_expected_from_below is not None:
|
|
220
|
+
pulumi.set(__self__, "ignore_near_expected_from_below", ignore_near_expected_from_below)
|
|
221
|
+
if sample_size is not None:
|
|
222
|
+
pulumi.set(__self__, "sample_size", sample_size)
|
|
223
|
+
if shingle_size is not None:
|
|
224
|
+
pulumi.set(__self__, "shingle_size", shingle_size)
|
|
225
|
+
|
|
226
|
+
@_builtins.property
|
|
227
|
+
@pulumi.getter
|
|
228
|
+
def query(self) -> _builtins.str:
|
|
229
|
+
"""
|
|
230
|
+
The Prometheus query used to retrieve the time-series data for anomaly detection.
|
|
231
|
+
|
|
232
|
+
> Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see [Aggregation operators](https://docs.aws.amazon.com/https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators) on the *Prometheus docs* website.
|
|
233
|
+
>
|
|
234
|
+
> *Supported PromQL aggregation operators* : `avg` , `count` , `group` , `max` , `min` , `quantile` , `stddev` , `stdvar` , and `sum` .
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "query")
|
|
237
|
+
|
|
238
|
+
@_builtins.property
|
|
239
|
+
@pulumi.getter(name="ignoreNearExpectedFromAbove")
|
|
240
|
+
def ignore_near_expected_from_above(self) -> Optional['outputs.AnomalyDetectorIgnoreNearExpected']:
|
|
241
|
+
"""
|
|
242
|
+
Configuration for ignoring values that are near expected values from above during anomaly detection.
|
|
243
|
+
"""
|
|
244
|
+
return pulumi.get(self, "ignore_near_expected_from_above")
|
|
245
|
+
|
|
246
|
+
@_builtins.property
|
|
247
|
+
@pulumi.getter(name="ignoreNearExpectedFromBelow")
|
|
248
|
+
def ignore_near_expected_from_below(self) -> Optional['outputs.AnomalyDetectorIgnoreNearExpected']:
|
|
249
|
+
"""
|
|
250
|
+
Configuration for ignoring values that are near expected values from below during anomaly detection.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "ignore_near_expected_from_below")
|
|
253
|
+
|
|
254
|
+
@_builtins.property
|
|
255
|
+
@pulumi.getter(name="sampleSize")
|
|
256
|
+
def sample_size(self) -> Optional[_builtins.int]:
|
|
257
|
+
"""
|
|
258
|
+
The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "sample_size")
|
|
261
|
+
|
|
262
|
+
@_builtins.property
|
|
263
|
+
@pulumi.getter(name="shingleSize")
|
|
264
|
+
def shingle_size(self) -> Optional[_builtins.int]:
|
|
265
|
+
"""
|
|
266
|
+
The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "shingle_size")
|
|
269
|
+
|
|
270
|
+
|
|
42
271
|
@pulumi.output_type
|
|
43
272
|
class ScraperCloudWatchLogDestination(dict):
|
|
44
273
|
"""
|
|
@@ -101,9 +101,6 @@ class GetPlanResult:
|
|
|
101
101
|
@_builtins.property
|
|
102
102
|
@pulumi.getter(name="healthChecksForPlan")
|
|
103
103
|
def health_checks_for_plan(self) -> Optional[Mapping[str, Sequence['outputs.PlanHealthCheckState']]]:
|
|
104
|
-
"""
|
|
105
|
-
Represents a Region switch plan. A plan defines the steps required to shift traffic from one AWS Region to another.
|
|
106
|
-
"""
|
|
107
104
|
return pulumi.get(self, "health_checks_for_plan")
|
|
108
105
|
|
|
109
106
|
@_builtins.property
|
|
@@ -376,9 +376,6 @@ class Plan(pulumi.CustomResource):
|
|
|
376
376
|
@_builtins.property
|
|
377
377
|
@pulumi.getter(name="healthChecksForPlan")
|
|
378
378
|
def health_checks_for_plan(self) -> pulumi.Output[Mapping[str, Sequence['outputs.PlanHealthCheckState']]]:
|
|
379
|
-
"""
|
|
380
|
-
Represents a Region switch plan. A plan defines the steps required to shift traffic from one AWS Region to another.
|
|
381
|
-
"""
|
|
382
379
|
return pulumi.get(self, "health_checks_for_plan")
|
|
383
380
|
|
|
384
381
|
@_builtins.property
|
|
@@ -106,6 +106,8 @@ __all__ = [
|
|
|
106
106
|
'JobDefinitionRepositoryCredentialsArgsDict',
|
|
107
107
|
'JobDefinitionResourceRequirementArgs',
|
|
108
108
|
'JobDefinitionResourceRequirementArgsDict',
|
|
109
|
+
'JobDefinitionResourceRetentionPolicyArgs',
|
|
110
|
+
'JobDefinitionResourceRetentionPolicyArgsDict',
|
|
109
111
|
'JobDefinitionRetryStrategyArgs',
|
|
110
112
|
'JobDefinitionRetryStrategyArgsDict',
|
|
111
113
|
'JobDefinitionRuntimePlatformArgs',
|
|
@@ -5682,6 +5684,38 @@ class JobDefinitionResourceRequirementArgs:
|
|
|
5682
5684
|
pulumi.set(self, "value", value)
|
|
5683
5685
|
|
|
5684
5686
|
|
|
5687
|
+
if not MYPY:
|
|
5688
|
+
class JobDefinitionResourceRetentionPolicyArgsDict(TypedDict):
|
|
5689
|
+
skip_deregister_on_update: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5690
|
+
"""
|
|
5691
|
+
Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is `false` . When the property is set to `false` , the previous revision of the job definition is de-registered after a new revision is created. When the property is set to `true` , the previous revision of the job definition is not de-registered.
|
|
5692
|
+
"""
|
|
5693
|
+
elif False:
|
|
5694
|
+
JobDefinitionResourceRetentionPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
5695
|
+
|
|
5696
|
+
@pulumi.input_type
|
|
5697
|
+
class JobDefinitionResourceRetentionPolicyArgs:
|
|
5698
|
+
def __init__(__self__, *,
|
|
5699
|
+
skip_deregister_on_update: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
5700
|
+
"""
|
|
5701
|
+
:param pulumi.Input[_builtins.bool] skip_deregister_on_update: Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is `false` . When the property is set to `false` , the previous revision of the job definition is de-registered after a new revision is created. When the property is set to `true` , the previous revision of the job definition is not de-registered.
|
|
5702
|
+
"""
|
|
5703
|
+
if skip_deregister_on_update is not None:
|
|
5704
|
+
pulumi.set(__self__, "skip_deregister_on_update", skip_deregister_on_update)
|
|
5705
|
+
|
|
5706
|
+
@_builtins.property
|
|
5707
|
+
@pulumi.getter(name="skipDeregisterOnUpdate")
|
|
5708
|
+
def skip_deregister_on_update(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5709
|
+
"""
|
|
5710
|
+
Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is `false` . When the property is set to `false` , the previous revision of the job definition is de-registered after a new revision is created. When the property is set to `true` , the previous revision of the job definition is not de-registered.
|
|
5711
|
+
"""
|
|
5712
|
+
return pulumi.get(self, "skip_deregister_on_update")
|
|
5713
|
+
|
|
5714
|
+
@skip_deregister_on_update.setter
|
|
5715
|
+
def skip_deregister_on_update(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5716
|
+
pulumi.set(self, "skip_deregister_on_update", value)
|
|
5717
|
+
|
|
5718
|
+
|
|
5685
5719
|
if not MYPY:
|
|
5686
5720
|
class JobDefinitionRetryStrategyArgsDict(TypedDict):
|
|
5687
5721
|
attempts: NotRequired[pulumi.Input[_builtins.int]]
|
|
@@ -31,6 +31,7 @@ class JobDefinitionArgs:
|
|
|
31
31
|
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
32
32
|
platform_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
33
33
|
propagate_tags: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
34
|
+
resource_retention_policy: Optional[pulumi.Input['JobDefinitionResourceRetentionPolicyArgs']] = None,
|
|
34
35
|
retry_strategy: Optional[pulumi.Input['JobDefinitionRetryStrategyArgs']] = None,
|
|
35
36
|
scheduling_priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
36
37
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -54,6 +55,7 @@ class JobDefinitionArgs:
|
|
|
54
55
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* .
|
|
55
56
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] platform_capabilities: The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` .
|
|
56
57
|
:param pulumi.Input[_builtins.bool] propagate_tags: Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state.
|
|
58
|
+
:param pulumi.Input['JobDefinitionResourceRetentionPolicyArgs'] resource_retention_policy: Specifies the resource retention policy settings for the job definition.
|
|
57
59
|
:param pulumi.Input['JobDefinitionRetryStrategyArgs'] retry_strategy: The retry strategy to use for failed jobs that are submitted with this job definition.
|
|
58
60
|
:param pulumi.Input[_builtins.int] scheduling_priority: The scheduling priority of the job definition. This only affects jobs in job queues with a fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
|
|
59
61
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A key-value pair to associate with a resource.
|
|
@@ -78,6 +80,8 @@ class JobDefinitionArgs:
|
|
|
78
80
|
pulumi.set(__self__, "platform_capabilities", platform_capabilities)
|
|
79
81
|
if propagate_tags is not None:
|
|
80
82
|
pulumi.set(__self__, "propagate_tags", propagate_tags)
|
|
83
|
+
if resource_retention_policy is not None:
|
|
84
|
+
pulumi.set(__self__, "resource_retention_policy", resource_retention_policy)
|
|
81
85
|
if retry_strategy is not None:
|
|
82
86
|
pulumi.set(__self__, "retry_strategy", retry_strategy)
|
|
83
87
|
if scheduling_priority is not None:
|
|
@@ -214,6 +218,18 @@ class JobDefinitionArgs:
|
|
|
214
218
|
def propagate_tags(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
215
219
|
pulumi.set(self, "propagate_tags", value)
|
|
216
220
|
|
|
221
|
+
@_builtins.property
|
|
222
|
+
@pulumi.getter(name="resourceRetentionPolicy")
|
|
223
|
+
def resource_retention_policy(self) -> Optional[pulumi.Input['JobDefinitionResourceRetentionPolicyArgs']]:
|
|
224
|
+
"""
|
|
225
|
+
Specifies the resource retention policy settings for the job definition.
|
|
226
|
+
"""
|
|
227
|
+
return pulumi.get(self, "resource_retention_policy")
|
|
228
|
+
|
|
229
|
+
@resource_retention_policy.setter
|
|
230
|
+
def resource_retention_policy(self, value: Optional[pulumi.Input['JobDefinitionResourceRetentionPolicyArgs']]):
|
|
231
|
+
pulumi.set(self, "resource_retention_policy", value)
|
|
232
|
+
|
|
217
233
|
@_builtins.property
|
|
218
234
|
@pulumi.getter(name="retryStrategy")
|
|
219
235
|
def retry_strategy(self) -> Optional[pulumi.Input['JobDefinitionRetryStrategyArgs']]:
|
|
@@ -278,6 +294,7 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
278
294
|
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
279
295
|
platform_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
280
296
|
propagate_tags: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
297
|
+
resource_retention_policy: Optional[pulumi.Input[Union['JobDefinitionResourceRetentionPolicyArgs', 'JobDefinitionResourceRetentionPolicyArgsDict']]] = None,
|
|
281
298
|
retry_strategy: Optional[pulumi.Input[Union['JobDefinitionRetryStrategyArgs', 'JobDefinitionRetryStrategyArgsDict']]] = None,
|
|
282
299
|
scheduling_priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
283
300
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -300,6 +317,7 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
300
317
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] parameters: Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a `SubmitJob` request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see [Job definition parameters](https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html) in the *AWS Batch User Guide* .
|
|
301
318
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] platform_capabilities: The platform capabilities required by the job definition. If no value is specified, it defaults to `EC2` . Jobs run on Fargate resources specify `FARGATE` .
|
|
302
319
|
:param pulumi.Input[_builtins.bool] propagate_tags: Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the `FAILED` state.
|
|
320
|
+
:param pulumi.Input[Union['JobDefinitionResourceRetentionPolicyArgs', 'JobDefinitionResourceRetentionPolicyArgsDict']] resource_retention_policy: Specifies the resource retention policy settings for the job definition.
|
|
303
321
|
:param pulumi.Input[Union['JobDefinitionRetryStrategyArgs', 'JobDefinitionRetryStrategyArgsDict']] retry_strategy: The retry strategy to use for failed jobs that are submitted with this job definition.
|
|
304
322
|
:param pulumi.Input[_builtins.int] scheduling_priority: The scheduling priority of the job definition. This only affects jobs in job queues with a fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
|
|
305
323
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A key-value pair to associate with a resource.
|
|
@@ -344,6 +362,7 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
344
362
|
parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
345
363
|
platform_capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
346
364
|
propagate_tags: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
365
|
+
resource_retention_policy: Optional[pulumi.Input[Union['JobDefinitionResourceRetentionPolicyArgs', 'JobDefinitionResourceRetentionPolicyArgsDict']]] = None,
|
|
347
366
|
retry_strategy: Optional[pulumi.Input[Union['JobDefinitionRetryStrategyArgs', 'JobDefinitionRetryStrategyArgsDict']]] = None,
|
|
348
367
|
scheduling_priority: Optional[pulumi.Input[_builtins.int]] = None,
|
|
349
368
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -367,6 +386,7 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
367
386
|
__props__.__dict__["parameters"] = parameters
|
|
368
387
|
__props__.__dict__["platform_capabilities"] = platform_capabilities
|
|
369
388
|
__props__.__dict__["propagate_tags"] = propagate_tags
|
|
389
|
+
__props__.__dict__["resource_retention_policy"] = resource_retention_policy
|
|
370
390
|
__props__.__dict__["retry_strategy"] = retry_strategy
|
|
371
391
|
__props__.__dict__["scheduling_priority"] = scheduling_priority
|
|
372
392
|
__props__.__dict__["tags"] = tags
|
|
@@ -409,6 +429,7 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
409
429
|
__props__.__dict__["parameters"] = None
|
|
410
430
|
__props__.__dict__["platform_capabilities"] = None
|
|
411
431
|
__props__.__dict__["propagate_tags"] = None
|
|
432
|
+
__props__.__dict__["resource_retention_policy"] = None
|
|
412
433
|
__props__.__dict__["retry_strategy"] = None
|
|
413
434
|
__props__.__dict__["scheduling_priority"] = None
|
|
414
435
|
__props__.__dict__["tags"] = None
|
|
@@ -498,6 +519,14 @@ class JobDefinition(pulumi.CustomResource):
|
|
|
498
519
|
"""
|
|
499
520
|
return pulumi.get(self, "propagate_tags")
|
|
500
521
|
|
|
522
|
+
@_builtins.property
|
|
523
|
+
@pulumi.getter(name="resourceRetentionPolicy")
|
|
524
|
+
def resource_retention_policy(self) -> pulumi.Output[Optional['outputs.JobDefinitionResourceRetentionPolicy']]:
|
|
525
|
+
"""
|
|
526
|
+
Specifies the resource retention policy settings for the job definition.
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "resource_retention_policy")
|
|
529
|
+
|
|
501
530
|
@_builtins.property
|
|
502
531
|
@pulumi.getter(name="retryStrategy")
|
|
503
532
|
def retry_strategy(self) -> pulumi.Output[Optional['outputs.JobDefinitionRetryStrategy']]:
|
|
@@ -62,6 +62,7 @@ __all__ = [
|
|
|
62
62
|
'JobDefinitionNodeRangeProperty',
|
|
63
63
|
'JobDefinitionRepositoryCredentials',
|
|
64
64
|
'JobDefinitionResourceRequirement',
|
|
65
|
+
'JobDefinitionResourceRetentionPolicy',
|
|
65
66
|
'JobDefinitionRetryStrategy',
|
|
66
67
|
'JobDefinitionRuntimePlatform',
|
|
67
68
|
'JobDefinitionSecret',
|
|
@@ -4289,6 +4290,42 @@ class JobDefinitionResourceRequirement(dict):
|
|
|
4289
4290
|
return pulumi.get(self, "value")
|
|
4290
4291
|
|
|
4291
4292
|
|
|
4293
|
+
@pulumi.output_type
|
|
4294
|
+
class JobDefinitionResourceRetentionPolicy(dict):
|
|
4295
|
+
@staticmethod
|
|
4296
|
+
def __key_warning(key: str):
|
|
4297
|
+
suggest = None
|
|
4298
|
+
if key == "skipDeregisterOnUpdate":
|
|
4299
|
+
suggest = "skip_deregister_on_update"
|
|
4300
|
+
|
|
4301
|
+
if suggest:
|
|
4302
|
+
pulumi.log.warn(f"Key '{key}' not found in JobDefinitionResourceRetentionPolicy. Access the value via the '{suggest}' property getter instead.")
|
|
4303
|
+
|
|
4304
|
+
def __getitem__(self, key: str) -> Any:
|
|
4305
|
+
JobDefinitionResourceRetentionPolicy.__key_warning(key)
|
|
4306
|
+
return super().__getitem__(key)
|
|
4307
|
+
|
|
4308
|
+
def get(self, key: str, default = None) -> Any:
|
|
4309
|
+
JobDefinitionResourceRetentionPolicy.__key_warning(key)
|
|
4310
|
+
return super().get(key, default)
|
|
4311
|
+
|
|
4312
|
+
def __init__(__self__, *,
|
|
4313
|
+
skip_deregister_on_update: Optional[_builtins.bool] = None):
|
|
4314
|
+
"""
|
|
4315
|
+
:param _builtins.bool skip_deregister_on_update: Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is `false` . When the property is set to `false` , the previous revision of the job definition is de-registered after a new revision is created. When the property is set to `true` , the previous revision of the job definition is not de-registered.
|
|
4316
|
+
"""
|
|
4317
|
+
if skip_deregister_on_update is not None:
|
|
4318
|
+
pulumi.set(__self__, "skip_deregister_on_update", skip_deregister_on_update)
|
|
4319
|
+
|
|
4320
|
+
@_builtins.property
|
|
4321
|
+
@pulumi.getter(name="skipDeregisterOnUpdate")
|
|
4322
|
+
def skip_deregister_on_update(self) -> Optional[_builtins.bool]:
|
|
4323
|
+
"""
|
|
4324
|
+
Specifies whether the previous revision of the job definition is retained in an active status after UPDATE events for the resource. The default value is `false` . When the property is set to `false` , the previous revision of the job definition is de-registered after a new revision is created. When the property is set to `true` , the previous revision of the job definition is not de-registered.
|
|
4325
|
+
"""
|
|
4326
|
+
return pulumi.get(self, "skip_deregister_on_update")
|
|
4327
|
+
|
|
4328
|
+
|
|
4292
4329
|
@pulumi.output_type
|
|
4293
4330
|
class JobDefinitionRetryStrategy(dict):
|
|
4294
4331
|
@staticmethod
|
|
@@ -24,6 +24,8 @@ __all__ = ['AutomatedReasoningPolicyArgs', 'AutomatedReasoningPolicy']
|
|
|
24
24
|
class AutomatedReasoningPolicyArgs:
|
|
25
25
|
def __init__(__self__, *,
|
|
26
26
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
force_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
29
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
30
|
policy_definition: Optional[pulumi.Input['AutomatedReasoningPolicyPolicyDefinitionArgs']] = None,
|
|
29
31
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None):
|
|
@@ -36,6 +38,10 @@ class AutomatedReasoningPolicyArgs:
|
|
|
36
38
|
"""
|
|
37
39
|
if description is not None:
|
|
38
40
|
pulumi.set(__self__, "description", description)
|
|
41
|
+
if force_delete is not None:
|
|
42
|
+
pulumi.set(__self__, "force_delete", force_delete)
|
|
43
|
+
if kms_key_id is not None:
|
|
44
|
+
pulumi.set(__self__, "kms_key_id", kms_key_id)
|
|
39
45
|
if name is not None:
|
|
40
46
|
pulumi.set(__self__, "name", name)
|
|
41
47
|
if policy_definition is not None:
|
|
@@ -55,6 +61,24 @@ class AutomatedReasoningPolicyArgs:
|
|
|
55
61
|
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
56
62
|
pulumi.set(self, "description", value)
|
|
57
63
|
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="forceDelete")
|
|
66
|
+
def force_delete(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
67
|
+
return pulumi.get(self, "force_delete")
|
|
68
|
+
|
|
69
|
+
@force_delete.setter
|
|
70
|
+
def force_delete(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
71
|
+
pulumi.set(self, "force_delete", value)
|
|
72
|
+
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter(name="kmsKeyId")
|
|
75
|
+
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
|
+
return pulumi.get(self, "kms_key_id")
|
|
77
|
+
|
|
78
|
+
@kms_key_id.setter
|
|
79
|
+
def kms_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
80
|
+
pulumi.set(self, "kms_key_id", value)
|
|
81
|
+
|
|
58
82
|
@_builtins.property
|
|
59
83
|
@pulumi.getter
|
|
60
84
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -99,6 +123,8 @@ class AutomatedReasoningPolicy(pulumi.CustomResource):
|
|
|
99
123
|
resource_name: str,
|
|
100
124
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
101
125
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
force_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
127
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
102
128
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
103
129
|
policy_definition: Optional[pulumi.Input[Union['AutomatedReasoningPolicyPolicyDefinitionArgs', 'AutomatedReasoningPolicyPolicyDefinitionArgsDict']]] = None,
|
|
104
130
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
@@ -138,6 +164,8 @@ class AutomatedReasoningPolicy(pulumi.CustomResource):
|
|
|
138
164
|
resource_name: str,
|
|
139
165
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
140
166
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
force_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
168
|
+
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
169
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
170
|
policy_definition: Optional[pulumi.Input[Union['AutomatedReasoningPolicyPolicyDefinitionArgs', 'AutomatedReasoningPolicyPolicyDefinitionArgsDict']]] = None,
|
|
143
171
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
@@ -151,15 +179,20 @@ class AutomatedReasoningPolicy(pulumi.CustomResource):
|
|
|
151
179
|
__props__ = AutomatedReasoningPolicyArgs.__new__(AutomatedReasoningPolicyArgs)
|
|
152
180
|
|
|
153
181
|
__props__.__dict__["description"] = description
|
|
182
|
+
__props__.__dict__["force_delete"] = force_delete
|
|
183
|
+
__props__.__dict__["kms_key_id"] = kms_key_id
|
|
154
184
|
__props__.__dict__["name"] = name
|
|
155
185
|
__props__.__dict__["policy_definition"] = policy_definition
|
|
156
186
|
__props__.__dict__["tags"] = tags
|
|
157
187
|
__props__.__dict__["created_at"] = None
|
|
158
188
|
__props__.__dict__["definition_hash"] = None
|
|
189
|
+
__props__.__dict__["kms_key_arn"] = None
|
|
159
190
|
__props__.__dict__["policy_arn"] = None
|
|
160
191
|
__props__.__dict__["policy_id"] = None
|
|
161
192
|
__props__.__dict__["updated_at"] = None
|
|
162
193
|
__props__.__dict__["version"] = None
|
|
194
|
+
replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["forceDelete", "kmsKeyId"])
|
|
195
|
+
opts = pulumi.ResourceOptions.merge(opts, replace_on_changes)
|
|
163
196
|
super(AutomatedReasoningPolicy, __self__).__init__(
|
|
164
197
|
'aws-native:bedrock:AutomatedReasoningPolicy',
|
|
165
198
|
resource_name,
|
|
@@ -185,6 +218,9 @@ class AutomatedReasoningPolicy(pulumi.CustomResource):
|
|
|
185
218
|
__props__.__dict__["created_at"] = None
|
|
186
219
|
__props__.__dict__["definition_hash"] = None
|
|
187
220
|
__props__.__dict__["description"] = None
|
|
221
|
+
__props__.__dict__["force_delete"] = None
|
|
222
|
+
__props__.__dict__["kms_key_arn"] = None
|
|
223
|
+
__props__.__dict__["kms_key_id"] = None
|
|
188
224
|
__props__.__dict__["name"] = None
|
|
189
225
|
__props__.__dict__["policy_arn"] = None
|
|
190
226
|
__props__.__dict__["policy_definition"] = None
|
|
@@ -218,6 +254,21 @@ class AutomatedReasoningPolicy(pulumi.CustomResource):
|
|
|
218
254
|
"""
|
|
219
255
|
return pulumi.get(self, "description")
|
|
220
256
|
|
|
257
|
+
@_builtins.property
|
|
258
|
+
@pulumi.getter(name="forceDelete")
|
|
259
|
+
def force_delete(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
260
|
+
return pulumi.get(self, "force_delete")
|
|
261
|
+
|
|
262
|
+
@_builtins.property
|
|
263
|
+
@pulumi.getter(name="kmsKeyArn")
|
|
264
|
+
def kms_key_arn(self) -> pulumi.Output[_builtins.str]:
|
|
265
|
+
return pulumi.get(self, "kms_key_arn")
|
|
266
|
+
|
|
267
|
+
@_builtins.property
|
|
268
|
+
@pulumi.getter(name="kmsKeyId")
|
|
269
|
+
def kms_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
270
|
+
return pulumi.get(self, "kms_key_id")
|
|
271
|
+
|
|
221
272
|
@_builtins.property
|
|
222
273
|
@pulumi.getter
|
|
223
274
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -25,7 +25,7 @@ __all__ = [
|
|
|
25
25
|
|
|
26
26
|
@pulumi.output_type
|
|
27
27
|
class GetAutomatedReasoningPolicyResult:
|
|
28
|
-
def __init__(__self__, created_at=None, definition_hash=None, description=None, name=None, policy_arn=None, policy_definition=None, policy_id=None, tags=None, updated_at=None, version=None):
|
|
28
|
+
def __init__(__self__, created_at=None, definition_hash=None, description=None, kms_key_arn=None, name=None, policy_arn=None, policy_definition=None, policy_id=None, tags=None, updated_at=None, version=None):
|
|
29
29
|
if created_at and not isinstance(created_at, str):
|
|
30
30
|
raise TypeError("Expected argument 'created_at' to be a str")
|
|
31
31
|
pulumi.set(__self__, "created_at", created_at)
|
|
@@ -35,6 +35,9 @@ class GetAutomatedReasoningPolicyResult:
|
|
|
35
35
|
if description and not isinstance(description, str):
|
|
36
36
|
raise TypeError("Expected argument 'description' to be a str")
|
|
37
37
|
pulumi.set(__self__, "description", description)
|
|
38
|
+
if kms_key_arn and not isinstance(kms_key_arn, str):
|
|
39
|
+
raise TypeError("Expected argument 'kms_key_arn' to be a str")
|
|
40
|
+
pulumi.set(__self__, "kms_key_arn", kms_key_arn)
|
|
38
41
|
if name and not isinstance(name, str):
|
|
39
42
|
raise TypeError("Expected argument 'name' to be a str")
|
|
40
43
|
pulumi.set(__self__, "name", name)
|
|
@@ -81,6 +84,11 @@ class GetAutomatedReasoningPolicyResult:
|
|
|
81
84
|
"""
|
|
82
85
|
return pulumi.get(self, "description")
|
|
83
86
|
|
|
87
|
+
@_builtins.property
|
|
88
|
+
@pulumi.getter(name="kmsKeyArn")
|
|
89
|
+
def kms_key_arn(self) -> Optional[_builtins.str]:
|
|
90
|
+
return pulumi.get(self, "kms_key_arn")
|
|
91
|
+
|
|
84
92
|
@_builtins.property
|
|
85
93
|
@pulumi.getter
|
|
86
94
|
def name(self) -> Optional[_builtins.str]:
|
|
@@ -147,6 +155,7 @@ class AwaitableGetAutomatedReasoningPolicyResult(GetAutomatedReasoningPolicyResu
|
|
|
147
155
|
created_at=self.created_at,
|
|
148
156
|
definition_hash=self.definition_hash,
|
|
149
157
|
description=self.description,
|
|
158
|
+
kms_key_arn=self.kms_key_arn,
|
|
150
159
|
name=self.name,
|
|
151
160
|
policy_arn=self.policy_arn,
|
|
152
161
|
policy_definition=self.policy_definition,
|
|
@@ -173,6 +182,7 @@ def get_automated_reasoning_policy(policy_arn: Optional[_builtins.str] = None,
|
|
|
173
182
|
created_at=pulumi.get(__ret__, 'created_at'),
|
|
174
183
|
definition_hash=pulumi.get(__ret__, 'definition_hash'),
|
|
175
184
|
description=pulumi.get(__ret__, 'description'),
|
|
185
|
+
kms_key_arn=pulumi.get(__ret__, 'kms_key_arn'),
|
|
176
186
|
name=pulumi.get(__ret__, 'name'),
|
|
177
187
|
policy_arn=pulumi.get(__ret__, 'policy_arn'),
|
|
178
188
|
policy_definition=pulumi.get(__ret__, 'policy_definition'),
|
|
@@ -196,6 +206,7 @@ def get_automated_reasoning_policy_output(policy_arn: Optional[pulumi.Input[_bui
|
|
|
196
206
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
197
207
|
definition_hash=pulumi.get(__response__, 'definition_hash'),
|
|
198
208
|
description=pulumi.get(__response__, 'description'),
|
|
209
|
+
kms_key_arn=pulumi.get(__response__, 'kms_key_arn'),
|
|
199
210
|
name=pulumi.get(__response__, 'name'),
|
|
200
211
|
policy_arn=pulumi.get(__response__, 'policy_arn'),
|
|
201
212
|
policy_definition=pulumi.get(__response__, 'policy_definition'),
|
|
@@ -18,8 +18,10 @@ from .get_gateway_target import *
|
|
|
18
18
|
from .get_memory import *
|
|
19
19
|
from .get_runtime import *
|
|
20
20
|
from .get_runtime_endpoint import *
|
|
21
|
+
from .get_workload_identity import *
|
|
21
22
|
from .memory import *
|
|
22
23
|
from .runtime import *
|
|
23
24
|
from .runtime_endpoint import *
|
|
25
|
+
from .workload_identity import *
|
|
24
26
|
from ._inputs import *
|
|
25
27
|
from . import outputs
|