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,259 @@
|
|
|
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 _inputs as _root_inputs
|
|
17
|
+
from .. import outputs as _root_outputs
|
|
18
|
+
from ._enums import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['CapacityManagerDataExportArgs', 'CapacityManagerDataExport']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class CapacityManagerDataExportArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
output_format: pulumi.Input['CapacityManagerDataExportOutputFormat'],
|
|
26
|
+
s3_bucket_name: pulumi.Input[_builtins.str],
|
|
27
|
+
schedule: pulumi.Input['CapacityManagerDataExportSchedule'],
|
|
28
|
+
s3_bucket_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None):
|
|
30
|
+
"""
|
|
31
|
+
The set of arguments for constructing a CapacityManagerDataExport resource.
|
|
32
|
+
:param pulumi.Input['CapacityManagerDataExportOutputFormat'] output_format: The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
|
|
33
|
+
:param pulumi.Input[_builtins.str] s3_bucket_name: The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
|
|
34
|
+
:param pulumi.Input['CapacityManagerDataExportSchedule'] schedule: The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
|
|
35
|
+
:param pulumi.Input[_builtins.str] s3_bucket_prefix: The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
|
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: An array of key-value pairs to apply to the capacity manager data export.
|
|
37
|
+
"""
|
|
38
|
+
pulumi.set(__self__, "output_format", output_format)
|
|
39
|
+
pulumi.set(__self__, "s3_bucket_name", s3_bucket_name)
|
|
40
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
41
|
+
if s3_bucket_prefix is not None:
|
|
42
|
+
pulumi.set(__self__, "s3_bucket_prefix", s3_bucket_prefix)
|
|
43
|
+
if tags is not None:
|
|
44
|
+
pulumi.set(__self__, "tags", tags)
|
|
45
|
+
|
|
46
|
+
@_builtins.property
|
|
47
|
+
@pulumi.getter(name="outputFormat")
|
|
48
|
+
def output_format(self) -> pulumi.Input['CapacityManagerDataExportOutputFormat']:
|
|
49
|
+
"""
|
|
50
|
+
The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "output_format")
|
|
53
|
+
|
|
54
|
+
@output_format.setter
|
|
55
|
+
def output_format(self, value: pulumi.Input['CapacityManagerDataExportOutputFormat']):
|
|
56
|
+
pulumi.set(self, "output_format", value)
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="s3BucketName")
|
|
60
|
+
def s3_bucket_name(self) -> pulumi.Input[_builtins.str]:
|
|
61
|
+
"""
|
|
62
|
+
The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "s3_bucket_name")
|
|
65
|
+
|
|
66
|
+
@s3_bucket_name.setter
|
|
67
|
+
def s3_bucket_name(self, value: pulumi.Input[_builtins.str]):
|
|
68
|
+
pulumi.set(self, "s3_bucket_name", value)
|
|
69
|
+
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def schedule(self) -> pulumi.Input['CapacityManagerDataExportSchedule']:
|
|
73
|
+
"""
|
|
74
|
+
The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "schedule")
|
|
77
|
+
|
|
78
|
+
@schedule.setter
|
|
79
|
+
def schedule(self, value: pulumi.Input['CapacityManagerDataExportSchedule']):
|
|
80
|
+
pulumi.set(self, "schedule", value)
|
|
81
|
+
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter(name="s3BucketPrefix")
|
|
84
|
+
def s3_bucket_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
85
|
+
"""
|
|
86
|
+
The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "s3_bucket_prefix")
|
|
89
|
+
|
|
90
|
+
@s3_bucket_prefix.setter
|
|
91
|
+
def s3_bucket_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
92
|
+
pulumi.set(self, "s3_bucket_prefix", value)
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]:
|
|
97
|
+
"""
|
|
98
|
+
An array of key-value pairs to apply to the capacity manager data export.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "tags")
|
|
101
|
+
|
|
102
|
+
@tags.setter
|
|
103
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]):
|
|
104
|
+
pulumi.set(self, "tags", value)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
@pulumi.type_token("aws-native:ec2:CapacityManagerDataExport")
|
|
108
|
+
class CapacityManagerDataExport(pulumi.CustomResource):
|
|
109
|
+
@overload
|
|
110
|
+
def __init__(__self__,
|
|
111
|
+
resource_name: str,
|
|
112
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
113
|
+
output_format: Optional[pulumi.Input['CapacityManagerDataExportOutputFormat']] = None,
|
|
114
|
+
s3_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
115
|
+
s3_bucket_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
+
schedule: Optional[pulumi.Input['CapacityManagerDataExportSchedule']] = None,
|
|
117
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
118
|
+
__props__=None):
|
|
119
|
+
"""
|
|
120
|
+
Resource Type definition for AWS::EC2::CapacityManagerDataExport
|
|
121
|
+
|
|
122
|
+
:param str resource_name: The name of the resource.
|
|
123
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
124
|
+
:param pulumi.Input['CapacityManagerDataExportOutputFormat'] output_format: The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
|
|
125
|
+
:param pulumi.Input[_builtins.str] s3_bucket_name: The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
|
|
126
|
+
:param pulumi.Input[_builtins.str] s3_bucket_prefix: The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
|
|
127
|
+
:param pulumi.Input['CapacityManagerDataExportSchedule'] schedule: The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
|
|
128
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: An array of key-value pairs to apply to the capacity manager data export.
|
|
129
|
+
"""
|
|
130
|
+
...
|
|
131
|
+
@overload
|
|
132
|
+
def __init__(__self__,
|
|
133
|
+
resource_name: str,
|
|
134
|
+
args: CapacityManagerDataExportArgs,
|
|
135
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
136
|
+
"""
|
|
137
|
+
Resource Type definition for AWS::EC2::CapacityManagerDataExport
|
|
138
|
+
|
|
139
|
+
:param str resource_name: The name of the resource.
|
|
140
|
+
:param CapacityManagerDataExportArgs args: The arguments to use to populate this resource's properties.
|
|
141
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
+
"""
|
|
143
|
+
...
|
|
144
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
145
|
+
resource_args, opts = _utilities.get_resource_args_opts(CapacityManagerDataExportArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
146
|
+
if resource_args is not None:
|
|
147
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
148
|
+
else:
|
|
149
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
150
|
+
|
|
151
|
+
def _internal_init(__self__,
|
|
152
|
+
resource_name: str,
|
|
153
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
154
|
+
output_format: Optional[pulumi.Input['CapacityManagerDataExportOutputFormat']] = None,
|
|
155
|
+
s3_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
156
|
+
s3_bucket_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
157
|
+
schedule: Optional[pulumi.Input['CapacityManagerDataExportSchedule']] = None,
|
|
158
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
159
|
+
__props__=None):
|
|
160
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
161
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
162
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
163
|
+
if opts.id is None:
|
|
164
|
+
if __props__ is not None:
|
|
165
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
166
|
+
__props__ = CapacityManagerDataExportArgs.__new__(CapacityManagerDataExportArgs)
|
|
167
|
+
|
|
168
|
+
if output_format is None and not opts.urn:
|
|
169
|
+
raise TypeError("Missing required property 'output_format'")
|
|
170
|
+
__props__.__dict__["output_format"] = output_format
|
|
171
|
+
if s3_bucket_name is None and not opts.urn:
|
|
172
|
+
raise TypeError("Missing required property 's3_bucket_name'")
|
|
173
|
+
__props__.__dict__["s3_bucket_name"] = s3_bucket_name
|
|
174
|
+
__props__.__dict__["s3_bucket_prefix"] = s3_bucket_prefix
|
|
175
|
+
if schedule is None and not opts.urn:
|
|
176
|
+
raise TypeError("Missing required property 'schedule'")
|
|
177
|
+
__props__.__dict__["schedule"] = schedule
|
|
178
|
+
__props__.__dict__["tags"] = tags
|
|
179
|
+
__props__.__dict__["capacity_manager_data_export_id"] = None
|
|
180
|
+
replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["outputFormat", "s3BucketName", "s3BucketPrefix", "schedule"])
|
|
181
|
+
opts = pulumi.ResourceOptions.merge(opts, replace_on_changes)
|
|
182
|
+
super(CapacityManagerDataExport, __self__).__init__(
|
|
183
|
+
'aws-native:ec2:CapacityManagerDataExport',
|
|
184
|
+
resource_name,
|
|
185
|
+
__props__,
|
|
186
|
+
opts)
|
|
187
|
+
|
|
188
|
+
@staticmethod
|
|
189
|
+
def get(resource_name: str,
|
|
190
|
+
id: pulumi.Input[str],
|
|
191
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'CapacityManagerDataExport':
|
|
192
|
+
"""
|
|
193
|
+
Get an existing CapacityManagerDataExport resource's state with the given name, id, and optional extra
|
|
194
|
+
properties used to qualify the lookup.
|
|
195
|
+
|
|
196
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
197
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
198
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
199
|
+
"""
|
|
200
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
201
|
+
|
|
202
|
+
__props__ = CapacityManagerDataExportArgs.__new__(CapacityManagerDataExportArgs)
|
|
203
|
+
|
|
204
|
+
__props__.__dict__["capacity_manager_data_export_id"] = None
|
|
205
|
+
__props__.__dict__["output_format"] = None
|
|
206
|
+
__props__.__dict__["s3_bucket_name"] = None
|
|
207
|
+
__props__.__dict__["s3_bucket_prefix"] = None
|
|
208
|
+
__props__.__dict__["schedule"] = None
|
|
209
|
+
__props__.__dict__["tags"] = None
|
|
210
|
+
return CapacityManagerDataExport(resource_name, opts=opts, __props__=__props__)
|
|
211
|
+
|
|
212
|
+
@_builtins.property
|
|
213
|
+
@pulumi.getter(name="capacityManagerDataExportId")
|
|
214
|
+
def capacity_manager_data_export_id(self) -> pulumi.Output[_builtins.str]:
|
|
215
|
+
"""
|
|
216
|
+
The unique identifier of the capacity manager data export.
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "capacity_manager_data_export_id")
|
|
219
|
+
|
|
220
|
+
@_builtins.property
|
|
221
|
+
@pulumi.getter(name="outputFormat")
|
|
222
|
+
def output_format(self) -> pulumi.Output['CapacityManagerDataExportOutputFormat']:
|
|
223
|
+
"""
|
|
224
|
+
The format of the exported capacity manager data. Choose 'csv' for comma-separated values or 'parquet' for optimized columnar storage format.
|
|
225
|
+
"""
|
|
226
|
+
return pulumi.get(self, "output_format")
|
|
227
|
+
|
|
228
|
+
@_builtins.property
|
|
229
|
+
@pulumi.getter(name="s3BucketName")
|
|
230
|
+
def s3_bucket_name(self) -> pulumi.Output[_builtins.str]:
|
|
231
|
+
"""
|
|
232
|
+
The name of the Amazon S3 bucket where the capacity manager data export will be stored. The bucket must exist and be accessible by EC2 Capacity Manager service.
|
|
233
|
+
"""
|
|
234
|
+
return pulumi.get(self, "s3_bucket_name")
|
|
235
|
+
|
|
236
|
+
@_builtins.property
|
|
237
|
+
@pulumi.getter(name="s3BucketPrefix")
|
|
238
|
+
def s3_bucket_prefix(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
239
|
+
"""
|
|
240
|
+
The prefix for the S3 bucket location where exported files will be placed. If not specified, files will be placed in the root of the bucket.
|
|
241
|
+
"""
|
|
242
|
+
return pulumi.get(self, "s3_bucket_prefix")
|
|
243
|
+
|
|
244
|
+
@_builtins.property
|
|
245
|
+
@pulumi.getter
|
|
246
|
+
def schedule(self) -> pulumi.Output['CapacityManagerDataExportSchedule']:
|
|
247
|
+
"""
|
|
248
|
+
The schedule for the capacity manager data export. Currently supports hourly exports that provide periodic snapshots of capacity manager data.
|
|
249
|
+
"""
|
|
250
|
+
return pulumi.get(self, "schedule")
|
|
251
|
+
|
|
252
|
+
@_builtins.property
|
|
253
|
+
@pulumi.getter
|
|
254
|
+
def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]:
|
|
255
|
+
"""
|
|
256
|
+
An array of key-value pairs to apply to the capacity manager data export.
|
|
257
|
+
"""
|
|
258
|
+
return pulumi.get(self, "tags")
|
|
259
|
+
|
|
@@ -50,7 +50,7 @@ class CapacityReservationArgs:
|
|
|
50
50
|
|
|
51
51
|
For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide* .
|
|
52
52
|
:param pulumi.Input[_builtins.str] availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
53
|
-
:param pulumi.Input[_builtins.str] availability_zone_id: The Availability Zone
|
|
53
|
+
:param pulumi.Input[_builtins.str] availability_zone_id: The ID of the Availability Zone in which the capacity is reserved.
|
|
54
54
|
:param pulumi.Input[_builtins.bool] ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
55
55
|
:param pulumi.Input[_builtins.str] end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to `expired` when it reaches its end date and time.
|
|
56
56
|
|
|
@@ -175,7 +175,7 @@ class CapacityReservationArgs:
|
|
|
175
175
|
@pulumi.getter(name="availabilityZoneId")
|
|
176
176
|
def availability_zone_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
177
|
"""
|
|
178
|
-
The Availability Zone
|
|
178
|
+
The ID of the Availability Zone in which the capacity is reserved.
|
|
179
179
|
"""
|
|
180
180
|
return pulumi.get(self, "availability_zone_id")
|
|
181
181
|
|
|
@@ -357,7 +357,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
357
357
|
:param str resource_name: The name of the resource.
|
|
358
358
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
359
359
|
:param pulumi.Input[_builtins.str] availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
360
|
-
:param pulumi.Input[_builtins.str] availability_zone_id: The Availability Zone
|
|
360
|
+
:param pulumi.Input[_builtins.str] availability_zone_id: The ID of the Availability Zone in which the capacity is reserved.
|
|
361
361
|
:param pulumi.Input[_builtins.bool] ebs_optimized: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
|
|
362
362
|
:param pulumi.Input[_builtins.str] end_date: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to `expired` when it reaches its end date and time.
|
|
363
363
|
|
|
@@ -553,7 +553,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
553
553
|
@pulumi.getter(name="availabilityZoneId")
|
|
554
554
|
def availability_zone_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
555
555
|
"""
|
|
556
|
-
The Availability Zone
|
|
556
|
+
The ID of the Availability Zone in which the capacity is reserved.
|
|
557
557
|
"""
|
|
558
558
|
return pulumi.get(self, "availability_zone_id")
|
|
559
559
|
|
|
@@ -603,7 +603,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
603
603
|
@pulumi.getter(name="createDate")
|
|
604
604
|
def create_date(self) -> pulumi.Output[_builtins.str]:
|
|
605
605
|
"""
|
|
606
|
-
The date and time
|
|
606
|
+
The date and time the Capacity Reservation was created.
|
|
607
607
|
"""
|
|
608
608
|
return pulumi.get(self, "create_date")
|
|
609
609
|
|
|
@@ -743,7 +743,7 @@ class CapacityReservation(pulumi.CustomResource):
|
|
|
743
743
|
@pulumi.getter(name="startDate")
|
|
744
744
|
def start_date(self) -> pulumi.Output[_builtins.str]:
|
|
745
745
|
"""
|
|
746
|
-
The date and time
|
|
746
|
+
The date and time the Capacity Reservation was started.
|
|
747
747
|
"""
|
|
748
748
|
return pulumi.get(self, "start_date")
|
|
749
749
|
|
|
@@ -0,0 +1,92 @@
|
|
|
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 as _root_outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetCapacityManagerDataExportResult',
|
|
20
|
+
'AwaitableGetCapacityManagerDataExportResult',
|
|
21
|
+
'get_capacity_manager_data_export',
|
|
22
|
+
'get_capacity_manager_data_export_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetCapacityManagerDataExportResult:
|
|
27
|
+
def __init__(__self__, capacity_manager_data_export_id=None, tags=None):
|
|
28
|
+
if capacity_manager_data_export_id and not isinstance(capacity_manager_data_export_id, str):
|
|
29
|
+
raise TypeError("Expected argument 'capacity_manager_data_export_id' to be a str")
|
|
30
|
+
pulumi.set(__self__, "capacity_manager_data_export_id", capacity_manager_data_export_id)
|
|
31
|
+
if tags and not isinstance(tags, list):
|
|
32
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
33
|
+
pulumi.set(__self__, "tags", tags)
|
|
34
|
+
|
|
35
|
+
@_builtins.property
|
|
36
|
+
@pulumi.getter(name="capacityManagerDataExportId")
|
|
37
|
+
def capacity_manager_data_export_id(self) -> Optional[_builtins.str]:
|
|
38
|
+
"""
|
|
39
|
+
The unique identifier of the capacity manager data export.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "capacity_manager_data_export_id")
|
|
42
|
+
|
|
43
|
+
@_builtins.property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def tags(self) -> Optional[Sequence['_root_outputs.Tag']]:
|
|
46
|
+
"""
|
|
47
|
+
An array of key-value pairs to apply to the capacity manager data export.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "tags")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class AwaitableGetCapacityManagerDataExportResult(GetCapacityManagerDataExportResult):
|
|
53
|
+
# pylint: disable=using-constant-test
|
|
54
|
+
def __await__(self):
|
|
55
|
+
if False:
|
|
56
|
+
yield self
|
|
57
|
+
return GetCapacityManagerDataExportResult(
|
|
58
|
+
capacity_manager_data_export_id=self.capacity_manager_data_export_id,
|
|
59
|
+
tags=self.tags)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def get_capacity_manager_data_export(capacity_manager_data_export_id: Optional[_builtins.str] = None,
|
|
63
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCapacityManagerDataExportResult:
|
|
64
|
+
"""
|
|
65
|
+
Resource Type definition for AWS::EC2::CapacityManagerDataExport
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:param _builtins.str capacity_manager_data_export_id: The unique identifier of the capacity manager data export.
|
|
69
|
+
"""
|
|
70
|
+
__args__ = dict()
|
|
71
|
+
__args__['capacityManagerDataExportId'] = capacity_manager_data_export_id
|
|
72
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
73
|
+
__ret__ = pulumi.runtime.invoke('aws-native:ec2:getCapacityManagerDataExport', __args__, opts=opts, typ=GetCapacityManagerDataExportResult).value
|
|
74
|
+
|
|
75
|
+
return AwaitableGetCapacityManagerDataExportResult(
|
|
76
|
+
capacity_manager_data_export_id=pulumi.get(__ret__, 'capacity_manager_data_export_id'),
|
|
77
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
78
|
+
def get_capacity_manager_data_export_output(capacity_manager_data_export_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCapacityManagerDataExportResult]:
|
|
80
|
+
"""
|
|
81
|
+
Resource Type definition for AWS::EC2::CapacityManagerDataExport
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:param _builtins.str capacity_manager_data_export_id: The unique identifier of the capacity manager data export.
|
|
85
|
+
"""
|
|
86
|
+
__args__ = dict()
|
|
87
|
+
__args__['capacityManagerDataExportId'] = capacity_manager_data_export_id
|
|
88
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
89
|
+
__ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getCapacityManagerDataExport', __args__, opts=opts, typ=GetCapacityManagerDataExportResult)
|
|
90
|
+
return __ret__.apply(lambda __response__: GetCapacityManagerDataExportResult(
|
|
91
|
+
capacity_manager_data_export_id=pulumi.get(__response__, 'capacity_manager_data_export_id'),
|
|
92
|
+
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -115,7 +115,7 @@ class GetCapacityReservationResult:
|
|
|
115
115
|
@pulumi.getter(name="createDate")
|
|
116
116
|
def create_date(self) -> Optional[_builtins.str]:
|
|
117
117
|
"""
|
|
118
|
-
The date and time
|
|
118
|
+
The date and time the Capacity Reservation was created.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "create_date")
|
|
121
121
|
|
|
@@ -207,7 +207,7 @@ class GetCapacityReservationResult:
|
|
|
207
207
|
@pulumi.getter(name="startDate")
|
|
208
208
|
def start_date(self) -> Optional[_builtins.str]:
|
|
209
209
|
"""
|
|
210
|
-
The date and time
|
|
210
|
+
The date and time the Capacity Reservation was started.
|
|
211
211
|
"""
|
|
212
212
|
return pulumi.get(self, "start_date")
|
|
213
213
|
|
|
@@ -24,13 +24,16 @@ __all__ = [
|
|
|
24
24
|
|
|
25
25
|
@pulumi.output_type
|
|
26
26
|
class GetVolumeResult:
|
|
27
|
-
def __init__(__self__, auto_enable_io=None, availability_zone=None, encrypted=None, iops=None, kms_key_id=None, multi_attach_enabled=None, outpost_arn=None, size=None, snapshot_id=None, tags=None, throughput=None, volume_id=None, volume_initialization_rate=None, volume_type=None):
|
|
27
|
+
def __init__(__self__, auto_enable_io=None, availability_zone=None, availability_zone_id=None, encrypted=None, iops=None, kms_key_id=None, multi_attach_enabled=None, outpost_arn=None, size=None, snapshot_id=None, source_volume_id=None, tags=None, throughput=None, volume_id=None, volume_initialization_rate=None, volume_type=None):
|
|
28
28
|
if auto_enable_io and not isinstance(auto_enable_io, bool):
|
|
29
29
|
raise TypeError("Expected argument 'auto_enable_io' to be a bool")
|
|
30
30
|
pulumi.set(__self__, "auto_enable_io", auto_enable_io)
|
|
31
31
|
if availability_zone and not isinstance(availability_zone, str):
|
|
32
32
|
raise TypeError("Expected argument 'availability_zone' to be a str")
|
|
33
33
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
34
|
+
if availability_zone_id and not isinstance(availability_zone_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'availability_zone_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "availability_zone_id", availability_zone_id)
|
|
34
37
|
if encrypted and not isinstance(encrypted, bool):
|
|
35
38
|
raise TypeError("Expected argument 'encrypted' to be a bool")
|
|
36
39
|
pulumi.set(__self__, "encrypted", encrypted)
|
|
@@ -52,6 +55,9 @@ class GetVolumeResult:
|
|
|
52
55
|
if snapshot_id and not isinstance(snapshot_id, str):
|
|
53
56
|
raise TypeError("Expected argument 'snapshot_id' to be a str")
|
|
54
57
|
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
|
58
|
+
if source_volume_id and not isinstance(source_volume_id, str):
|
|
59
|
+
raise TypeError("Expected argument 'source_volume_id' to be a str")
|
|
60
|
+
pulumi.set(__self__, "source_volume_id", source_volume_id)
|
|
55
61
|
if tags and not isinstance(tags, list):
|
|
56
62
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
57
63
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -85,6 +91,11 @@ class GetVolumeResult:
|
|
|
85
91
|
"""
|
|
86
92
|
return pulumi.get(self, "availability_zone")
|
|
87
93
|
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="availabilityZoneId")
|
|
96
|
+
def availability_zone_id(self) -> Optional[_builtins.str]:
|
|
97
|
+
return pulumi.get(self, "availability_zone_id")
|
|
98
|
+
|
|
88
99
|
@_builtins.property
|
|
89
100
|
@pulumi.getter
|
|
90
101
|
def encrypted(self) -> Optional[_builtins.bool]:
|
|
@@ -98,14 +109,13 @@ class GetVolumeResult:
|
|
|
98
109
|
@pulumi.getter
|
|
99
110
|
def iops(self) -> Optional[_builtins.int]:
|
|
100
111
|
"""
|
|
101
|
-
The number of I/O operations per second (IOPS).
|
|
102
|
-
|
|
103
|
-
+
|
|
104
|
-
+
|
|
105
|
-
+
|
|
112
|
+
The number of I/O operations per second (IOPS) to provision for the volume. Required for ``io1`` and ``io2`` volumes. Optional for ``gp3`` volumes. Omit for all other volume types.
|
|
113
|
+
Valid ranges:
|
|
114
|
+
+ gp3: ``3,000``(*default*)``- 80,000`` IOPS
|
|
115
|
+
+ io1: ``100 - 64,000`` IOPS
|
|
116
|
+
+ io2: ``100 - 256,000`` IOPS
|
|
106
117
|
|
|
107
|
-
|
|
108
|
-
This parameter is required for ``io1`` and ``io2`` volumes. The default for ``gp3`` volumes is 3,000 IOPS. This parameter is not supported for ``gp2``, ``st1``, ``sc1``, or ``standard`` volumes.
|
|
118
|
+
[Instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) can support up to 256,000 IOPS. Other instances can support up to 32,000 IOPS.
|
|
109
119
|
"""
|
|
110
120
|
return pulumi.get(self, "iops")
|
|
111
121
|
|
|
@@ -144,13 +154,14 @@ class GetVolumeResult:
|
|
|
144
154
|
@pulumi.getter
|
|
145
155
|
def size(self) -> Optional[_builtins.int]:
|
|
146
156
|
"""
|
|
147
|
-
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size
|
|
148
|
-
|
|
149
|
-
+
|
|
150
|
-
+ ``
|
|
151
|
-
+ ``
|
|
152
|
-
+
|
|
153
|
-
+ ``
|
|
157
|
+
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size, and you can specify a volume size that is equal to or larger than the snapshot size.
|
|
158
|
+
Valid sizes:
|
|
159
|
+
+ gp2: ``1 - 16,384`` GiB
|
|
160
|
+
+ gp3: ``1 - 65,536`` GiB
|
|
161
|
+
+ io1: ``4 - 16,384`` GiB
|
|
162
|
+
+ io2: ``4 - 65,536`` GiB
|
|
163
|
+
+ st1 and sc1: ``125 - 16,384`` GiB
|
|
164
|
+
+ standard: ``1 - 1024`` GiB
|
|
154
165
|
"""
|
|
155
166
|
return pulumi.get(self, "size")
|
|
156
167
|
|
|
@@ -162,6 +173,11 @@ class GetVolumeResult:
|
|
|
162
173
|
"""
|
|
163
174
|
return pulumi.get(self, "snapshot_id")
|
|
164
175
|
|
|
176
|
+
@_builtins.property
|
|
177
|
+
@pulumi.getter(name="sourceVolumeId")
|
|
178
|
+
def source_volume_id(self) -> Optional[_builtins.str]:
|
|
179
|
+
return pulumi.get(self, "source_volume_id")
|
|
180
|
+
|
|
165
181
|
@_builtins.property
|
|
166
182
|
@pulumi.getter
|
|
167
183
|
def tags(self) -> Optional[Sequence['_root_outputs.Tag']]:
|
|
@@ -228,6 +244,7 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
|
228
244
|
return GetVolumeResult(
|
|
229
245
|
auto_enable_io=self.auto_enable_io,
|
|
230
246
|
availability_zone=self.availability_zone,
|
|
247
|
+
availability_zone_id=self.availability_zone_id,
|
|
231
248
|
encrypted=self.encrypted,
|
|
232
249
|
iops=self.iops,
|
|
233
250
|
kms_key_id=self.kms_key_id,
|
|
@@ -235,6 +252,7 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
|
235
252
|
outpost_arn=self.outpost_arn,
|
|
236
253
|
size=self.size,
|
|
237
254
|
snapshot_id=self.snapshot_id,
|
|
255
|
+
source_volume_id=self.source_volume_id,
|
|
238
256
|
tags=self.tags,
|
|
239
257
|
throughput=self.throughput,
|
|
240
258
|
volume_id=self.volume_id,
|
|
@@ -275,6 +293,7 @@ def get_volume(volume_id: Optional[_builtins.str] = None,
|
|
|
275
293
|
return AwaitableGetVolumeResult(
|
|
276
294
|
auto_enable_io=pulumi.get(__ret__, 'auto_enable_io'),
|
|
277
295
|
availability_zone=pulumi.get(__ret__, 'availability_zone'),
|
|
296
|
+
availability_zone_id=pulumi.get(__ret__, 'availability_zone_id'),
|
|
278
297
|
encrypted=pulumi.get(__ret__, 'encrypted'),
|
|
279
298
|
iops=pulumi.get(__ret__, 'iops'),
|
|
280
299
|
kms_key_id=pulumi.get(__ret__, 'kms_key_id'),
|
|
@@ -282,6 +301,7 @@ def get_volume(volume_id: Optional[_builtins.str] = None,
|
|
|
282
301
|
outpost_arn=pulumi.get(__ret__, 'outpost_arn'),
|
|
283
302
|
size=pulumi.get(__ret__, 'size'),
|
|
284
303
|
snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
|
|
304
|
+
source_volume_id=pulumi.get(__ret__, 'source_volume_id'),
|
|
285
305
|
tags=pulumi.get(__ret__, 'tags'),
|
|
286
306
|
throughput=pulumi.get(__ret__, 'throughput'),
|
|
287
307
|
volume_id=pulumi.get(__ret__, 'volume_id'),
|
|
@@ -319,6 +339,7 @@ def get_volume_output(volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
319
339
|
return __ret__.apply(lambda __response__: GetVolumeResult(
|
|
320
340
|
auto_enable_io=pulumi.get(__response__, 'auto_enable_io'),
|
|
321
341
|
availability_zone=pulumi.get(__response__, 'availability_zone'),
|
|
342
|
+
availability_zone_id=pulumi.get(__response__, 'availability_zone_id'),
|
|
322
343
|
encrypted=pulumi.get(__response__, 'encrypted'),
|
|
323
344
|
iops=pulumi.get(__response__, 'iops'),
|
|
324
345
|
kms_key_id=pulumi.get(__response__, 'kms_key_id'),
|
|
@@ -326,6 +347,7 @@ def get_volume_output(volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
326
347
|
outpost_arn=pulumi.get(__response__, 'outpost_arn'),
|
|
327
348
|
size=pulumi.get(__response__, 'size'),
|
|
328
349
|
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
|
350
|
+
source_volume_id=pulumi.get(__response__, 'source_volume_id'),
|
|
329
351
|
tags=pulumi.get(__response__, 'tags'),
|
|
330
352
|
throughput=pulumi.get(__response__, 'throughput'),
|
|
331
353
|
volume_id=pulumi.get(__response__, 'volume_id'),
|
|
@@ -44,6 +44,7 @@ class NatGatewayArgs:
|
|
|
44
44
|
``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
45
45
|
:param pulumi.Input[_builtins.str] subnet_id: The ID of the subnet in which the NAT gateway is located.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: The tags for the NAT gateway.
|
|
47
|
+
:param pulumi.Input[_builtins.str] vpc_id: The ID of the VPC in which the NAT gateway is located.
|
|
47
48
|
"""
|
|
48
49
|
if allocation_id is not None:
|
|
49
50
|
pulumi.set(__self__, "allocation_id", allocation_id)
|
|
@@ -179,6 +180,9 @@ class NatGatewayArgs:
|
|
|
179
180
|
@_builtins.property
|
|
180
181
|
@pulumi.getter(name="vpcId")
|
|
181
182
|
def vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
183
|
+
"""
|
|
184
|
+
The ID of the VPC in which the NAT gateway is located.
|
|
185
|
+
"""
|
|
182
186
|
return pulumi.get(self, "vpc_id")
|
|
183
187
|
|
|
184
188
|
@vpc_id.setter
|
|
@@ -222,6 +226,7 @@ class NatGateway(pulumi.CustomResource):
|
|
|
222
226
|
``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
223
227
|
:param pulumi.Input[_builtins.str] subnet_id: The ID of the subnet in which the NAT gateway is located.
|
|
224
228
|
:param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: The tags for the NAT gateway.
|
|
229
|
+
:param pulumi.Input[_builtins.str] vpc_id: The ID of the VPC in which the NAT gateway is located.
|
|
225
230
|
"""
|
|
226
231
|
...
|
|
227
232
|
@overload
|
|
@@ -338,6 +343,9 @@ class NatGateway(pulumi.CustomResource):
|
|
|
338
343
|
@_builtins.property
|
|
339
344
|
@pulumi.getter(name="eniId")
|
|
340
345
|
def eni_id(self) -> pulumi.Output[_builtins.str]:
|
|
346
|
+
"""
|
|
347
|
+
The ID of the network interface.
|
|
348
|
+
"""
|
|
341
349
|
return pulumi.get(self, "eni_id")
|
|
342
350
|
|
|
343
351
|
@_builtins.property
|
|
@@ -409,5 +417,8 @@ class NatGateway(pulumi.CustomResource):
|
|
|
409
417
|
@_builtins.property
|
|
410
418
|
@pulumi.getter(name="vpcId")
|
|
411
419
|
def vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
420
|
+
"""
|
|
421
|
+
The ID of the VPC in which the NAT gateway is located.
|
|
422
|
+
"""
|
|
412
423
|
return pulumi.get(self, "vpc_id")
|
|
413
424
|
|