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
pulumi_aws_native/ec2/outputs.py
CHANGED
|
@@ -5689,7 +5689,7 @@ class LaunchTemplateEbs(dict):
|
|
|
5689
5689
|
:param _builtins.bool encrypted: Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
|
|
5690
5690
|
:param _builtins.int iops: The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
|
|
5691
5691
|
The following are the supported values for each volume type:
|
|
5692
|
-
+ ``gp3``: 3,000 -
|
|
5692
|
+
+ ``gp3``: 3,000 - 80,000 IOPS
|
|
5693
5693
|
+ ``io1``: 100 - 64,000 IOPS
|
|
5694
5694
|
+ ``io2``: 100 - 256,000 IOPS
|
|
5695
5695
|
|
|
@@ -5697,8 +5697,8 @@ class LaunchTemplateEbs(dict):
|
|
|
5697
5697
|
This parameter is supported for ``io1``, ``io2``, and ``gp3`` volumes only.
|
|
5698
5698
|
:param _builtins.str kms_key_id: Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
|
|
5699
5699
|
:param _builtins.str snapshot_id: The ID of the snapshot.
|
|
5700
|
-
:param _builtins.int throughput: The throughput to provision for a ``gp3`` volume, with a maximum of
|
|
5701
|
-
Valid Range: Minimum value of 125. Maximum value of
|
|
5700
|
+
:param _builtins.int throughput: The throughput to provision for a ``gp3`` volume, with a maximum of 2,000 MiB/s.
|
|
5701
|
+
Valid Range: Minimum value of 125. Maximum value of 2,000.
|
|
5702
5702
|
:param _builtins.int volume_initialization_rate: Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as *volume initialization*. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
|
|
5703
5703
|
This parameter is supported only for volumes created from snapshots. Omit this parameter if:
|
|
5704
5704
|
+ You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.
|
|
@@ -5708,7 +5708,8 @@ class LaunchTemplateEbs(dict):
|
|
|
5708
5708
|
For more information, see [Initialize Amazon EBS volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) in the *Amazon EC2 User Guide*.
|
|
5709
5709
|
Valid range: 100 - 300 MiB/s
|
|
5710
5710
|
:param _builtins.int volume_size: The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:
|
|
5711
|
-
+ ``gp2
|
|
5711
|
+
+ ``gp2``: 1 - 16,384 GiB
|
|
5712
|
+
+ ``gp3``: 1 - 65,536 GiB
|
|
5712
5713
|
+ ``io1``: 4 - 16,384 GiB
|
|
5713
5714
|
+ ``io2``: 4 - 65,536 GiB
|
|
5714
5715
|
+ ``st1`` and ``sc1``: 125 - 16,384 GiB
|
|
@@ -5756,7 +5757,7 @@ class LaunchTemplateEbs(dict):
|
|
|
5756
5757
|
"""
|
|
5757
5758
|
The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
|
|
5758
5759
|
The following are the supported values for each volume type:
|
|
5759
|
-
+ ``gp3``: 3,000 -
|
|
5760
|
+
+ ``gp3``: 3,000 - 80,000 IOPS
|
|
5760
5761
|
+ ``io1``: 100 - 64,000 IOPS
|
|
5761
5762
|
+ ``io2``: 100 - 256,000 IOPS
|
|
5762
5763
|
|
|
@@ -5785,8 +5786,8 @@ class LaunchTemplateEbs(dict):
|
|
|
5785
5786
|
@pulumi.getter
|
|
5786
5787
|
def throughput(self) -> Optional[_builtins.int]:
|
|
5787
5788
|
"""
|
|
5788
|
-
The throughput to provision for a ``gp3`` volume, with a maximum of
|
|
5789
|
-
Valid Range: Minimum value of 125. Maximum value of
|
|
5789
|
+
The throughput to provision for a ``gp3`` volume, with a maximum of 2,000 MiB/s.
|
|
5790
|
+
Valid Range: Minimum value of 125. Maximum value of 2,000.
|
|
5790
5791
|
"""
|
|
5791
5792
|
return pulumi.get(self, "throughput")
|
|
5792
5793
|
|
|
@@ -5810,7 +5811,8 @@ class LaunchTemplateEbs(dict):
|
|
|
5810
5811
|
def volume_size(self) -> Optional[_builtins.int]:
|
|
5811
5812
|
"""
|
|
5812
5813
|
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:
|
|
5813
|
-
+ ``gp2
|
|
5814
|
+
+ ``gp2``: 1 - 16,384 GiB
|
|
5815
|
+
+ ``gp3``: 1 - 65,536 GiB
|
|
5814
5816
|
+ ``io1``: 4 - 16,384 GiB
|
|
5815
5817
|
+ ``io2``: 4 - 65,536 GiB
|
|
5816
5818
|
+ ``st1`` and ``sc1``: 125 - 16,384 GiB
|
pulumi_aws_native/ec2/volume.py
CHANGED
|
@@ -21,8 +21,9 @@ __all__ = ['VolumeArgs', 'Volume']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class VolumeArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
availability_zone: pulumi.Input[_builtins.str],
|
|
25
24
|
auto_enable_io: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
availability_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
availability_zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
27
|
encrypted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
28
|
iops: Optional[pulumi.Input[_builtins.int]] = None,
|
|
28
29
|
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -30,25 +31,25 @@ class VolumeArgs:
|
|
|
30
31
|
outpost_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
32
|
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
32
33
|
snapshot_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
source_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
35
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]] = None,
|
|
34
36
|
throughput: Optional[pulumi.Input[_builtins.int]] = None,
|
|
35
37
|
volume_initialization_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
|
36
38
|
volume_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
37
39
|
"""
|
|
38
40
|
The set of arguments for constructing a Volume resource.
|
|
41
|
+
:param pulumi.Input[_builtins.bool] auto_enable_io: Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
|
|
39
42
|
:param pulumi.Input[_builtins.str] availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a``.
|
|
40
43
|
Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
41
|
-
:param pulumi.Input[_builtins.bool] auto_enable_io: Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
|
|
42
44
|
:param pulumi.Input[_builtins.bool] encrypted: Indicates whether the volume should be encrypted. The effect of setting the encryption state to ``true`` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see [Encryption by default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default) in the *Amazon EBS User Guide*.
|
|
43
45
|
Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see [Supported instance types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances).
|
|
44
|
-
:param pulumi.Input[_builtins.int] iops: The number of I/O operations per second (IOPS).
|
|
45
|
-
|
|
46
|
-
+
|
|
47
|
-
+
|
|
48
|
-
+
|
|
46
|
+
:param pulumi.Input[_builtins.int] iops: 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.
|
|
47
|
+
Valid ranges:
|
|
48
|
+
+ gp3: ``3,000``(*default*)``- 80,000`` IOPS
|
|
49
|
+
+ io1: ``100 - 64,000`` IOPS
|
|
50
|
+
+ io2: ``100 - 256,000`` IOPS
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
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.
|
|
52
|
+
[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.
|
|
52
53
|
:param pulumi.Input[_builtins.str] kms_key_id: The identifier of the kms-key-long to use for Amazon EBS encryption. If ``KmsKeyId`` is specified, the encrypted state must be ``true``.
|
|
53
54
|
If you omit this property and your account is enabled for encryption by default, or *Encrypted* is set to ``true``, then the volume is encrypted using the default key specified for your account. If your account does not have a default key, then the volume is encrypted using the aws-managed-key.
|
|
54
55
|
Alternatively, if you want to specify a different key, you can specify one of the following:
|
|
@@ -59,13 +60,14 @@ class VolumeArgs:
|
|
|
59
60
|
:param pulumi.Input[_builtins.bool] multi_attach_enabled: Indicates whether Amazon EBS Multi-Attach is enabled.
|
|
60
61
|
CFNlong does not currently support updating a single-attach volume to be multi-attach enabled, updating a multi-attach enabled volume to be single-attach, or updating the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume.
|
|
61
62
|
:param pulumi.Input[_builtins.str] outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
62
|
-
:param pulumi.Input[_builtins.int] size: 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
|
|
63
|
-
|
|
64
|
-
+
|
|
65
|
-
+ ``
|
|
66
|
-
+ ``
|
|
67
|
-
+
|
|
68
|
-
+ ``
|
|
63
|
+
:param pulumi.Input[_builtins.int] size: 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.
|
|
64
|
+
Valid sizes:
|
|
65
|
+
+ gp2: ``1 - 16,384`` GiB
|
|
66
|
+
+ gp3: ``1 - 65,536`` GiB
|
|
67
|
+
+ io1: ``4 - 16,384`` GiB
|
|
68
|
+
+ io2: ``4 - 65,536`` GiB
|
|
69
|
+
+ st1 and sc1: ``125 - 16,384`` GiB
|
|
70
|
+
+ standard: ``1 - 1024`` GiB
|
|
69
71
|
:param pulumi.Input[_builtins.str] snapshot_id: The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
|
|
70
72
|
:param pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]] tags: The tags to apply to the volume during creation.
|
|
71
73
|
:param pulumi.Input[_builtins.int] throughput: The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
|
|
@@ -89,9 +91,12 @@ class VolumeArgs:
|
|
|
89
91
|
For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html).
|
|
90
92
|
Default: ``gp2``
|
|
91
93
|
"""
|
|
92
|
-
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
93
94
|
if auto_enable_io is not None:
|
|
94
95
|
pulumi.set(__self__, "auto_enable_io", auto_enable_io)
|
|
96
|
+
if availability_zone is not None:
|
|
97
|
+
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
98
|
+
if availability_zone_id is not None:
|
|
99
|
+
pulumi.set(__self__, "availability_zone_id", availability_zone_id)
|
|
95
100
|
if encrypted is not None:
|
|
96
101
|
pulumi.set(__self__, "encrypted", encrypted)
|
|
97
102
|
if iops is not None:
|
|
@@ -106,6 +111,8 @@ class VolumeArgs:
|
|
|
106
111
|
pulumi.set(__self__, "size", size)
|
|
107
112
|
if snapshot_id is not None:
|
|
108
113
|
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
|
114
|
+
if source_volume_id is not None:
|
|
115
|
+
pulumi.set(__self__, "source_volume_id", source_volume_id)
|
|
109
116
|
if tags is not None:
|
|
110
117
|
pulumi.set(__self__, "tags", tags)
|
|
111
118
|
if throughput is not None:
|
|
@@ -115,9 +122,21 @@ class VolumeArgs:
|
|
|
115
122
|
if volume_type is not None:
|
|
116
123
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
117
124
|
|
|
125
|
+
@_builtins.property
|
|
126
|
+
@pulumi.getter(name="autoEnableIo")
|
|
127
|
+
def auto_enable_io(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
128
|
+
"""
|
|
129
|
+
Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "auto_enable_io")
|
|
132
|
+
|
|
133
|
+
@auto_enable_io.setter
|
|
134
|
+
def auto_enable_io(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
135
|
+
pulumi.set(self, "auto_enable_io", value)
|
|
136
|
+
|
|
118
137
|
@_builtins.property
|
|
119
138
|
@pulumi.getter(name="availabilityZone")
|
|
120
|
-
def availability_zone(self) -> pulumi.Input[_builtins.str]:
|
|
139
|
+
def availability_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
140
|
"""
|
|
122
141
|
The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a``.
|
|
123
142
|
Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
@@ -125,20 +144,17 @@ class VolumeArgs:
|
|
|
125
144
|
return pulumi.get(self, "availability_zone")
|
|
126
145
|
|
|
127
146
|
@availability_zone.setter
|
|
128
|
-
def availability_zone(self, value: pulumi.Input[_builtins.str]):
|
|
147
|
+
def availability_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
129
148
|
pulumi.set(self, "availability_zone", value)
|
|
130
149
|
|
|
131
150
|
@_builtins.property
|
|
132
|
-
@pulumi.getter(name="
|
|
133
|
-
def
|
|
134
|
-
""
|
|
135
|
-
Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
|
|
136
|
-
"""
|
|
137
|
-
return pulumi.get(self, "auto_enable_io")
|
|
151
|
+
@pulumi.getter(name="availabilityZoneId")
|
|
152
|
+
def availability_zone_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
153
|
+
return pulumi.get(self, "availability_zone_id")
|
|
138
154
|
|
|
139
|
-
@
|
|
140
|
-
def
|
|
141
|
-
pulumi.set(self, "
|
|
155
|
+
@availability_zone_id.setter
|
|
156
|
+
def availability_zone_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
|
+
pulumi.set(self, "availability_zone_id", value)
|
|
142
158
|
|
|
143
159
|
@_builtins.property
|
|
144
160
|
@pulumi.getter
|
|
@@ -157,14 +173,13 @@ class VolumeArgs:
|
|
|
157
173
|
@pulumi.getter
|
|
158
174
|
def iops(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
159
175
|
"""
|
|
160
|
-
The number of I/O operations per second (IOPS).
|
|
161
|
-
|
|
162
|
-
+
|
|
163
|
-
+
|
|
164
|
-
+
|
|
176
|
+
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.
|
|
177
|
+
Valid ranges:
|
|
178
|
+
+ gp3: ``3,000``(*default*)``- 80,000`` IOPS
|
|
179
|
+
+ io1: ``100 - 64,000`` IOPS
|
|
180
|
+
+ io2: ``100 - 256,000`` IOPS
|
|
165
181
|
|
|
166
|
-
|
|
167
|
-
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.
|
|
182
|
+
[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.
|
|
168
183
|
"""
|
|
169
184
|
return pulumi.get(self, "iops")
|
|
170
185
|
|
|
@@ -219,13 +234,14 @@ class VolumeArgs:
|
|
|
219
234
|
@pulumi.getter
|
|
220
235
|
def size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
221
236
|
"""
|
|
222
|
-
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
|
|
223
|
-
|
|
224
|
-
+
|
|
225
|
-
+ ``
|
|
226
|
-
+ ``
|
|
227
|
-
+
|
|
228
|
-
+ ``
|
|
237
|
+
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.
|
|
238
|
+
Valid sizes:
|
|
239
|
+
+ gp2: ``1 - 16,384`` GiB
|
|
240
|
+
+ gp3: ``1 - 65,536`` GiB
|
|
241
|
+
+ io1: ``4 - 16,384`` GiB
|
|
242
|
+
+ io2: ``4 - 65,536`` GiB
|
|
243
|
+
+ st1 and sc1: ``125 - 16,384`` GiB
|
|
244
|
+
+ standard: ``1 - 1024`` GiB
|
|
229
245
|
"""
|
|
230
246
|
return pulumi.get(self, "size")
|
|
231
247
|
|
|
@@ -245,6 +261,15 @@ class VolumeArgs:
|
|
|
245
261
|
def snapshot_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
246
262
|
pulumi.set(self, "snapshot_id", value)
|
|
247
263
|
|
|
264
|
+
@_builtins.property
|
|
265
|
+
@pulumi.getter(name="sourceVolumeId")
|
|
266
|
+
def source_volume_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
267
|
+
return pulumi.get(self, "source_volume_id")
|
|
268
|
+
|
|
269
|
+
@source_volume_id.setter
|
|
270
|
+
def source_volume_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
271
|
+
pulumi.set(self, "source_volume_id", value)
|
|
272
|
+
|
|
248
273
|
@_builtins.property
|
|
249
274
|
@pulumi.getter
|
|
250
275
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_root_inputs.TagArgs']]]]:
|
|
@@ -319,6 +344,7 @@ class Volume(pulumi.CustomResource):
|
|
|
319
344
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
320
345
|
auto_enable_io: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
321
346
|
availability_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
availability_zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
322
348
|
encrypted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
323
349
|
iops: Optional[pulumi.Input[_builtins.int]] = None,
|
|
324
350
|
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -326,6 +352,7 @@ class Volume(pulumi.CustomResource):
|
|
|
326
352
|
outpost_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
327
353
|
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
328
354
|
snapshot_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
355
|
+
source_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
356
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
330
357
|
throughput: Optional[pulumi.Input[_builtins.int]] = None,
|
|
331
358
|
volume_initialization_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -358,14 +385,13 @@ class Volume(pulumi.CustomResource):
|
|
|
358
385
|
Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
359
386
|
:param pulumi.Input[_builtins.bool] encrypted: Indicates whether the volume should be encrypted. The effect of setting the encryption state to ``true`` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see [Encryption by default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default) in the *Amazon EBS User Guide*.
|
|
360
387
|
Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see [Supported instance types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances).
|
|
361
|
-
:param pulumi.Input[_builtins.int] iops: The number of I/O operations per second (IOPS).
|
|
362
|
-
|
|
363
|
-
+
|
|
364
|
-
+
|
|
365
|
-
+
|
|
388
|
+
:param pulumi.Input[_builtins.int] iops: 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.
|
|
389
|
+
Valid ranges:
|
|
390
|
+
+ gp3: ``3,000``(*default*)``- 80,000`` IOPS
|
|
391
|
+
+ io1: ``100 - 64,000`` IOPS
|
|
392
|
+
+ io2: ``100 - 256,000`` IOPS
|
|
366
393
|
|
|
367
|
-
|
|
368
|
-
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.
|
|
394
|
+
[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.
|
|
369
395
|
:param pulumi.Input[_builtins.str] kms_key_id: The identifier of the kms-key-long to use for Amazon EBS encryption. If ``KmsKeyId`` is specified, the encrypted state must be ``true``.
|
|
370
396
|
If you omit this property and your account is enabled for encryption by default, or *Encrypted* is set to ``true``, then the volume is encrypted using the default key specified for your account. If your account does not have a default key, then the volume is encrypted using the aws-managed-key.
|
|
371
397
|
Alternatively, if you want to specify a different key, you can specify one of the following:
|
|
@@ -376,13 +402,14 @@ class Volume(pulumi.CustomResource):
|
|
|
376
402
|
:param pulumi.Input[_builtins.bool] multi_attach_enabled: Indicates whether Amazon EBS Multi-Attach is enabled.
|
|
377
403
|
CFNlong does not currently support updating a single-attach volume to be multi-attach enabled, updating a multi-attach enabled volume to be single-attach, or updating the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume.
|
|
378
404
|
:param pulumi.Input[_builtins.str] outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
379
|
-
:param pulumi.Input[_builtins.int] size: 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
|
|
380
|
-
|
|
381
|
-
+
|
|
382
|
-
+ ``
|
|
383
|
-
+ ``
|
|
384
|
-
+
|
|
385
|
-
+ ``
|
|
405
|
+
:param pulumi.Input[_builtins.int] size: 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.
|
|
406
|
+
Valid sizes:
|
|
407
|
+
+ gp2: ``1 - 16,384`` GiB
|
|
408
|
+
+ gp3: ``1 - 65,536`` GiB
|
|
409
|
+
+ io1: ``4 - 16,384`` GiB
|
|
410
|
+
+ io2: ``4 - 65,536`` GiB
|
|
411
|
+
+ st1 and sc1: ``125 - 16,384`` GiB
|
|
412
|
+
+ standard: ``1 - 1024`` GiB
|
|
386
413
|
:param pulumi.Input[_builtins.str] snapshot_id: The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
|
|
387
414
|
:param pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]] tags: The tags to apply to the volume during creation.
|
|
388
415
|
:param pulumi.Input[_builtins.int] throughput: The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
|
|
@@ -410,7 +437,7 @@ class Volume(pulumi.CustomResource):
|
|
|
410
437
|
@overload
|
|
411
438
|
def __init__(__self__,
|
|
412
439
|
resource_name: str,
|
|
413
|
-
args: VolumeArgs,
|
|
440
|
+
args: Optional[VolumeArgs] = None,
|
|
414
441
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
415
442
|
"""
|
|
416
443
|
Specifies an Amazon Elastic Block Store (Amazon EBS) volume.
|
|
@@ -449,6 +476,7 @@ class Volume(pulumi.CustomResource):
|
|
|
449
476
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
450
477
|
auto_enable_io: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
451
478
|
availability_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
479
|
+
availability_zone_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
480
|
encrypted: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
453
481
|
iops: Optional[pulumi.Input[_builtins.int]] = None,
|
|
454
482
|
kms_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -456,6 +484,7 @@ class Volume(pulumi.CustomResource):
|
|
|
456
484
|
outpost_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
485
|
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
458
486
|
snapshot_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
487
|
+
source_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
488
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['_root_inputs.TagArgs', '_root_inputs.TagArgsDict']]]]] = None,
|
|
460
489
|
throughput: Optional[pulumi.Input[_builtins.int]] = None,
|
|
461
490
|
volume_initialization_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -470,9 +499,8 @@ class Volume(pulumi.CustomResource):
|
|
|
470
499
|
__props__ = VolumeArgs.__new__(VolumeArgs)
|
|
471
500
|
|
|
472
501
|
__props__.__dict__["auto_enable_io"] = auto_enable_io
|
|
473
|
-
if availability_zone is None and not opts.urn:
|
|
474
|
-
raise TypeError("Missing required property 'availability_zone'")
|
|
475
502
|
__props__.__dict__["availability_zone"] = availability_zone
|
|
503
|
+
__props__.__dict__["availability_zone_id"] = availability_zone_id
|
|
476
504
|
__props__.__dict__["encrypted"] = encrypted
|
|
477
505
|
__props__.__dict__["iops"] = iops
|
|
478
506
|
__props__.__dict__["kms_key_id"] = kms_key_id
|
|
@@ -480,6 +508,7 @@ class Volume(pulumi.CustomResource):
|
|
|
480
508
|
__props__.__dict__["outpost_arn"] = outpost_arn
|
|
481
509
|
__props__.__dict__["size"] = size
|
|
482
510
|
__props__.__dict__["snapshot_id"] = snapshot_id
|
|
511
|
+
__props__.__dict__["source_volume_id"] = source_volume_id
|
|
483
512
|
__props__.__dict__["tags"] = tags
|
|
484
513
|
__props__.__dict__["throughput"] = throughput
|
|
485
514
|
__props__.__dict__["volume_initialization_rate"] = volume_initialization_rate
|
|
@@ -509,6 +538,7 @@ class Volume(pulumi.CustomResource):
|
|
|
509
538
|
|
|
510
539
|
__props__.__dict__["auto_enable_io"] = None
|
|
511
540
|
__props__.__dict__["availability_zone"] = None
|
|
541
|
+
__props__.__dict__["availability_zone_id"] = None
|
|
512
542
|
__props__.__dict__["encrypted"] = None
|
|
513
543
|
__props__.__dict__["iops"] = None
|
|
514
544
|
__props__.__dict__["kms_key_id"] = None
|
|
@@ -516,6 +546,7 @@ class Volume(pulumi.CustomResource):
|
|
|
516
546
|
__props__.__dict__["outpost_arn"] = None
|
|
517
547
|
__props__.__dict__["size"] = None
|
|
518
548
|
__props__.__dict__["snapshot_id"] = None
|
|
549
|
+
__props__.__dict__["source_volume_id"] = None
|
|
519
550
|
__props__.__dict__["tags"] = None
|
|
520
551
|
__props__.__dict__["throughput"] = None
|
|
521
552
|
__props__.__dict__["volume_id"] = None
|
|
@@ -533,13 +564,18 @@ class Volume(pulumi.CustomResource):
|
|
|
533
564
|
|
|
534
565
|
@_builtins.property
|
|
535
566
|
@pulumi.getter(name="availabilityZone")
|
|
536
|
-
def availability_zone(self) -> pulumi.Output[_builtins.str]:
|
|
567
|
+
def availability_zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
537
568
|
"""
|
|
538
569
|
The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a``.
|
|
539
570
|
Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
540
571
|
"""
|
|
541
572
|
return pulumi.get(self, "availability_zone")
|
|
542
573
|
|
|
574
|
+
@_builtins.property
|
|
575
|
+
@pulumi.getter(name="availabilityZoneId")
|
|
576
|
+
def availability_zone_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
577
|
+
return pulumi.get(self, "availability_zone_id")
|
|
578
|
+
|
|
543
579
|
@_builtins.property
|
|
544
580
|
@pulumi.getter
|
|
545
581
|
def encrypted(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
@@ -553,14 +589,13 @@ class Volume(pulumi.CustomResource):
|
|
|
553
589
|
@pulumi.getter
|
|
554
590
|
def iops(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
555
591
|
"""
|
|
556
|
-
The number of I/O operations per second (IOPS).
|
|
557
|
-
|
|
558
|
-
+
|
|
559
|
-
+
|
|
560
|
-
+
|
|
592
|
+
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.
|
|
593
|
+
Valid ranges:
|
|
594
|
+
+ gp3: ``3,000``(*default*)``- 80,000`` IOPS
|
|
595
|
+
+ io1: ``100 - 64,000`` IOPS
|
|
596
|
+
+ io2: ``100 - 256,000`` IOPS
|
|
561
597
|
|
|
562
|
-
|
|
563
|
-
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.
|
|
598
|
+
[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.
|
|
564
599
|
"""
|
|
565
600
|
return pulumi.get(self, "iops")
|
|
566
601
|
|
|
@@ -599,13 +634,14 @@ class Volume(pulumi.CustomResource):
|
|
|
599
634
|
@pulumi.getter
|
|
600
635
|
def size(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
601
636
|
"""
|
|
602
|
-
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
|
|
603
|
-
|
|
604
|
-
+
|
|
605
|
-
+ ``
|
|
606
|
-
+ ``
|
|
607
|
-
+
|
|
608
|
-
+ ``
|
|
637
|
+
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.
|
|
638
|
+
Valid sizes:
|
|
639
|
+
+ gp2: ``1 - 16,384`` GiB
|
|
640
|
+
+ gp3: ``1 - 65,536`` GiB
|
|
641
|
+
+ io1: ``4 - 16,384`` GiB
|
|
642
|
+
+ io2: ``4 - 65,536`` GiB
|
|
643
|
+
+ st1 and sc1: ``125 - 16,384`` GiB
|
|
644
|
+
+ standard: ``1 - 1024`` GiB
|
|
609
645
|
"""
|
|
610
646
|
return pulumi.get(self, "size")
|
|
611
647
|
|
|
@@ -617,6 +653,11 @@ class Volume(pulumi.CustomResource):
|
|
|
617
653
|
"""
|
|
618
654
|
return pulumi.get(self, "snapshot_id")
|
|
619
655
|
|
|
656
|
+
@_builtins.property
|
|
657
|
+
@pulumi.getter(name="sourceVolumeId")
|
|
658
|
+
def source_volume_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
659
|
+
return pulumi.get(self, "source_volume_id")
|
|
660
|
+
|
|
620
661
|
@_builtins.property
|
|
621
662
|
@pulumi.getter
|
|
622
663
|
def tags(self) -> pulumi.Output[Optional[Sequence['_root_outputs.Tag']]]:
|
pulumi_aws_native/ecr/_inputs.py
CHANGED
|
@@ -639,7 +639,7 @@ class RepositoryImageScanningConfigurationArgs:
|
|
|
639
639
|
if not MYPY:
|
|
640
640
|
class RepositoryImageTagMutabilityExclusionFilterArgsDict(TypedDict):
|
|
641
641
|
"""
|
|
642
|
-
|
|
642
|
+
A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.
|
|
643
643
|
"""
|
|
644
644
|
image_tag_mutability_exclusion_filter_type: pulumi.Input['RepositoryImageTagMutabilityExclusionFilterType']
|
|
645
645
|
image_tag_mutability_exclusion_filter_value: pulumi.Input[_builtins.str]
|
|
@@ -652,7 +652,7 @@ class RepositoryImageTagMutabilityExclusionFilterArgs:
|
|
|
652
652
|
image_tag_mutability_exclusion_filter_type: pulumi.Input['RepositoryImageTagMutabilityExclusionFilterType'],
|
|
653
653
|
image_tag_mutability_exclusion_filter_value: pulumi.Input[_builtins.str]):
|
|
654
654
|
"""
|
|
655
|
-
|
|
655
|
+
A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.
|
|
656
656
|
"""
|
|
657
657
|
pulumi.set(__self__, "image_tag_mutability_exclusion_filter_type", image_tag_mutability_exclusion_filter_type)
|
|
658
658
|
pulumi.set(__self__, "image_tag_mutability_exclusion_filter_value", image_tag_mutability_exclusion_filter_value)
|
|
@@ -64,7 +64,8 @@ class GetRepositoryResult:
|
|
|
64
64
|
@pulumi.getter(name="imageScanningConfiguration")
|
|
65
65
|
def image_scanning_configuration(self) -> Optional['outputs.RepositoryImageScanningConfiguration']:
|
|
66
66
|
"""
|
|
67
|
-
The
|
|
67
|
+
The ``imageScanningConfiguration`` parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see ``PutRegistryScanningConfiguration``.
|
|
68
|
+
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
|
|
68
69
|
"""
|
|
69
70
|
return pulumi.get(self, "image_scanning_configuration")
|
|
70
71
|
|
|
@@ -80,7 +81,7 @@ class GetRepositoryResult:
|
|
|
80
81
|
@pulumi.getter(name="imageTagMutabilityExclusionFilters")
|
|
81
82
|
def image_tag_mutability_exclusion_filters(self) -> Optional[Sequence['outputs.RepositoryImageTagMutabilityExclusionFilter']]:
|
|
82
83
|
"""
|
|
83
|
-
|
|
84
|
+
A list of filters that specify which image tags are excluded from the repository's image tag mutability setting.
|
|
84
85
|
"""
|
|
85
86
|
return pulumi.get(self, "image_tag_mutability_exclusion_filters")
|
|
86
87
|
|
pulumi_aws_native/ecr/outputs.py
CHANGED
|
@@ -565,7 +565,7 @@ class RepositoryImageScanningConfiguration(dict):
|
|
|
565
565
|
@pulumi.output_type
|
|
566
566
|
class RepositoryImageTagMutabilityExclusionFilter(dict):
|
|
567
567
|
"""
|
|
568
|
-
|
|
568
|
+
A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.
|
|
569
569
|
"""
|
|
570
570
|
@staticmethod
|
|
571
571
|
def __key_warning(key: str):
|
|
@@ -590,7 +590,7 @@ class RepositoryImageTagMutabilityExclusionFilter(dict):
|
|
|
590
590
|
image_tag_mutability_exclusion_filter_type: 'RepositoryImageTagMutabilityExclusionFilterType',
|
|
591
591
|
image_tag_mutability_exclusion_filter_value: _builtins.str):
|
|
592
592
|
"""
|
|
593
|
-
|
|
593
|
+
A filter that specifies which image tags should be excluded from the repository's image tag mutability setting.
|
|
594
594
|
"""
|
|
595
595
|
pulumi.set(__self__, "image_tag_mutability_exclusion_filter_type", image_tag_mutability_exclusion_filter_type)
|
|
596
596
|
pulumi.set(__self__, "image_tag_mutability_exclusion_filter_value", image_tag_mutability_exclusion_filter_value)
|
|
@@ -37,9 +37,10 @@ class RepositoryArgs:
|
|
|
37
37
|
The set of arguments for constructing a Repository resource.
|
|
38
38
|
:param pulumi.Input[_builtins.bool] empty_on_delete: If true, deleting the repository force deletes the contents of the repository. If false, the repository must be empty before attempting to delete it.
|
|
39
39
|
:param pulumi.Input['RepositoryEncryptionConfigurationArgs'] encryption_configuration: The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
|
|
40
|
-
:param pulumi.Input['RepositoryImageScanningConfigurationArgs'] image_scanning_configuration: The
|
|
40
|
+
:param pulumi.Input['RepositoryImageScanningConfigurationArgs'] image_scanning_configuration: The ``imageScanningConfiguration`` parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see ``PutRegistryScanningConfiguration``.
|
|
41
|
+
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
|
|
41
42
|
:param pulumi.Input['RepositoryImageTagMutability'] image_tag_mutability: The tag mutability setting for the repository. If this parameter is omitted, the default setting of ``MUTABLE`` will be used which will allow image tags to be overwritten. If ``IMMUTABLE`` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
|
|
42
|
-
:param pulumi.Input[Sequence[pulumi.Input['RepositoryImageTagMutabilityExclusionFilterArgs']]] image_tag_mutability_exclusion_filters:
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input['RepositoryImageTagMutabilityExclusionFilterArgs']]] image_tag_mutability_exclusion_filters: A list of filters that specify which image tags are excluded from the repository's image tag mutability setting.
|
|
43
44
|
:param pulumi.Input['RepositoryLifecyclePolicyArgs'] lifecycle_policy: Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html).
|
|
44
45
|
:param pulumi.Input[_builtins.str] repository_name: The name to use for the repository. The repository name may be specified on its own (such as ``nginx-web-app``) or it can be prepended with a namespace to group the repository into a category (such as ``project-a/nginx-web-app``). If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the repository name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
|
|
45
46
|
The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.
|
|
@@ -96,7 +97,8 @@ class RepositoryArgs:
|
|
|
96
97
|
@pulumi.getter(name="imageScanningConfiguration")
|
|
97
98
|
def image_scanning_configuration(self) -> Optional[pulumi.Input['RepositoryImageScanningConfigurationArgs']]:
|
|
98
99
|
"""
|
|
99
|
-
The
|
|
100
|
+
The ``imageScanningConfiguration`` parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see ``PutRegistryScanningConfiguration``.
|
|
101
|
+
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
|
|
100
102
|
"""
|
|
101
103
|
return pulumi.get(self, "image_scanning_configuration")
|
|
102
104
|
|
|
@@ -120,7 +122,7 @@ class RepositoryArgs:
|
|
|
120
122
|
@pulumi.getter(name="imageTagMutabilityExclusionFilters")
|
|
121
123
|
def image_tag_mutability_exclusion_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RepositoryImageTagMutabilityExclusionFilterArgs']]]]:
|
|
122
124
|
"""
|
|
123
|
-
|
|
125
|
+
A list of filters that specify which image tags are excluded from the repository's image tag mutability setting.
|
|
124
126
|
"""
|
|
125
127
|
return pulumi.get(self, "image_tag_mutability_exclusion_filters")
|
|
126
128
|
|
|
@@ -244,9 +246,10 @@ class Repository(pulumi.CustomResource):
|
|
|
244
246
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
245
247
|
:param pulumi.Input[_builtins.bool] empty_on_delete: If true, deleting the repository force deletes the contents of the repository. If false, the repository must be empty before attempting to delete it.
|
|
246
248
|
:param pulumi.Input[Union['RepositoryEncryptionConfigurationArgs', 'RepositoryEncryptionConfigurationArgsDict']] encryption_configuration: The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
|
|
247
|
-
:param pulumi.Input[Union['RepositoryImageScanningConfigurationArgs', 'RepositoryImageScanningConfigurationArgsDict']] image_scanning_configuration: The
|
|
249
|
+
:param pulumi.Input[Union['RepositoryImageScanningConfigurationArgs', 'RepositoryImageScanningConfigurationArgsDict']] image_scanning_configuration: The ``imageScanningConfiguration`` parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see ``PutRegistryScanningConfiguration``.
|
|
250
|
+
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
|
|
248
251
|
:param pulumi.Input['RepositoryImageTagMutability'] image_tag_mutability: The tag mutability setting for the repository. If this parameter is omitted, the default setting of ``MUTABLE`` will be used which will allow image tags to be overwritten. If ``IMMUTABLE`` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
|
|
249
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryImageTagMutabilityExclusionFilterArgs', 'RepositoryImageTagMutabilityExclusionFilterArgsDict']]]] image_tag_mutability_exclusion_filters:
|
|
252
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryImageTagMutabilityExclusionFilterArgs', 'RepositoryImageTagMutabilityExclusionFilterArgsDict']]]] image_tag_mutability_exclusion_filters: A list of filters that specify which image tags are excluded from the repository's image tag mutability setting.
|
|
250
253
|
:param pulumi.Input[Union['RepositoryLifecyclePolicyArgs', 'RepositoryLifecyclePolicyArgsDict']] lifecycle_policy: Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html).
|
|
251
254
|
:param pulumi.Input[_builtins.str] repository_name: The name to use for the repository. The repository name may be specified on its own (such as ``nginx-web-app``) or it can be prepended with a namespace to group the repository into a category (such as ``project-a/nginx-web-app``). If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the repository name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
|
|
252
255
|
The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.
|
|
@@ -414,7 +417,8 @@ class Repository(pulumi.CustomResource):
|
|
|
414
417
|
@pulumi.getter(name="imageScanningConfiguration")
|
|
415
418
|
def image_scanning_configuration(self) -> pulumi.Output[Optional['outputs.RepositoryImageScanningConfiguration']]:
|
|
416
419
|
"""
|
|
417
|
-
The
|
|
420
|
+
The ``imageScanningConfiguration`` parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see ``PutRegistryScanningConfiguration``.
|
|
421
|
+
The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
|
|
418
422
|
"""
|
|
419
423
|
return pulumi.get(self, "image_scanning_configuration")
|
|
420
424
|
|
|
@@ -430,7 +434,7 @@ class Repository(pulumi.CustomResource):
|
|
|
430
434
|
@pulumi.getter(name="imageTagMutabilityExclusionFilters")
|
|
431
435
|
def image_tag_mutability_exclusion_filters(self) -> pulumi.Output[Optional[Sequence['outputs.RepositoryImageTagMutabilityExclusionFilter']]]:
|
|
432
436
|
"""
|
|
433
|
-
|
|
437
|
+
A list of filters that specify which image tags are excluded from the repository's image tag mutability setting.
|
|
434
438
|
"""
|
|
435
439
|
return pulumi.get(self, "image_tag_mutability_exclusion_filters")
|
|
436
440
|
|