aws-cdk-lib 2.220.0__py3-none-any.whl → 2.221.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +21 -18
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.220.0.jsii.tgz → aws-cdk-lib@2.221.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +4 -1
- aws_cdk/aws_aiops/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -29
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -29
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +3 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +3 -0
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_applicationsignals/__init__.py +4 -1
- aws_cdk/aws_appmesh/__init__.py +3 -0
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +3 -0
- aws_cdk/aws_apptest/__init__.py +3 -0
- aws_cdk/aws_aps/__init__.py +1168 -83
- aws_cdk/aws_arcregionswitch/__init__.py +3 -0
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +3 -0
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +3 -29
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bcmdataexports/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +9 -29
- aws_cdk/aws_bedrockagentcore/__init__.py +782 -169
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +3 -0
- aws_cdk/aws_cleanroomsml/__init__.py +3 -0
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +3 -0
- aws_cdk/aws_cloudfront/__init__.py +69 -3
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +3 -0
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codeconnections/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +3 -0
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +3 -0
- aws_cdk/aws_cognito_identitypool/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +1232 -2
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -29
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +3 -0
- aws_cdk/aws_datazone/__init__.py +17 -15
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_deadline/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +3 -0
- aws_cdk/aws_dms/__init__.py +3 -0
- aws_cdk/aws_docdb/__init__.py +14 -3
- aws_cdk/aws_docdbelastic/__init__.py +3 -0
- aws_cdk/aws_dsql/__init__.py +3 -0
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +106 -40
- aws_cdk/aws_ecr/__init__.py +156 -33
- aws_cdk/aws_ecs/__init__.py +87 -48
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +3 -58
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +445 -36
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +12 -11
- aws_cdk/aws_entityresolution/__init__.py +3 -0
- aws_cdk/aws_events/__init__.py +73 -29
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_evs/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_gameliftstreams/__init__.py +8 -5
- aws_cdk/aws_globalaccelerator/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +11 -80
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +30 -32
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +499 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +3 -0
- aws_cdk/aws_invoicing/__init__.py +3 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +3 -0
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -87
- aws_cdk/aws_iotwireless/__init__.py +61 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +3 -0
- aws_cdk/aws_kendra/__init__.py +3 -58
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +1709 -10
- aws_cdk/aws_kinesisvideo/__init__.py +3 -29
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +14 -7
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_launchwizard/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -29
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +226 -9
- aws_cdk/aws_lookoutequipment/__init__.py +3 -29
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +3 -0
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +171 -33
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -58
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_mpa/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +3 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +55 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_notifications/__init__.py +3 -0
- aws_cdk/aws_notificationscontacts/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +3 -0
- aws_cdk/aws_observabilityadmin/__init__.py +171 -137
- aws_cdk/aws_odb/__init__.py +4 -1
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -0
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -116
- aws_cdk/aws_osis/__init__.py +157 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_paymentcryptography/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +3 -0
- aws_cdk/aws_pcs/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +3 -58
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -174
- aws_cdk/aws_qldb/__init__.py +3 -29
- aws_cdk/aws_quicksight/__init__.py +418 -411
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rbin/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +42 -19
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -29
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +18 -18
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +11 -4
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +51 -41
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_s3tables/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +166 -87
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -29
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +3 -0
- aws_cdk/aws_securitylake/__init__.py +3 -0
- aws_cdk/aws_servicecatalog/__init__.py +136 -124
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_smsvoice/__init__.py +3 -29
- aws_cdk/aws_sns/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +10 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmguiconnect/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +467 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +23 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +6 -3
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +59 -26
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -29
- aws_cdk/aws_transfer/__init__.py +20 -34
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +7 -4
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +3 -0
- aws_cdk/aws_wisdom/__init__.py +3 -116
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesinstances/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cx_api/__init__.py +34 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.221.0.dist-info/RECORD +313 -0
- aws_cdk_lib-2.220.0.dist-info/RECORD +0 -313
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.220.0.dist-info → aws_cdk_lib-2.221.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -2951,6 +2951,9 @@ class AcceleratorManufacturer(enum.Enum):
|
|
|
2951
2951
|
propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
|
|
2952
2952
|
)
|
|
2953
2953
|
|
|
2954
|
+
# Optionally configure security group rules using IConnectable interface
|
|
2955
|
+
mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
|
|
2956
|
+
|
|
2954
2957
|
# Add the capacity provider to the cluster
|
|
2955
2958
|
cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
|
|
2956
2959
|
|
|
@@ -6693,7 +6696,7 @@ class CfnCapacityReservationProps:
|
|
|
6693
6696
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
6694
6697
|
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, T, and G instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
6695
6698
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
6696
|
-
:param availability_zone_id: The Availability Zone
|
|
6699
|
+
:param availability_zone_id: The ID of the Availability Zone in which the capacity is reserved.
|
|
6697
6700
|
:param 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.
|
|
6698
6701
|
:param 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. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.
|
|
6699
6702
|
:param end_date_type: Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: - ``unlimited`` - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an ``EndDate`` if the ``EndDateType`` is ``unlimited`` . - ``limited`` - The Capacity Reservation expires automatically at a specified date and time. You must provide an ``EndDate`` value if the ``EndDateType`` value is ``limited`` .
|
|
@@ -6840,7 +6843,7 @@ class CfnCapacityReservationProps:
|
|
|
6840
6843
|
|
|
6841
6844
|
@builtins.property
|
|
6842
6845
|
def availability_zone_id(self) -> typing.Optional[builtins.str]:
|
|
6843
|
-
'''The Availability Zone
|
|
6846
|
+
'''The ID of the Availability Zone in which the capacity is reserved.
|
|
6844
6847
|
|
|
6845
6848
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzoneid
|
|
6846
6849
|
'''
|
|
@@ -12856,6 +12859,7 @@ class CfnLocalGatewayVirtualInterfaceProps:
|
|
|
12856
12859
|
"secondary_private_ip_addresses": "secondaryPrivateIpAddresses",
|
|
12857
12860
|
"subnet_id": "subnetId",
|
|
12858
12861
|
"tags": "tags",
|
|
12862
|
+
"vpc_id": "vpcId",
|
|
12859
12863
|
},
|
|
12860
12864
|
)
|
|
12861
12865
|
class CfnNatGatewayProps:
|
|
@@ -12871,6 +12875,7 @@ class CfnNatGatewayProps:
|
|
|
12871
12875
|
secondary_private_ip_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12872
12876
|
subnet_id: typing.Optional[builtins.str] = None,
|
|
12873
12877
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12878
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
12874
12879
|
) -> None:
|
|
12875
12880
|
'''Properties for defining a ``CfnNatGateway``.
|
|
12876
12881
|
|
|
@@ -12883,6 +12888,7 @@ class CfnNatGatewayProps:
|
|
|
12883
12888
|
:param secondary_private_ip_addresses: Secondary private IPv4 addresses. For more information about secondary addresses, see `Create a NAT gateway <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating>`_ in the *Amazon Virtual Private Cloud User Guide* . ``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
12884
12889
|
:param subnet_id: The ID of the subnet in which the NAT gateway is located.
|
|
12885
12890
|
:param tags: The tags for the NAT gateway.
|
|
12891
|
+
:param vpc_id: The ID of the VPC in which the NAT gateway is located.
|
|
12886
12892
|
|
|
12887
12893
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html
|
|
12888
12894
|
:exampleMetadata: fixture=_generated
|
|
@@ -12905,7 +12911,8 @@ class CfnNatGatewayProps:
|
|
|
12905
12911
|
tags=[CfnTag(
|
|
12906
12912
|
key="key",
|
|
12907
12913
|
value="value"
|
|
12908
|
-
)]
|
|
12914
|
+
)],
|
|
12915
|
+
vpc_id="vpcId"
|
|
12909
12916
|
)
|
|
12910
12917
|
'''
|
|
12911
12918
|
if __debug__:
|
|
@@ -12919,6 +12926,7 @@ class CfnNatGatewayProps:
|
|
|
12919
12926
|
check_type(argname="argument secondary_private_ip_addresses", value=secondary_private_ip_addresses, expected_type=type_hints["secondary_private_ip_addresses"])
|
|
12920
12927
|
check_type(argname="argument subnet_id", value=subnet_id, expected_type=type_hints["subnet_id"])
|
|
12921
12928
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
12929
|
+
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
12922
12930
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
12923
12931
|
if allocation_id is not None:
|
|
12924
12932
|
self._values["allocation_id"] = allocation_id
|
|
@@ -12938,6 +12946,8 @@ class CfnNatGatewayProps:
|
|
|
12938
12946
|
self._values["subnet_id"] = subnet_id
|
|
12939
12947
|
if tags is not None:
|
|
12940
12948
|
self._values["tags"] = tags
|
|
12949
|
+
if vpc_id is not None:
|
|
12950
|
+
self._values["vpc_id"] = vpc_id
|
|
12941
12951
|
|
|
12942
12952
|
@builtins.property
|
|
12943
12953
|
def allocation_id(self) -> typing.Optional[builtins.str]:
|
|
@@ -13040,6 +13050,15 @@ class CfnNatGatewayProps:
|
|
|
13040
13050
|
result = self._values.get("tags")
|
|
13041
13051
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
13042
13052
|
|
|
13053
|
+
@builtins.property
|
|
13054
|
+
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
13055
|
+
'''The ID of the VPC in which the NAT gateway is located.
|
|
13056
|
+
|
|
13057
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-vpcid
|
|
13058
|
+
'''
|
|
13059
|
+
result = self._values.get("vpc_id")
|
|
13060
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13061
|
+
|
|
13043
13062
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13044
13063
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13045
13064
|
|
|
@@ -23095,11 +23114,11 @@ class CfnVolumeProps:
|
|
|
23095
23114
|
:param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` . Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
23096
23115
|
:param 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.
|
|
23097
23116
|
:param 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* . 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>`_ .
|
|
23098
|
-
:param iops: The number of I/O operations per second (IOPS).
|
|
23117
|
+
:param 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. Valid ranges: - gp3: ``3,000`` ( *default* ) ``- 80,000`` IOPS - io1: ``100 - 64,000`` IOPS - io2: ``100 - 256,000`` IOPS .. epigraph:: `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.
|
|
23099
23118
|
:param kms_key_id: The identifier of the AWS KMS key to use for Amazon EBS encryption. If ``KmsKeyId`` is specified, the encrypted state must be ``true`` . 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 . Alternatively, if you want to specify a different key, you can specify one of the following: - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - Key alias. Specify the alias for the key, prefixed with ``alias/`` . For example, for a key with the alias ``my_cmk`` , use ``alias/my_cmk`` . Or to specify the AWS managed key , use ``alias/aws/ebs`` . - Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
|
23100
23119
|
:param multi_attach_enabled: Indicates whether Amazon EBS Multi-Attach is enabled. AWS CloudFormation 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.
|
|
23101
23120
|
:param outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
23102
|
-
:param 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
|
|
23121
|
+
:param 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. Valid sizes: - gp2: ``1 - 16,384`` GiB - gp3: ``1 - 65,536`` GiB - io1: ``4 - 16,384`` GiB - io2: ``4 - 65,536`` GiB - st1 and sc1: ``125 - 16,384`` GiB - standard: ``1 - 1024`` GiB
|
|
23103
23122
|
:param snapshot_id: The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
|
|
23104
23123
|
:param tags: The tags to apply to the volume during creation.
|
|
23105
23124
|
:param throughput: The throughput to provision for a volume, with a maximum of 1,000 MiB/s. This parameter is valid only for ``gp3`` volumes. The default value is 125. Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
@@ -23221,19 +23240,19 @@ class CfnVolumeProps:
|
|
|
23221
23240
|
|
|
23222
23241
|
@builtins.property
|
|
23223
23242
|
def iops(self) -> typing.Optional[jsii.Number]:
|
|
23224
|
-
'''The number of I/O operations per second (IOPS).
|
|
23243
|
+
'''The number of I/O operations per second (IOPS) to provision for the volume.
|
|
23225
23244
|
|
|
23226
|
-
|
|
23245
|
+
Required for ``io1`` and ``io2`` volumes. Optional for ``gp3`` volumes. Omit for all other volume types.
|
|
23227
23246
|
|
|
23228
|
-
|
|
23247
|
+
Valid ranges:
|
|
23229
23248
|
|
|
23230
|
-
-
|
|
23231
|
-
-
|
|
23232
|
-
-
|
|
23249
|
+
- gp3: ``3,000`` ( *default* ) ``- 80,000`` IOPS
|
|
23250
|
+
- io1: ``100 - 64,000`` IOPS
|
|
23251
|
+
- io2: ``100 - 256,000`` IOPS
|
|
23233
23252
|
|
|
23234
|
-
|
|
23253
|
+
.. epigraph::
|
|
23235
23254
|
|
|
23236
|
-
|
|
23255
|
+
`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.
|
|
23237
23256
|
|
|
23238
23257
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-iops
|
|
23239
23258
|
'''
|
|
@@ -23286,16 +23305,16 @@ class CfnVolumeProps:
|
|
|
23286
23305
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
23287
23306
|
'''The size of the volume, in GiBs.
|
|
23288
23307
|
|
|
23289
|
-
You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size
|
|
23308
|
+
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.
|
|
23290
23309
|
|
|
23291
|
-
|
|
23310
|
+
Valid sizes:
|
|
23292
23311
|
|
|
23293
|
-
-
|
|
23294
|
-
-
|
|
23295
|
-
-
|
|
23296
|
-
-
|
|
23297
|
-
-
|
|
23298
|
-
-
|
|
23312
|
+
- gp2: ``1 - 16,384`` GiB
|
|
23313
|
+
- gp3: ``1 - 65,536`` GiB
|
|
23314
|
+
- io1: ``4 - 16,384`` GiB
|
|
23315
|
+
- io2: ``4 - 65,536`` GiB
|
|
23316
|
+
- st1 and sc1: ``125 - 16,384`` GiB
|
|
23317
|
+
- standard: ``1 - 1024`` GiB
|
|
23299
23318
|
|
|
23300
23319
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-size
|
|
23301
23320
|
'''
|
|
@@ -26037,6 +26056,9 @@ class CpuManufacturer(enum.Enum):
|
|
|
26037
26056
|
propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
|
|
26038
26057
|
)
|
|
26039
26058
|
|
|
26059
|
+
# Optionally configure security group rules using IConnectable interface
|
|
26060
|
+
mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
|
|
26061
|
+
|
|
26040
26062
|
# Add the capacity provider to the cluster
|
|
26041
26063
|
cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
|
|
26042
26064
|
|
|
@@ -38749,6 +38771,9 @@ class InstanceRequirementsConfig:
|
|
|
38749
38771
|
propagate_tags=ecs.PropagateManagedInstancesTags.CAPACITY_PROVIDER
|
|
38750
38772
|
)
|
|
38751
38773
|
|
|
38774
|
+
# Optionally configure security group rules using IConnectable interface
|
|
38775
|
+
mi_capacity_provider.connections.allow_from(ec2.Peer.ipv4(vpc.vpc_cidr_block), ec2.Port.tcp(80))
|
|
38776
|
+
|
|
38752
38777
|
# Add the capacity provider to the cluster
|
|
38753
38778
|
cluster.add_managed_instances_capacity_provider(mi_capacity_provider)
|
|
38754
38779
|
|
|
@@ -47390,7 +47415,7 @@ class Peer(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Peer"):
|
|
|
47390
47415
|
|
|
47391
47416
|
cluster = msk.Cluster(self, "Cluster",
|
|
47392
47417
|
cluster_name="myCluster",
|
|
47393
|
-
kafka_version=msk.KafkaVersion.
|
|
47418
|
+
kafka_version=msk.KafkaVersion.V4_1_X_KRAFT,
|
|
47394
47419
|
vpc=vpc
|
|
47395
47420
|
)
|
|
47396
47421
|
|
|
@@ -47712,20 +47737,25 @@ class Port(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Port"):
|
|
|
47712
47737
|
|
|
47713
47738
|
Example::
|
|
47714
47739
|
|
|
47715
|
-
#
|
|
47740
|
+
# load_balancer: elbv2.ApplicationLoadBalancer
|
|
47716
47741
|
|
|
47717
|
-
|
|
47718
|
-
|
|
47719
|
-
|
|
47742
|
+
|
|
47743
|
+
vpc = ec2.Vpc(self, "MyVPC")
|
|
47744
|
+
fleet = codebuild.Fleet(self, "MyProject",
|
|
47745
|
+
compute_type=codebuild.FleetComputeType.MEDIUM,
|
|
47746
|
+
environment_type=codebuild.EnvironmentType.LINUX_CONTAINER,
|
|
47747
|
+
base_capacity=1,
|
|
47720
47748
|
vpc=vpc
|
|
47721
47749
|
)
|
|
47722
47750
|
|
|
47723
|
-
|
|
47724
|
-
|
|
47725
|
-
|
|
47726
|
-
|
|
47727
|
-
|
|
47728
|
-
|
|
47751
|
+
fleet.connections.allow_to(load_balancer, ec2.Port.tcp(443))
|
|
47752
|
+
|
|
47753
|
+
project = codebuild.Project(self, "MyProject",
|
|
47754
|
+
environment=codebuild.BuildEnvironment(
|
|
47755
|
+
fleet=fleet
|
|
47756
|
+
),
|
|
47757
|
+
build_spec=codebuild.BuildSpec.from_object({})
|
|
47758
|
+
)
|
|
47729
47759
|
'''
|
|
47730
47760
|
|
|
47731
47761
|
def __init__(
|
|
@@ -59011,7 +59041,7 @@ class CfnCapacityReservation(
|
|
|
59011
59041
|
:param instance_platform: The type of operating system for which to reserve capacity.
|
|
59012
59042
|
:param instance_type: The instance type for which to reserve capacity. .. epigraph:: You can request future-dated Capacity Reservations for instance types in the C, M, R, I, T, and G instance families only. For more information, see `Instance types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html>`_ in the *Amazon EC2 User Guide* .
|
|
59013
59043
|
:param availability_zone: The Availability Zone in which to create the Capacity Reservation.
|
|
59014
|
-
:param availability_zone_id: The Availability Zone
|
|
59044
|
+
:param availability_zone_id: The ID of the Availability Zone in which the capacity is reserved.
|
|
59015
59045
|
:param 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.
|
|
59016
59046
|
:param 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. You must provide an ``EndDate`` value if ``EndDateType`` is ``limited`` . Omit ``EndDate`` if ``EndDateType`` is ``unlimited`` . If the ``EndDateType`` is ``limited`` , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. If you are requesting a future-dated Capacity Reservation, you can't specify an end date and time that is within the commitment duration.
|
|
59017
59047
|
:param end_date_type: Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: - ``unlimited`` - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an ``EndDate`` if the ``EndDateType`` is ``unlimited`` . - ``limited`` - The Capacity Reservation expires automatically at a specified date and time. You must provide an ``EndDate`` value if the ``EndDateType`` value is ``limited`` .
|
|
@@ -59180,7 +59210,7 @@ class CfnCapacityReservation(
|
|
|
59180
59210
|
@builtins.property
|
|
59181
59211
|
@jsii.member(jsii_name="attrCreateDate")
|
|
59182
59212
|
def attr_create_date(self) -> builtins.str:
|
|
59183
|
-
'''The date and time
|
|
59213
|
+
'''The date and time the Capacity Reservation was created.
|
|
59184
59214
|
|
|
59185
59215
|
:cloudformationAttribute: CreateDate
|
|
59186
59216
|
'''
|
|
@@ -59238,7 +59268,7 @@ class CfnCapacityReservation(
|
|
|
59238
59268
|
@builtins.property
|
|
59239
59269
|
@jsii.member(jsii_name="attrStartDate")
|
|
59240
59270
|
def attr_start_date(self) -> builtins.str:
|
|
59241
|
-
'''The date and time
|
|
59271
|
+
'''The date and time the Capacity Reservation was started.
|
|
59242
59272
|
|
|
59243
59273
|
:cloudformationAttribute: StartDate
|
|
59244
59274
|
'''
|
|
@@ -59359,7 +59389,7 @@ class CfnCapacityReservation(
|
|
|
59359
59389
|
@builtins.property
|
|
59360
59390
|
@jsii.member(jsii_name="availabilityZoneId")
|
|
59361
59391
|
def availability_zone_id(self) -> typing.Optional[builtins.str]:
|
|
59362
|
-
'''The Availability Zone
|
|
59392
|
+
'''The ID of the Availability Zone in which the capacity is reserved.'''
|
|
59363
59393
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "availabilityZoneId"))
|
|
59364
59394
|
|
|
59365
59395
|
@availability_zone_id.setter
|
|
@@ -81498,7 +81528,8 @@ class CfnNatGateway(
|
|
|
81498
81528
|
tags=[CfnTag(
|
|
81499
81529
|
key="key",
|
|
81500
81530
|
value="value"
|
|
81501
|
-
)]
|
|
81531
|
+
)],
|
|
81532
|
+
vpc_id="vpcId"
|
|
81502
81533
|
)
|
|
81503
81534
|
'''
|
|
81504
81535
|
|
|
@@ -81516,6 +81547,7 @@ class CfnNatGateway(
|
|
|
81516
81547
|
secondary_private_ip_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
81517
81548
|
subnet_id: typing.Optional[builtins.str] = None,
|
|
81518
81549
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
81550
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
81519
81551
|
) -> None:
|
|
81520
81552
|
'''
|
|
81521
81553
|
:param scope: Scope in which this resource is defined.
|
|
@@ -81529,6 +81561,7 @@ class CfnNatGateway(
|
|
|
81529
81561
|
:param secondary_private_ip_addresses: Secondary private IPv4 addresses. For more information about secondary addresses, see `Create a NAT gateway <https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating>`_ in the *Amazon Virtual Private Cloud User Guide* . ``SecondaryPrivateIpAddressCount`` and ``SecondaryPrivateIpAddresses`` cannot be set at the same time.
|
|
81530
81562
|
:param subnet_id: The ID of the subnet in which the NAT gateway is located.
|
|
81531
81563
|
:param tags: The tags for the NAT gateway.
|
|
81564
|
+
:param vpc_id: The ID of the VPC in which the NAT gateway is located.
|
|
81532
81565
|
'''
|
|
81533
81566
|
if __debug__:
|
|
81534
81567
|
type_hints = typing.get_type_hints(_typecheckingstub__4d23f1a46df0174ce142c0ff05ac9cb901ecac30141c8b466b44569b409414aa)
|
|
@@ -81544,6 +81577,7 @@ class CfnNatGateway(
|
|
|
81544
81577
|
secondary_private_ip_addresses=secondary_private_ip_addresses,
|
|
81545
81578
|
subnet_id=subnet_id,
|
|
81546
81579
|
tags=tags,
|
|
81580
|
+
vpc_id=vpc_id,
|
|
81547
81581
|
)
|
|
81548
81582
|
|
|
81549
81583
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -81599,6 +81633,14 @@ class CfnNatGateway(
|
|
|
81599
81633
|
'''The CloudFormation resource type name for this resource class.'''
|
|
81600
81634
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
81601
81635
|
|
|
81636
|
+
@builtins.property
|
|
81637
|
+
@jsii.member(jsii_name="attrEniId")
|
|
81638
|
+
def attr_eni_id(self) -> builtins.str:
|
|
81639
|
+
'''
|
|
81640
|
+
:cloudformationAttribute: EniId
|
|
81641
|
+
'''
|
|
81642
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEniId"))
|
|
81643
|
+
|
|
81602
81644
|
@builtins.property
|
|
81603
81645
|
@jsii.member(jsii_name="attrNatGatewayId")
|
|
81604
81646
|
def attr_nat_gateway_id(self) -> builtins.str:
|
|
@@ -81753,6 +81795,19 @@ class CfnNatGateway(
|
|
|
81753
81795
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
81754
81796
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
81755
81797
|
|
|
81798
|
+
@builtins.property
|
|
81799
|
+
@jsii.member(jsii_name="vpcId")
|
|
81800
|
+
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
81801
|
+
'''The ID of the VPC in which the NAT gateway is located.'''
|
|
81802
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "vpcId"))
|
|
81803
|
+
|
|
81804
|
+
@vpc_id.setter
|
|
81805
|
+
def vpc_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
81806
|
+
if __debug__:
|
|
81807
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a7629fb99b0083bc9b9f7b7909bf15223816d1751b43e5e09c5e00cb6f63a09)
|
|
81808
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
81809
|
+
jsii.set(self, "vpcId", value) # pyright: ignore[reportArgumentType]
|
|
81810
|
+
|
|
81756
81811
|
|
|
81757
81812
|
@jsii.implements(_IInspectable_c2943556, INetworkAclRef, _ITaggable_36806126)
|
|
81758
81813
|
class CfnNetworkAcl(
|
|
@@ -110987,11 +111042,11 @@ class CfnVolume(
|
|
|
110987
111042
|
:param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` . Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
|
|
110988
111043
|
:param 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.
|
|
110989
111044
|
:param 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* . 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>`_ .
|
|
110990
|
-
:param iops: The number of I/O operations per second (IOPS).
|
|
111045
|
+
:param 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. Valid ranges: - gp3: ``3,000`` ( *default* ) ``- 80,000`` IOPS - io1: ``100 - 64,000`` IOPS - io2: ``100 - 256,000`` IOPS .. epigraph:: `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.
|
|
110991
111046
|
:param kms_key_id: The identifier of the AWS KMS key to use for Amazon EBS encryption. If ``KmsKeyId`` is specified, the encrypted state must be ``true`` . 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 . Alternatively, if you want to specify a different key, you can specify one of the following: - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - Key alias. Specify the alias for the key, prefixed with ``alias/`` . For example, for a key with the alias ``my_cmk`` , use ``alias/my_cmk`` . Or to specify the AWS managed key , use ``alias/aws/ebs`` . - Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
|
110992
111047
|
:param multi_attach_enabled: Indicates whether Amazon EBS Multi-Attach is enabled. AWS CloudFormation 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.
|
|
110993
111048
|
:param outpost_arn: The Amazon Resource Name (ARN) of the Outpost.
|
|
110994
|
-
:param 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
|
|
111049
|
+
:param 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. Valid sizes: - gp2: ``1 - 16,384`` GiB - gp3: ``1 - 65,536`` GiB - io1: ``4 - 16,384`` GiB - io2: ``4 - 65,536`` GiB - st1 and sc1: ``125 - 16,384`` GiB - standard: ``1 - 1024`` GiB
|
|
110995
111050
|
:param snapshot_id: The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
|
|
110996
111051
|
:param tags: The tags to apply to the volume during creation.
|
|
110997
111052
|
:param throughput: The throughput to provision for a volume, with a maximum of 1,000 MiB/s. This parameter is valid only for ``gp3`` volumes. The default value is 125. Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
@@ -111152,7 +111207,7 @@ class CfnVolume(
|
|
|
111152
111207
|
@builtins.property
|
|
111153
111208
|
@jsii.member(jsii_name="iops")
|
|
111154
111209
|
def iops(self) -> typing.Optional[jsii.Number]:
|
|
111155
|
-
'''The number of I/O operations per second (IOPS).'''
|
|
111210
|
+
'''The number of I/O operations per second (IOPS) to provision for the volume.'''
|
|
111156
111211
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "iops"))
|
|
111157
111212
|
|
|
111158
111213
|
@iops.setter
|
|
@@ -121486,6 +121541,7 @@ def _typecheckingstub__1aba83edf7a8e3f14e1d4f9ca76c7049f7f7c569d2ffb43bcad65b330
|
|
|
121486
121541
|
secondary_private_ip_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
121487
121542
|
subnet_id: typing.Optional[builtins.str] = None,
|
|
121488
121543
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
121544
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
121489
121545
|
) -> None:
|
|
121490
121546
|
"""Type checking stubs"""
|
|
121491
121547
|
pass
|
|
@@ -128951,6 +129007,7 @@ def _typecheckingstub__4d23f1a46df0174ce142c0ff05ac9cb901ecac30141c8b466b44569b4
|
|
|
128951
129007
|
secondary_private_ip_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
128952
129008
|
subnet_id: typing.Optional[builtins.str] = None,
|
|
128953
129009
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
129010
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
128954
129011
|
) -> None:
|
|
128955
129012
|
"""Type checking stubs"""
|
|
128956
129013
|
pass
|
|
@@ -129029,6 +129086,12 @@ def _typecheckingstub__76a6a3daaab575df04de03efcf802de9ee1357d57a0474a96922bc7d4
|
|
|
129029
129086
|
"""Type checking stubs"""
|
|
129030
129087
|
pass
|
|
129031
129088
|
|
|
129089
|
+
def _typecheckingstub__1a7629fb99b0083bc9b9f7b7909bf15223816d1751b43e5e09c5e00cb6f63a09(
|
|
129090
|
+
value: typing.Optional[builtins.str],
|
|
129091
|
+
) -> None:
|
|
129092
|
+
"""Type checking stubs"""
|
|
129093
|
+
pass
|
|
129094
|
+
|
|
129032
129095
|
def _typecheckingstub__63ab91eb0620cbae6ae1a944345b6c561c70134e58fe810193ad3be248faf08e(
|
|
129033
129096
|
scope: _constructs_77d1e7e8.Construct,
|
|
129034
129097
|
id: builtins.str,
|
|
@@ -135674,3 +135737,6 @@ def _typecheckingstub__08d76813e07f02784a1108bd81a7030a5244d286c7db7897110323a0d
|
|
|
135674
135737
|
) -> None:
|
|
135675
135738
|
"""Type checking stubs"""
|
|
135676
135739
|
pass
|
|
135740
|
+
|
|
135741
|
+
for cls in [ICapacityReservationFleetRef, ICapacityReservationRef, ICarrierGatewayRef, IClientVpnAuthorizationRuleRef, IClientVpnConnectionHandler, IClientVpnEndpoint, IClientVpnEndpointRef, IClientVpnRouteRef, IClientVpnTargetNetworkAssociationRef, IConnectable, ICustomerGatewayRef, IDHCPOptionsRef, IEC2FleetRef, IEIPAssociationRef, IEIPRef, IEgressOnlyInternetGatewayRef, IEnclaveCertificateIamRoleAssociationRef, IFlowLog, IFlowLogRef, IGatewayRouteTableAssociationRef, IGatewayVpcEndpoint, IGatewayVpcEndpointService, IHostRef, IIPAMAllocationRef, IIPAMPoolCidrRef, IIPAMPoolRef, IIPAMRef, IIPAMResourceDiscoveryAssociationRef, IIPAMResourceDiscoveryRef, IIPAMScopeRef, IInstance, IInstanceConnectEndpointRef, IInstanceRef, IInterfaceVpcEndpoint, IInterfaceVpcEndpointService, IInternetGatewayRef, IIpAddresses, IIpPoolRouteTableAssociationRef, IIpv6Addresses, IKeyPair, IKeyPairRef, ILaunchTemplate, ILaunchTemplateRef, ILocalGatewayRouteRef, ILocalGatewayRouteTableRef, ILocalGatewayRouteTableVPCAssociationRef, ILocalGatewayRouteTableVirtualInterfaceGroupAssociationRef, ILocalGatewayVirtualInterfaceGroupRef, ILocalGatewayVirtualInterfaceRef, IMachineImage, INatGatewayRef, INetworkAcl, INetworkAclEntry, INetworkAclEntryRef, INetworkAclRef, INetworkInsightsAccessScopeAnalysisRef, INetworkInsightsAccessScopeRef, INetworkInsightsAnalysisRef, INetworkInsightsPathRef, INetworkInterfaceAttachmentRef, INetworkInterfacePermissionRef, INetworkInterfaceRef, INetworkPerformanceMetricSubscriptionRef, IPeer, IPlacementGroup, IPlacementGroupRef, IPrefixList, IPrefixListRef, IPrivateSubnet, IPublicSubnet, IRouteRef, IRouteServerAssociationRef, IRouteServerEndpointRef, IRouteServerPeerRef, IRouteServerPropagationRef, IRouteServerRef, IRouteTable, IRouteTableRef, ISecurityGroup, ISecurityGroupEgressRef, ISecurityGroupIngressRef, ISecurityGroupRef, ISecurityGroupVpcAssociationRef, ISnapshotBlockPublicAccessRef, ISpotFleetRef, ISubnet, ISubnetCidrBlockRef, ISubnetNetworkAclAssociation, ISubnetNetworkAclAssociationRef, ISubnetRef, ISubnetRouteTableAssociationRef, ITrafficMirrorFilterRef, ITrafficMirrorFilterRuleRef, ITrafficMirrorSessionRef, ITrafficMirrorTargetRef, ITransitGatewayAttachmentRef, ITransitGatewayConnectPeerRef, ITransitGatewayConnectRef, ITransitGatewayMulticastDomainAssociationRef, ITransitGatewayMulticastDomainRef, ITransitGatewayMulticastGroupMemberRef, ITransitGatewayMulticastGroupSourceRef, ITransitGatewayPeeringAttachmentRef, ITransitGatewayRef, ITransitGatewayRouteRef, ITransitGatewayRouteTableAssociationRef, ITransitGatewayRouteTablePropagationRef, ITransitGatewayRouteTableRef, ITransitGatewayVpcAttachmentRef, IVPCBlockPublicAccessExclusionRef, IVPCBlockPublicAccessOptionsRef, IVPCCidrBlockRef, IVPCDHCPOptionsAssociationRef, IVPCEndpointConnectionNotificationRef, IVPCEndpointRef, IVPCEndpointServicePermissionsRef, IVPCEndpointServiceRef, IVPCGatewayAttachmentRef, IVPCPeeringConnectionRef, IVPCRef, IVPNConnectionRef, IVPNConnectionRouteRef, IVPNGatewayRef, IVPNGatewayRoutePropagationRef, IVerifiedAccessEndpointRef, IVerifiedAccessGroupRef, IVerifiedAccessInstanceRef, IVerifiedAccessTrustProviderRef, IVolume, IVolumeAttachmentRef, IVolumeRef, IVpc, IVpcEndpoint, IVpcEndpointService, IVpcEndpointServiceLoadBalancer, IVpnConnection, IVpnGateway]:
|
|
135742
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|