pulumi-aws-native 1.38.0a1760940079__py3-none-any.whl → 1.38.0a1762272920__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.0a1760940079.dist-info → pulumi_aws_native-1.38.0a1762272920.dist-info}/METADATA +1 -1
- {pulumi_aws_native-1.38.0a1760940079.dist-info → pulumi_aws_native-1.38.0a1762272920.dist-info}/RECORD +187 -155
- {pulumi_aws_native-1.38.0a1760940079.dist-info → pulumi_aws_native-1.38.0a1762272920.dist-info}/WHEEL +0 -0
- {pulumi_aws_native-1.38.0a1760940079.dist-info → pulumi_aws_native-1.38.0a1762272920.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,318 @@
|
|
|
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
|
+
from .. import _inputs as _root_inputs
|
|
18
|
+
from .. import outputs as _root_outputs
|
|
19
|
+
from ._inputs import *
|
|
20
|
+
|
|
21
|
+
__all__ = ['AnomalyDetectorArgs', 'AnomalyDetector']
|
|
22
|
+
|
|
23
|
+
@pulumi.input_type
|
|
24
|
+
class AnomalyDetectorArgs:
|
|
25
|
+
def __init__(__self__, *,
|
|
26
|
+
alias: pulumi.Input[_builtins.str],
|
|
27
|
+
configuration: pulumi.Input['AnomalyDetectorConfigurationArgs'],
|
|
28
|
+
workspace: pulumi.Input[_builtins.str],
|
|
29
|
+
evaluation_interval_in_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
30
|
+
labels: Optional[pulumi.Input[Sequence[pulumi.Input['AnomalyDetectorLabelArgs']]]] = None,
|
|
31
|
+
missing_data_action: Optional[pulumi.Input['AnomalyDetectorMissingDataActionArgs']] = None,
|
|
32
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None):
|
|
33
|
+
"""
|
|
34
|
+
The set of arguments for constructing a AnomalyDetector resource.
|
|
35
|
+
:param pulumi.Input[_builtins.str] alias: The AnomalyDetector alias.
|
|
36
|
+
:param pulumi.Input['AnomalyDetectorConfigurationArgs'] configuration: Determines the anomaly detector's algorithm and its configuration.
|
|
37
|
+
:param pulumi.Input[_builtins.str] workspace: Required to identify a specific APS Workspace associated with this Anomaly Detector.
|
|
38
|
+
:param pulumi.Input[_builtins.int] evaluation_interval_in_seconds: The AnomalyDetector period of detection and metric generation.
|
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input['AnomalyDetectorLabelArgs']]] labels: An array of key-value pairs to provide meta-data.
|
|
40
|
+
:param pulumi.Input['AnomalyDetectorMissingDataActionArgs'] missing_data_action: The action to perform when running the expression returns no data.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: An array of key-value pairs to apply to this resource.
|
|
42
|
+
"""
|
|
43
|
+
pulumi.set(__self__, "alias", alias)
|
|
44
|
+
pulumi.set(__self__, "configuration", configuration)
|
|
45
|
+
pulumi.set(__self__, "workspace", workspace)
|
|
46
|
+
if evaluation_interval_in_seconds is not None:
|
|
47
|
+
pulumi.set(__self__, "evaluation_interval_in_seconds", evaluation_interval_in_seconds)
|
|
48
|
+
if labels is not None:
|
|
49
|
+
pulumi.set(__self__, "labels", labels)
|
|
50
|
+
if missing_data_action is not None:
|
|
51
|
+
pulumi.set(__self__, "missing_data_action", missing_data_action)
|
|
52
|
+
if tags is not None:
|
|
53
|
+
pulumi.set(__self__, "tags", tags)
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def alias(self) -> pulumi.Input[_builtins.str]:
|
|
58
|
+
"""
|
|
59
|
+
The AnomalyDetector alias.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "alias")
|
|
62
|
+
|
|
63
|
+
@alias.setter
|
|
64
|
+
def alias(self, value: pulumi.Input[_builtins.str]):
|
|
65
|
+
pulumi.set(self, "alias", value)
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def configuration(self) -> pulumi.Input['AnomalyDetectorConfigurationArgs']:
|
|
70
|
+
"""
|
|
71
|
+
Determines the anomaly detector's algorithm and its configuration.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "configuration")
|
|
74
|
+
|
|
75
|
+
@configuration.setter
|
|
76
|
+
def configuration(self, value: pulumi.Input['AnomalyDetectorConfigurationArgs']):
|
|
77
|
+
pulumi.set(self, "configuration", value)
|
|
78
|
+
|
|
79
|
+
@_builtins.property
|
|
80
|
+
@pulumi.getter
|
|
81
|
+
def workspace(self) -> pulumi.Input[_builtins.str]:
|
|
82
|
+
"""
|
|
83
|
+
Required to identify a specific APS Workspace associated with this Anomaly Detector.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "workspace")
|
|
86
|
+
|
|
87
|
+
@workspace.setter
|
|
88
|
+
def workspace(self, value: pulumi.Input[_builtins.str]):
|
|
89
|
+
pulumi.set(self, "workspace", value)
|
|
90
|
+
|
|
91
|
+
@_builtins.property
|
|
92
|
+
@pulumi.getter(name="evaluationIntervalInSeconds")
|
|
93
|
+
def evaluation_interval_in_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
94
|
+
"""
|
|
95
|
+
The AnomalyDetector period of detection and metric generation.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "evaluation_interval_in_seconds")
|
|
98
|
+
|
|
99
|
+
@evaluation_interval_in_seconds.setter
|
|
100
|
+
def evaluation_interval_in_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
101
|
+
pulumi.set(self, "evaluation_interval_in_seconds", value)
|
|
102
|
+
|
|
103
|
+
@_builtins.property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AnomalyDetectorLabelArgs']]]]:
|
|
106
|
+
"""
|
|
107
|
+
An array of key-value pairs to provide meta-data.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "labels")
|
|
110
|
+
|
|
111
|
+
@labels.setter
|
|
112
|
+
def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnomalyDetectorLabelArgs']]]]):
|
|
113
|
+
pulumi.set(self, "labels", value)
|
|
114
|
+
|
|
115
|
+
@_builtins.property
|
|
116
|
+
@pulumi.getter(name="missingDataAction")
|
|
117
|
+
def missing_data_action(self) -> Optional[pulumi.Input['AnomalyDetectorMissingDataActionArgs']]:
|
|
118
|
+
"""
|
|
119
|
+
The action to perform when running the expression returns no data.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "missing_data_action")
|
|
122
|
+
|
|
123
|
+
@missing_data_action.setter
|
|
124
|
+
def missing_data_action(self, value: Optional[pulumi.Input['AnomalyDetectorMissingDataActionArgs']]):
|
|
125
|
+
pulumi.set(self, "missing_data_action", value)
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]:
|
|
130
|
+
"""
|
|
131
|
+
An array of key-value pairs to apply to this resource.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "tags")
|
|
134
|
+
|
|
135
|
+
@tags.setter
|
|
136
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]):
|
|
137
|
+
pulumi.set(self, "tags", value)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
@pulumi.type_token("aws-native:aps:AnomalyDetector")
|
|
141
|
+
class AnomalyDetector(pulumi.CustomResource):
|
|
142
|
+
@overload
|
|
143
|
+
def __init__(__self__,
|
|
144
|
+
resource_name: str,
|
|
145
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
146
|
+
alias: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
|
+
configuration: Optional[pulumi.Input[Union['AnomalyDetectorConfigurationArgs', 'AnomalyDetectorConfigurationArgsDict']]] = None,
|
|
148
|
+
evaluation_interval_in_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
149
|
+
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AnomalyDetectorLabelArgs', 'AnomalyDetectorLabelArgsDict']]]]] = None,
|
|
150
|
+
missing_data_action: Optional[pulumi.Input[Union['AnomalyDetectorMissingDataActionArgs', 'AnomalyDetectorMissingDataActionArgsDict']]] = None,
|
|
151
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
152
|
+
workspace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
153
|
+
__props__=None):
|
|
154
|
+
"""
|
|
155
|
+
AnomalyDetector schema for cloudformation.
|
|
156
|
+
|
|
157
|
+
:param str resource_name: The name of the resource.
|
|
158
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
+
:param pulumi.Input[_builtins.str] alias: The AnomalyDetector alias.
|
|
160
|
+
:param pulumi.Input[Union['AnomalyDetectorConfigurationArgs', 'AnomalyDetectorConfigurationArgsDict']] configuration: Determines the anomaly detector's algorithm and its configuration.
|
|
161
|
+
:param pulumi.Input[_builtins.int] evaluation_interval_in_seconds: The AnomalyDetector period of detection and metric generation.
|
|
162
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AnomalyDetectorLabelArgs', 'AnomalyDetectorLabelArgsDict']]]] labels: An array of key-value pairs to provide meta-data.
|
|
163
|
+
:param pulumi.Input[Union['AnomalyDetectorMissingDataActionArgs', 'AnomalyDetectorMissingDataActionArgsDict']] missing_data_action: The action to perform when running the expression returns no data.
|
|
164
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: An array of key-value pairs to apply to this resource.
|
|
165
|
+
:param pulumi.Input[_builtins.str] workspace: Required to identify a specific APS Workspace associated with this Anomaly Detector.
|
|
166
|
+
"""
|
|
167
|
+
...
|
|
168
|
+
@overload
|
|
169
|
+
def __init__(__self__,
|
|
170
|
+
resource_name: str,
|
|
171
|
+
args: AnomalyDetectorArgs,
|
|
172
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
173
|
+
"""
|
|
174
|
+
AnomalyDetector schema for cloudformation.
|
|
175
|
+
|
|
176
|
+
:param str resource_name: The name of the resource.
|
|
177
|
+
:param AnomalyDetectorArgs args: The arguments to use to populate this resource's properties.
|
|
178
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
179
|
+
"""
|
|
180
|
+
...
|
|
181
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
182
|
+
resource_args, opts = _utilities.get_resource_args_opts(AnomalyDetectorArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
183
|
+
if resource_args is not None:
|
|
184
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
185
|
+
else:
|
|
186
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
187
|
+
|
|
188
|
+
def _internal_init(__self__,
|
|
189
|
+
resource_name: str,
|
|
190
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
|
+
alias: Optional[pulumi.Input[_builtins.str]] = None,
|
|
192
|
+
configuration: Optional[pulumi.Input[Union['AnomalyDetectorConfigurationArgs', 'AnomalyDetectorConfigurationArgsDict']]] = None,
|
|
193
|
+
evaluation_interval_in_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
194
|
+
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AnomalyDetectorLabelArgs', 'AnomalyDetectorLabelArgsDict']]]]] = None,
|
|
195
|
+
missing_data_action: Optional[pulumi.Input[Union['AnomalyDetectorMissingDataActionArgs', 'AnomalyDetectorMissingDataActionArgsDict']]] = None,
|
|
196
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
197
|
+
workspace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
__props__=None):
|
|
199
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
200
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
201
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
202
|
+
if opts.id is None:
|
|
203
|
+
if __props__ is not None:
|
|
204
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
205
|
+
__props__ = AnomalyDetectorArgs.__new__(AnomalyDetectorArgs)
|
|
206
|
+
|
|
207
|
+
if alias is None and not opts.urn:
|
|
208
|
+
raise TypeError("Missing required property 'alias'")
|
|
209
|
+
__props__.__dict__["alias"] = alias
|
|
210
|
+
if configuration is None and not opts.urn:
|
|
211
|
+
raise TypeError("Missing required property 'configuration'")
|
|
212
|
+
__props__.__dict__["configuration"] = configuration
|
|
213
|
+
__props__.__dict__["evaluation_interval_in_seconds"] = evaluation_interval_in_seconds
|
|
214
|
+
__props__.__dict__["labels"] = labels
|
|
215
|
+
__props__.__dict__["missing_data_action"] = missing_data_action
|
|
216
|
+
__props__.__dict__["tags"] = tags
|
|
217
|
+
if workspace is None and not opts.urn:
|
|
218
|
+
raise TypeError("Missing required property 'workspace'")
|
|
219
|
+
__props__.__dict__["workspace"] = workspace
|
|
220
|
+
__props__.__dict__["arn"] = None
|
|
221
|
+
replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["alias", "workspace"])
|
|
222
|
+
opts = pulumi.ResourceOptions.merge(opts, replace_on_changes)
|
|
223
|
+
super(AnomalyDetector, __self__).__init__(
|
|
224
|
+
'aws-native:aps:AnomalyDetector',
|
|
225
|
+
resource_name,
|
|
226
|
+
__props__,
|
|
227
|
+
opts)
|
|
228
|
+
|
|
229
|
+
@staticmethod
|
|
230
|
+
def get(resource_name: str,
|
|
231
|
+
id: pulumi.Input[str],
|
|
232
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'AnomalyDetector':
|
|
233
|
+
"""
|
|
234
|
+
Get an existing AnomalyDetector resource's state with the given name, id, and optional extra
|
|
235
|
+
properties used to qualify the lookup.
|
|
236
|
+
|
|
237
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
238
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
239
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
240
|
+
"""
|
|
241
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
242
|
+
|
|
243
|
+
__props__ = AnomalyDetectorArgs.__new__(AnomalyDetectorArgs)
|
|
244
|
+
|
|
245
|
+
__props__.__dict__["alias"] = None
|
|
246
|
+
__props__.__dict__["arn"] = None
|
|
247
|
+
__props__.__dict__["configuration"] = None
|
|
248
|
+
__props__.__dict__["evaluation_interval_in_seconds"] = None
|
|
249
|
+
__props__.__dict__["labels"] = None
|
|
250
|
+
__props__.__dict__["missing_data_action"] = None
|
|
251
|
+
__props__.__dict__["tags"] = None
|
|
252
|
+
__props__.__dict__["workspace"] = None
|
|
253
|
+
return AnomalyDetector(resource_name, opts=opts, __props__=__props__)
|
|
254
|
+
|
|
255
|
+
@_builtins.property
|
|
256
|
+
@pulumi.getter
|
|
257
|
+
def alias(self) -> pulumi.Output[_builtins.str]:
|
|
258
|
+
"""
|
|
259
|
+
The AnomalyDetector alias.
|
|
260
|
+
"""
|
|
261
|
+
return pulumi.get(self, "alias")
|
|
262
|
+
|
|
263
|
+
@_builtins.property
|
|
264
|
+
@pulumi.getter
|
|
265
|
+
def arn(self) -> pulumi.Output[_builtins.str]:
|
|
266
|
+
"""
|
|
267
|
+
The AnomalyDetector ARN.
|
|
268
|
+
"""
|
|
269
|
+
return pulumi.get(self, "arn")
|
|
270
|
+
|
|
271
|
+
@_builtins.property
|
|
272
|
+
@pulumi.getter
|
|
273
|
+
def configuration(self) -> pulumi.Output['outputs.AnomalyDetectorConfiguration']:
|
|
274
|
+
"""
|
|
275
|
+
Determines the anomaly detector's algorithm and its configuration.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "configuration")
|
|
278
|
+
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="evaluationIntervalInSeconds")
|
|
281
|
+
def evaluation_interval_in_seconds(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
282
|
+
"""
|
|
283
|
+
The AnomalyDetector period of detection and metric generation.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "evaluation_interval_in_seconds")
|
|
286
|
+
|
|
287
|
+
@_builtins.property
|
|
288
|
+
@pulumi.getter
|
|
289
|
+
def labels(self) -> pulumi.Output[Optional[Sequence['outputs.AnomalyDetectorLabel']]]:
|
|
290
|
+
"""
|
|
291
|
+
An array of key-value pairs to provide meta-data.
|
|
292
|
+
"""
|
|
293
|
+
return pulumi.get(self, "labels")
|
|
294
|
+
|
|
295
|
+
@_builtins.property
|
|
296
|
+
@pulumi.getter(name="missingDataAction")
|
|
297
|
+
def missing_data_action(self) -> pulumi.Output[Optional['outputs.AnomalyDetectorMissingDataAction']]:
|
|
298
|
+
"""
|
|
299
|
+
The action to perform when running the expression returns no data.
|
|
300
|
+
"""
|
|
301
|
+
return pulumi.get(self, "missing_data_action")
|
|
302
|
+
|
|
303
|
+
@_builtins.property
|
|
304
|
+
@pulumi.getter
|
|
305
|
+
def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]:
|
|
306
|
+
"""
|
|
307
|
+
An array of key-value pairs to apply to this resource.
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "tags")
|
|
310
|
+
|
|
311
|
+
@_builtins.property
|
|
312
|
+
@pulumi.getter
|
|
313
|
+
def workspace(self) -> pulumi.Output[_builtins.str]:
|
|
314
|
+
"""
|
|
315
|
+
Required to identify a specific APS Workspace associated with this Anomaly Detector.
|
|
316
|
+
"""
|
|
317
|
+
return pulumi.get(self, "workspace")
|
|
318
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
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
|
+
from .. import outputs as _root_outputs
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetAnomalyDetectorResult',
|
|
21
|
+
'AwaitableGetAnomalyDetectorResult',
|
|
22
|
+
'get_anomaly_detector',
|
|
23
|
+
'get_anomaly_detector_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetAnomalyDetectorResult:
|
|
28
|
+
def __init__(__self__, arn=None, configuration=None, evaluation_interval_in_seconds=None, labels=None, missing_data_action=None, tags=None):
|
|
29
|
+
if arn and not isinstance(arn, str):
|
|
30
|
+
raise TypeError("Expected argument 'arn' to be a str")
|
|
31
|
+
pulumi.set(__self__, "arn", arn)
|
|
32
|
+
if configuration and not isinstance(configuration, dict):
|
|
33
|
+
raise TypeError("Expected argument 'configuration' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "configuration", configuration)
|
|
35
|
+
if evaluation_interval_in_seconds and not isinstance(evaluation_interval_in_seconds, int):
|
|
36
|
+
raise TypeError("Expected argument 'evaluation_interval_in_seconds' to be a int")
|
|
37
|
+
pulumi.set(__self__, "evaluation_interval_in_seconds", evaluation_interval_in_seconds)
|
|
38
|
+
if labels and not isinstance(labels, list):
|
|
39
|
+
raise TypeError("Expected argument 'labels' to be a list")
|
|
40
|
+
pulumi.set(__self__, "labels", labels)
|
|
41
|
+
if missing_data_action and not isinstance(missing_data_action, dict):
|
|
42
|
+
raise TypeError("Expected argument 'missing_data_action' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "missing_data_action", missing_data_action)
|
|
44
|
+
if tags and not isinstance(tags, list):
|
|
45
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
46
|
+
pulumi.set(__self__, "tags", tags)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def arn(self) -> Optional[_builtins.str]:
|
|
51
|
+
"""
|
|
52
|
+
The AnomalyDetector ARN.
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "arn")
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def configuration(self) -> Optional['outputs.AnomalyDetectorConfiguration']:
|
|
59
|
+
"""
|
|
60
|
+
Determines the anomaly detector's algorithm and its configuration.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "configuration")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="evaluationIntervalInSeconds")
|
|
66
|
+
def evaluation_interval_in_seconds(self) -> Optional[_builtins.int]:
|
|
67
|
+
"""
|
|
68
|
+
The AnomalyDetector period of detection and metric generation.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "evaluation_interval_in_seconds")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def labels(self) -> Optional[Sequence['outputs.AnomalyDetectorLabel']]:
|
|
75
|
+
"""
|
|
76
|
+
An array of key-value pairs to provide meta-data.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "labels")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter(name="missingDataAction")
|
|
82
|
+
def missing_data_action(self) -> Optional['outputs.AnomalyDetectorMissingDataAction']:
|
|
83
|
+
"""
|
|
84
|
+
The action to perform when running the expression returns no data.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "missing_data_action")
|
|
87
|
+
|
|
88
|
+
@_builtins.property
|
|
89
|
+
@pulumi.getter
|
|
90
|
+
def tags(self) -> Optional[Sequence['_root_outputs.Tag']]:
|
|
91
|
+
"""
|
|
92
|
+
An array of key-value pairs to apply to this resource.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "tags")
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class AwaitableGetAnomalyDetectorResult(GetAnomalyDetectorResult):
|
|
98
|
+
# pylint: disable=using-constant-test
|
|
99
|
+
def __await__(self):
|
|
100
|
+
if False:
|
|
101
|
+
yield self
|
|
102
|
+
return GetAnomalyDetectorResult(
|
|
103
|
+
arn=self.arn,
|
|
104
|
+
configuration=self.configuration,
|
|
105
|
+
evaluation_interval_in_seconds=self.evaluation_interval_in_seconds,
|
|
106
|
+
labels=self.labels,
|
|
107
|
+
missing_data_action=self.missing_data_action,
|
|
108
|
+
tags=self.tags)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def get_anomaly_detector(arn: Optional[_builtins.str] = None,
|
|
112
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAnomalyDetectorResult:
|
|
113
|
+
"""
|
|
114
|
+
AnomalyDetector schema for cloudformation.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:param _builtins.str arn: The AnomalyDetector ARN.
|
|
118
|
+
"""
|
|
119
|
+
__args__ = dict()
|
|
120
|
+
__args__['arn'] = arn
|
|
121
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke('aws-native:aps:getAnomalyDetector', __args__, opts=opts, typ=GetAnomalyDetectorResult).value
|
|
123
|
+
|
|
124
|
+
return AwaitableGetAnomalyDetectorResult(
|
|
125
|
+
arn=pulumi.get(__ret__, 'arn'),
|
|
126
|
+
configuration=pulumi.get(__ret__, 'configuration'),
|
|
127
|
+
evaluation_interval_in_seconds=pulumi.get(__ret__, 'evaluation_interval_in_seconds'),
|
|
128
|
+
labels=pulumi.get(__ret__, 'labels'),
|
|
129
|
+
missing_data_action=pulumi.get(__ret__, 'missing_data_action'),
|
|
130
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
131
|
+
def get_anomaly_detector_output(arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAnomalyDetectorResult]:
|
|
133
|
+
"""
|
|
134
|
+
AnomalyDetector schema for cloudformation.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param _builtins.str arn: The AnomalyDetector ARN.
|
|
138
|
+
"""
|
|
139
|
+
__args__ = dict()
|
|
140
|
+
__args__['arn'] = arn
|
|
141
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
142
|
+
__ret__ = pulumi.runtime.invoke_output('aws-native:aps:getAnomalyDetector', __args__, opts=opts, typ=GetAnomalyDetectorResult)
|
|
143
|
+
return __ret__.apply(lambda __response__: GetAnomalyDetectorResult(
|
|
144
|
+
arn=pulumi.get(__response__, 'arn'),
|
|
145
|
+
configuration=pulumi.get(__response__, 'configuration'),
|
|
146
|
+
evaluation_interval_in_seconds=pulumi.get(__response__, 'evaluation_interval_in_seconds'),
|
|
147
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
148
|
+
missing_data_action=pulumi.get(__response__, 'missing_data_action'),
|
|
149
|
+
tags=pulumi.get(__response__, 'tags')))
|