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,568 @@
|
|
|
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 ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['MonitorArgs', 'Monitor']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class MonitorArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
monitor_name: pulumi.Input[_builtins.str],
|
|
25
|
+
scope_arn: pulumi.Input[_builtins.str],
|
|
26
|
+
local_resources: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]] = None,
|
|
27
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
remote_resources: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]] = None,
|
|
29
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
30
|
+
timeouts: Optional[pulumi.Input['MonitorTimeoutsArgs']] = None):
|
|
31
|
+
"""
|
|
32
|
+
The set of arguments for constructing a Monitor resource.
|
|
33
|
+
:param pulumi.Input[_builtins.str] monitor_name: The name of the monitor. Cannot be changed after creation.
|
|
34
|
+
:param pulumi.Input[_builtins.str] scope_arn: The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
35
|
+
|
|
36
|
+
The following arguments are optional:
|
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]] local_resources: The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
38
|
+
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]] remote_resources: The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
40
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
41
|
+
"""
|
|
42
|
+
pulumi.set(__self__, "monitor_name", monitor_name)
|
|
43
|
+
pulumi.set(__self__, "scope_arn", scope_arn)
|
|
44
|
+
if local_resources is not None:
|
|
45
|
+
pulumi.set(__self__, "local_resources", local_resources)
|
|
46
|
+
if region is not None:
|
|
47
|
+
pulumi.set(__self__, "region", region)
|
|
48
|
+
if remote_resources is not None:
|
|
49
|
+
pulumi.set(__self__, "remote_resources", remote_resources)
|
|
50
|
+
if tags is not None:
|
|
51
|
+
pulumi.set(__self__, "tags", tags)
|
|
52
|
+
if timeouts is not None:
|
|
53
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="monitorName")
|
|
57
|
+
def monitor_name(self) -> pulumi.Input[_builtins.str]:
|
|
58
|
+
"""
|
|
59
|
+
The name of the monitor. Cannot be changed after creation.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "monitor_name")
|
|
62
|
+
|
|
63
|
+
@monitor_name.setter
|
|
64
|
+
def monitor_name(self, value: pulumi.Input[_builtins.str]):
|
|
65
|
+
pulumi.set(self, "monitor_name", value)
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter(name="scopeArn")
|
|
69
|
+
def scope_arn(self) -> pulumi.Input[_builtins.str]:
|
|
70
|
+
"""
|
|
71
|
+
The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
72
|
+
|
|
73
|
+
The following arguments are optional:
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "scope_arn")
|
|
76
|
+
|
|
77
|
+
@scope_arn.setter
|
|
78
|
+
def scope_arn(self, value: pulumi.Input[_builtins.str]):
|
|
79
|
+
pulumi.set(self, "scope_arn", value)
|
|
80
|
+
|
|
81
|
+
@_builtins.property
|
|
82
|
+
@pulumi.getter(name="localResources")
|
|
83
|
+
def local_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]]:
|
|
84
|
+
"""
|
|
85
|
+
The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "local_resources")
|
|
88
|
+
|
|
89
|
+
@local_resources.setter
|
|
90
|
+
def local_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]]):
|
|
91
|
+
pulumi.set(self, "local_resources", value)
|
|
92
|
+
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
96
|
+
"""
|
|
97
|
+
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "region")
|
|
100
|
+
|
|
101
|
+
@region.setter
|
|
102
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
103
|
+
pulumi.set(self, "region", value)
|
|
104
|
+
|
|
105
|
+
@_builtins.property
|
|
106
|
+
@pulumi.getter(name="remoteResources")
|
|
107
|
+
def remote_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]]:
|
|
108
|
+
"""
|
|
109
|
+
The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "remote_resources")
|
|
112
|
+
|
|
113
|
+
@remote_resources.setter
|
|
114
|
+
def remote_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]]):
|
|
115
|
+
pulumi.set(self, "remote_resources", value)
|
|
116
|
+
|
|
117
|
+
@_builtins.property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
120
|
+
"""
|
|
121
|
+
A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "tags")
|
|
124
|
+
|
|
125
|
+
@tags.setter
|
|
126
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
127
|
+
pulumi.set(self, "tags", value)
|
|
128
|
+
|
|
129
|
+
@_builtins.property
|
|
130
|
+
@pulumi.getter
|
|
131
|
+
def timeouts(self) -> Optional[pulumi.Input['MonitorTimeoutsArgs']]:
|
|
132
|
+
return pulumi.get(self, "timeouts")
|
|
133
|
+
|
|
134
|
+
@timeouts.setter
|
|
135
|
+
def timeouts(self, value: Optional[pulumi.Input['MonitorTimeoutsArgs']]):
|
|
136
|
+
pulumi.set(self, "timeouts", value)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
@pulumi.input_type
|
|
140
|
+
class _MonitorState:
|
|
141
|
+
def __init__(__self__, *,
|
|
142
|
+
local_resources: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]] = None,
|
|
143
|
+
monitor_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
144
|
+
monitor_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
145
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
146
|
+
remote_resources: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]] = None,
|
|
147
|
+
scope_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
148
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
149
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
150
|
+
timeouts: Optional[pulumi.Input['MonitorTimeoutsArgs']] = None):
|
|
151
|
+
"""
|
|
152
|
+
Input properties used for looking up and filtering Monitor resources.
|
|
153
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]] local_resources: The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
154
|
+
:param pulumi.Input[_builtins.str] monitor_arn: The Amazon Resource Name (ARN) of the monitor.
|
|
155
|
+
:param pulumi.Input[_builtins.str] monitor_name: The name of the monitor. Cannot be changed after creation.
|
|
156
|
+
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
157
|
+
:param pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]] remote_resources: The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
158
|
+
:param pulumi.Input[_builtins.str] scope_arn: The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
159
|
+
|
|
160
|
+
The following arguments are optional:
|
|
161
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
162
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
163
|
+
"""
|
|
164
|
+
if local_resources is not None:
|
|
165
|
+
pulumi.set(__self__, "local_resources", local_resources)
|
|
166
|
+
if monitor_arn is not None:
|
|
167
|
+
pulumi.set(__self__, "monitor_arn", monitor_arn)
|
|
168
|
+
if monitor_name is not None:
|
|
169
|
+
pulumi.set(__self__, "monitor_name", monitor_name)
|
|
170
|
+
if region is not None:
|
|
171
|
+
pulumi.set(__self__, "region", region)
|
|
172
|
+
if remote_resources is not None:
|
|
173
|
+
pulumi.set(__self__, "remote_resources", remote_resources)
|
|
174
|
+
if scope_arn is not None:
|
|
175
|
+
pulumi.set(__self__, "scope_arn", scope_arn)
|
|
176
|
+
if tags is not None:
|
|
177
|
+
pulumi.set(__self__, "tags", tags)
|
|
178
|
+
if tags_all is not None:
|
|
179
|
+
pulumi.set(__self__, "tags_all", tags_all)
|
|
180
|
+
if timeouts is not None:
|
|
181
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
182
|
+
|
|
183
|
+
@_builtins.property
|
|
184
|
+
@pulumi.getter(name="localResources")
|
|
185
|
+
def local_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]]:
|
|
186
|
+
"""
|
|
187
|
+
The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "local_resources")
|
|
190
|
+
|
|
191
|
+
@local_resources.setter
|
|
192
|
+
def local_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorLocalResourceArgs']]]]):
|
|
193
|
+
pulumi.set(self, "local_resources", value)
|
|
194
|
+
|
|
195
|
+
@_builtins.property
|
|
196
|
+
@pulumi.getter(name="monitorArn")
|
|
197
|
+
def monitor_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
198
|
+
"""
|
|
199
|
+
The Amazon Resource Name (ARN) of the monitor.
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "monitor_arn")
|
|
202
|
+
|
|
203
|
+
@monitor_arn.setter
|
|
204
|
+
def monitor_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
205
|
+
pulumi.set(self, "monitor_arn", value)
|
|
206
|
+
|
|
207
|
+
@_builtins.property
|
|
208
|
+
@pulumi.getter(name="monitorName")
|
|
209
|
+
def monitor_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
210
|
+
"""
|
|
211
|
+
The name of the monitor. Cannot be changed after creation.
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "monitor_name")
|
|
214
|
+
|
|
215
|
+
@monitor_name.setter
|
|
216
|
+
def monitor_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
217
|
+
pulumi.set(self, "monitor_name", value)
|
|
218
|
+
|
|
219
|
+
@_builtins.property
|
|
220
|
+
@pulumi.getter
|
|
221
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
222
|
+
"""
|
|
223
|
+
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
224
|
+
"""
|
|
225
|
+
return pulumi.get(self, "region")
|
|
226
|
+
|
|
227
|
+
@region.setter
|
|
228
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
229
|
+
pulumi.set(self, "region", value)
|
|
230
|
+
|
|
231
|
+
@_builtins.property
|
|
232
|
+
@pulumi.getter(name="remoteResources")
|
|
233
|
+
def remote_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]]:
|
|
234
|
+
"""
|
|
235
|
+
The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
236
|
+
"""
|
|
237
|
+
return pulumi.get(self, "remote_resources")
|
|
238
|
+
|
|
239
|
+
@remote_resources.setter
|
|
240
|
+
def remote_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MonitorRemoteResourceArgs']]]]):
|
|
241
|
+
pulumi.set(self, "remote_resources", value)
|
|
242
|
+
|
|
243
|
+
@_builtins.property
|
|
244
|
+
@pulumi.getter(name="scopeArn")
|
|
245
|
+
def scope_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
246
|
+
"""
|
|
247
|
+
The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
248
|
+
|
|
249
|
+
The following arguments are optional:
|
|
250
|
+
"""
|
|
251
|
+
return pulumi.get(self, "scope_arn")
|
|
252
|
+
|
|
253
|
+
@scope_arn.setter
|
|
254
|
+
def scope_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
255
|
+
pulumi.set(self, "scope_arn", value)
|
|
256
|
+
|
|
257
|
+
@_builtins.property
|
|
258
|
+
@pulumi.getter
|
|
259
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
260
|
+
"""
|
|
261
|
+
A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
262
|
+
"""
|
|
263
|
+
return pulumi.get(self, "tags")
|
|
264
|
+
|
|
265
|
+
@tags.setter
|
|
266
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
267
|
+
pulumi.set(self, "tags", value)
|
|
268
|
+
|
|
269
|
+
@_builtins.property
|
|
270
|
+
@pulumi.getter(name="tagsAll")
|
|
271
|
+
def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
272
|
+
"""
|
|
273
|
+
A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
274
|
+
"""
|
|
275
|
+
return pulumi.get(self, "tags_all")
|
|
276
|
+
|
|
277
|
+
@tags_all.setter
|
|
278
|
+
def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
279
|
+
pulumi.set(self, "tags_all", value)
|
|
280
|
+
|
|
281
|
+
@_builtins.property
|
|
282
|
+
@pulumi.getter
|
|
283
|
+
def timeouts(self) -> Optional[pulumi.Input['MonitorTimeoutsArgs']]:
|
|
284
|
+
return pulumi.get(self, "timeouts")
|
|
285
|
+
|
|
286
|
+
@timeouts.setter
|
|
287
|
+
def timeouts(self, value: Optional[pulumi.Input['MonitorTimeoutsArgs']]):
|
|
288
|
+
pulumi.set(self, "timeouts", value)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
@pulumi.type_token("aws:networkflowmonitor/monitor:Monitor")
|
|
292
|
+
class Monitor(pulumi.CustomResource):
|
|
293
|
+
@overload
|
|
294
|
+
def __init__(__self__,
|
|
295
|
+
resource_name: str,
|
|
296
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
297
|
+
local_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorLocalResourceArgs', 'MonitorLocalResourceArgsDict']]]]] = None,
|
|
298
|
+
monitor_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
remote_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorRemoteResourceArgs', 'MonitorRemoteResourceArgsDict']]]]] = None,
|
|
301
|
+
scope_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
303
|
+
timeouts: Optional[pulumi.Input[Union['MonitorTimeoutsArgs', 'MonitorTimeoutsArgsDict']]] = None,
|
|
304
|
+
__props__=None):
|
|
305
|
+
"""
|
|
306
|
+
Manages a Network Flow Monitor Monitor.
|
|
307
|
+
|
|
308
|
+
## Example Usage
|
|
309
|
+
|
|
310
|
+
### Basic Usage
|
|
311
|
+
|
|
312
|
+
```python
|
|
313
|
+
import pulumi
|
|
314
|
+
import pulumi_aws as aws
|
|
315
|
+
|
|
316
|
+
example = aws.ec2.Vpc("example",
|
|
317
|
+
cidr_block="10.0.0.0/16",
|
|
318
|
+
tags={
|
|
319
|
+
"Name": "example",
|
|
320
|
+
})
|
|
321
|
+
example_monitor = aws.networkflowmonitor.Monitor("example",
|
|
322
|
+
monitor_name="example-monitor",
|
|
323
|
+
scope_arn=example_aws_networkflowmonitor_scope["scopeArn"],
|
|
324
|
+
local_resources=[{
|
|
325
|
+
"type": "AWS::EC2::VPC",
|
|
326
|
+
"identifier": example.arn,
|
|
327
|
+
}],
|
|
328
|
+
remote_resources=[{
|
|
329
|
+
"type": "AWS::EC2::VPC",
|
|
330
|
+
"identifier": example.arn,
|
|
331
|
+
}],
|
|
332
|
+
tags={
|
|
333
|
+
"Name": "example",
|
|
334
|
+
})
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
## Import
|
|
338
|
+
|
|
339
|
+
Using `pulumi import`, import Network Flow Monitor Monitor using the monitor name. For example:
|
|
340
|
+
|
|
341
|
+
```sh
|
|
342
|
+
$ pulumi import aws:networkflowmonitor/monitor:Monitor example example-monitor
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
:param str resource_name: The name of the resource.
|
|
346
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
347
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorLocalResourceArgs', 'MonitorLocalResourceArgsDict']]]] local_resources: The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
348
|
+
:param pulumi.Input[_builtins.str] monitor_name: The name of the monitor. Cannot be changed after creation.
|
|
349
|
+
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
350
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorRemoteResourceArgs', 'MonitorRemoteResourceArgsDict']]]] remote_resources: The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
351
|
+
:param pulumi.Input[_builtins.str] scope_arn: The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
352
|
+
|
|
353
|
+
The following arguments are optional:
|
|
354
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
355
|
+
"""
|
|
356
|
+
...
|
|
357
|
+
@overload
|
|
358
|
+
def __init__(__self__,
|
|
359
|
+
resource_name: str,
|
|
360
|
+
args: MonitorArgs,
|
|
361
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
362
|
+
"""
|
|
363
|
+
Manages a Network Flow Monitor Monitor.
|
|
364
|
+
|
|
365
|
+
## Example Usage
|
|
366
|
+
|
|
367
|
+
### Basic Usage
|
|
368
|
+
|
|
369
|
+
```python
|
|
370
|
+
import pulumi
|
|
371
|
+
import pulumi_aws as aws
|
|
372
|
+
|
|
373
|
+
example = aws.ec2.Vpc("example",
|
|
374
|
+
cidr_block="10.0.0.0/16",
|
|
375
|
+
tags={
|
|
376
|
+
"Name": "example",
|
|
377
|
+
})
|
|
378
|
+
example_monitor = aws.networkflowmonitor.Monitor("example",
|
|
379
|
+
monitor_name="example-monitor",
|
|
380
|
+
scope_arn=example_aws_networkflowmonitor_scope["scopeArn"],
|
|
381
|
+
local_resources=[{
|
|
382
|
+
"type": "AWS::EC2::VPC",
|
|
383
|
+
"identifier": example.arn,
|
|
384
|
+
}],
|
|
385
|
+
remote_resources=[{
|
|
386
|
+
"type": "AWS::EC2::VPC",
|
|
387
|
+
"identifier": example.arn,
|
|
388
|
+
}],
|
|
389
|
+
tags={
|
|
390
|
+
"Name": "example",
|
|
391
|
+
})
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Import
|
|
395
|
+
|
|
396
|
+
Using `pulumi import`, import Network Flow Monitor Monitor using the monitor name. For example:
|
|
397
|
+
|
|
398
|
+
```sh
|
|
399
|
+
$ pulumi import aws:networkflowmonitor/monitor:Monitor example example-monitor
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
:param str resource_name: The name of the resource.
|
|
403
|
+
:param MonitorArgs args: The arguments to use to populate this resource's properties.
|
|
404
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
405
|
+
"""
|
|
406
|
+
...
|
|
407
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
408
|
+
resource_args, opts = _utilities.get_resource_args_opts(MonitorArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
409
|
+
if resource_args is not None:
|
|
410
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
411
|
+
else:
|
|
412
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
413
|
+
|
|
414
|
+
def _internal_init(__self__,
|
|
415
|
+
resource_name: str,
|
|
416
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
417
|
+
local_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorLocalResourceArgs', 'MonitorLocalResourceArgsDict']]]]] = None,
|
|
418
|
+
monitor_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
420
|
+
remote_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorRemoteResourceArgs', 'MonitorRemoteResourceArgsDict']]]]] = None,
|
|
421
|
+
scope_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
422
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
423
|
+
timeouts: Optional[pulumi.Input[Union['MonitorTimeoutsArgs', 'MonitorTimeoutsArgsDict']]] = None,
|
|
424
|
+
__props__=None):
|
|
425
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
426
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
427
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
428
|
+
if opts.id is None:
|
|
429
|
+
if __props__ is not None:
|
|
430
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
431
|
+
__props__ = MonitorArgs.__new__(MonitorArgs)
|
|
432
|
+
|
|
433
|
+
__props__.__dict__["local_resources"] = local_resources
|
|
434
|
+
if monitor_name is None and not opts.urn:
|
|
435
|
+
raise TypeError("Missing required property 'monitor_name'")
|
|
436
|
+
__props__.__dict__["monitor_name"] = monitor_name
|
|
437
|
+
__props__.__dict__["region"] = region
|
|
438
|
+
__props__.__dict__["remote_resources"] = remote_resources
|
|
439
|
+
if scope_arn is None and not opts.urn:
|
|
440
|
+
raise TypeError("Missing required property 'scope_arn'")
|
|
441
|
+
__props__.__dict__["scope_arn"] = scope_arn
|
|
442
|
+
__props__.__dict__["tags"] = tags
|
|
443
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
444
|
+
__props__.__dict__["monitor_arn"] = None
|
|
445
|
+
__props__.__dict__["tags_all"] = None
|
|
446
|
+
super(Monitor, __self__).__init__(
|
|
447
|
+
'aws:networkflowmonitor/monitor:Monitor',
|
|
448
|
+
resource_name,
|
|
449
|
+
__props__,
|
|
450
|
+
opts)
|
|
451
|
+
|
|
452
|
+
@staticmethod
|
|
453
|
+
def get(resource_name: str,
|
|
454
|
+
id: pulumi.Input[str],
|
|
455
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
456
|
+
local_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorLocalResourceArgs', 'MonitorLocalResourceArgsDict']]]]] = None,
|
|
457
|
+
monitor_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
458
|
+
monitor_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
460
|
+
remote_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MonitorRemoteResourceArgs', 'MonitorRemoteResourceArgsDict']]]]] = None,
|
|
461
|
+
scope_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
462
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
463
|
+
tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
464
|
+
timeouts: Optional[pulumi.Input[Union['MonitorTimeoutsArgs', 'MonitorTimeoutsArgsDict']]] = None) -> 'Monitor':
|
|
465
|
+
"""
|
|
466
|
+
Get an existing Monitor resource's state with the given name, id, and optional extra
|
|
467
|
+
properties used to qualify the lookup.
|
|
468
|
+
|
|
469
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
470
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
471
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
472
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorLocalResourceArgs', 'MonitorLocalResourceArgsDict']]]] local_resources: The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
473
|
+
:param pulumi.Input[_builtins.str] monitor_arn: The Amazon Resource Name (ARN) of the monitor.
|
|
474
|
+
:param pulumi.Input[_builtins.str] monitor_name: The name of the monitor. Cannot be changed after creation.
|
|
475
|
+
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
476
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MonitorRemoteResourceArgs', 'MonitorRemoteResourceArgsDict']]]] remote_resources: The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
477
|
+
:param pulumi.Input[_builtins.str] scope_arn: The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
478
|
+
|
|
479
|
+
The following arguments are optional:
|
|
480
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
481
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
482
|
+
"""
|
|
483
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
484
|
+
|
|
485
|
+
__props__ = _MonitorState.__new__(_MonitorState)
|
|
486
|
+
|
|
487
|
+
__props__.__dict__["local_resources"] = local_resources
|
|
488
|
+
__props__.__dict__["monitor_arn"] = monitor_arn
|
|
489
|
+
__props__.__dict__["monitor_name"] = monitor_name
|
|
490
|
+
__props__.__dict__["region"] = region
|
|
491
|
+
__props__.__dict__["remote_resources"] = remote_resources
|
|
492
|
+
__props__.__dict__["scope_arn"] = scope_arn
|
|
493
|
+
__props__.__dict__["tags"] = tags
|
|
494
|
+
__props__.__dict__["tags_all"] = tags_all
|
|
495
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
496
|
+
return Monitor(resource_name, opts=opts, __props__=__props__)
|
|
497
|
+
|
|
498
|
+
@_builtins.property
|
|
499
|
+
@pulumi.getter(name="localResources")
|
|
500
|
+
def local_resources(self) -> pulumi.Output[Optional[Sequence['outputs.MonitorLocalResource']]]:
|
|
501
|
+
"""
|
|
502
|
+
The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "local_resources")
|
|
505
|
+
|
|
506
|
+
@_builtins.property
|
|
507
|
+
@pulumi.getter(name="monitorArn")
|
|
508
|
+
def monitor_arn(self) -> pulumi.Output[_builtins.str]:
|
|
509
|
+
"""
|
|
510
|
+
The Amazon Resource Name (ARN) of the monitor.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "monitor_arn")
|
|
513
|
+
|
|
514
|
+
@_builtins.property
|
|
515
|
+
@pulumi.getter(name="monitorName")
|
|
516
|
+
def monitor_name(self) -> pulumi.Output[_builtins.str]:
|
|
517
|
+
"""
|
|
518
|
+
The name of the monitor. Cannot be changed after creation.
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "monitor_name")
|
|
521
|
+
|
|
522
|
+
@_builtins.property
|
|
523
|
+
@pulumi.getter
|
|
524
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
525
|
+
"""
|
|
526
|
+
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "region")
|
|
529
|
+
|
|
530
|
+
@_builtins.property
|
|
531
|
+
@pulumi.getter(name="remoteResources")
|
|
532
|
+
def remote_resources(self) -> pulumi.Output[Optional[Sequence['outputs.MonitorRemoteResource']]]:
|
|
533
|
+
"""
|
|
534
|
+
The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "remote_resources")
|
|
537
|
+
|
|
538
|
+
@_builtins.property
|
|
539
|
+
@pulumi.getter(name="scopeArn")
|
|
540
|
+
def scope_arn(self) -> pulumi.Output[_builtins.str]:
|
|
541
|
+
"""
|
|
542
|
+
The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
|
|
543
|
+
|
|
544
|
+
The following arguments are optional:
|
|
545
|
+
"""
|
|
546
|
+
return pulumi.get(self, "scope_arn")
|
|
547
|
+
|
|
548
|
+
@_builtins.property
|
|
549
|
+
@pulumi.getter
|
|
550
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
551
|
+
"""
|
|
552
|
+
A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
553
|
+
"""
|
|
554
|
+
return pulumi.get(self, "tags")
|
|
555
|
+
|
|
556
|
+
@_builtins.property
|
|
557
|
+
@pulumi.getter(name="tagsAll")
|
|
558
|
+
def tags_all(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
559
|
+
"""
|
|
560
|
+
A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
561
|
+
"""
|
|
562
|
+
return pulumi.get(self, "tags_all")
|
|
563
|
+
|
|
564
|
+
@_builtins.property
|
|
565
|
+
@pulumi.getter
|
|
566
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.MonitorTimeouts']]:
|
|
567
|
+
return pulumi.get(self, "timeouts")
|
|
568
|
+
|