aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.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 +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +135 -121
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +13239 -3277
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +31 -30
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +60 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +900 -606
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +190 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +103 -103
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +132 -139
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +92 -92
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +32 -32
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +44 -76
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +39 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2412 -280
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +172 -101
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +283 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.0.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.0.dist-info}/top_level.txt +0 -0
|
@@ -153,26 +153,26 @@ class CfnCacheCluster(
|
|
|
153
153
|
'''
|
|
154
154
|
:param scope: Scope in which this resource is defined.
|
|
155
155
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
156
|
-
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Redis append-only files (AOF) are not supported for T1 or T2 instances. - Redis Multi-AZ with automatic failover is not supported on T1 instances. - Redis configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis version 2.8.22 and later.
|
|
156
|
+
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. - Redis OSS configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis OSS version 2.8.22 and later.
|
|
157
157
|
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | ``redis``
|
|
158
158
|
:param num_cache_nodes: The number of cache nodes that the cache cluster should have. .. epigraph:: However, if the ``PreferredAvailabilityZone`` and ``PreferredAvailabilityZones`` properties were not previously specified and you don't specify any new values, an update requires `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
159
|
-
:param auto_minor_version_upgrade: If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
159
|
+
:param auto_minor_version_upgrade: If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
160
160
|
:param az_mode: Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. This parameter is only supported for Memcached clusters. If the ``AZMode`` and ``PreferredAvailabilityZones`` are not specified, ElastiCache assumes ``single-az`` mode.
|
|
161
161
|
:param cache_parameter_group_name: The name of the parameter group to associate with this cluster. If this argument is omitted, the default parameter group for the specified engine is used. You cannot use any parameter group which has ``cluster-enabled='yes'`` when creating a cluster.
|
|
162
162
|
:param cache_security_group_names: A list of security group names to associate with this cluster. Use this parameter only when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC).
|
|
163
163
|
:param cache_subnet_group_name: The name of the subnet group to be used for the cluster. Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC). .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see ``[AWS::ElastiCache::SubnetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html) .``
|
|
164
164
|
:param cluster_name: A name for the cache cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the cache cluster. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . The name must contain 1 to 50 alphanumeric characters or hyphens. The name must start with a letter and cannot end with a hyphen or contain two consecutive hyphens.
|
|
165
165
|
:param engine_version: The version number of the cache engine to be used for this cluster. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SelectEngine.html#VersionManagement>`_ ), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
166
|
-
:param ip_discovery: The network type you choose when modifying a cluster, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
166
|
+
:param ip_discovery: The network type you choose when modifying a cluster, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
167
167
|
:param log_delivery_configurations: Specifies the destination, format and type of the logs.
|
|
168
|
-
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
168
|
+
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
169
169
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. .. epigraph:: The Amazon SNS topic owner must be the same as the cluster owner.
|
|
170
170
|
:param port: The port number on which each of the cache nodes accepts connections.
|
|
171
171
|
:param preferred_availability_zone: The EC2 Availability Zone in which the cluster is created. All nodes belonging to this cluster are placed in the preferred Availability Zone. If you want to create your nodes across multiple Availability Zones, use ``PreferredAvailabilityZones`` . Default: System chosen Availability Zone.
|
|
172
172
|
:param preferred_availability_zones: A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important. This option is only supported on Memcached. .. epigraph:: If you are creating your cluster in an Amazon VPC (recommended) you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheNodes`` . If you want all the nodes in the same Availability Zone, use ``PreferredAvailabilityZone`` instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones.
|
|
173
173
|
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
174
|
-
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
175
|
-
:param snapshot_name: The name of a Redis snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
174
|
+
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis OSS RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
175
|
+
:param snapshot_name: The name of a Redis OSS snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
176
176
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot taken today is retained for 5 days before being deleted. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Default: 0 (i.e., automatic backups are disabled for this cache cluster).
|
|
177
177
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
178
178
|
:param tags: A list of tags to be added to this resource.
|
|
@@ -250,7 +250,7 @@ class CfnCacheCluster(
|
|
|
250
250
|
|
|
251
251
|
.. epigraph::
|
|
252
252
|
|
|
253
|
-
Redis (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails.
|
|
253
|
+
Redis OSS (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails.
|
|
254
254
|
|
|
255
255
|
:cloudformationAttribute: ConfigurationEndpoint.Address
|
|
256
256
|
'''
|
|
@@ -263,7 +263,7 @@ class CfnCacheCluster(
|
|
|
263
263
|
|
|
264
264
|
.. epigraph::
|
|
265
265
|
|
|
266
|
-
Redis (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails.
|
|
266
|
+
Redis OSS (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails.
|
|
267
267
|
|
|
268
268
|
:cloudformationAttribute: ConfigurationEndpoint.Port
|
|
269
269
|
'''
|
|
@@ -281,7 +281,7 @@ class CfnCacheCluster(
|
|
|
281
281
|
@builtins.property
|
|
282
282
|
@jsii.member(jsii_name="attrRedisEndpointAddress")
|
|
283
283
|
def attr_redis_endpoint_address(self) -> builtins.str:
|
|
284
|
-
'''The DNS address of the configuration endpoint for the Redis cache cluster.
|
|
284
|
+
'''The DNS address of the configuration endpoint for the Redis OSS cache cluster.
|
|
285
285
|
|
|
286
286
|
:cloudformationAttribute: RedisEndpoint.Address
|
|
287
287
|
'''
|
|
@@ -290,7 +290,7 @@ class CfnCacheCluster(
|
|
|
290
290
|
@builtins.property
|
|
291
291
|
@jsii.member(jsii_name="attrRedisEndpointPort")
|
|
292
292
|
def attr_redis_endpoint_port(self) -> builtins.str:
|
|
293
|
-
'''The port number of the configuration endpoint for the Redis cache cluster.
|
|
293
|
+
'''The port number of the configuration endpoint for the Redis OSS cache cluster.
|
|
294
294
|
|
|
295
295
|
:cloudformationAttribute: RedisEndpoint.Port
|
|
296
296
|
'''
|
|
@@ -318,7 +318,7 @@ class CfnCacheCluster(
|
|
|
318
318
|
if __debug__:
|
|
319
319
|
type_hints = typing.get_type_hints(_typecheckingstub__32d9802d6751a916028ade8020c1b88f4de76492648ad82353d20bc756837067)
|
|
320
320
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
321
|
-
jsii.set(self, "cacheNodeType", value)
|
|
321
|
+
jsii.set(self, "cacheNodeType", value) # pyright: ignore[reportArgumentType]
|
|
322
322
|
|
|
323
323
|
@builtins.property
|
|
324
324
|
@jsii.member(jsii_name="engine")
|
|
@@ -331,7 +331,7 @@ class CfnCacheCluster(
|
|
|
331
331
|
if __debug__:
|
|
332
332
|
type_hints = typing.get_type_hints(_typecheckingstub__4b478c5471c9d0a76c5100e39ca78b723b0c0df15786d8701347d9cb5eabbdf7)
|
|
333
333
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
334
|
-
jsii.set(self, "engine", value)
|
|
334
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
335
335
|
|
|
336
336
|
@builtins.property
|
|
337
337
|
@jsii.member(jsii_name="numCacheNodes")
|
|
@@ -344,14 +344,14 @@ class CfnCacheCluster(
|
|
|
344
344
|
if __debug__:
|
|
345
345
|
type_hints = typing.get_type_hints(_typecheckingstub__3efa7fe979ad2ca65054b031fb5cd53cdae6a1094de4cdb6bc9c480d5b2d7a9f)
|
|
346
346
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
347
|
-
jsii.set(self, "numCacheNodes", value)
|
|
347
|
+
jsii.set(self, "numCacheNodes", value) # pyright: ignore[reportArgumentType]
|
|
348
348
|
|
|
349
349
|
@builtins.property
|
|
350
350
|
@jsii.member(jsii_name="autoMinorVersionUpgrade")
|
|
351
351
|
def auto_minor_version_upgrade(
|
|
352
352
|
self,
|
|
353
353
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
354
|
-
'''If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.'''
|
|
354
|
+
'''If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.'''
|
|
355
355
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "autoMinorVersionUpgrade"))
|
|
356
356
|
|
|
357
357
|
@auto_minor_version_upgrade.setter
|
|
@@ -362,7 +362,7 @@ class CfnCacheCluster(
|
|
|
362
362
|
if __debug__:
|
|
363
363
|
type_hints = typing.get_type_hints(_typecheckingstub__b74ab91b309fe8b033442df78ec7c947ef8b8ceac25b5fb4347e7e697fb388da)
|
|
364
364
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
365
|
-
jsii.set(self, "autoMinorVersionUpgrade", value)
|
|
365
|
+
jsii.set(self, "autoMinorVersionUpgrade", value) # pyright: ignore[reportArgumentType]
|
|
366
366
|
|
|
367
367
|
@builtins.property
|
|
368
368
|
@jsii.member(jsii_name="azMode")
|
|
@@ -375,7 +375,7 @@ class CfnCacheCluster(
|
|
|
375
375
|
if __debug__:
|
|
376
376
|
type_hints = typing.get_type_hints(_typecheckingstub__4a44d250f986c389a2d9f94d9cca8adc9e59c15e75d4c051e15c57482b9ae9f1)
|
|
377
377
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
378
|
-
jsii.set(self, "azMode", value)
|
|
378
|
+
jsii.set(self, "azMode", value) # pyright: ignore[reportArgumentType]
|
|
379
379
|
|
|
380
380
|
@builtins.property
|
|
381
381
|
@jsii.member(jsii_name="cacheParameterGroupName")
|
|
@@ -388,7 +388,7 @@ class CfnCacheCluster(
|
|
|
388
388
|
if __debug__:
|
|
389
389
|
type_hints = typing.get_type_hints(_typecheckingstub__cc3ac1b1f30d407a5545f9f5024999aba8b2072b3d9b7d1c0941506aa6431636)
|
|
390
390
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
391
|
-
jsii.set(self, "cacheParameterGroupName", value)
|
|
391
|
+
jsii.set(self, "cacheParameterGroupName", value) # pyright: ignore[reportArgumentType]
|
|
392
392
|
|
|
393
393
|
@builtins.property
|
|
394
394
|
@jsii.member(jsii_name="cacheSecurityGroupNames")
|
|
@@ -404,7 +404,7 @@ class CfnCacheCluster(
|
|
|
404
404
|
if __debug__:
|
|
405
405
|
type_hints = typing.get_type_hints(_typecheckingstub__83da5de50c36f6b8acecefb71f2d1985a98bac5b47b9355f1e680a968d3b916a)
|
|
406
406
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
407
|
-
jsii.set(self, "cacheSecurityGroupNames", value)
|
|
407
|
+
jsii.set(self, "cacheSecurityGroupNames", value) # pyright: ignore[reportArgumentType]
|
|
408
408
|
|
|
409
409
|
@builtins.property
|
|
410
410
|
@jsii.member(jsii_name="cacheSubnetGroupName")
|
|
@@ -417,7 +417,7 @@ class CfnCacheCluster(
|
|
|
417
417
|
if __debug__:
|
|
418
418
|
type_hints = typing.get_type_hints(_typecheckingstub__f9b8dc42c226f2bde38136c38ed0888aa8016a952545561870cd97fdb1756c48)
|
|
419
419
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
420
|
-
jsii.set(self, "cacheSubnetGroupName", value)
|
|
420
|
+
jsii.set(self, "cacheSubnetGroupName", value) # pyright: ignore[reportArgumentType]
|
|
421
421
|
|
|
422
422
|
@builtins.property
|
|
423
423
|
@jsii.member(jsii_name="clusterName")
|
|
@@ -430,7 +430,7 @@ class CfnCacheCluster(
|
|
|
430
430
|
if __debug__:
|
|
431
431
|
type_hints = typing.get_type_hints(_typecheckingstub__411d6faf725ba835ededa6d23d62caaccc85488363ac53847d26489a9b698e4c)
|
|
432
432
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
433
|
-
jsii.set(self, "clusterName", value)
|
|
433
|
+
jsii.set(self, "clusterName", value) # pyright: ignore[reportArgumentType]
|
|
434
434
|
|
|
435
435
|
@builtins.property
|
|
436
436
|
@jsii.member(jsii_name="engineVersion")
|
|
@@ -443,7 +443,7 @@ class CfnCacheCluster(
|
|
|
443
443
|
if __debug__:
|
|
444
444
|
type_hints = typing.get_type_hints(_typecheckingstub__c11aa65ad582a06f82ee3dccb397779d9465180eeb2cc3743f037d45678b9315)
|
|
445
445
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
446
|
-
jsii.set(self, "engineVersion", value)
|
|
446
|
+
jsii.set(self, "engineVersion", value) # pyright: ignore[reportArgumentType]
|
|
447
447
|
|
|
448
448
|
@builtins.property
|
|
449
449
|
@jsii.member(jsii_name="ipDiscovery")
|
|
@@ -456,7 +456,7 @@ class CfnCacheCluster(
|
|
|
456
456
|
if __debug__:
|
|
457
457
|
type_hints = typing.get_type_hints(_typecheckingstub__9d9fae8437c1df5da80ef1dcc1d540757d3eeed744bbf8056a118a155cda7c0b)
|
|
458
458
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
459
|
-
jsii.set(self, "ipDiscovery", value)
|
|
459
|
+
jsii.set(self, "ipDiscovery", value) # pyright: ignore[reportArgumentType]
|
|
460
460
|
|
|
461
461
|
@builtins.property
|
|
462
462
|
@jsii.member(jsii_name="logDeliveryConfigurations")
|
|
@@ -474,7 +474,7 @@ class CfnCacheCluster(
|
|
|
474
474
|
if __debug__:
|
|
475
475
|
type_hints = typing.get_type_hints(_typecheckingstub__92cc1290aacd3e87fdb8540c5a430dd3781b4d21f64685730ff4176b05840454)
|
|
476
476
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
477
|
-
jsii.set(self, "logDeliveryConfigurations", value)
|
|
477
|
+
jsii.set(self, "logDeliveryConfigurations", value) # pyright: ignore[reportArgumentType]
|
|
478
478
|
|
|
479
479
|
@builtins.property
|
|
480
480
|
@jsii.member(jsii_name="networkType")
|
|
@@ -487,7 +487,7 @@ class CfnCacheCluster(
|
|
|
487
487
|
if __debug__:
|
|
488
488
|
type_hints = typing.get_type_hints(_typecheckingstub__fef16cd8be345649445baed2ab221599bc312c701ed3cae8a08ca0202aedbbe0)
|
|
489
489
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
490
|
-
jsii.set(self, "networkType", value)
|
|
490
|
+
jsii.set(self, "networkType", value) # pyright: ignore[reportArgumentType]
|
|
491
491
|
|
|
492
492
|
@builtins.property
|
|
493
493
|
@jsii.member(jsii_name="notificationTopicArn")
|
|
@@ -500,7 +500,7 @@ class CfnCacheCluster(
|
|
|
500
500
|
if __debug__:
|
|
501
501
|
type_hints = typing.get_type_hints(_typecheckingstub__f0e5b55a4eeff9a98884374f1fb103e28154e68b08e9c604194db4263d8d260c)
|
|
502
502
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
503
|
-
jsii.set(self, "notificationTopicArn", value)
|
|
503
|
+
jsii.set(self, "notificationTopicArn", value) # pyright: ignore[reportArgumentType]
|
|
504
504
|
|
|
505
505
|
@builtins.property
|
|
506
506
|
@jsii.member(jsii_name="port")
|
|
@@ -513,7 +513,7 @@ class CfnCacheCluster(
|
|
|
513
513
|
if __debug__:
|
|
514
514
|
type_hints = typing.get_type_hints(_typecheckingstub__c52a7b53b9de4c47324594ae4fcae12b0f548358d236a57d0d8180b7a52eb525)
|
|
515
515
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
516
|
-
jsii.set(self, "port", value)
|
|
516
|
+
jsii.set(self, "port", value) # pyright: ignore[reportArgumentType]
|
|
517
517
|
|
|
518
518
|
@builtins.property
|
|
519
519
|
@jsii.member(jsii_name="preferredAvailabilityZone")
|
|
@@ -526,7 +526,7 @@ class CfnCacheCluster(
|
|
|
526
526
|
if __debug__:
|
|
527
527
|
type_hints = typing.get_type_hints(_typecheckingstub__ba8deec010d483a5b4cccad86835cc42901ab76f481c5140bf432d398851cab3)
|
|
528
528
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
529
|
-
jsii.set(self, "preferredAvailabilityZone", value)
|
|
529
|
+
jsii.set(self, "preferredAvailabilityZone", value) # pyright: ignore[reportArgumentType]
|
|
530
530
|
|
|
531
531
|
@builtins.property
|
|
532
532
|
@jsii.member(jsii_name="preferredAvailabilityZones")
|
|
@@ -544,7 +544,7 @@ class CfnCacheCluster(
|
|
|
544
544
|
if __debug__:
|
|
545
545
|
type_hints = typing.get_type_hints(_typecheckingstub__bdfef5e25f162b7075022826fc8305415c9b26eba0d5f6a128a30b8e191ecf2d)
|
|
546
546
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
547
|
-
jsii.set(self, "preferredAvailabilityZones", value)
|
|
547
|
+
jsii.set(self, "preferredAvailabilityZones", value) # pyright: ignore[reportArgumentType]
|
|
548
548
|
|
|
549
549
|
@builtins.property
|
|
550
550
|
@jsii.member(jsii_name="preferredMaintenanceWindow")
|
|
@@ -560,12 +560,12 @@ class CfnCacheCluster(
|
|
|
560
560
|
if __debug__:
|
|
561
561
|
type_hints = typing.get_type_hints(_typecheckingstub__c036bebdfade47bb20565d6116e08cbc6b2c289599c511df24ad3ec9395670fc)
|
|
562
562
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
563
|
-
jsii.set(self, "preferredMaintenanceWindow", value)
|
|
563
|
+
jsii.set(self, "preferredMaintenanceWindow", value) # pyright: ignore[reportArgumentType]
|
|
564
564
|
|
|
565
565
|
@builtins.property
|
|
566
566
|
@jsii.member(jsii_name="snapshotArns")
|
|
567
567
|
def snapshot_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
568
|
-
'''A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3.'''
|
|
568
|
+
'''A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis OSS RDB snapshot file stored in Amazon S3.'''
|
|
569
569
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "snapshotArns"))
|
|
570
570
|
|
|
571
571
|
@snapshot_arns.setter
|
|
@@ -573,12 +573,12 @@ class CfnCacheCluster(
|
|
|
573
573
|
if __debug__:
|
|
574
574
|
type_hints = typing.get_type_hints(_typecheckingstub__ce434b0b24d4c0aed191822a2ef96062ce0e4f82dde36706dda0cb9378020e9d)
|
|
575
575
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
576
|
-
jsii.set(self, "snapshotArns", value)
|
|
576
|
+
jsii.set(self, "snapshotArns", value) # pyright: ignore[reportArgumentType]
|
|
577
577
|
|
|
578
578
|
@builtins.property
|
|
579
579
|
@jsii.member(jsii_name="snapshotName")
|
|
580
580
|
def snapshot_name(self) -> typing.Optional[builtins.str]:
|
|
581
|
-
'''The name of a Redis snapshot from which to restore data into the new node group (shard).'''
|
|
581
|
+
'''The name of a Redis OSS snapshot from which to restore data into the new node group (shard).'''
|
|
582
582
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snapshotName"))
|
|
583
583
|
|
|
584
584
|
@snapshot_name.setter
|
|
@@ -586,7 +586,7 @@ class CfnCacheCluster(
|
|
|
586
586
|
if __debug__:
|
|
587
587
|
type_hints = typing.get_type_hints(_typecheckingstub__ade889ee7923a82577f80b57aeef301ae196124bdb4d5ec2cd87c371be03e5a2)
|
|
588
588
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
589
|
-
jsii.set(self, "snapshotName", value)
|
|
589
|
+
jsii.set(self, "snapshotName", value) # pyright: ignore[reportArgumentType]
|
|
590
590
|
|
|
591
591
|
@builtins.property
|
|
592
592
|
@jsii.member(jsii_name="snapshotRetentionLimit")
|
|
@@ -599,7 +599,7 @@ class CfnCacheCluster(
|
|
|
599
599
|
if __debug__:
|
|
600
600
|
type_hints = typing.get_type_hints(_typecheckingstub__36088ccf4e3bb96fca149a1dc57264e825a3fdf78d280f320127ed72733b6ef2)
|
|
601
601
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
602
|
-
jsii.set(self, "snapshotRetentionLimit", value)
|
|
602
|
+
jsii.set(self, "snapshotRetentionLimit", value) # pyright: ignore[reportArgumentType]
|
|
603
603
|
|
|
604
604
|
@builtins.property
|
|
605
605
|
@jsii.member(jsii_name="snapshotWindow")
|
|
@@ -612,7 +612,7 @@ class CfnCacheCluster(
|
|
|
612
612
|
if __debug__:
|
|
613
613
|
type_hints = typing.get_type_hints(_typecheckingstub__00985af0e32e63259c356a919afbcf2f8aec8c2faedaece96112bbb03f945239)
|
|
614
614
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
615
|
-
jsii.set(self, "snapshotWindow", value)
|
|
615
|
+
jsii.set(self, "snapshotWindow", value) # pyright: ignore[reportArgumentType]
|
|
616
616
|
|
|
617
617
|
@builtins.property
|
|
618
618
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -625,7 +625,7 @@ class CfnCacheCluster(
|
|
|
625
625
|
if __debug__:
|
|
626
626
|
type_hints = typing.get_type_hints(_typecheckingstub__bb033789ee709e38cf2df5c67f41474c2337ba8ce07eac9ee4a2c714fc9bc989)
|
|
627
627
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
628
|
-
jsii.set(self, "tagsRaw", value)
|
|
628
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
629
629
|
|
|
630
630
|
@builtins.property
|
|
631
631
|
@jsii.member(jsii_name="transitEncryptionEnabled")
|
|
@@ -643,7 +643,7 @@ class CfnCacheCluster(
|
|
|
643
643
|
if __debug__:
|
|
644
644
|
type_hints = typing.get_type_hints(_typecheckingstub__5b5c36f3eb4db3de564bb875816a147602a4348d296a24fafccdae0acba9440b)
|
|
645
645
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
646
|
-
jsii.set(self, "transitEncryptionEnabled", value)
|
|
646
|
+
jsii.set(self, "transitEncryptionEnabled", value) # pyright: ignore[reportArgumentType]
|
|
647
647
|
|
|
648
648
|
@builtins.property
|
|
649
649
|
@jsii.member(jsii_name="vpcSecurityGroupIds")
|
|
@@ -659,7 +659,7 @@ class CfnCacheCluster(
|
|
|
659
659
|
if __debug__:
|
|
660
660
|
type_hints = typing.get_type_hints(_typecheckingstub__2ca563dd75820580354392265b3bdcb759aaa1e66fadcc95daa9e8b3b8bc892d)
|
|
661
661
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
662
|
-
jsii.set(self, "vpcSecurityGroupIds", value)
|
|
662
|
+
jsii.set(self, "vpcSecurityGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
663
663
|
|
|
664
664
|
@jsii.data_type(
|
|
665
665
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty",
|
|
@@ -1035,26 +1035,26 @@ class CfnCacheClusterProps:
|
|
|
1035
1035
|
) -> None:
|
|
1036
1036
|
'''Properties for defining a ``CfnCacheCluster``.
|
|
1037
1037
|
|
|
1038
|
-
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Redis append-only files (AOF) are not supported for T1 or T2 instances. - Redis Multi-AZ with automatic failover is not supported on T1 instances. - Redis configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis version 2.8.22 and later.
|
|
1038
|
+
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. Changing the CacheNodeType of a Memcached instance is currently not supported. If you need to scale using Memcached, we recommend forcing a replacement update by changing the ``LogicalResourceId`` of the resource. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.8xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.16xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.8xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.16xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_ *Additional node type info* - All current generation instance types are created in Amazon VPC by default. - Redis OSS append-only files (AOF) are not supported for T1 or T2 instances. - Redis OSS Multi-AZ with automatic failover is not supported on T1 instances. - Redis OSS configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis OSS version 2.8.22 and later.
|
|
1039
1039
|
:param engine: The name of the cache engine to be used for this cluster. Valid values for this parameter are: ``memcached`` | ``redis``
|
|
1040
1040
|
:param num_cache_nodes: The number of cache nodes that the cache cluster should have. .. epigraph:: However, if the ``PreferredAvailabilityZone`` and ``PreferredAvailabilityZones`` properties were not previously specified and you don't specify any new values, an update requires `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
1041
|
-
:param auto_minor_version_upgrade: If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
1041
|
+
:param auto_minor_version_upgrade: If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
1042
1042
|
:param az_mode: Specifies whether the nodes in this Memcached cluster are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. This parameter is only supported for Memcached clusters. If the ``AZMode`` and ``PreferredAvailabilityZones`` are not specified, ElastiCache assumes ``single-az`` mode.
|
|
1043
1043
|
:param cache_parameter_group_name: The name of the parameter group to associate with this cluster. If this argument is omitted, the default parameter group for the specified engine is used. You cannot use any parameter group which has ``cluster-enabled='yes'`` when creating a cluster.
|
|
1044
1044
|
:param cache_security_group_names: A list of security group names to associate with this cluster. Use this parameter only when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC).
|
|
1045
1045
|
:param cache_subnet_group_name: The name of the subnet group to be used for the cluster. Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC). .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see ``[AWS::ElastiCache::SubnetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html) .``
|
|
1046
1046
|
:param cluster_name: A name for the cache cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the cache cluster. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . The name must contain 1 to 50 alphanumeric characters or hyphens. The name must start with a letter and cannot end with a hyphen or contain two consecutive hyphens.
|
|
1047
1047
|
:param engine_version: The version number of the cache engine to be used for this cluster. To view the supported cache engine versions, use the DescribeCacheEngineVersions operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SelectEngine.html#VersionManagement>`_ ), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
1048
|
-
:param ip_discovery: The network type you choose when modifying a cluster, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1048
|
+
:param ip_discovery: The network type you choose when modifying a cluster, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1049
1049
|
:param log_delivery_configurations: Specifies the destination, format and type of the logs.
|
|
1050
|
-
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1050
|
+
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1051
1051
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. .. epigraph:: The Amazon SNS topic owner must be the same as the cluster owner.
|
|
1052
1052
|
:param port: The port number on which each of the cache nodes accepts connections.
|
|
1053
1053
|
:param preferred_availability_zone: The EC2 Availability Zone in which the cluster is created. All nodes belonging to this cluster are placed in the preferred Availability Zone. If you want to create your nodes across multiple Availability Zones, use ``PreferredAvailabilityZones`` . Default: System chosen Availability Zone.
|
|
1054
1054
|
:param preferred_availability_zones: A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important. This option is only supported on Memcached. .. epigraph:: If you are creating your cluster in an Amazon VPC (recommended) you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheNodes`` . If you want all the nodes in the same Availability Zone, use ``PreferredAvailabilityZone`` instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones.
|
|
1055
1055
|
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
1056
|
-
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
1057
|
-
:param snapshot_name: The name of a Redis snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
1056
|
+
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis OSS RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
1057
|
+
:param snapshot_name: The name of a Redis OSS snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
1058
1058
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot taken today is retained for 5 days before being deleted. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Default: 0 (i.e., automatic backups are disabled for this cache cluster).
|
|
1059
1059
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
1060
1060
|
:param tags: A list of tags to be added to this resource.
|
|
@@ -1251,9 +1251,9 @@ class CfnCacheClusterProps:
|
|
|
1251
1251
|
*Additional node type info*
|
|
1252
1252
|
|
|
1253
1253
|
- All current generation instance types are created in Amazon VPC by default.
|
|
1254
|
-
- Redis append-only files (AOF) are not supported for T1 or T2 instances.
|
|
1255
|
-
- Redis Multi-AZ with automatic failover is not supported on T1 instances.
|
|
1256
|
-
- Redis configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis version 2.8.22 and later.
|
|
1254
|
+
- Redis OSS append-only files (AOF) are not supported for T1 or T2 instances.
|
|
1255
|
+
- Redis OSS Multi-AZ with automatic failover is not supported on T1 instances.
|
|
1256
|
+
- Redis OSS configuration variables ``appendonly`` and ``appendfsync`` are not supported on Redis OSS version 2.8.22 and later.
|
|
1257
1257
|
|
|
1258
1258
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-cachecluster.html#cfn-elasticache-cachecluster-cachenodetype
|
|
1259
1259
|
'''
|
|
@@ -1291,7 +1291,7 @@ class CfnCacheClusterProps:
|
|
|
1291
1291
|
def auto_minor_version_upgrade(
|
|
1292
1292
|
self,
|
|
1293
1293
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1294
|
-
'''If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
1294
|
+
'''If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
1295
1295
|
|
|
1296
1296
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-cachecluster.html#cfn-elasticache-cachecluster-autominorversionupgrade
|
|
1297
1297
|
'''
|
|
@@ -1377,7 +1377,7 @@ class CfnCacheClusterProps:
|
|
|
1377
1377
|
def ip_discovery(self) -> typing.Optional[builtins.str]:
|
|
1378
1378
|
'''The network type you choose when modifying a cluster, either ``ipv4`` | ``ipv6`` .
|
|
1379
1379
|
|
|
1380
|
-
IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1380
|
+
IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1381
1381
|
|
|
1382
1382
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-cachecluster.html#cfn-elasticache-cachecluster-ipdiscovery
|
|
1383
1383
|
'''
|
|
@@ -1399,7 +1399,7 @@ class CfnCacheClusterProps:
|
|
|
1399
1399
|
def network_type(self) -> typing.Optional[builtins.str]:
|
|
1400
1400
|
'''Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` .
|
|
1401
1401
|
|
|
1402
|
-
IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1402
|
+
IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
1403
1403
|
|
|
1404
1404
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-cachecluster.html#cfn-elasticache-cachecluster-networktype
|
|
1405
1405
|
'''
|
|
@@ -1490,7 +1490,7 @@ class CfnCacheClusterProps:
|
|
|
1490
1490
|
|
|
1491
1491
|
@builtins.property
|
|
1492
1492
|
def snapshot_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1493
|
-
'''A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3.
|
|
1493
|
+
'''A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis OSS RDB snapshot file stored in Amazon S3.
|
|
1494
1494
|
|
|
1495
1495
|
The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas.
|
|
1496
1496
|
.. epigraph::
|
|
@@ -1506,7 +1506,7 @@ class CfnCacheClusterProps:
|
|
|
1506
1506
|
|
|
1507
1507
|
@builtins.property
|
|
1508
1508
|
def snapshot_name(self) -> typing.Optional[builtins.str]:
|
|
1509
|
-
'''The name of a Redis snapshot from which to restore data into the new node group (shard).
|
|
1509
|
+
'''The name of a Redis OSS snapshot from which to restore data into the new node group (shard).
|
|
1510
1510
|
|
|
1511
1511
|
The snapshot status changes to ``restoring`` while the new node group (shard) is being created.
|
|
1512
1512
|
.. epigraph::
|
|
@@ -1660,10 +1660,10 @@ class CfnGlobalReplicationGroup(
|
|
|
1660
1660
|
:param scope: Scope in which this resource is defined.
|
|
1661
1661
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1662
1662
|
:param members: The replication groups that comprise the Global datastore.
|
|
1663
|
-
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups.
|
|
1663
|
+
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups.
|
|
1664
1664
|
:param cache_node_type: The cache node type of the Global datastore.
|
|
1665
1665
|
:param cache_parameter_group_name: The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
|
|
1666
|
-
:param engine_version: The Elasticache Redis engine version.
|
|
1666
|
+
:param engine_version: The Elasticache Redis OSS engine version.
|
|
1667
1667
|
:param global_node_group_count: The number of node groups that comprise the Global Datastore.
|
|
1668
1668
|
:param global_replication_group_description: The optional description of the Global datastore.
|
|
1669
1669
|
:param global_replication_group_id_suffix: The suffix name of a Global Datastore. The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
|
|
@@ -1758,7 +1758,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1758
1758
|
if __debug__:
|
|
1759
1759
|
type_hints = typing.get_type_hints(_typecheckingstub__e868e518f50b5b48c699f872e36b8e20be2702ad6acf8d5f4500e986aac55b3d)
|
|
1760
1760
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1761
|
-
jsii.set(self, "members", value)
|
|
1761
|
+
jsii.set(self, "members", value) # pyright: ignore[reportArgumentType]
|
|
1762
1762
|
|
|
1763
1763
|
@builtins.property
|
|
1764
1764
|
@jsii.member(jsii_name="automaticFailoverEnabled")
|
|
@@ -1776,7 +1776,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1776
1776
|
if __debug__:
|
|
1777
1777
|
type_hints = typing.get_type_hints(_typecheckingstub__8f937e9779d5fe5d88540d353152c5e7637a4c898506e495763dc389bca1a193)
|
|
1778
1778
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1779
|
-
jsii.set(self, "automaticFailoverEnabled", value)
|
|
1779
|
+
jsii.set(self, "automaticFailoverEnabled", value) # pyright: ignore[reportArgumentType]
|
|
1780
1780
|
|
|
1781
1781
|
@builtins.property
|
|
1782
1782
|
@jsii.member(jsii_name="cacheNodeType")
|
|
@@ -1789,7 +1789,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1789
1789
|
if __debug__:
|
|
1790
1790
|
type_hints = typing.get_type_hints(_typecheckingstub__bcc0668ac08361dfeaf1c9d3b63f4ce55339cbac4acdba22253a2c6a39440c9c)
|
|
1791
1791
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1792
|
-
jsii.set(self, "cacheNodeType", value)
|
|
1792
|
+
jsii.set(self, "cacheNodeType", value) # pyright: ignore[reportArgumentType]
|
|
1793
1793
|
|
|
1794
1794
|
@builtins.property
|
|
1795
1795
|
@jsii.member(jsii_name="cacheParameterGroupName")
|
|
@@ -1802,12 +1802,12 @@ class CfnGlobalReplicationGroup(
|
|
|
1802
1802
|
if __debug__:
|
|
1803
1803
|
type_hints = typing.get_type_hints(_typecheckingstub__0848ddc407bc59c23bb3f0758cd29c2ca80ecb4af0b703cfbabe761143efb996)
|
|
1804
1804
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1805
|
-
jsii.set(self, "cacheParameterGroupName", value)
|
|
1805
|
+
jsii.set(self, "cacheParameterGroupName", value) # pyright: ignore[reportArgumentType]
|
|
1806
1806
|
|
|
1807
1807
|
@builtins.property
|
|
1808
1808
|
@jsii.member(jsii_name="engineVersion")
|
|
1809
1809
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
1810
|
-
'''The Elasticache Redis engine version.'''
|
|
1810
|
+
'''The Elasticache Redis OSS engine version.'''
|
|
1811
1811
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "engineVersion"))
|
|
1812
1812
|
|
|
1813
1813
|
@engine_version.setter
|
|
@@ -1815,7 +1815,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1815
1815
|
if __debug__:
|
|
1816
1816
|
type_hints = typing.get_type_hints(_typecheckingstub__5e6d37e14147abb9446aa94586bbfdc04bcc4cbad9c87b170bc3c934223a3dc1)
|
|
1817
1817
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1818
|
-
jsii.set(self, "engineVersion", value)
|
|
1818
|
+
jsii.set(self, "engineVersion", value) # pyright: ignore[reportArgumentType]
|
|
1819
1819
|
|
|
1820
1820
|
@builtins.property
|
|
1821
1821
|
@jsii.member(jsii_name="globalNodeGroupCount")
|
|
@@ -1828,7 +1828,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1828
1828
|
if __debug__:
|
|
1829
1829
|
type_hints = typing.get_type_hints(_typecheckingstub__96e8402ce6e7036902a30a006b2e3b7c82ed86d4655e500c78d0ae603a7929b0)
|
|
1830
1830
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1831
|
-
jsii.set(self, "globalNodeGroupCount", value)
|
|
1831
|
+
jsii.set(self, "globalNodeGroupCount", value) # pyright: ignore[reportArgumentType]
|
|
1832
1832
|
|
|
1833
1833
|
@builtins.property
|
|
1834
1834
|
@jsii.member(jsii_name="globalReplicationGroupDescription")
|
|
@@ -1844,7 +1844,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1844
1844
|
if __debug__:
|
|
1845
1845
|
type_hints = typing.get_type_hints(_typecheckingstub__3cb8c976f8e943135a48d97d88bf3d8b7dd5f17fcd2b8759518b8b204056bba0)
|
|
1846
1846
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1847
|
-
jsii.set(self, "globalReplicationGroupDescription", value)
|
|
1847
|
+
jsii.set(self, "globalReplicationGroupDescription", value) # pyright: ignore[reportArgumentType]
|
|
1848
1848
|
|
|
1849
1849
|
@builtins.property
|
|
1850
1850
|
@jsii.member(jsii_name="globalReplicationGroupIdSuffix")
|
|
@@ -1860,7 +1860,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1860
1860
|
if __debug__:
|
|
1861
1861
|
type_hints = typing.get_type_hints(_typecheckingstub__65acba21207d62e08b1c8c4c4f55ea3089c76799e113952d0b5f8bd4e6ee53d5)
|
|
1862
1862
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1863
|
-
jsii.set(self, "globalReplicationGroupIdSuffix", value)
|
|
1863
|
+
jsii.set(self, "globalReplicationGroupIdSuffix", value) # pyright: ignore[reportArgumentType]
|
|
1864
1864
|
|
|
1865
1865
|
@builtins.property
|
|
1866
1866
|
@jsii.member(jsii_name="regionalConfigurations")
|
|
@@ -1878,7 +1878,7 @@ class CfnGlobalReplicationGroup(
|
|
|
1878
1878
|
if __debug__:
|
|
1879
1879
|
type_hints = typing.get_type_hints(_typecheckingstub__efeee031dd310c05cefd1733ccdb9d7b436fc018669200525c6f11542ae97dac)
|
|
1880
1880
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1881
|
-
jsii.set(self, "regionalConfigurations", value)
|
|
1881
|
+
jsii.set(self, "regionalConfigurations", value) # pyright: ignore[reportArgumentType]
|
|
1882
1882
|
|
|
1883
1883
|
@jsii.data_type(
|
|
1884
1884
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty",
|
|
@@ -2082,7 +2082,7 @@ class CfnGlobalReplicationGroup(
|
|
|
2082
2082
|
) -> None:
|
|
2083
2083
|
'''A list of ``PreferredAvailabilityZones`` objects that specifies the configuration of a node group in the resharded cluster.
|
|
2084
2084
|
|
|
2085
|
-
:param node_group_id: Either the ElastiCache
|
|
2085
|
+
:param node_group_id: Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
|
|
2086
2086
|
:param preferred_availability_zones: A list of preferred availability zones for the nodes in this cluster.
|
|
2087
2087
|
|
|
2088
2088
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-reshardingconfiguration.html
|
|
@@ -2111,7 +2111,7 @@ class CfnGlobalReplicationGroup(
|
|
|
2111
2111
|
|
|
2112
2112
|
@builtins.property
|
|
2113
2113
|
def node_group_id(self) -> typing.Optional[builtins.str]:
|
|
2114
|
-
'''Either the ElastiCache
|
|
2114
|
+
'''Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
|
|
2115
2115
|
|
|
2116
2116
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-reshardingconfiguration.html#cfn-elasticache-globalreplicationgroup-reshardingconfiguration-nodegroupid
|
|
2117
2117
|
'''
|
|
@@ -2173,10 +2173,10 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2173
2173
|
'''Properties for defining a ``CfnGlobalReplicationGroup``.
|
|
2174
2174
|
|
|
2175
2175
|
:param members: The replication groups that comprise the Global datastore.
|
|
2176
|
-
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups.
|
|
2176
|
+
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups.
|
|
2177
2177
|
:param cache_node_type: The cache node type of the Global datastore.
|
|
2178
2178
|
:param cache_parameter_group_name: The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
|
|
2179
|
-
:param engine_version: The Elasticache Redis engine version.
|
|
2179
|
+
:param engine_version: The Elasticache Redis OSS engine version.
|
|
2180
2180
|
:param global_node_group_count: The number of node groups that comprise the Global Datastore.
|
|
2181
2181
|
:param global_replication_group_description: The optional description of the Global datastore.
|
|
2182
2182
|
:param global_replication_group_id_suffix: The suffix name of a Global Datastore. The suffix guarantees uniqueness of the Global Datastore name across multiple regions.
|
|
@@ -2265,7 +2265,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2265
2265
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2266
2266
|
'''Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
|
|
2267
2267
|
|
|
2268
|
-
``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups.
|
|
2268
|
+
``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups.
|
|
2269
2269
|
|
|
2270
2270
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-automaticfailoverenabled
|
|
2271
2271
|
'''
|
|
@@ -2294,7 +2294,7 @@ class CfnGlobalReplicationGroupProps:
|
|
|
2294
2294
|
|
|
2295
2295
|
@builtins.property
|
|
2296
2296
|
def engine_version(self) -> typing.Optional[builtins.str]:
|
|
2297
|
-
'''The Elasticache Redis engine version.
|
|
2297
|
+
'''The Elasticache Redis OSS engine version.
|
|
2298
2298
|
|
|
2299
2299
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-engineversion
|
|
2300
2300
|
'''
|
|
@@ -2458,14 +2458,6 @@ class CfnParameterGroup(
|
|
|
2458
2458
|
'''
|
|
2459
2459
|
return typing.cast(builtins.str, jsii.get(self, "attrCacheParameterGroupName"))
|
|
2460
2460
|
|
|
2461
|
-
@builtins.property
|
|
2462
|
-
@jsii.member(jsii_name="attrId")
|
|
2463
|
-
def attr_id(self) -> builtins.str:
|
|
2464
|
-
'''
|
|
2465
|
-
:cloudformationAttribute: Id
|
|
2466
|
-
'''
|
|
2467
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
2468
|
-
|
|
2469
2461
|
@builtins.property
|
|
2470
2462
|
@jsii.member(jsii_name="cfnProperties")
|
|
2471
2463
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -2488,7 +2480,7 @@ class CfnParameterGroup(
|
|
|
2488
2480
|
if __debug__:
|
|
2489
2481
|
type_hints = typing.get_type_hints(_typecheckingstub__b1c887b1c7836e155f15fbcb98f5393a2b92b4a33873814732bea60f4f1b225f)
|
|
2490
2482
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2491
|
-
jsii.set(self, "cacheParameterGroupFamily", value)
|
|
2483
|
+
jsii.set(self, "cacheParameterGroupFamily", value) # pyright: ignore[reportArgumentType]
|
|
2492
2484
|
|
|
2493
2485
|
@builtins.property
|
|
2494
2486
|
@jsii.member(jsii_name="description")
|
|
@@ -2501,7 +2493,7 @@ class CfnParameterGroup(
|
|
|
2501
2493
|
if __debug__:
|
|
2502
2494
|
type_hints = typing.get_type_hints(_typecheckingstub__131595ea286a946147c38535eb5fcf0537b68b2132e909e191998a1e3f21d5f3)
|
|
2503
2495
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2504
|
-
jsii.set(self, "description", value)
|
|
2496
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
2505
2497
|
|
|
2506
2498
|
@builtins.property
|
|
2507
2499
|
@jsii.member(jsii_name="properties")
|
|
@@ -2519,7 +2511,7 @@ class CfnParameterGroup(
|
|
|
2519
2511
|
if __debug__:
|
|
2520
2512
|
type_hints = typing.get_type_hints(_typecheckingstub__ad995d05e00fe4d7296f16776a975d33eb5d75180391440607e5d71ae30d1f08)
|
|
2521
2513
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2522
|
-
jsii.set(self, "properties", value)
|
|
2514
|
+
jsii.set(self, "properties", value) # pyright: ignore[reportArgumentType]
|
|
2523
2515
|
|
|
2524
2516
|
@builtins.property
|
|
2525
2517
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -2532,7 +2524,7 @@ class CfnParameterGroup(
|
|
|
2532
2524
|
if __debug__:
|
|
2533
2525
|
type_hints = typing.get_type_hints(_typecheckingstub__f00caea2443ab3a4d0d9d2f1836e1d360d238f759643e2af050c00c5ea4f3efb)
|
|
2534
2526
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2535
|
-
jsii.set(self, "tagsRaw", value)
|
|
2527
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
2536
2528
|
|
|
2537
2529
|
|
|
2538
2530
|
@jsii.data_type(
|
|
@@ -2666,13 +2658,13 @@ class CfnReplicationGroup(
|
|
|
2666
2658
|
metaclass=jsii.JSIIMeta,
|
|
2667
2659
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnReplicationGroup",
|
|
2668
2660
|
):
|
|
2669
|
-
'''The ``AWS::ElastiCache::ReplicationGroup`` resource creates an Amazon ElastiCache Redis replication group.
|
|
2661
|
+
'''The ``AWS::ElastiCache::ReplicationGroup`` resource creates an Amazon ElastiCache (Redis OSS) replication group.
|
|
2670
2662
|
|
|
2671
|
-
A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the clusters is a primary read-write cluster and the others are read-only replicas.
|
|
2663
|
+
A Redis OSS (cluster mode disabled) replication group is a collection of cache clusters, where one of the clusters is a primary read-write cluster and the others are read-only replicas.
|
|
2672
2664
|
|
|
2673
|
-
A Redis (cluster mode enabled) cluster is comprised of from 1 to 90 shards (API/CLI: node groups). Each shard has a primary node and up to 5 read-only replica nodes. The configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which is the maximum number or replicas allowed.
|
|
2665
|
+
A Redis OSS (cluster mode enabled) cluster is comprised of from 1 to 90 shards (API/CLI: node groups). Each shard has a primary node and up to 5 read-only replica nodes. The configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which is the maximum number or replicas allowed.
|
|
2674
2666
|
|
|
2675
|
-
The node or shard limit can be increased to a maximum of 500 per cluster if the Redis engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500 shards (single primary and no replicas). Make sure there are enough available IP addresses to accommodate the increase. Common pitfalls include the subnets in the subnet group have too small a CIDR range or the subnets are shared and heavily used by other clusters. For more information, see `Creating a Subnet Group <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SubnetGroups.Creating.html>`_ . For versions below 5.0.6, the limit is 250 per cluster.
|
|
2667
|
+
The node or shard limit can be increased to a maximum of 500 per cluster if the Redis OSS engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500 shards (single primary and no replicas). Make sure there are enough available IP addresses to accommodate the increase. Common pitfalls include the subnets in the subnet group have too small a CIDR range or the subnets are shared and heavily used by other clusters. For more information, see `Creating a Subnet Group <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SubnetGroups.Creating.html>`_ . For versions below 5.0.6, the limit is 250 per cluster.
|
|
2676
2668
|
|
|
2677
2669
|
To request a limit increase, see `Amazon Service Limits <https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html>`_ and choose the limit type *Nodes per cluster per instance type* .
|
|
2678
2670
|
|
|
@@ -2801,28 +2793,28 @@ class CfnReplicationGroup(
|
|
|
2801
2793
|
:param scope: Scope in which this resource is defined.
|
|
2802
2794
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2803
2795
|
:param replication_group_description: A user-created description for the replication group.
|
|
2804
|
-
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group. *Required:* Only available when creating a replication group in an Amazon VPC using
|
|
2805
|
-
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
2806
|
-
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups. Default: false
|
|
2807
|
-
:param auto_minor_version_upgrade: If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
2796
|
+
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group. *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false``
|
|
2797
|
+
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis OSS AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
2798
|
+
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups. Default: false
|
|
2799
|
+
:param auto_minor_version_upgrade: If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
2808
2800
|
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Amazon Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_
|
|
2809
|
-
:param cache_parameter_group_name: The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. - To create a Redis (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` . - To create a Redis (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
2801
|
+
:param cache_parameter_group_name: The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. If you are running Redis OSS version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. - To create a Redis OSS (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` . - To create a Redis OSS (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
2810
2802
|
:param cache_security_group_names: A list of cache security group names to associate with this replication group.
|
|
2811
2803
|
:param cache_subnet_group_name: The name of the cache subnet group to be used for the replication group. .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see `AWS::ElastiCache::SubnetGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html>`_ .
|
|
2812
|
-
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
2804
|
+
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
2813
2805
|
:param data_tiering_enabled: Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html>`_ .
|
|
2814
2806
|
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``Redis`` .
|
|
2815
2807
|
:param engine_version: The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the ``DescribeCacheEngineVersions`` operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SelectEngine.html#VersionManagement>`_ ) in the *ElastiCache User Guide* , but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
2816
2808
|
:param global_replication_group_id: The name of the Global datastore.
|
|
2817
|
-
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
2809
|
+
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
2818
2810
|
:param kms_key_id: The ID of the KMS key used to encrypt the disk on the cluster.
|
|
2819
2811
|
:param log_delivery_configurations: Specifies the destination, format and type of the logs.
|
|
2820
2812
|
:param multi_az_enabled: A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see `Minimizing Downtime: Multi-AZ <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html>`_ .
|
|
2821
|
-
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
2822
|
-
:param node_group_configuration: ``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NodeGroupConfiguration`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NodeGroupConfiguration`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
2813
|
+
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
2814
|
+
:param node_group_configuration: ``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis OSS cluster node group. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NodeGroupConfiguration`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NodeGroupConfiguration`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
2823
2815
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. .. epigraph:: The Amazon SNS topic owner must be the same as the cluster owner.
|
|
2824
2816
|
:param num_cache_clusters: The number of clusters this replication group initially has. This parameter is not used if there is more than one node group (shard). You should use ``ReplicasPerNodeGroup`` instead. If ``AutomaticFailoverEnabled`` is ``true`` , the value of this parameter must be at least 2. If ``AutomaticFailoverEnabled`` is ``false`` you can omit this parameter (it will default to 1), or you can explicitly set it to a value between 2 and 6. The maximum permitted value for ``NumCacheClusters`` is 6 (1 primary plus 5 replicas).
|
|
2825
|
-
:param num_node_groups: An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NumNodeGroups`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NumNodeGroups`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . Default: 1
|
|
2817
|
+
:param num_node_groups: An optional parameter that specifies the number of node groups (shards) for this Redis OSS (cluster mode enabled) replication group. For Redis OSS (cluster mode disabled) either omit this parameter or set it to 1. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NumNodeGroups`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NumNodeGroups`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . Default: 1
|
|
2826
2818
|
:param port: The port number on which each member of the replication group accepts connections.
|
|
2827
2819
|
:param preferred_cache_cluster_a_zs: A list of EC2 Availability Zones in which the replication group's clusters are created. The order of the Availability Zones in the list is the order in which clusters are allocated. The primary cluster is created in the first AZ in the list. This parameter is not used if there is more than one node group (shard). You should use ``NodeGroupConfiguration`` instead. .. epigraph:: If you are creating your replication group in an Amazon VPC (recommended), you can only locate clusters in Availability Zones associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheClusters`` . Default: system chosen Availability Zones.
|
|
2828
2820
|
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
@@ -2830,14 +2822,14 @@ class CfnReplicationGroup(
|
|
|
2830
2822
|
:param replicas_per_node_group: An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5.
|
|
2831
2823
|
:param replication_group_id: The replication group identifier. This parameter is stored as a lowercase string. Constraints: - A name must contain from 1 to 40 alphanumeric characters or hyphens. - The first character must be a letter. - A name cannot end with a hyphen or contain two consecutive hyphens.
|
|
2832
2824
|
:param security_group_ids: One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud (Amazon VPC).
|
|
2833
|
-
:param snapshot_arns: A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter *NumNodeGroups* or the number of node groups configured by *NodeGroupConfiguration* regardless of the number of ARNs specified here. Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
2825
|
+
:param snapshot_arns: A list of Amazon Resource Names (ARN) that uniquely identify the Redis OSS RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter *NumNodeGroups* or the number of node groups configured by *NodeGroupConfiguration* regardless of the number of ARNs specified here. Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
2834
2826
|
:param snapshot_name: The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to ``restoring`` while the new replication group is being created.
|
|
2835
2827
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot that was taken today is retained for 5 days before being deleted. Default: 0 (i.e., automatic backups are disabled for this cluster).
|
|
2836
|
-
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.
|
|
2828
|
+
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis OSS (cluster mode enabled) replication groups.
|
|
2837
2829
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
|
|
2838
2830
|
:param tags: A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key= ``myKey`` , Value= ``myKeyValue`` . You can include multiple tags as shown following: Key= ``myKey`` , Value= ``myKeyValue`` Key= ``mySecondKey`` , Value= ``mySecondKeyValue`` . Tags on replication groups will be replicated to all nodes.
|
|
2839
|
-
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . You cannot modify the value of ``TransitEncryptionEnabled`` after the cluster is created. To enable in-transit encryption on a cluster you must set ``TransitEncryptionEnabled`` to ``true`` when you create a cluster. This parameter is valid only if the ``Engine`` parameter is ``redis`` , the ``EngineVersion`` parameter is ``3.2.6`` or ``4.x`` onward, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . *Required:* Only available when creating a replication group in an Amazon VPC using
|
|
2840
|
-
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
2831
|
+
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . You cannot modify the value of ``TransitEncryptionEnabled`` after the cluster is created. To enable in-transit encryption on a cluster you must set ``TransitEncryptionEnabled`` to ``true`` when you create a cluster. This parameter is valid only if the ``Engine`` parameter is ``redis`` , the ``EngineVersion`` parameter is ``3.2.6`` or ``4.x`` onward, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false`` .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` .
|
|
2832
|
+
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis OSS clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
2841
2833
|
:param user_group_ids: The ID of user group to associate with the replication group.
|
|
2842
2834
|
'''
|
|
2843
2835
|
if __debug__:
|
|
@@ -2925,7 +2917,7 @@ class CfnReplicationGroup(
|
|
|
2925
2917
|
|
|
2926
2918
|
.. epigraph::
|
|
2927
2919
|
|
|
2928
|
-
Redis (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails. For Redis (cluster mode disabled) replication groups, use the ``PrimaryEndpoint`` or ``ReadEndpoint`` attributes.
|
|
2920
|
+
Redis OSS (cluster mode disabled) replication groups don't have this attribute. Therefore, ``Fn::GetAtt`` returns a value for this attribute only if the replication group is clustered. Otherwise, ``Fn::GetAtt`` fails. For Redis OSS (cluster mode disabled) replication groups, use the ``PrimaryEndpoint`` or ``ReadEndpoint`` attributes.
|
|
2929
2921
|
|
|
2930
2922
|
:cloudformationAttribute: ConfigurationEndPoint.Address
|
|
2931
2923
|
'''
|
|
@@ -3042,7 +3034,7 @@ class CfnReplicationGroup(
|
|
|
3042
3034
|
if __debug__:
|
|
3043
3035
|
type_hints = typing.get_type_hints(_typecheckingstub__c907ced1d032518ebc8883a36eb0edf181bc2da76408e75eb584c864b5fefc9a)
|
|
3044
3036
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3045
|
-
jsii.set(self, "replicationGroupDescription", value)
|
|
3037
|
+
jsii.set(self, "replicationGroupDescription", value) # pyright: ignore[reportArgumentType]
|
|
3046
3038
|
|
|
3047
3039
|
@builtins.property
|
|
3048
3040
|
@jsii.member(jsii_name="atRestEncryptionEnabled")
|
|
@@ -3060,7 +3052,7 @@ class CfnReplicationGroup(
|
|
|
3060
3052
|
if __debug__:
|
|
3061
3053
|
type_hints = typing.get_type_hints(_typecheckingstub__aa546aa730ad1a4db1a42606474b6045ffc32ec777b50d6ba31f3dbdab3a48df)
|
|
3062
3054
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3063
|
-
jsii.set(self, "atRestEncryptionEnabled", value)
|
|
3055
|
+
jsii.set(self, "atRestEncryptionEnabled", value) # pyright: ignore[reportArgumentType]
|
|
3064
3056
|
|
|
3065
3057
|
@builtins.property
|
|
3066
3058
|
@jsii.member(jsii_name="authToken")
|
|
@@ -3073,7 +3065,7 @@ class CfnReplicationGroup(
|
|
|
3073
3065
|
if __debug__:
|
|
3074
3066
|
type_hints = typing.get_type_hints(_typecheckingstub__ea5f85de07d00909dedcebd441b02e117efc2077a1e3d87f54c5a27f5206a2f5)
|
|
3075
3067
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3076
|
-
jsii.set(self, "authToken", value)
|
|
3068
|
+
jsii.set(self, "authToken", value) # pyright: ignore[reportArgumentType]
|
|
3077
3069
|
|
|
3078
3070
|
@builtins.property
|
|
3079
3071
|
@jsii.member(jsii_name="automaticFailoverEnabled")
|
|
@@ -3091,14 +3083,14 @@ class CfnReplicationGroup(
|
|
|
3091
3083
|
if __debug__:
|
|
3092
3084
|
type_hints = typing.get_type_hints(_typecheckingstub__b966eb1df615199d14bbc7fd9f3b39c9f4709837783a9a97f8945e6c623dc56d)
|
|
3093
3085
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3094
|
-
jsii.set(self, "automaticFailoverEnabled", value)
|
|
3086
|
+
jsii.set(self, "automaticFailoverEnabled", value) # pyright: ignore[reportArgumentType]
|
|
3095
3087
|
|
|
3096
3088
|
@builtins.property
|
|
3097
3089
|
@jsii.member(jsii_name="autoMinorVersionUpgrade")
|
|
3098
3090
|
def auto_minor_version_upgrade(
|
|
3099
3091
|
self,
|
|
3100
3092
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3101
|
-
'''If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.'''
|
|
3093
|
+
'''If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.'''
|
|
3102
3094
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "autoMinorVersionUpgrade"))
|
|
3103
3095
|
|
|
3104
3096
|
@auto_minor_version_upgrade.setter
|
|
@@ -3109,7 +3101,7 @@ class CfnReplicationGroup(
|
|
|
3109
3101
|
if __debug__:
|
|
3110
3102
|
type_hints = typing.get_type_hints(_typecheckingstub__86b4cffb8c5e43d27133f190ebeba6d314ad935e730a8628bef824306d4d6356)
|
|
3111
3103
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3112
|
-
jsii.set(self, "autoMinorVersionUpgrade", value)
|
|
3104
|
+
jsii.set(self, "autoMinorVersionUpgrade", value) # pyright: ignore[reportArgumentType]
|
|
3113
3105
|
|
|
3114
3106
|
@builtins.property
|
|
3115
3107
|
@jsii.member(jsii_name="cacheNodeType")
|
|
@@ -3122,7 +3114,7 @@ class CfnReplicationGroup(
|
|
|
3122
3114
|
if __debug__:
|
|
3123
3115
|
type_hints = typing.get_type_hints(_typecheckingstub__ed33482a5f3a397014d26a736ced8371cfd5f7dcf12071c4629c9100b4d0c3cc)
|
|
3124
3116
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3125
|
-
jsii.set(self, "cacheNodeType", value)
|
|
3117
|
+
jsii.set(self, "cacheNodeType", value) # pyright: ignore[reportArgumentType]
|
|
3126
3118
|
|
|
3127
3119
|
@builtins.property
|
|
3128
3120
|
@jsii.member(jsii_name="cacheParameterGroupName")
|
|
@@ -3135,7 +3127,7 @@ class CfnReplicationGroup(
|
|
|
3135
3127
|
if __debug__:
|
|
3136
3128
|
type_hints = typing.get_type_hints(_typecheckingstub__62c80def577fbbf2efb0e92fb3bd6946c8ffca559bbc2222843991c0c59a8e05)
|
|
3137
3129
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3138
|
-
jsii.set(self, "cacheParameterGroupName", value)
|
|
3130
|
+
jsii.set(self, "cacheParameterGroupName", value) # pyright: ignore[reportArgumentType]
|
|
3139
3131
|
|
|
3140
3132
|
@builtins.property
|
|
3141
3133
|
@jsii.member(jsii_name="cacheSecurityGroupNames")
|
|
@@ -3151,7 +3143,7 @@ class CfnReplicationGroup(
|
|
|
3151
3143
|
if __debug__:
|
|
3152
3144
|
type_hints = typing.get_type_hints(_typecheckingstub__a35e383106650eefc6c3b806779d5aa3ad36ed505bd7313e11d94c5942d9c7b1)
|
|
3153
3145
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3154
|
-
jsii.set(self, "cacheSecurityGroupNames", value)
|
|
3146
|
+
jsii.set(self, "cacheSecurityGroupNames", value) # pyright: ignore[reportArgumentType]
|
|
3155
3147
|
|
|
3156
3148
|
@builtins.property
|
|
3157
3149
|
@jsii.member(jsii_name="cacheSubnetGroupName")
|
|
@@ -3164,7 +3156,7 @@ class CfnReplicationGroup(
|
|
|
3164
3156
|
if __debug__:
|
|
3165
3157
|
type_hints = typing.get_type_hints(_typecheckingstub__15b7e9b4af342ce71884b10c5713679cc1987727399ee466ef6c6e86653dcb21)
|
|
3166
3158
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3167
|
-
jsii.set(self, "cacheSubnetGroupName", value)
|
|
3159
|
+
jsii.set(self, "cacheSubnetGroupName", value) # pyright: ignore[reportArgumentType]
|
|
3168
3160
|
|
|
3169
3161
|
@builtins.property
|
|
3170
3162
|
@jsii.member(jsii_name="clusterMode")
|
|
@@ -3177,7 +3169,7 @@ class CfnReplicationGroup(
|
|
|
3177
3169
|
if __debug__:
|
|
3178
3170
|
type_hints = typing.get_type_hints(_typecheckingstub__843c2d711df69b9b78c5297321a7377fd4d364b0b8b228ae665fcbdffa0084f2)
|
|
3179
3171
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3180
|
-
jsii.set(self, "clusterMode", value)
|
|
3172
|
+
jsii.set(self, "clusterMode", value) # pyright: ignore[reportArgumentType]
|
|
3181
3173
|
|
|
3182
3174
|
@builtins.property
|
|
3183
3175
|
@jsii.member(jsii_name="dataTieringEnabled")
|
|
@@ -3195,7 +3187,7 @@ class CfnReplicationGroup(
|
|
|
3195
3187
|
if __debug__:
|
|
3196
3188
|
type_hints = typing.get_type_hints(_typecheckingstub__a4366a0fcdd44e261b8f1399689f3ac4bb635223727a5c70ecced2835cb18c15)
|
|
3197
3189
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3198
|
-
jsii.set(self, "dataTieringEnabled", value)
|
|
3190
|
+
jsii.set(self, "dataTieringEnabled", value) # pyright: ignore[reportArgumentType]
|
|
3199
3191
|
|
|
3200
3192
|
@builtins.property
|
|
3201
3193
|
@jsii.member(jsii_name="engine")
|
|
@@ -3208,7 +3200,7 @@ class CfnReplicationGroup(
|
|
|
3208
3200
|
if __debug__:
|
|
3209
3201
|
type_hints = typing.get_type_hints(_typecheckingstub__43efae7f07eb2d768b51436a460dd83ae934b30a7e7cc3f3b825cfd6e5ece68d)
|
|
3210
3202
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3211
|
-
jsii.set(self, "engine", value)
|
|
3203
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
3212
3204
|
|
|
3213
3205
|
@builtins.property
|
|
3214
3206
|
@jsii.member(jsii_name="engineVersion")
|
|
@@ -3221,7 +3213,7 @@ class CfnReplicationGroup(
|
|
|
3221
3213
|
if __debug__:
|
|
3222
3214
|
type_hints = typing.get_type_hints(_typecheckingstub__5337b37fc62ed19c046ae6e4e85b8fe97cdcd4eb2fd571decbfe563e2f9bbcf5)
|
|
3223
3215
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3224
|
-
jsii.set(self, "engineVersion", value)
|
|
3216
|
+
jsii.set(self, "engineVersion", value) # pyright: ignore[reportArgumentType]
|
|
3225
3217
|
|
|
3226
3218
|
@builtins.property
|
|
3227
3219
|
@jsii.member(jsii_name="globalReplicationGroupId")
|
|
@@ -3234,7 +3226,7 @@ class CfnReplicationGroup(
|
|
|
3234
3226
|
if __debug__:
|
|
3235
3227
|
type_hints = typing.get_type_hints(_typecheckingstub__bf74e5c2399e48c43d257f5ef3f61c24fce45668db9e5f6d537ce076f935f780)
|
|
3236
3228
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3237
|
-
jsii.set(self, "globalReplicationGroupId", value)
|
|
3229
|
+
jsii.set(self, "globalReplicationGroupId", value) # pyright: ignore[reportArgumentType]
|
|
3238
3230
|
|
|
3239
3231
|
@builtins.property
|
|
3240
3232
|
@jsii.member(jsii_name="ipDiscovery")
|
|
@@ -3247,7 +3239,7 @@ class CfnReplicationGroup(
|
|
|
3247
3239
|
if __debug__:
|
|
3248
3240
|
type_hints = typing.get_type_hints(_typecheckingstub__ea227ab737c3768eb9268ca4b7aad2a651bd5c80b060dd89e792f94c91fce7f1)
|
|
3249
3241
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3250
|
-
jsii.set(self, "ipDiscovery", value)
|
|
3242
|
+
jsii.set(self, "ipDiscovery", value) # pyright: ignore[reportArgumentType]
|
|
3251
3243
|
|
|
3252
3244
|
@builtins.property
|
|
3253
3245
|
@jsii.member(jsii_name="kmsKeyId")
|
|
@@ -3260,7 +3252,7 @@ class CfnReplicationGroup(
|
|
|
3260
3252
|
if __debug__:
|
|
3261
3253
|
type_hints = typing.get_type_hints(_typecheckingstub__2dda541c47a7be91143fbe227b05e172ef4b46d5657366c1ffff09fbb9c0c5c7)
|
|
3262
3254
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3263
|
-
jsii.set(self, "kmsKeyId", value)
|
|
3255
|
+
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
3264
3256
|
|
|
3265
3257
|
@builtins.property
|
|
3266
3258
|
@jsii.member(jsii_name="logDeliveryConfigurations")
|
|
@@ -3278,7 +3270,7 @@ class CfnReplicationGroup(
|
|
|
3278
3270
|
if __debug__:
|
|
3279
3271
|
type_hints = typing.get_type_hints(_typecheckingstub__c6abdf1dfe7ce2cb6bd74fcf5e71f8d01354d2ebe730f2f8811c7cca3c29115c)
|
|
3280
3272
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3281
|
-
jsii.set(self, "logDeliveryConfigurations", value)
|
|
3273
|
+
jsii.set(self, "logDeliveryConfigurations", value) # pyright: ignore[reportArgumentType]
|
|
3282
3274
|
|
|
3283
3275
|
@builtins.property
|
|
3284
3276
|
@jsii.member(jsii_name="multiAzEnabled")
|
|
@@ -3296,7 +3288,7 @@ class CfnReplicationGroup(
|
|
|
3296
3288
|
if __debug__:
|
|
3297
3289
|
type_hints = typing.get_type_hints(_typecheckingstub__45ea9e8732e19a78795fe185be2450c918f0ad9505938ce18be98a47595e698f)
|
|
3298
3290
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3299
|
-
jsii.set(self, "multiAzEnabled", value)
|
|
3291
|
+
jsii.set(self, "multiAzEnabled", value) # pyright: ignore[reportArgumentType]
|
|
3300
3292
|
|
|
3301
3293
|
@builtins.property
|
|
3302
3294
|
@jsii.member(jsii_name="networkType")
|
|
@@ -3309,14 +3301,14 @@ class CfnReplicationGroup(
|
|
|
3309
3301
|
if __debug__:
|
|
3310
3302
|
type_hints = typing.get_type_hints(_typecheckingstub__83454ca7ec99c5872b43df5ecd3a494e042cd44f7b50d58f4bf1e6e8b660215d)
|
|
3311
3303
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3312
|
-
jsii.set(self, "networkType", value)
|
|
3304
|
+
jsii.set(self, "networkType", value) # pyright: ignore[reportArgumentType]
|
|
3313
3305
|
|
|
3314
3306
|
@builtins.property
|
|
3315
3307
|
@jsii.member(jsii_name="nodeGroupConfiguration")
|
|
3316
3308
|
def node_group_configuration(
|
|
3317
3309
|
self,
|
|
3318
3310
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnReplicationGroup.NodeGroupConfigurationProperty"]]]]:
|
|
3319
|
-
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.'''
|
|
3311
|
+
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis OSS cluster node group.'''
|
|
3320
3312
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnReplicationGroup.NodeGroupConfigurationProperty"]]]], jsii.get(self, "nodeGroupConfiguration"))
|
|
3321
3313
|
|
|
3322
3314
|
@node_group_configuration.setter
|
|
@@ -3327,7 +3319,7 @@ class CfnReplicationGroup(
|
|
|
3327
3319
|
if __debug__:
|
|
3328
3320
|
type_hints = typing.get_type_hints(_typecheckingstub__063232de740d4c4cf752ba9532e0b046f204c4d85a17ea560f3688d5c78d5126)
|
|
3329
3321
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3330
|
-
jsii.set(self, "nodeGroupConfiguration", value)
|
|
3322
|
+
jsii.set(self, "nodeGroupConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
3331
3323
|
|
|
3332
3324
|
@builtins.property
|
|
3333
3325
|
@jsii.member(jsii_name="notificationTopicArn")
|
|
@@ -3340,7 +3332,7 @@ class CfnReplicationGroup(
|
|
|
3340
3332
|
if __debug__:
|
|
3341
3333
|
type_hints = typing.get_type_hints(_typecheckingstub__afad0ef82bb9acf280293dc8234bcbfb68b0aee8e38631e29e8b0f5c0edf6436)
|
|
3342
3334
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3343
|
-
jsii.set(self, "notificationTopicArn", value)
|
|
3335
|
+
jsii.set(self, "notificationTopicArn", value) # pyright: ignore[reportArgumentType]
|
|
3344
3336
|
|
|
3345
3337
|
@builtins.property
|
|
3346
3338
|
@jsii.member(jsii_name="numCacheClusters")
|
|
@@ -3353,12 +3345,12 @@ class CfnReplicationGroup(
|
|
|
3353
3345
|
if __debug__:
|
|
3354
3346
|
type_hints = typing.get_type_hints(_typecheckingstub__3effd0ee3abc632945998cd5c58c40c2e61c166d48aeaff02c46cb4fe172fa68)
|
|
3355
3347
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3356
|
-
jsii.set(self, "numCacheClusters", value)
|
|
3348
|
+
jsii.set(self, "numCacheClusters", value) # pyright: ignore[reportArgumentType]
|
|
3357
3349
|
|
|
3358
3350
|
@builtins.property
|
|
3359
3351
|
@jsii.member(jsii_name="numNodeGroups")
|
|
3360
3352
|
def num_node_groups(self) -> typing.Optional[jsii.Number]:
|
|
3361
|
-
'''An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group.'''
|
|
3353
|
+
'''An optional parameter that specifies the number of node groups (shards) for this Redis OSS (cluster mode enabled) replication group.'''
|
|
3362
3354
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "numNodeGroups"))
|
|
3363
3355
|
|
|
3364
3356
|
@num_node_groups.setter
|
|
@@ -3366,7 +3358,7 @@ class CfnReplicationGroup(
|
|
|
3366
3358
|
if __debug__:
|
|
3367
3359
|
type_hints = typing.get_type_hints(_typecheckingstub__06693a02af2ea54d169b325b01dbc6b4f0fac1ded78e060c7120b709bf82ffd1)
|
|
3368
3360
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3369
|
-
jsii.set(self, "numNodeGroups", value)
|
|
3361
|
+
jsii.set(self, "numNodeGroups", value) # pyright: ignore[reportArgumentType]
|
|
3370
3362
|
|
|
3371
3363
|
@builtins.property
|
|
3372
3364
|
@jsii.member(jsii_name="port")
|
|
@@ -3379,7 +3371,7 @@ class CfnReplicationGroup(
|
|
|
3379
3371
|
if __debug__:
|
|
3380
3372
|
type_hints = typing.get_type_hints(_typecheckingstub__b77a4995911ee86ef96fab9b8d7683bd6b21726901334b6e0f5b1cd65c358352)
|
|
3381
3373
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3382
|
-
jsii.set(self, "port", value)
|
|
3374
|
+
jsii.set(self, "port", value) # pyright: ignore[reportArgumentType]
|
|
3383
3375
|
|
|
3384
3376
|
@builtins.property
|
|
3385
3377
|
@jsii.member(jsii_name="preferredCacheClusterAZs")
|
|
@@ -3397,7 +3389,7 @@ class CfnReplicationGroup(
|
|
|
3397
3389
|
if __debug__:
|
|
3398
3390
|
type_hints = typing.get_type_hints(_typecheckingstub__f3b98acbb3854c5584ac0d1b3f958aaab9acda203560a42576b7da590dd3efbb)
|
|
3399
3391
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3400
|
-
jsii.set(self, "preferredCacheClusterAZs", value)
|
|
3392
|
+
jsii.set(self, "preferredCacheClusterAZs", value) # pyright: ignore[reportArgumentType]
|
|
3401
3393
|
|
|
3402
3394
|
@builtins.property
|
|
3403
3395
|
@jsii.member(jsii_name="preferredMaintenanceWindow")
|
|
@@ -3413,7 +3405,7 @@ class CfnReplicationGroup(
|
|
|
3413
3405
|
if __debug__:
|
|
3414
3406
|
type_hints = typing.get_type_hints(_typecheckingstub__5f06ffee046ee6aaf7c317d0ec481f014335323a835adf240ab1d537b192e36e)
|
|
3415
3407
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3416
|
-
jsii.set(self, "preferredMaintenanceWindow", value)
|
|
3408
|
+
jsii.set(self, "preferredMaintenanceWindow", value) # pyright: ignore[reportArgumentType]
|
|
3417
3409
|
|
|
3418
3410
|
@builtins.property
|
|
3419
3411
|
@jsii.member(jsii_name="primaryClusterId")
|
|
@@ -3426,7 +3418,7 @@ class CfnReplicationGroup(
|
|
|
3426
3418
|
if __debug__:
|
|
3427
3419
|
type_hints = typing.get_type_hints(_typecheckingstub__6512d6a9d409265e09a0a87e261fcba517621c20846549f6b30152801b2e3dee)
|
|
3428
3420
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3429
|
-
jsii.set(self, "primaryClusterId", value)
|
|
3421
|
+
jsii.set(self, "primaryClusterId", value) # pyright: ignore[reportArgumentType]
|
|
3430
3422
|
|
|
3431
3423
|
@builtins.property
|
|
3432
3424
|
@jsii.member(jsii_name="replicasPerNodeGroup")
|
|
@@ -3439,7 +3431,7 @@ class CfnReplicationGroup(
|
|
|
3439
3431
|
if __debug__:
|
|
3440
3432
|
type_hints = typing.get_type_hints(_typecheckingstub__7cf71395d4de3cd4ca74d713e8070b525f88cd095892c0b97826bec127eea35d)
|
|
3441
3433
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3442
|
-
jsii.set(self, "replicasPerNodeGroup", value)
|
|
3434
|
+
jsii.set(self, "replicasPerNodeGroup", value) # pyright: ignore[reportArgumentType]
|
|
3443
3435
|
|
|
3444
3436
|
@builtins.property
|
|
3445
3437
|
@jsii.member(jsii_name="replicationGroupId")
|
|
@@ -3455,7 +3447,7 @@ class CfnReplicationGroup(
|
|
|
3455
3447
|
if __debug__:
|
|
3456
3448
|
type_hints = typing.get_type_hints(_typecheckingstub__5e382d1b245c43974606107b80af8da9323e7d5a4ec30a874e85fd0d8383a979)
|
|
3457
3449
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3458
|
-
jsii.set(self, "replicationGroupId", value)
|
|
3450
|
+
jsii.set(self, "replicationGroupId", value) # pyright: ignore[reportArgumentType]
|
|
3459
3451
|
|
|
3460
3452
|
@builtins.property
|
|
3461
3453
|
@jsii.member(jsii_name="securityGroupIds")
|
|
@@ -3471,12 +3463,12 @@ class CfnReplicationGroup(
|
|
|
3471
3463
|
if __debug__:
|
|
3472
3464
|
type_hints = typing.get_type_hints(_typecheckingstub__f4bf0b926d5ed122589bca93144684bbbc765d5b48d2b43dc65e20ac75999870)
|
|
3473
3465
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3474
|
-
jsii.set(self, "securityGroupIds", value)
|
|
3466
|
+
jsii.set(self, "securityGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
3475
3467
|
|
|
3476
3468
|
@builtins.property
|
|
3477
3469
|
@jsii.member(jsii_name="snapshotArns")
|
|
3478
3470
|
def snapshot_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3479
|
-
'''A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3.'''
|
|
3471
|
+
'''A list of Amazon Resource Names (ARN) that uniquely identify the Redis OSS RDB snapshot files stored in Amazon S3.'''
|
|
3480
3472
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "snapshotArns"))
|
|
3481
3473
|
|
|
3482
3474
|
@snapshot_arns.setter
|
|
@@ -3484,7 +3476,7 @@ class CfnReplicationGroup(
|
|
|
3484
3476
|
if __debug__:
|
|
3485
3477
|
type_hints = typing.get_type_hints(_typecheckingstub__402bbedebe63e1639250243d98564e9d2abaf2ea4be044a6e822afb9573ba83b)
|
|
3486
3478
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3487
|
-
jsii.set(self, "snapshotArns", value)
|
|
3479
|
+
jsii.set(self, "snapshotArns", value) # pyright: ignore[reportArgumentType]
|
|
3488
3480
|
|
|
3489
3481
|
@builtins.property
|
|
3490
3482
|
@jsii.member(jsii_name="snapshotName")
|
|
@@ -3497,7 +3489,7 @@ class CfnReplicationGroup(
|
|
|
3497
3489
|
if __debug__:
|
|
3498
3490
|
type_hints = typing.get_type_hints(_typecheckingstub__cf64b55611f1dcd1385926cc1344d345fe6bb1210d40fc47034fe65bbdb3da34)
|
|
3499
3491
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3500
|
-
jsii.set(self, "snapshotName", value)
|
|
3492
|
+
jsii.set(self, "snapshotName", value) # pyright: ignore[reportArgumentType]
|
|
3501
3493
|
|
|
3502
3494
|
@builtins.property
|
|
3503
3495
|
@jsii.member(jsii_name="snapshotRetentionLimit")
|
|
@@ -3510,7 +3502,7 @@ class CfnReplicationGroup(
|
|
|
3510
3502
|
if __debug__:
|
|
3511
3503
|
type_hints = typing.get_type_hints(_typecheckingstub__9ca3b912d486d6471befbdcc0a4f6371d9c6d4fce14489c5c146523f37b67d03)
|
|
3512
3504
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3513
|
-
jsii.set(self, "snapshotRetentionLimit", value)
|
|
3505
|
+
jsii.set(self, "snapshotRetentionLimit", value) # pyright: ignore[reportArgumentType]
|
|
3514
3506
|
|
|
3515
3507
|
@builtins.property
|
|
3516
3508
|
@jsii.member(jsii_name="snapshottingClusterId")
|
|
@@ -3523,7 +3515,7 @@ class CfnReplicationGroup(
|
|
|
3523
3515
|
if __debug__:
|
|
3524
3516
|
type_hints = typing.get_type_hints(_typecheckingstub__04e859b223e2f5a28ae2572ed09bf8cef9bbf00ed7571a437a364307bc63f338)
|
|
3525
3517
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3526
|
-
jsii.set(self, "snapshottingClusterId", value)
|
|
3518
|
+
jsii.set(self, "snapshottingClusterId", value) # pyright: ignore[reportArgumentType]
|
|
3527
3519
|
|
|
3528
3520
|
@builtins.property
|
|
3529
3521
|
@jsii.member(jsii_name="snapshotWindow")
|
|
@@ -3536,7 +3528,7 @@ class CfnReplicationGroup(
|
|
|
3536
3528
|
if __debug__:
|
|
3537
3529
|
type_hints = typing.get_type_hints(_typecheckingstub__7eca3a583f11466198815da8e0f733144c677e601f7fbc08ff2f53b0f251ce1c)
|
|
3538
3530
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3539
|
-
jsii.set(self, "snapshotWindow", value)
|
|
3531
|
+
jsii.set(self, "snapshotWindow", value) # pyright: ignore[reportArgumentType]
|
|
3540
3532
|
|
|
3541
3533
|
@builtins.property
|
|
3542
3534
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -3549,7 +3541,7 @@ class CfnReplicationGroup(
|
|
|
3549
3541
|
if __debug__:
|
|
3550
3542
|
type_hints = typing.get_type_hints(_typecheckingstub__dd34df081f3adeec74e0b10c42a2c6579d5328d707ac88af6a4c22338f3c9035)
|
|
3551
3543
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3552
|
-
jsii.set(self, "tagsRaw", value)
|
|
3544
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
3553
3545
|
|
|
3554
3546
|
@builtins.property
|
|
3555
3547
|
@jsii.member(jsii_name="transitEncryptionEnabled")
|
|
@@ -3567,7 +3559,7 @@ class CfnReplicationGroup(
|
|
|
3567
3559
|
if __debug__:
|
|
3568
3560
|
type_hints = typing.get_type_hints(_typecheckingstub__4af0273d0b69e8bd3f65054f8d56651f1f9d315c9e60fa092dd4b8e4e8844e85)
|
|
3569
3561
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3570
|
-
jsii.set(self, "transitEncryptionEnabled", value)
|
|
3562
|
+
jsii.set(self, "transitEncryptionEnabled", value) # pyright: ignore[reportArgumentType]
|
|
3571
3563
|
|
|
3572
3564
|
@builtins.property
|
|
3573
3565
|
@jsii.member(jsii_name="transitEncryptionMode")
|
|
@@ -3580,7 +3572,7 @@ class CfnReplicationGroup(
|
|
|
3580
3572
|
if __debug__:
|
|
3581
3573
|
type_hints = typing.get_type_hints(_typecheckingstub__e42c150539724e50fcb5c3e35f3cc6d260890eb3e8dedeaaac606a9539b75a56)
|
|
3582
3574
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3583
|
-
jsii.set(self, "transitEncryptionMode", value)
|
|
3575
|
+
jsii.set(self, "transitEncryptionMode", value) # pyright: ignore[reportArgumentType]
|
|
3584
3576
|
|
|
3585
3577
|
@builtins.property
|
|
3586
3578
|
@jsii.member(jsii_name="userGroupIds")
|
|
@@ -3593,7 +3585,7 @@ class CfnReplicationGroup(
|
|
|
3593
3585
|
if __debug__:
|
|
3594
3586
|
type_hints = typing.get_type_hints(_typecheckingstub__52e181f655740159c1c7f60264045e188418edbe6d092594dbf15cce26263f01)
|
|
3595
3587
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3596
|
-
jsii.set(self, "userGroupIds", value)
|
|
3588
|
+
jsii.set(self, "userGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
3597
3589
|
|
|
3598
3590
|
@jsii.data_type(
|
|
3599
3591
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnReplicationGroup.CloudWatchLogsDestinationDetailsProperty",
|
|
@@ -3926,9 +3918,9 @@ class CfnReplicationGroup(
|
|
|
3926
3918
|
replica_count: typing.Optional[jsii.Number] = None,
|
|
3927
3919
|
slots: typing.Optional[builtins.str] = None,
|
|
3928
3920
|
) -> None:
|
|
3929
|
-
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.
|
|
3921
|
+
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis OSS cluster node group.
|
|
3930
3922
|
|
|
3931
|
-
:param node_group_id: Either the ElastiCache
|
|
3923
|
+
:param node_group_id: Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
|
|
3932
3924
|
:param primary_availability_zone: The Availability Zone where the primary node of this node group (shard) is launched.
|
|
3933
3925
|
:param replica_availability_zones: A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ``ReplicaCount`` or ``ReplicasPerNodeGroup`` if not specified.
|
|
3934
3926
|
:param replica_count: The number of read replica nodes in this node group (shard).
|
|
@@ -3972,7 +3964,7 @@ class CfnReplicationGroup(
|
|
|
3972
3964
|
|
|
3973
3965
|
@builtins.property
|
|
3974
3966
|
def node_group_id(self) -> typing.Optional[builtins.str]:
|
|
3975
|
-
'''Either the ElastiCache
|
|
3967
|
+
'''Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
|
|
3976
3968
|
|
|
3977
3969
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-nodegroupid
|
|
3978
3970
|
'''
|
|
@@ -4129,28 +4121,28 @@ class CfnReplicationGroupProps:
|
|
|
4129
4121
|
'''Properties for defining a ``CfnReplicationGroup``.
|
|
4130
4122
|
|
|
4131
4123
|
:param replication_group_description: A user-created description for the replication group.
|
|
4132
|
-
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group. *Required:* Only available when creating a replication group in an Amazon VPC using
|
|
4133
|
-
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4134
|
-
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups. Default: false
|
|
4135
|
-
:param auto_minor_version_upgrade: If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
4124
|
+
:param at_rest_encryption_enabled: A flag that enables encryption at rest when set to ``true`` . You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group. *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false``
|
|
4125
|
+
:param auth_token: *Reserved parameter.* The password used to access a password protected server. ``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis OSS AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ . .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` . Password constraints: - Must be only printable ASCII characters. - Must be at least 16 characters and no more than 128 characters in length. - Nonalphanumeric characters are restricted to (!, &, #, $, ^, <, >, -, ). For more information, see `AUTH password <https://docs.aws.amazon.com/http://redis.io/commands/AUTH>`_ at http://redis.io/commands/AUTH. .. epigraph:: If ADDING the AuthToken, update requires `Replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4126
|
+
:param automatic_failover_enabled: Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails. ``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups. Default: false
|
|
4127
|
+
:param auto_minor_version_upgrade: If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
4136
4128
|
:param cache_node_type: The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. - General purpose: - Current generation: *M6g node types:* ``cache.m6g.large`` , ``cache.m6g.xlarge`` , ``cache.m6g.2xlarge`` , ``cache.m6g.4xlarge`` , ``cache.m6g.12xlarge`` , ``cache.m6g.24xlarge`` *M5 node types:* ``cache.m5.large`` , ``cache.m5.xlarge`` , ``cache.m5.2xlarge`` , ``cache.m5.4xlarge`` , ``cache.m5.12xlarge`` , ``cache.m5.24xlarge`` *M4 node types:* ``cache.m4.large`` , ``cache.m4.xlarge`` , ``cache.m4.2xlarge`` , ``cache.m4.4xlarge`` , ``cache.m4.10xlarge`` *T4g node types:* ``cache.t4g.micro`` , ``cache.t4g.small`` , ``cache.t4g.medium`` *T3 node types:* ``cache.t3.micro`` , ``cache.t3.small`` , ``cache.t3.medium`` *T2 node types:* ``cache.t2.micro`` , ``cache.t2.small`` , ``cache.t2.medium`` - Previous generation: (not recommended) *T1 node types:* ``cache.t1.micro`` *M1 node types:* ``cache.m1.small`` , ``cache.m1.medium`` , ``cache.m1.large`` , ``cache.m1.xlarge`` *M3 node types:* ``cache.m3.medium`` , ``cache.m3.large`` , ``cache.m3.xlarge`` , ``cache.m3.2xlarge`` - Compute optimized: - Previous generation: (not recommended) *C1 node types:* ``cache.c1.xlarge`` - Memory optimized: - Current generation: *R6gd node types:* ``cache.r6gd.xlarge`` , ``cache.r6gd.2xlarge`` , ``cache.r6gd.4xlarge`` , ``cache.r6gd.8xlarge`` , ``cache.r6gd.12xlarge`` , ``cache.r6gd.16xlarge`` .. epigraph:: The ``r6gd`` family is available in the following regions: ``us-east-2`` , ``us-east-1`` , ``us-west-2`` , ``us-west-1`` , ``eu-west-1`` , ``eu-central-1`` , ``ap-northeast-1`` , ``ap-southeast-1`` , ``ap-southeast-2`` . *R6g node types:* ``cache.r6g.large`` , ``cache.r6g.xlarge`` , ``cache.r6g.2xlarge`` , ``cache.r6g.4xlarge`` , ``cache.r6g.12xlarge`` , ``cache.r6g.24xlarge`` *R5 node types:* ``cache.r5.large`` , ``cache.r5.xlarge`` , ``cache.r5.2xlarge`` , ``cache.r5.4xlarge`` , ``cache.r5.12xlarge`` , ``cache.r5.24xlarge`` *R4 node types:* ``cache.r4.large`` , ``cache.r4.xlarge`` , ``cache.r4.2xlarge`` , ``cache.r4.4xlarge`` , ``cache.r4.8xlarge`` , ``cache.r4.16xlarge`` - Previous generation: (not recommended) *M2 node types:* ``cache.m2.xlarge`` , ``cache.m2.2xlarge`` , ``cache.m2.4xlarge`` *R3 node types:* ``cache.r3.large`` , ``cache.r3.xlarge`` , ``cache.r3.2xlarge`` , ``cache.r3.4xlarge`` , ``cache.r3.8xlarge`` For region availability, see `Supported Node Types by Amazon Region <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion>`_
|
|
4137
|
-
:param cache_parameter_group_name: The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. - To create a Redis (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` . - To create a Redis (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
4129
|
+
:param cache_parameter_group_name: The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. If you are running Redis OSS version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. - To create a Redis OSS (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` . - To create a Redis OSS (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
4138
4130
|
:param cache_security_group_names: A list of cache security group names to associate with this replication group.
|
|
4139
4131
|
:param cache_subnet_group_name: The name of the cache subnet group to be used for the replication group. .. epigraph:: If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see `AWS::ElastiCache::SubnetGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html>`_ .
|
|
4140
|
-
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
4132
|
+
:param cluster_mode: Enabled or Disabled. To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
4141
4133
|
:param data_tiering_enabled: Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see `Data tiering <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html>`_ .
|
|
4142
4134
|
:param engine: The name of the cache engine to be used for the clusters in this replication group. The value must be set to ``Redis`` .
|
|
4143
4135
|
:param engine_version: The version number of the cache engine to be used for the clusters in this replication group. To view the supported cache engine versions, use the ``DescribeCacheEngineVersions`` operation. *Important:* You can upgrade to a newer engine version (see `Selecting a Cache Engine and Version <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SelectEngine.html#VersionManagement>`_ ) in the *ElastiCache User Guide* , but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster or replication group and create it anew with the earlier engine version.
|
|
4144
4136
|
:param global_replication_group_id: The name of the Global datastore.
|
|
4145
|
-
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4137
|
+
:param ip_discovery: The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4146
4138
|
:param kms_key_id: The ID of the KMS key used to encrypt the disk on the cluster.
|
|
4147
4139
|
:param log_delivery_configurations: Specifies the destination, format and type of the logs.
|
|
4148
4140
|
:param multi_az_enabled: A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see `Minimizing Downtime: Multi-AZ <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html>`_ .
|
|
4149
|
-
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4150
|
-
:param node_group_configuration: ``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NodeGroupConfiguration`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NodeGroupConfiguration`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4141
|
+
:param network_type: Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` . IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4142
|
+
:param node_group_configuration: ``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis OSS cluster node group. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NodeGroupConfiguration`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NodeGroupConfiguration`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4151
4143
|
:param notification_topic_arn: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. .. epigraph:: The Amazon SNS topic owner must be the same as the cluster owner.
|
|
4152
4144
|
:param num_cache_clusters: The number of clusters this replication group initially has. This parameter is not used if there is more than one node group (shard). You should use ``ReplicasPerNodeGroup`` instead. If ``AutomaticFailoverEnabled`` is ``true`` , the value of this parameter must be at least 2. If ``AutomaticFailoverEnabled`` is ``false`` you can omit this parameter (it will default to 1), or you can explicitly set it to a value between 2 and 6. The maximum permitted value for ``NumCacheClusters`` is 6 (1 primary plus 5 replicas).
|
|
4153
|
-
:param num_node_groups: An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NumNodeGroups`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NumNodeGroups`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . Default: 1
|
|
4145
|
+
:param num_node_groups: An optional parameter that specifies the number of node groups (shards) for this Redis OSS (cluster mode enabled) replication group. For Redis OSS (cluster mode disabled) either omit this parameter or set it to 1. If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NumNodeGroups`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NumNodeGroups`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ . Default: 1
|
|
4154
4146
|
:param port: The port number on which each member of the replication group accepts connections.
|
|
4155
4147
|
:param preferred_cache_cluster_a_zs: A list of EC2 Availability Zones in which the replication group's clusters are created. The order of the Availability Zones in the list is the order in which clusters are allocated. The primary cluster is created in the first AZ in the list. This parameter is not used if there is more than one node group (shard). You should use ``NodeGroupConfiguration`` instead. .. epigraph:: If you are creating your replication group in an Amazon VPC (recommended), you can only locate clusters in Availability Zones associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheClusters`` . Default: system chosen Availability Zones.
|
|
4156
4148
|
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
@@ -4158,14 +4150,14 @@ class CfnReplicationGroupProps:
|
|
|
4158
4150
|
:param replicas_per_node_group: An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5.
|
|
4159
4151
|
:param replication_group_id: The replication group identifier. This parameter is stored as a lowercase string. Constraints: - A name must contain from 1 to 40 alphanumeric characters or hyphens. - The first character must be a letter. - A name cannot end with a hyphen or contain two consecutive hyphens.
|
|
4160
4152
|
:param security_group_ids: One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud (Amazon VPC).
|
|
4161
|
-
:param snapshot_arns: A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter *NumNodeGroups* or the number of node groups configured by *NodeGroupConfiguration* regardless of the number of ARNs specified here. Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
4153
|
+
:param snapshot_arns: A list of Amazon Resource Names (ARN) that uniquely identify the Redis OSS RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter *NumNodeGroups* or the number of node groups configured by *NodeGroupConfiguration* regardless of the number of ARNs specified here. Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
4162
4154
|
:param snapshot_name: The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to ``restoring`` while the new replication group is being created.
|
|
4163
4155
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot that was taken today is retained for 5 days before being deleted. Default: 0 (i.e., automatic backups are disabled for this cluster).
|
|
4164
|
-
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.
|
|
4156
|
+
:param snapshotting_cluster_id: The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis OSS (cluster mode enabled) replication groups.
|
|
4165
4157
|
:param snapshot_window: The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard). Example: ``05:00-09:00`` If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
|
|
4166
4158
|
:param tags: A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key= ``myKey`` , Value= ``myKeyValue`` . You can include multiple tags as shown following: Key= ``myKey`` , Value= ``myKeyValue`` Key= ``mySecondKey`` , Value= ``mySecondKeyValue`` . Tags on replication groups will be replicated to all nodes.
|
|
4167
|
-
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . You cannot modify the value of ``TransitEncryptionEnabled`` after the cluster is created. To enable in-transit encryption on a cluster you must set ``TransitEncryptionEnabled`` to ``true`` when you create a cluster. This parameter is valid only if the ``Engine`` parameter is ``redis`` , the ``EngineVersion`` parameter is ``3.2.6`` or ``4.x`` onward, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . *Required:* Only available when creating a replication group in an Amazon VPC using
|
|
4168
|
-
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
4159
|
+
:param transit_encryption_enabled: A flag that enables in-transit encryption when set to ``true`` . You cannot modify the value of ``TransitEncryptionEnabled`` after the cluster is created. To enable in-transit encryption on a cluster you must set ``TransitEncryptionEnabled`` to ``true`` when you create a cluster. This parameter is valid only if the ``Engine`` parameter is ``redis`` , the ``EngineVersion`` parameter is ``3.2.6`` or ``4.x`` onward, and the cluster is being created in an Amazon VPC. If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` . *Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward. Default: ``false`` .. epigraph:: For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` .
|
|
4160
|
+
:param transit_encryption_mode: A setting that allows you to migrate your clients to use in-transit encryption, with no downtime. When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis OSS clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only. Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` . This process will not trigger the replacement of the replication group.
|
|
4169
4161
|
:param user_group_ids: The ID of user group to associate with the replication group.
|
|
4170
4162
|
|
|
4171
4163
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html
|
|
@@ -4381,7 +4373,7 @@ class CfnReplicationGroupProps:
|
|
|
4381
4373
|
|
|
4382
4374
|
You cannot modify the value of ``AtRestEncryptionEnabled`` after the replication group is created. To enable encryption at rest on a replication group you must set ``AtRestEncryptionEnabled`` to ``true`` when you create the replication group.
|
|
4383
4375
|
|
|
4384
|
-
*Required:* Only available when creating a replication group in an Amazon VPC using
|
|
4376
|
+
*Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward.
|
|
4385
4377
|
|
|
4386
4378
|
Default: ``false``
|
|
4387
4379
|
|
|
@@ -4394,7 +4386,7 @@ class CfnReplicationGroupProps:
|
|
|
4394
4386
|
def auth_token(self) -> typing.Optional[builtins.str]:
|
|
4395
4387
|
'''*Reserved parameter.* The password used to access a password protected server.
|
|
4396
4388
|
|
|
4397
|
-
``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ .
|
|
4389
|
+
``AuthToken`` can be specified only on replication groups where ``TransitEncryptionEnabled`` is ``true`` . For more information, see `Authenticating Users with the Redis OSS AUTH Command <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html>`_ .
|
|
4398
4390
|
.. epigraph::
|
|
4399
4391
|
|
|
4400
4392
|
For HIPAA compliance, you must specify ``TransitEncryptionEnabled`` as ``true`` , an ``AuthToken`` , and a ``CacheSubnetGroup`` .
|
|
@@ -4421,7 +4413,7 @@ class CfnReplicationGroupProps:
|
|
|
4421
4413
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4422
4414
|
'''Specifies whether a read-only replica is automatically promoted to read/write primary if the existing primary fails.
|
|
4423
4415
|
|
|
4424
|
-
``AutomaticFailoverEnabled`` must be enabled for Redis (cluster mode enabled) replication groups.
|
|
4416
|
+
``AutomaticFailoverEnabled`` must be enabled for Redis OSS (cluster mode enabled) replication groups.
|
|
4425
4417
|
|
|
4426
4418
|
Default: false
|
|
4427
4419
|
|
|
@@ -4434,7 +4426,7 @@ class CfnReplicationGroupProps:
|
|
|
4434
4426
|
def auto_minor_version_upgrade(
|
|
4435
4427
|
self,
|
|
4436
4428
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4437
|
-
'''If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
4429
|
+
'''If you are running Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next minor version upgrade campaign. This parameter is disabled for previous versions.
|
|
4438
4430
|
|
|
4439
4431
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-autominorversionupgrade
|
|
4440
4432
|
'''
|
|
@@ -4508,10 +4500,10 @@ class CfnReplicationGroupProps:
|
|
|
4508
4500
|
|
|
4509
4501
|
If this argument is omitted, the default cache parameter group for the specified engine is used.
|
|
4510
4502
|
|
|
4511
|
-
If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name.
|
|
4503
|
+
If you are running Redis OSS version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name.
|
|
4512
4504
|
|
|
4513
|
-
- To create a Redis (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` .
|
|
4514
|
-
- To create a Redis (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
4505
|
+
- To create a Redis OSS (cluster mode disabled) replication group, use ``CacheParameterGroupName=default.redis3.2`` .
|
|
4506
|
+
- To create a Redis OSS (cluster mode enabled) replication group, use ``CacheParameterGroupName=default.redis3.2.cluster.on`` .
|
|
4515
4507
|
|
|
4516
4508
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-cacheparametergroupname
|
|
4517
4509
|
'''
|
|
@@ -4544,7 +4536,7 @@ class CfnReplicationGroupProps:
|
|
|
4544
4536
|
def cluster_mode(self) -> typing.Optional[builtins.str]:
|
|
4545
4537
|
'''Enabled or Disabled.
|
|
4546
4538
|
|
|
4547
|
-
To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
4539
|
+
To modify cluster mode from Disabled to Enabled, you must first set the cluster mode to Compatible. Compatible mode allows your Redis OSS clients to connect using both cluster mode enabled and cluster mode disabled. After you migrate all Redis OSS clients to use cluster mode enabled, you can then complete cluster mode configuration and set the cluster mode to Enabled. For more information, see `Modify cluster mode <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/modify-cluster-mode.html>`_ .
|
|
4548
4540
|
|
|
4549
4541
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-clustermode
|
|
4550
4542
|
'''
|
|
@@ -4601,7 +4593,7 @@ class CfnReplicationGroupProps:
|
|
|
4601
4593
|
def ip_discovery(self) -> typing.Optional[builtins.str]:
|
|
4602
4594
|
'''The network type you choose when creating a replication group, either ``ipv4`` | ``ipv6`` .
|
|
4603
4595
|
|
|
4604
|
-
IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4596
|
+
IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4605
4597
|
|
|
4606
4598
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-ipdiscovery
|
|
4607
4599
|
'''
|
|
@@ -4645,7 +4637,7 @@ class CfnReplicationGroupProps:
|
|
|
4645
4637
|
def network_type(self) -> typing.Optional[builtins.str]:
|
|
4646
4638
|
'''Must be either ``ipv4`` | ``ipv6`` | ``dual_stack`` .
|
|
4647
4639
|
|
|
4648
|
-
IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4640
|
+
IPv6 is supported for workloads using Redis OSS engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the `Nitro system <https://docs.aws.amazon.com/ec2/nitro/>`_ .
|
|
4649
4641
|
|
|
4650
4642
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-networktype
|
|
4651
4643
|
'''
|
|
@@ -4656,7 +4648,7 @@ class CfnReplicationGroupProps:
|
|
|
4656
4648
|
def node_group_configuration(
|
|
4657
4649
|
self,
|
|
4658
4650
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnReplicationGroup.NodeGroupConfigurationProperty]]]]:
|
|
4659
|
-
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group.
|
|
4651
|
+
'''``NodeGroupConfiguration`` is a property of the ``AWS::ElastiCache::ReplicationGroup`` resource that configures an Amazon ElastiCache (ElastiCache) Redis OSS cluster node group.
|
|
4660
4652
|
|
|
4661
4653
|
If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NodeGroupConfiguration`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NodeGroupConfiguration`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4662
4654
|
|
|
@@ -4695,9 +4687,9 @@ class CfnReplicationGroupProps:
|
|
|
4695
4687
|
|
|
4696
4688
|
@builtins.property
|
|
4697
4689
|
def num_node_groups(self) -> typing.Optional[jsii.Number]:
|
|
4698
|
-
'''An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group.
|
|
4690
|
+
'''An optional parameter that specifies the number of node groups (shards) for this Redis OSS (cluster mode enabled) replication group.
|
|
4699
4691
|
|
|
4700
|
-
For Redis (cluster mode disabled) either omit this parameter or set it to 1.
|
|
4692
|
+
For Redis OSS (cluster mode disabled) either omit this parameter or set it to 1.
|
|
4701
4693
|
|
|
4702
4694
|
If you set `UseOnlineResharding <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-useonlineresharding>`_ to ``true`` , you can update ``NumNodeGroups`` without interruption. When ``UseOnlineResharding`` is set to ``false`` , or is not specified, updating ``NumNodeGroups`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4703
4695
|
|
|
@@ -4814,7 +4806,7 @@ class CfnReplicationGroupProps:
|
|
|
4814
4806
|
|
|
4815
4807
|
@builtins.property
|
|
4816
4808
|
def snapshot_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4817
|
-
'''A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3.
|
|
4809
|
+
'''A list of Amazon Resource Names (ARN) that uniquely identify the Redis OSS RDB snapshot files stored in Amazon S3.
|
|
4818
4810
|
|
|
4819
4811
|
The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter *NumNodeGroups* or the number of node groups configured by *NodeGroupConfiguration* regardless of the number of ARNs specified here.
|
|
4820
4812
|
|
|
@@ -4853,7 +4845,7 @@ class CfnReplicationGroupProps:
|
|
|
4853
4845
|
def snapshotting_cluster_id(self) -> typing.Optional[builtins.str]:
|
|
4854
4846
|
'''The cluster ID that is used as the daily snapshot source for the replication group.
|
|
4855
4847
|
|
|
4856
|
-
This parameter cannot be set for Redis (cluster mode enabled) replication groups.
|
|
4848
|
+
This parameter cannot be set for Redis OSS (cluster mode enabled) replication groups.
|
|
4857
4849
|
|
|
4858
4850
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshottingclusterid
|
|
4859
4851
|
'''
|
|
@@ -4896,7 +4888,7 @@ class CfnReplicationGroupProps:
|
|
|
4896
4888
|
|
|
4897
4889
|
If you enable in-transit encryption, you must also specify a value for ``CacheSubnetGroup`` .
|
|
4898
4890
|
|
|
4899
|
-
*Required:* Only available when creating a replication group in an Amazon VPC using
|
|
4891
|
+
*Required:* Only available when creating a replication group in an Amazon VPC using Redis OSS version ``3.2.6`` or ``4.x`` onward.
|
|
4900
4892
|
|
|
4901
4893
|
Default: ``false``
|
|
4902
4894
|
.. epigraph::
|
|
@@ -4912,7 +4904,7 @@ class CfnReplicationGroupProps:
|
|
|
4912
4904
|
def transit_encryption_mode(self) -> typing.Optional[builtins.str]:
|
|
4913
4905
|
'''A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.
|
|
4914
4906
|
|
|
4915
|
-
When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only.
|
|
4907
|
+
When setting ``TransitEncryptionEnabled`` to ``true`` , you can set your ``TransitEncryptionMode`` to ``preferred`` in the same request, to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis OSS clients to use encrypted connections you can modify the value to ``required`` to allow encrypted connections only.
|
|
4916
4908
|
|
|
4917
4909
|
Setting ``TransitEncryptionMode`` to ``required`` is a two-step process that requires you to first set the ``TransitEncryptionMode`` to ``preferred`` , after that you can set ``TransitEncryptionMode`` to ``required`` .
|
|
4918
4910
|
|
|
@@ -5059,7 +5051,7 @@ class CfnSecurityGroup(
|
|
|
5059
5051
|
if __debug__:
|
|
5060
5052
|
type_hints = typing.get_type_hints(_typecheckingstub__8a58aa3e47b676ffbd43668bc6e1d2c79b30df11d4e23ee80c4bdefdb1e2e460)
|
|
5061
5053
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5062
|
-
jsii.set(self, "description", value)
|
|
5054
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
5063
5055
|
|
|
5064
5056
|
@builtins.property
|
|
5065
5057
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -5072,7 +5064,7 @@ class CfnSecurityGroup(
|
|
|
5072
5064
|
if __debug__:
|
|
5073
5065
|
type_hints = typing.get_type_hints(_typecheckingstub__8d0db95241a79cc90ce9ac36752f3ee20a66c04797f992822d1387e95ab0d3dc)
|
|
5074
5066
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5075
|
-
jsii.set(self, "tagsRaw", value)
|
|
5067
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
5076
5068
|
|
|
5077
5069
|
|
|
5078
5070
|
@jsii.implements(_IInspectable_c2943556)
|
|
@@ -5189,7 +5181,7 @@ class CfnSecurityGroupIngress(
|
|
|
5189
5181
|
if __debug__:
|
|
5190
5182
|
type_hints = typing.get_type_hints(_typecheckingstub__439c20ee90e3a27653353314240f9637cdf95b53b1cd23e4aaec9d21b5d568c9)
|
|
5191
5183
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5192
|
-
jsii.set(self, "cacheSecurityGroupName", value)
|
|
5184
|
+
jsii.set(self, "cacheSecurityGroupName", value) # pyright: ignore[reportArgumentType]
|
|
5193
5185
|
|
|
5194
5186
|
@builtins.property
|
|
5195
5187
|
@jsii.member(jsii_name="ec2SecurityGroupName")
|
|
@@ -5202,7 +5194,7 @@ class CfnSecurityGroupIngress(
|
|
|
5202
5194
|
if __debug__:
|
|
5203
5195
|
type_hints = typing.get_type_hints(_typecheckingstub__0abb1fc13eea94e08b452064202975643af441a003c80b20a2dd84ee151b33ab)
|
|
5204
5196
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5205
|
-
jsii.set(self, "ec2SecurityGroupName", value)
|
|
5197
|
+
jsii.set(self, "ec2SecurityGroupName", value) # pyright: ignore[reportArgumentType]
|
|
5206
5198
|
|
|
5207
5199
|
@builtins.property
|
|
5208
5200
|
@jsii.member(jsii_name="ec2SecurityGroupOwnerId")
|
|
@@ -5215,7 +5207,7 @@ class CfnSecurityGroupIngress(
|
|
|
5215
5207
|
if __debug__:
|
|
5216
5208
|
type_hints = typing.get_type_hints(_typecheckingstub__d69c9ced7a396b23c621165b2be40f28744ce4080f376459c1fec4f135a9d8a9)
|
|
5217
5209
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5218
|
-
jsii.set(self, "ec2SecurityGroupOwnerId", value)
|
|
5210
|
+
jsii.set(self, "ec2SecurityGroupOwnerId", value) # pyright: ignore[reportArgumentType]
|
|
5219
5211
|
|
|
5220
5212
|
|
|
5221
5213
|
@jsii.data_type(
|
|
@@ -5481,7 +5473,7 @@ class CfnServerlessCache(
|
|
|
5481
5473
|
:param engine: The engine the serverless cache is compatible with.
|
|
5482
5474
|
:param serverless_cache_name: The unique identifier of the serverless cache.
|
|
5483
5475
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
5484
|
-
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis and Serverless Memcached only.
|
|
5476
|
+
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis OSS and Serverless Memcached only.
|
|
5485
5477
|
:param description: A description of the serverless cache.
|
|
5486
5478
|
:param endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
5487
5479
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
@@ -5490,10 +5482,10 @@ class CfnServerlessCache(
|
|
|
5490
5482
|
:param reader_endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
5491
5483
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
5492
5484
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
5493
|
-
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis and Serverless Memcached only.
|
|
5485
|
+
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis OSS and Serverless Memcached only.
|
|
5494
5486
|
:param subnet_ids: If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC. For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.
|
|
5495
5487
|
:param tags: A list of tags to be added to this resource.
|
|
5496
|
-
:param user_group_id: The identifier of the user group associated with the serverless cache. Available for Redis only. Default is NULL.
|
|
5488
|
+
:param user_group_id: The identifier of the user group associated with the serverless cache. Available for Redis OSS only. Default is NULL.
|
|
5497
5489
|
'''
|
|
5498
5490
|
if __debug__:
|
|
5499
5491
|
type_hints = typing.get_type_hints(_typecheckingstub__f204522453489e8198605933b3b942062e9c202c1099285663a7d772a3e94ba7)
|
|
@@ -5646,7 +5638,7 @@ class CfnServerlessCache(
|
|
|
5646
5638
|
if __debug__:
|
|
5647
5639
|
type_hints = typing.get_type_hints(_typecheckingstub__db64b6c69d929608090194c9d83216677c91f2080ab6d4f59737f93d2e492503)
|
|
5648
5640
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5649
|
-
jsii.set(self, "engine", value)
|
|
5641
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
5650
5642
|
|
|
5651
5643
|
@builtins.property
|
|
5652
5644
|
@jsii.member(jsii_name="serverlessCacheName")
|
|
@@ -5659,7 +5651,7 @@ class CfnServerlessCache(
|
|
|
5659
5651
|
if __debug__:
|
|
5660
5652
|
type_hints = typing.get_type_hints(_typecheckingstub__c553e861158121ce7a0545fdcf543b7615bf13ddc0bbd93cb52e72e27acd09d7)
|
|
5661
5653
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5662
|
-
jsii.set(self, "serverlessCacheName", value)
|
|
5654
|
+
jsii.set(self, "serverlessCacheName", value) # pyright: ignore[reportArgumentType]
|
|
5663
5655
|
|
|
5664
5656
|
@builtins.property
|
|
5665
5657
|
@jsii.member(jsii_name="cacheUsageLimits")
|
|
@@ -5677,7 +5669,7 @@ class CfnServerlessCache(
|
|
|
5677
5669
|
if __debug__:
|
|
5678
5670
|
type_hints = typing.get_type_hints(_typecheckingstub__a90cce9924849d9cc9e8f897f51cd6502787503e9fe6f9c0b146111c1c445aa8)
|
|
5679
5671
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5680
|
-
jsii.set(self, "cacheUsageLimits", value)
|
|
5672
|
+
jsii.set(self, "cacheUsageLimits", value) # pyright: ignore[reportArgumentType]
|
|
5681
5673
|
|
|
5682
5674
|
@builtins.property
|
|
5683
5675
|
@jsii.member(jsii_name="dailySnapshotTime")
|
|
@@ -5690,7 +5682,7 @@ class CfnServerlessCache(
|
|
|
5690
5682
|
if __debug__:
|
|
5691
5683
|
type_hints = typing.get_type_hints(_typecheckingstub__e4072f21fb5867be241aa2784268fe8e3463d10cd511019b8f3599ec5d5c2cd2)
|
|
5692
5684
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5693
|
-
jsii.set(self, "dailySnapshotTime", value)
|
|
5685
|
+
jsii.set(self, "dailySnapshotTime", value) # pyright: ignore[reportArgumentType]
|
|
5694
5686
|
|
|
5695
5687
|
@builtins.property
|
|
5696
5688
|
@jsii.member(jsii_name="description")
|
|
@@ -5703,7 +5695,7 @@ class CfnServerlessCache(
|
|
|
5703
5695
|
if __debug__:
|
|
5704
5696
|
type_hints = typing.get_type_hints(_typecheckingstub__b6ee9bbb29fab9e6641d85980e882cc3db988c37421cc1d376048cdf7dfdcb06)
|
|
5705
5697
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5706
|
-
jsii.set(self, "description", value)
|
|
5698
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
5707
5699
|
|
|
5708
5700
|
@builtins.property
|
|
5709
5701
|
@jsii.member(jsii_name="endpoint")
|
|
@@ -5721,7 +5713,7 @@ class CfnServerlessCache(
|
|
|
5721
5713
|
if __debug__:
|
|
5722
5714
|
type_hints = typing.get_type_hints(_typecheckingstub__cf26818381fc6b07f8a2615330e14830cc8722c7bea067d80e6017ceab59af6a)
|
|
5723
5715
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5724
|
-
jsii.set(self, "endpoint", value)
|
|
5716
|
+
jsii.set(self, "endpoint", value) # pyright: ignore[reportArgumentType]
|
|
5725
5717
|
|
|
5726
5718
|
@builtins.property
|
|
5727
5719
|
@jsii.member(jsii_name="finalSnapshotName")
|
|
@@ -5734,7 +5726,7 @@ class CfnServerlessCache(
|
|
|
5734
5726
|
if __debug__:
|
|
5735
5727
|
type_hints = typing.get_type_hints(_typecheckingstub__62246ee954ddcb344e45c430ef7cbe75d5a3b692a00d6e538baa399c5cab349a)
|
|
5736
5728
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5737
|
-
jsii.set(self, "finalSnapshotName", value)
|
|
5729
|
+
jsii.set(self, "finalSnapshotName", value) # pyright: ignore[reportArgumentType]
|
|
5738
5730
|
|
|
5739
5731
|
@builtins.property
|
|
5740
5732
|
@jsii.member(jsii_name="kmsKeyId")
|
|
@@ -5747,7 +5739,7 @@ class CfnServerlessCache(
|
|
|
5747
5739
|
if __debug__:
|
|
5748
5740
|
type_hints = typing.get_type_hints(_typecheckingstub__c8cc8a3d052be3fabfdfe466bf509434f5707efc6a6dcd0770cc1a1b97e07a80)
|
|
5749
5741
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5750
|
-
jsii.set(self, "kmsKeyId", value)
|
|
5742
|
+
jsii.set(self, "kmsKeyId", value) # pyright: ignore[reportArgumentType]
|
|
5751
5743
|
|
|
5752
5744
|
@builtins.property
|
|
5753
5745
|
@jsii.member(jsii_name="majorEngineVersion")
|
|
@@ -5760,7 +5752,7 @@ class CfnServerlessCache(
|
|
|
5760
5752
|
if __debug__:
|
|
5761
5753
|
type_hints = typing.get_type_hints(_typecheckingstub__618e7242f4c8d6ea2092e93310602455166596d1a96215a2fb33d826bbe5fd29)
|
|
5762
5754
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5763
|
-
jsii.set(self, "majorEngineVersion", value)
|
|
5755
|
+
jsii.set(self, "majorEngineVersion", value) # pyright: ignore[reportArgumentType]
|
|
5764
5756
|
|
|
5765
5757
|
@builtins.property
|
|
5766
5758
|
@jsii.member(jsii_name="readerEndpoint")
|
|
@@ -5778,7 +5770,7 @@ class CfnServerlessCache(
|
|
|
5778
5770
|
if __debug__:
|
|
5779
5771
|
type_hints = typing.get_type_hints(_typecheckingstub__d7e3145e59d2b03c61c29dd7fc18ce6d775561dcfa018b131c81d1f6e06fcd65)
|
|
5780
5772
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5781
|
-
jsii.set(self, "readerEndpoint", value)
|
|
5773
|
+
jsii.set(self, "readerEndpoint", value) # pyright: ignore[reportArgumentType]
|
|
5782
5774
|
|
|
5783
5775
|
@builtins.property
|
|
5784
5776
|
@jsii.member(jsii_name="securityGroupIds")
|
|
@@ -5794,7 +5786,7 @@ class CfnServerlessCache(
|
|
|
5794
5786
|
if __debug__:
|
|
5795
5787
|
type_hints = typing.get_type_hints(_typecheckingstub__c96776cfdc2836177648dc34a892d382e760b03e46d603807886c25a9fc1d103)
|
|
5796
5788
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5797
|
-
jsii.set(self, "securityGroupIds", value)
|
|
5789
|
+
jsii.set(self, "securityGroupIds", value) # pyright: ignore[reportArgumentType]
|
|
5798
5790
|
|
|
5799
5791
|
@builtins.property
|
|
5800
5792
|
@jsii.member(jsii_name="snapshotArnsToRestore")
|
|
@@ -5810,7 +5802,7 @@ class CfnServerlessCache(
|
|
|
5810
5802
|
if __debug__:
|
|
5811
5803
|
type_hints = typing.get_type_hints(_typecheckingstub__b2e490a4ceeec73f3d373a179650cfec51a7cf58d7c4e7f5b06544dd1a2df316)
|
|
5812
5804
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5813
|
-
jsii.set(self, "snapshotArnsToRestore", value)
|
|
5805
|
+
jsii.set(self, "snapshotArnsToRestore", value) # pyright: ignore[reportArgumentType]
|
|
5814
5806
|
|
|
5815
5807
|
@builtins.property
|
|
5816
5808
|
@jsii.member(jsii_name="snapshotRetentionLimit")
|
|
@@ -5823,7 +5815,7 @@ class CfnServerlessCache(
|
|
|
5823
5815
|
if __debug__:
|
|
5824
5816
|
type_hints = typing.get_type_hints(_typecheckingstub__4fe4130c8869d67e8891f2bbbc10c149c15af0b801a4c9393fe4b4bcc848e3f0)
|
|
5825
5817
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5826
|
-
jsii.set(self, "snapshotRetentionLimit", value)
|
|
5818
|
+
jsii.set(self, "snapshotRetentionLimit", value) # pyright: ignore[reportArgumentType]
|
|
5827
5819
|
|
|
5828
5820
|
@builtins.property
|
|
5829
5821
|
@jsii.member(jsii_name="subnetIds")
|
|
@@ -5836,7 +5828,7 @@ class CfnServerlessCache(
|
|
|
5836
5828
|
if __debug__:
|
|
5837
5829
|
type_hints = typing.get_type_hints(_typecheckingstub__9ca2b56b13f3d8c09fd6a0e74df162e790fe2013d9a8d3d546b7b1aa5af8b507)
|
|
5838
5830
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5839
|
-
jsii.set(self, "subnetIds", value)
|
|
5831
|
+
jsii.set(self, "subnetIds", value) # pyright: ignore[reportArgumentType]
|
|
5840
5832
|
|
|
5841
5833
|
@builtins.property
|
|
5842
5834
|
@jsii.member(jsii_name="tags")
|
|
@@ -5849,7 +5841,7 @@ class CfnServerlessCache(
|
|
|
5849
5841
|
if __debug__:
|
|
5850
5842
|
type_hints = typing.get_type_hints(_typecheckingstub__2054e990234791671dd0f6c1b491baebdfaaa093bc590373b8cbe5d6a7dec291)
|
|
5851
5843
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5852
|
-
jsii.set(self, "tags", value)
|
|
5844
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
5853
5845
|
|
|
5854
5846
|
@builtins.property
|
|
5855
5847
|
@jsii.member(jsii_name="userGroupId")
|
|
@@ -5862,7 +5854,7 @@ class CfnServerlessCache(
|
|
|
5862
5854
|
if __debug__:
|
|
5863
5855
|
type_hints = typing.get_type_hints(_typecheckingstub__b592bfec207d3f2428902a54fb8adfacc60bdb7a83c47e12c1b4d76ac68444ff)
|
|
5864
5856
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5865
|
-
jsii.set(self, "userGroupId", value)
|
|
5857
|
+
jsii.set(self, "userGroupId", value) # pyright: ignore[reportArgumentType]
|
|
5866
5858
|
|
|
5867
5859
|
@jsii.data_type(
|
|
5868
5860
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnServerlessCache.CacheUsageLimitsProperty",
|
|
@@ -6229,7 +6221,7 @@ class CfnServerlessCacheProps:
|
|
|
6229
6221
|
:param engine: The engine the serverless cache is compatible with.
|
|
6230
6222
|
:param serverless_cache_name: The unique identifier of the serverless cache.
|
|
6231
6223
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
6232
|
-
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis and Serverless Memcached only.
|
|
6224
|
+
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis OSS and Serverless Memcached only.
|
|
6233
6225
|
:param description: A description of the serverless cache.
|
|
6234
6226
|
:param endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
6235
6227
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
@@ -6238,10 +6230,10 @@ class CfnServerlessCacheProps:
|
|
|
6238
6230
|
:param reader_endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
6239
6231
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
6240
6232
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
6241
|
-
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis and Serverless Memcached only.
|
|
6233
|
+
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis OSS and Serverless Memcached only.
|
|
6242
6234
|
:param subnet_ids: If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC. For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.
|
|
6243
6235
|
:param tags: A list of tags to be added to this resource.
|
|
6244
|
-
:param user_group_id: The identifier of the user group associated with the serverless cache. Available for Redis only. Default is NULL.
|
|
6236
|
+
:param user_group_id: The identifier of the user group associated with the serverless cache. Available for Redis OSS only. Default is NULL.
|
|
6245
6237
|
|
|
6246
6238
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html
|
|
6247
6239
|
:exampleMetadata: fixture=_generated
|
|
@@ -6380,7 +6372,7 @@ class CfnServerlessCacheProps:
|
|
|
6380
6372
|
def daily_snapshot_time(self) -> typing.Optional[builtins.str]:
|
|
6381
6373
|
'''The daily time that a cache snapshot will be created.
|
|
6382
6374
|
|
|
6383
|
-
Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis and Serverless Memcached only.
|
|
6375
|
+
Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis OSS and Serverless Memcached only.
|
|
6384
6376
|
|
|
6385
6377
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-dailysnapshottime
|
|
6386
6378
|
'''
|
|
@@ -6471,7 +6463,7 @@ class CfnServerlessCacheProps:
|
|
|
6471
6463
|
def snapshot_retention_limit(self) -> typing.Optional[jsii.Number]:
|
|
6472
6464
|
'''The current setting for the number of serverless cache snapshots the system will retain.
|
|
6473
6465
|
|
|
6474
|
-
Available for Redis and Serverless Memcached only.
|
|
6466
|
+
Available for Redis OSS and Serverless Memcached only.
|
|
6475
6467
|
|
|
6476
6468
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-snapshotretentionlimit
|
|
6477
6469
|
'''
|
|
@@ -6502,7 +6494,7 @@ class CfnServerlessCacheProps:
|
|
|
6502
6494
|
def user_group_id(self) -> typing.Optional[builtins.str]:
|
|
6503
6495
|
'''The identifier of the user group associated with the serverless cache.
|
|
6504
6496
|
|
|
6505
|
-
Available for Redis only. Default is NULL.
|
|
6497
|
+
Available for Redis OSS only. Default is NULL.
|
|
6506
6498
|
|
|
6507
6499
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-usergroupid
|
|
6508
6500
|
'''
|
|
@@ -6637,7 +6629,7 @@ class CfnSubnetGroup(
|
|
|
6637
6629
|
if __debug__:
|
|
6638
6630
|
type_hints = typing.get_type_hints(_typecheckingstub__8c5ab35ff7baba1205becdb157e37a43b2ffdb8d78b6a89812dec13e870110ee)
|
|
6639
6631
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6640
|
-
jsii.set(self, "description", value)
|
|
6632
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
6641
6633
|
|
|
6642
6634
|
@builtins.property
|
|
6643
6635
|
@jsii.member(jsii_name="subnetIds")
|
|
@@ -6650,7 +6642,7 @@ class CfnSubnetGroup(
|
|
|
6650
6642
|
if __debug__:
|
|
6651
6643
|
type_hints = typing.get_type_hints(_typecheckingstub__406b48aa434500b28470efd76a3cfb00968662ddd966571565ba3c47788bd26d)
|
|
6652
6644
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6653
|
-
jsii.set(self, "subnetIds", value)
|
|
6645
|
+
jsii.set(self, "subnetIds", value) # pyright: ignore[reportArgumentType]
|
|
6654
6646
|
|
|
6655
6647
|
@builtins.property
|
|
6656
6648
|
@jsii.member(jsii_name="cacheSubnetGroupName")
|
|
@@ -6666,7 +6658,7 @@ class CfnSubnetGroup(
|
|
|
6666
6658
|
if __debug__:
|
|
6667
6659
|
type_hints = typing.get_type_hints(_typecheckingstub__26295a8a2dc7d2b6948d4efdcca51f3722ed36bec5ced2fbf24d774ea7b28163)
|
|
6668
6660
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6669
|
-
jsii.set(self, "cacheSubnetGroupName", value)
|
|
6661
|
+
jsii.set(self, "cacheSubnetGroupName", value) # pyright: ignore[reportArgumentType]
|
|
6670
6662
|
|
|
6671
6663
|
@builtins.property
|
|
6672
6664
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -6679,7 +6671,7 @@ class CfnSubnetGroup(
|
|
|
6679
6671
|
if __debug__:
|
|
6680
6672
|
type_hints = typing.get_type_hints(_typecheckingstub__3f6670815d10d752e7b16bcf0f681bfa6e802161e1b1eba4c63dd3a6d9846719)
|
|
6681
6673
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6682
|
-
jsii.set(self, "tagsRaw", value)
|
|
6674
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
6683
6675
|
|
|
6684
6676
|
|
|
6685
6677
|
@jsii.data_type(
|
|
@@ -6806,7 +6798,7 @@ class CfnUser(
|
|
|
6806
6798
|
metaclass=jsii.JSIIMeta,
|
|
6807
6799
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnUser",
|
|
6808
6800
|
):
|
|
6809
|
-
'''For Redis engine version 6.0 onwards: Creates a Redis user. For more information, see `Using Role Based Access Control (RBAC) <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html>`_ .
|
|
6801
|
+
'''For Redis OSS engine version 6.0 onwards: Creates a Redis OSS user. For more information, see `Using Role Based Access Control (RBAC) <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html>`_ .
|
|
6810
6802
|
|
|
6811
6803
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html
|
|
6812
6804
|
:cloudformationResource: AWS::ElastiCache::User
|
|
@@ -6952,7 +6944,7 @@ class CfnUser(
|
|
|
6952
6944
|
if __debug__:
|
|
6953
6945
|
type_hints = typing.get_type_hints(_typecheckingstub__74df73fc62abe9fa1155cea79085975215d2cc3a30983f4b784d74b2d8dafec0)
|
|
6954
6946
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6955
|
-
jsii.set(self, "engine", value)
|
|
6947
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
6956
6948
|
|
|
6957
6949
|
@builtins.property
|
|
6958
6950
|
@jsii.member(jsii_name="userId")
|
|
@@ -6965,7 +6957,7 @@ class CfnUser(
|
|
|
6965
6957
|
if __debug__:
|
|
6966
6958
|
type_hints = typing.get_type_hints(_typecheckingstub__45b8eb0ca4560239c33c66aef6a7b3087bdea40d47268790b66085c594bb3ae1)
|
|
6967
6959
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6968
|
-
jsii.set(self, "userId", value)
|
|
6960
|
+
jsii.set(self, "userId", value) # pyright: ignore[reportArgumentType]
|
|
6969
6961
|
|
|
6970
6962
|
@builtins.property
|
|
6971
6963
|
@jsii.member(jsii_name="userName")
|
|
@@ -6978,7 +6970,7 @@ class CfnUser(
|
|
|
6978
6970
|
if __debug__:
|
|
6979
6971
|
type_hints = typing.get_type_hints(_typecheckingstub__82b6eed2d66e57932003ce447ee4a3219513ca0c8161fae47c096809d764af5c)
|
|
6980
6972
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6981
|
-
jsii.set(self, "userName", value)
|
|
6973
|
+
jsii.set(self, "userName", value) # pyright: ignore[reportArgumentType]
|
|
6982
6974
|
|
|
6983
6975
|
@builtins.property
|
|
6984
6976
|
@jsii.member(jsii_name="accessString")
|
|
@@ -6991,7 +6983,7 @@ class CfnUser(
|
|
|
6991
6983
|
if __debug__:
|
|
6992
6984
|
type_hints = typing.get_type_hints(_typecheckingstub__eb7549e3e6dbe94afa410bffc87623817e4cb26f90efb581b9a8d6dfcea71b64)
|
|
6993
6985
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6994
|
-
jsii.set(self, "accessString", value)
|
|
6986
|
+
jsii.set(self, "accessString", value) # pyright: ignore[reportArgumentType]
|
|
6995
6987
|
|
|
6996
6988
|
@builtins.property
|
|
6997
6989
|
@jsii.member(jsii_name="authenticationMode")
|
|
@@ -7007,7 +6999,7 @@ class CfnUser(
|
|
|
7007
6999
|
if __debug__:
|
|
7008
7000
|
type_hints = typing.get_type_hints(_typecheckingstub__08a67425ea4c8dcb1628c0ebb391eb9d3ca8fd07b5c6306f039cb531a05565d4)
|
|
7009
7001
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7010
|
-
jsii.set(self, "authenticationMode", value)
|
|
7002
|
+
jsii.set(self, "authenticationMode", value) # pyright: ignore[reportArgumentType]
|
|
7011
7003
|
|
|
7012
7004
|
@builtins.property
|
|
7013
7005
|
@jsii.member(jsii_name="noPasswordRequired")
|
|
@@ -7025,7 +7017,7 @@ class CfnUser(
|
|
|
7025
7017
|
if __debug__:
|
|
7026
7018
|
type_hints = typing.get_type_hints(_typecheckingstub__1dc0162c51746ac68f8e6c599bd425920aec49776f251d176073c998647b402e)
|
|
7027
7019
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7028
|
-
jsii.set(self, "noPasswordRequired", value)
|
|
7020
|
+
jsii.set(self, "noPasswordRequired", value) # pyright: ignore[reportArgumentType]
|
|
7029
7021
|
|
|
7030
7022
|
@builtins.property
|
|
7031
7023
|
@jsii.member(jsii_name="passwords")
|
|
@@ -7038,7 +7030,7 @@ class CfnUser(
|
|
|
7038
7030
|
if __debug__:
|
|
7039
7031
|
type_hints = typing.get_type_hints(_typecheckingstub__fd01953837fe46505e356e5e6f503c48a5037161ed165b5dfa3d2124c10bf225)
|
|
7040
7032
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7041
|
-
jsii.set(self, "passwords", value)
|
|
7033
|
+
jsii.set(self, "passwords", value) # pyright: ignore[reportArgumentType]
|
|
7042
7034
|
|
|
7043
7035
|
@builtins.property
|
|
7044
7036
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -7051,7 +7043,7 @@ class CfnUser(
|
|
|
7051
7043
|
if __debug__:
|
|
7052
7044
|
type_hints = typing.get_type_hints(_typecheckingstub__eda53c926e8acd673280fda87bee7f7bcf1def006ab1883b24a6a077e43b7449)
|
|
7053
7045
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7054
|
-
jsii.set(self, "tagsRaw", value)
|
|
7046
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
7055
7047
|
|
|
7056
7048
|
@jsii.data_type(
|
|
7057
7049
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnUser.AuthenticationModeProperty",
|
|
@@ -7135,7 +7127,7 @@ class CfnUserGroup(
|
|
|
7135
7127
|
metaclass=jsii.JSIIMeta,
|
|
7136
7128
|
jsii_type="aws-cdk-lib.aws_elasticache.CfnUserGroup",
|
|
7137
7129
|
):
|
|
7138
|
-
'''For Redis engine version 6.0 onwards: Creates a Redis user group. For more information, see `Using Role Based Access Control (RBAC) <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html>`_.
|
|
7130
|
+
'''For Redis OSS engine version 6.0 onwards: Creates a Redis user group. For more information, see `Using Role Based Access Control (RBAC) <https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.RBAC.html>`_.
|
|
7139
7131
|
|
|
7140
7132
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html
|
|
7141
7133
|
:cloudformationResource: AWS::ElastiCache::UserGroup
|
|
@@ -7260,7 +7252,7 @@ class CfnUserGroup(
|
|
|
7260
7252
|
if __debug__:
|
|
7261
7253
|
type_hints = typing.get_type_hints(_typecheckingstub__6e431968f516bc728e154bbd117b40cd38af16bf361c399b85db4f54094ac994)
|
|
7262
7254
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7263
|
-
jsii.set(self, "engine", value)
|
|
7255
|
+
jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
|
|
7264
7256
|
|
|
7265
7257
|
@builtins.property
|
|
7266
7258
|
@jsii.member(jsii_name="userGroupId")
|
|
@@ -7273,7 +7265,7 @@ class CfnUserGroup(
|
|
|
7273
7265
|
if __debug__:
|
|
7274
7266
|
type_hints = typing.get_type_hints(_typecheckingstub__7a2d97633ea9a0c04b7eee81db8315453f4d5e7436b511bc476886df00a72145)
|
|
7275
7267
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7276
|
-
jsii.set(self, "userGroupId", value)
|
|
7268
|
+
jsii.set(self, "userGroupId", value) # pyright: ignore[reportArgumentType]
|
|
7277
7269
|
|
|
7278
7270
|
@builtins.property
|
|
7279
7271
|
@jsii.member(jsii_name="userIds")
|
|
@@ -7286,7 +7278,7 @@ class CfnUserGroup(
|
|
|
7286
7278
|
if __debug__:
|
|
7287
7279
|
type_hints = typing.get_type_hints(_typecheckingstub__537c18038663c50194ccf261d54d663088b0bde017663b14868ca50759a76109)
|
|
7288
7280
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7289
|
-
jsii.set(self, "userIds", value)
|
|
7281
|
+
jsii.set(self, "userIds", value) # pyright: ignore[reportArgumentType]
|
|
7290
7282
|
|
|
7291
7283
|
@builtins.property
|
|
7292
7284
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -7299,7 +7291,7 @@ class CfnUserGroup(
|
|
|
7299
7291
|
if __debug__:
|
|
7300
7292
|
type_hints = typing.get_type_hints(_typecheckingstub__f91d8988fa4ff59ae0f0f6e912aaa87f88df9ee98afddb86934a2611c1d0da39)
|
|
7301
7293
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7302
|
-
jsii.set(self, "tagsRaw", value)
|
|
7294
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
7303
7295
|
|
|
7304
7296
|
|
|
7305
7297
|
@jsii.data_type(
|