aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.1__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 +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.1.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# Amazon FSx Construct Library
|
|
3
3
|
|
|
4
4
|
[Amazon FSx](https://docs.aws.amazon.com/fsx/?id=docs_gateway) provides fully managed third-party file systems with the
|
|
@@ -186,7 +186,28 @@ lustre_configuration = {
|
|
|
186
186
|
}
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
-
When you turn data compression on for an existing file system, only newly written files are compressed. Existing files are not compressed. For more information, see [Compressing previously written files](https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html#migrate-compression)
|
|
189
|
+
When you turn data compression on for an existing file system, only newly written files are compressed. Existing files are not compressed. For more information, see [Compressing previously written files](https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html#migrate-compression).
|
|
190
|
+
|
|
191
|
+
### Backups
|
|
192
|
+
|
|
193
|
+
You can take daily automatic backups by setting `automaticBackupRetention` to a non-zero day in the `lustreConfiguration`.
|
|
194
|
+
|
|
195
|
+
Additionally, you can set the backup window by specifying the `dailyAutomaticBackupStartTime`.
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
import aws_cdk as cdk
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
lustre_configuration = {
|
|
202
|
+
# ...
|
|
203
|
+
"automatic_backup_retention": cdk.Duration.days(3), # backup retention
|
|
204
|
+
"copy_tags_to_backups": True, # if true, tags are copied to backups
|
|
205
|
+
"daily_automatic_backup_start_time": fsx.DailyAutomaticBackupStartTime(hour=11, minute=30)
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
For more information, see [Working with backups
|
|
210
|
+
](https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html).
|
|
190
211
|
|
|
191
212
|
## FSx for Windows File Server
|
|
192
213
|
|
|
@@ -214,6 +235,7 @@ import constructs as _constructs_77d1e7e8
|
|
|
214
235
|
from .. import (
|
|
215
236
|
CfnResource as _CfnResource_9df397a6,
|
|
216
237
|
CfnTag as _CfnTag_f6864754,
|
|
238
|
+
Duration as _Duration_4839e8c3,
|
|
217
239
|
IInspectable as _IInspectable_c2943556,
|
|
218
240
|
IResolvable as _IResolvable_da3f097b,
|
|
219
241
|
ITaggable as _ITaggable_36806126,
|
|
@@ -6825,6 +6847,103 @@ class CfnVolumeProps:
|
|
|
6825
6847
|
)
|
|
6826
6848
|
|
|
6827
6849
|
|
|
6850
|
+
class DailyAutomaticBackupStartTime(
|
|
6851
|
+
metaclass=jsii.JSIIMeta,
|
|
6852
|
+
jsii_type="aws-cdk-lib.aws_fsx.DailyAutomaticBackupStartTime",
|
|
6853
|
+
):
|
|
6854
|
+
'''Class for scheduling a daily automatic backup time.
|
|
6855
|
+
|
|
6856
|
+
:exampleMetadata: infused
|
|
6857
|
+
|
|
6858
|
+
Example::
|
|
6859
|
+
|
|
6860
|
+
import aws_cdk as cdk
|
|
6861
|
+
|
|
6862
|
+
|
|
6863
|
+
lustre_configuration = {
|
|
6864
|
+
# ...
|
|
6865
|
+
"automatic_backup_retention": cdk.Duration.days(3), # backup retention
|
|
6866
|
+
"copy_tags_to_backups": True, # if true, tags are copied to backups
|
|
6867
|
+
"daily_automatic_backup_start_time": fsx.DailyAutomaticBackupStartTime(hour=11, minute=30)
|
|
6868
|
+
}
|
|
6869
|
+
'''
|
|
6870
|
+
|
|
6871
|
+
def __init__(self, *, hour: jsii.Number, minute: jsii.Number) -> None:
|
|
6872
|
+
'''
|
|
6873
|
+
:param hour: The hour of the day (from 0-23) for automatic backup starts.
|
|
6874
|
+
:param minute: The minute of the hour (from 0-59) for automatic backup starts.
|
|
6875
|
+
'''
|
|
6876
|
+
props = DailyAutomaticBackupStartTimeProps(hour=hour, minute=minute)
|
|
6877
|
+
|
|
6878
|
+
jsii.create(self.__class__, self, [props])
|
|
6879
|
+
|
|
6880
|
+
@jsii.member(jsii_name="toTimestamp")
|
|
6881
|
+
def to_timestamp(self) -> builtins.str:
|
|
6882
|
+
'''Converts an hour, and minute into HH:MM string.'''
|
|
6883
|
+
return typing.cast(builtins.str, jsii.invoke(self, "toTimestamp", []))
|
|
6884
|
+
|
|
6885
|
+
|
|
6886
|
+
@jsii.data_type(
|
|
6887
|
+
jsii_type="aws-cdk-lib.aws_fsx.DailyAutomaticBackupStartTimeProps",
|
|
6888
|
+
jsii_struct_bases=[],
|
|
6889
|
+
name_mapping={"hour": "hour", "minute": "minute"},
|
|
6890
|
+
)
|
|
6891
|
+
class DailyAutomaticBackupStartTimeProps:
|
|
6892
|
+
def __init__(self, *, hour: jsii.Number, minute: jsii.Number) -> None:
|
|
6893
|
+
'''Properties required for setting up a daily automatic backup time.
|
|
6894
|
+
|
|
6895
|
+
:param hour: The hour of the day (from 0-23) for automatic backup starts.
|
|
6896
|
+
:param minute: The minute of the hour (from 0-59) for automatic backup starts.
|
|
6897
|
+
|
|
6898
|
+
:exampleMetadata: infused
|
|
6899
|
+
|
|
6900
|
+
Example::
|
|
6901
|
+
|
|
6902
|
+
import aws_cdk as cdk
|
|
6903
|
+
|
|
6904
|
+
|
|
6905
|
+
lustre_configuration = {
|
|
6906
|
+
# ...
|
|
6907
|
+
"automatic_backup_retention": cdk.Duration.days(3), # backup retention
|
|
6908
|
+
"copy_tags_to_backups": True, # if true, tags are copied to backups
|
|
6909
|
+
"daily_automatic_backup_start_time": fsx.DailyAutomaticBackupStartTime(hour=11, minute=30)
|
|
6910
|
+
}
|
|
6911
|
+
'''
|
|
6912
|
+
if __debug__:
|
|
6913
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44f298a8565ab83be6194258a86fb2bd0bd7844cc3b7e42c0cbdd5ded4c6f84f)
|
|
6914
|
+
check_type(argname="argument hour", value=hour, expected_type=type_hints["hour"])
|
|
6915
|
+
check_type(argname="argument minute", value=minute, expected_type=type_hints["minute"])
|
|
6916
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6917
|
+
"hour": hour,
|
|
6918
|
+
"minute": minute,
|
|
6919
|
+
}
|
|
6920
|
+
|
|
6921
|
+
@builtins.property
|
|
6922
|
+
def hour(self) -> jsii.Number:
|
|
6923
|
+
'''The hour of the day (from 0-23) for automatic backup starts.'''
|
|
6924
|
+
result = self._values.get("hour")
|
|
6925
|
+
assert result is not None, "Required property 'hour' is missing"
|
|
6926
|
+
return typing.cast(jsii.Number, result)
|
|
6927
|
+
|
|
6928
|
+
@builtins.property
|
|
6929
|
+
def minute(self) -> jsii.Number:
|
|
6930
|
+
'''The minute of the hour (from 0-59) for automatic backup starts.'''
|
|
6931
|
+
result = self._values.get("minute")
|
|
6932
|
+
assert result is not None, "Required property 'minute' is missing"
|
|
6933
|
+
return typing.cast(jsii.Number, result)
|
|
6934
|
+
|
|
6935
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6936
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6937
|
+
|
|
6938
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6939
|
+
return not (rhs == self)
|
|
6940
|
+
|
|
6941
|
+
def __repr__(self) -> str:
|
|
6942
|
+
return "DailyAutomaticBackupStartTimeProps(%s)" % ", ".join(
|
|
6943
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6944
|
+
)
|
|
6945
|
+
|
|
6946
|
+
|
|
6828
6947
|
@jsii.data_type(
|
|
6829
6948
|
jsii_type="aws-cdk-lib.aws_fsx.FileSystemAttributes",
|
|
6830
6949
|
jsii_struct_bases=[],
|
|
@@ -7162,6 +7281,9 @@ class LustreAutoImportPolicy(enum.Enum):
|
|
|
7162
7281
|
name_mapping={
|
|
7163
7282
|
"deployment_type": "deploymentType",
|
|
7164
7283
|
"auto_import_policy": "autoImportPolicy",
|
|
7284
|
+
"automatic_backup_retention": "automaticBackupRetention",
|
|
7285
|
+
"copy_tags_to_backups": "copyTagsToBackups",
|
|
7286
|
+
"daily_automatic_backup_start_time": "dailyAutomaticBackupStartTime",
|
|
7165
7287
|
"data_compression_type": "dataCompressionType",
|
|
7166
7288
|
"export_path": "exportPath",
|
|
7167
7289
|
"imported_file_chunk_size_mib": "importedFileChunkSizeMiB",
|
|
@@ -7176,6 +7298,9 @@ class LustreConfiguration:
|
|
|
7176
7298
|
*,
|
|
7177
7299
|
deployment_type: "LustreDeploymentType",
|
|
7178
7300
|
auto_import_policy: typing.Optional[LustreAutoImportPolicy] = None,
|
|
7301
|
+
automatic_backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
7302
|
+
copy_tags_to_backups: typing.Optional[builtins.bool] = None,
|
|
7303
|
+
daily_automatic_backup_start_time: typing.Optional[DailyAutomaticBackupStartTime] = None,
|
|
7179
7304
|
data_compression_type: typing.Optional["LustreDataCompressionType"] = None,
|
|
7180
7305
|
export_path: typing.Optional[builtins.str] = None,
|
|
7181
7306
|
imported_file_chunk_size_mib: typing.Optional[jsii.Number] = None,
|
|
@@ -7187,6 +7312,9 @@ class LustreConfiguration:
|
|
|
7187
7312
|
|
|
7188
7313
|
:param deployment_type: The type of backing file system deployment used by FSx.
|
|
7189
7314
|
:param auto_import_policy: Available with ``Scratch`` and ``Persistent_1`` deployment types. When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. ``AutoImportPolicy`` can have the following values: For more information, see `Automatically import updates from your S3 bucket <https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html>`_ . .. epigraph:: This parameter is not supported for Lustre file systems using the ``Persistent_2`` deployment type. Default: - no import policy
|
|
7315
|
+
:param automatic_backup_retention: The number of days to retain automatic backups. Setting this property to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. Automatic Backups is not supported on scratch file systems. Default: Duration.days(0)
|
|
7316
|
+
:param copy_tags_to_backups: A boolean flag indicating whether tags for the file system should be copied to backups. Default: - false
|
|
7317
|
+
:param daily_automatic_backup_start_time: Start time for 30-minute daily automatic backup window in Coordinated Universal Time (UTC). Default: - no backup window
|
|
7190
7318
|
:param data_compression_type: Sets the data compression configuration for the file system. For more information, see `Lustre data compression <https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html>`_ in the *Amazon FSx for Lustre User Guide* . Default: - no compression
|
|
7191
7319
|
:param export_path: The path in Amazon S3 where the root of your Amazon FSx file system is exported. The path must use the same Amazon S3 bucket as specified in ImportPath. If you only specify a bucket name, such as s3://import-bucket, you get a 1:1 mapping of file system objects to S3 bucket objects. This mapping means that the input data in S3 is overwritten on export. If you provide a custom prefix in the export path, such as s3://import-bucket/[custom-optional-prefix], Amazon FSx exports the contents of your file system to that export prefix in the Amazon S3 bucket. Default: s3://import-bucket/FSxLustre[creation-timestamp]
|
|
7192
7320
|
:param imported_file_chunk_size_mib: For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Allowed values are between 1 and 512,000. Default: 1024
|
|
@@ -7223,6 +7351,9 @@ class LustreConfiguration:
|
|
|
7223
7351
|
type_hints = typing.get_type_hints(_typecheckingstub__567936f469e5b9500e7485b8f46c5424a41d75153adaae2a59be9e33735a9e0a)
|
|
7224
7352
|
check_type(argname="argument deployment_type", value=deployment_type, expected_type=type_hints["deployment_type"])
|
|
7225
7353
|
check_type(argname="argument auto_import_policy", value=auto_import_policy, expected_type=type_hints["auto_import_policy"])
|
|
7354
|
+
check_type(argname="argument automatic_backup_retention", value=automatic_backup_retention, expected_type=type_hints["automatic_backup_retention"])
|
|
7355
|
+
check_type(argname="argument copy_tags_to_backups", value=copy_tags_to_backups, expected_type=type_hints["copy_tags_to_backups"])
|
|
7356
|
+
check_type(argname="argument daily_automatic_backup_start_time", value=daily_automatic_backup_start_time, expected_type=type_hints["daily_automatic_backup_start_time"])
|
|
7226
7357
|
check_type(argname="argument data_compression_type", value=data_compression_type, expected_type=type_hints["data_compression_type"])
|
|
7227
7358
|
check_type(argname="argument export_path", value=export_path, expected_type=type_hints["export_path"])
|
|
7228
7359
|
check_type(argname="argument imported_file_chunk_size_mib", value=imported_file_chunk_size_mib, expected_type=type_hints["imported_file_chunk_size_mib"])
|
|
@@ -7234,6 +7365,12 @@ class LustreConfiguration:
|
|
|
7234
7365
|
}
|
|
7235
7366
|
if auto_import_policy is not None:
|
|
7236
7367
|
self._values["auto_import_policy"] = auto_import_policy
|
|
7368
|
+
if automatic_backup_retention is not None:
|
|
7369
|
+
self._values["automatic_backup_retention"] = automatic_backup_retention
|
|
7370
|
+
if copy_tags_to_backups is not None:
|
|
7371
|
+
self._values["copy_tags_to_backups"] = copy_tags_to_backups
|
|
7372
|
+
if daily_automatic_backup_start_time is not None:
|
|
7373
|
+
self._values["daily_automatic_backup_start_time"] = daily_automatic_backup_start_time
|
|
7237
7374
|
if data_compression_type is not None:
|
|
7238
7375
|
self._values["data_compression_type"] = data_compression_type
|
|
7239
7376
|
if export_path is not None:
|
|
@@ -7272,6 +7409,40 @@ class LustreConfiguration:
|
|
|
7272
7409
|
result = self._values.get("auto_import_policy")
|
|
7273
7410
|
return typing.cast(typing.Optional[LustreAutoImportPolicy], result)
|
|
7274
7411
|
|
|
7412
|
+
@builtins.property
|
|
7413
|
+
def automatic_backup_retention(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
7414
|
+
'''The number of days to retain automatic backups.
|
|
7415
|
+
|
|
7416
|
+
Setting this property to 0 disables automatic backups.
|
|
7417
|
+
You can retain automatic backups for a maximum of 90 days.
|
|
7418
|
+
|
|
7419
|
+
Automatic Backups is not supported on scratch file systems.
|
|
7420
|
+
|
|
7421
|
+
:default: Duration.days(0)
|
|
7422
|
+
'''
|
|
7423
|
+
result = self._values.get("automatic_backup_retention")
|
|
7424
|
+
return typing.cast(typing.Optional[_Duration_4839e8c3], result)
|
|
7425
|
+
|
|
7426
|
+
@builtins.property
|
|
7427
|
+
def copy_tags_to_backups(self) -> typing.Optional[builtins.bool]:
|
|
7428
|
+
'''A boolean flag indicating whether tags for the file system should be copied to backups.
|
|
7429
|
+
|
|
7430
|
+
:default: - false
|
|
7431
|
+
'''
|
|
7432
|
+
result = self._values.get("copy_tags_to_backups")
|
|
7433
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
7434
|
+
|
|
7435
|
+
@builtins.property
|
|
7436
|
+
def daily_automatic_backup_start_time(
|
|
7437
|
+
self,
|
|
7438
|
+
) -> typing.Optional[DailyAutomaticBackupStartTime]:
|
|
7439
|
+
'''Start time for 30-minute daily automatic backup window in Coordinated Universal Time (UTC).
|
|
7440
|
+
|
|
7441
|
+
:default: - no backup window
|
|
7442
|
+
'''
|
|
7443
|
+
result = self._values.get("daily_automatic_backup_start_time")
|
|
7444
|
+
return typing.cast(typing.Optional[DailyAutomaticBackupStartTime], result)
|
|
7445
|
+
|
|
7275
7446
|
@builtins.property
|
|
7276
7447
|
def data_compression_type(self) -> typing.Optional["LustreDataCompressionType"]:
|
|
7277
7448
|
'''Sets the data compression configuration for the file system.
|
|
@@ -7999,6 +8170,8 @@ __all__ = [
|
|
|
7999
8170
|
"CfnStorageVirtualMachineProps",
|
|
8000
8171
|
"CfnVolume",
|
|
8001
8172
|
"CfnVolumeProps",
|
|
8173
|
+
"DailyAutomaticBackupStartTime",
|
|
8174
|
+
"DailyAutomaticBackupStartTimeProps",
|
|
8002
8175
|
"FileSystemAttributes",
|
|
8003
8176
|
"FileSystemBase",
|
|
8004
8177
|
"FileSystemProps",
|
|
@@ -8736,6 +8909,14 @@ def _typecheckingstub__ba019369261767d6713a59ea11f0b77df010707dad4c986d34b90921d
|
|
|
8736
8909
|
"""Type checking stubs"""
|
|
8737
8910
|
pass
|
|
8738
8911
|
|
|
8912
|
+
def _typecheckingstub__44f298a8565ab83be6194258a86fb2bd0bd7844cc3b7e42c0cbdd5ded4c6f84f(
|
|
8913
|
+
*,
|
|
8914
|
+
hour: jsii.Number,
|
|
8915
|
+
minute: jsii.Number,
|
|
8916
|
+
) -> None:
|
|
8917
|
+
"""Type checking stubs"""
|
|
8918
|
+
pass
|
|
8919
|
+
|
|
8739
8920
|
def _typecheckingstub__244a68ed58458734fc468d2488bea9a1a0709a590b99f26e51e4624fd2762694(
|
|
8740
8921
|
*,
|
|
8741
8922
|
dns_name: builtins.str,
|
|
@@ -8761,6 +8942,9 @@ def _typecheckingstub__567936f469e5b9500e7485b8f46c5424a41d75153adaae2a59be9e337
|
|
|
8761
8942
|
*,
|
|
8762
8943
|
deployment_type: LustreDeploymentType,
|
|
8763
8944
|
auto_import_policy: typing.Optional[LustreAutoImportPolicy] = None,
|
|
8945
|
+
automatic_backup_retention: typing.Optional[_Duration_4839e8c3] = None,
|
|
8946
|
+
copy_tags_to_backups: typing.Optional[builtins.bool] = None,
|
|
8947
|
+
daily_automatic_backup_start_time: typing.Optional[DailyAutomaticBackupStartTime] = None,
|
|
8764
8948
|
data_compression_type: typing.Optional[LustreDataCompressionType] = None,
|
|
8765
8949
|
export_path: typing.Optional[builtins.str] = None,
|
|
8766
8950
|
imported_file_chunk_size_mib: typing.Optional[jsii.Number] = None,
|
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# Amazon GameLift Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -463,7 +463,7 @@ class CfnBuild(
|
|
|
463
463
|
:param scope: Scope in which this resource is defined.
|
|
464
464
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
465
465
|
:param name: A descriptive label that is associated with a build. Build names do not need to be unique.
|
|
466
|
-
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph::
|
|
466
|
+
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
467
467
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift sets this value to ``4.0.2`` .
|
|
468
468
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a ``SizeOnDisk`` of 0.
|
|
469
469
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
@@ -735,7 +735,7 @@ class CfnBuildProps:
|
|
|
735
735
|
'''Properties for defining a ``CfnBuild``.
|
|
736
736
|
|
|
737
737
|
:param name: A descriptive label that is associated with a build. Build names do not need to be unique.
|
|
738
|
-
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph::
|
|
738
|
+
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
739
739
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift sets this value to ``4.0.2`` .
|
|
740
740
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a ``SizeOnDisk`` of 0.
|
|
741
741
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
@@ -801,7 +801,7 @@ class CfnBuildProps:
|
|
|
801
801
|
This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.
|
|
802
802
|
.. epigraph::
|
|
803
803
|
|
|
804
|
-
|
|
804
|
+
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
805
805
|
|
|
806
806
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem
|
|
807
807
|
'''
|
|
@@ -954,7 +954,7 @@ class CfnContainerGroupDefinition(
|
|
|
954
954
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
955
955
|
:param container_definitions: The set of container definitions that are included in the container group.
|
|
956
956
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
957
|
-
:param operating_system: The platform required for all containers in the container group definition.
|
|
957
|
+
:param operating_system: The platform required for all containers in the container group definition. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
958
958
|
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group. For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
959
959
|
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group. For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
960
960
|
:param scheduling_strategy: The method for deploying the container group across fleet instances. A replica container group might have multiple copies on each fleet instance. A daemon container group maintains only one copy per fleet instance.
|
|
@@ -2000,7 +2000,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
2000
2000
|
|
|
2001
2001
|
:param container_definitions: The set of container definitions that are included in the container group.
|
|
2002
2002
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
2003
|
-
:param operating_system: The platform required for all containers in the container group definition.
|
|
2003
|
+
:param operating_system: The platform required for all containers in the container group definition. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
2004
2004
|
:param total_cpu_limit: The amount of CPU units on a fleet instance to allocate for the container group. All containers in the group share these resources. This property is an integer value in CPU units (1 vCPU is equal to 1024 CPU units). You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must be equal to or greater than the sum of all container-specific CPU limits in the group. For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
2005
2005
|
:param total_memory_limit: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set additional limits for each ``ContainerDefinition`` in the group. If individual containers have limits, this value must meet the following requirements: - Equal to or greater than the sum of all container-specific soft memory limits in the group. - Equal to or greater than any container-specific hard limits in the group. For more details on memory allocation, see the `Container fleet design guide <https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet>`_ .
|
|
2006
2006
|
:param scheduling_strategy: The method for deploying the container group across fleet instances. A replica container group might have multiple copies on each fleet instance. A daemon container group maintains only one copy per fleet instance.
|
|
@@ -2118,6 +2118,10 @@ class CfnContainerGroupDefinitionProps:
|
|
|
2118
2118
|
def operating_system(self) -> builtins.str:
|
|
2119
2119
|
'''The platform required for all containers in the container group definition.
|
|
2120
2120
|
|
|
2121
|
+
.. epigraph::
|
|
2122
|
+
|
|
2123
|
+
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/https://aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to Amazon GameLift server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
2124
|
+
|
|
2121
2125
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem
|
|
2122
2126
|
'''
|
|
2123
2127
|
result = self._values.get("operating_system")
|
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS Glue Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -1053,12 +1053,12 @@ class CfnConnection(
|
|
|
1053
1053
|
) -> None:
|
|
1054
1054
|
'''A structure that is used to specify a connection to create or update.
|
|
1055
1055
|
|
|
1056
|
-
:param connection_type: The type of the connection. Currently, these types are supported:. - ``JDBC`` - Designates a connection to a database through Java Database Connectivity (JDBC). ``JDBC`` Connections use the following ConnectionParameters. - Required: All of ( ``HOST`` , ``PORT`` , ``JDBC_ENGINE`` ) or ``JDBC_CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - Optional: ``JDBC_ENFORCE_SSL`` , ``CUSTOM_JDBC_CERT`` , ``CUSTOM_JDBC_CERT_STRING`` , ``SKIP_CUSTOM_JDBC_CERT_VALIDATION`` . These parameters are used to configure SSL with JDBC. - ``KAFKA`` - Designates a connection to an Apache Kafka streaming platform. ``KAFKA`` Connections use the following ConnectionParameters. - Required: ``KAFKA_BOOTSTRAP_SERVERS`` . - Optional: ``KAFKA_SSL_ENABLED`` , ``KAFKA_CUSTOM_CERT`` , ``KAFKA_SKIP_CUSTOM_CERT_VALIDATION`` . These parameters are used to configure SSL with ``KAFKA`` . - Optional: ``KAFKA_CLIENT_KEYSTORE`` , ``KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``KAFKA_CLIENT_KEY_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD`` . These parameters are used to configure TLS client configuration with SSL in ``KAFKA`` . - Optional: ``KAFKA_SASL_MECHANISM`` . Can be specified as ``SCRAM-SHA-512`` , ``GSSAPI`` , or ``AWS_MSK_IAM`` . - Optional: ``KAFKA_SASL_SCRAM_USERNAME`` , ``KAFKA_SASL_SCRAM_PASSWORD`` , ``ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD`` . These parameters are used to configure SASL/SCRAM-SHA-512 authentication with ``KAFKA`` . - Optional: ``KAFKA_SASL_GSSAPI_KEYTAB`` , ``KAFKA_SASL_GSSAPI_KRB5_CONF`` , ``KAFKA_SASL_GSSAPI_SERVICE`` , ``KAFKA_SASL_GSSAPI_PRINCIPAL`` . These parameters are used to configure SASL/GSSAPI authentication with ``KAFKA`` . - ``MONGODB`` - Designates a connection to a MongoDB document database. ``MONGODB`` Connections use the following ConnectionParameters. - Required: ``CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``NETWORK`` - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). ``NETWORK`` Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements. - ``MARKETPLACE`` - Uses configuration settings contained in a connector purchased from AWS Marketplace to read from and write to data stores that are not natively supported by AWS Glue . ``MARKETPLACE`` Connections use the following ConnectionParameters. - Required: ``CONNECTOR_TYPE`` , ``CONNECTOR_URL`` , ``CONNECTOR_CLASS_NAME`` , ``CONNECTION_URL`` . - Required for ``JDBC`` ``CONNECTOR_TYPE`` connections: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``CUSTOM`` - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by AWS Glue . ``SFTP`` is not supported. For more information about how optional ConnectionProperties are used to configure features in AWS Glue , consult `AWS Glue connection properties <https://docs.aws.amazon.com/glue/latest/dg/connection-defining.html>`_ . For more information about how optional ConnectionProperties are used to configure features in AWS Glue Studio, consult `Using connectors and connections <https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html>`_ .
|
|
1056
|
+
:param connection_type: The type of the connection. Currently, these types are supported:. - ``JDBC`` - Designates a connection to a database through Java Database Connectivity (JDBC). ``JDBC`` Connections use the following ConnectionParameters. - Required: All of ( ``HOST`` , ``PORT`` , ``JDBC_ENGINE`` ) or ``JDBC_CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - Optional: ``JDBC_ENFORCE_SSL`` , ``CUSTOM_JDBC_CERT`` , ``CUSTOM_JDBC_CERT_STRING`` , ``SKIP_CUSTOM_JDBC_CERT_VALIDATION`` . These parameters are used to configure SSL with JDBC. - ``KAFKA`` - Designates a connection to an Apache Kafka streaming platform. ``KAFKA`` Connections use the following ConnectionParameters. - Required: ``KAFKA_BOOTSTRAP_SERVERS`` . - Optional: ``KAFKA_SSL_ENABLED`` , ``KAFKA_CUSTOM_CERT`` , ``KAFKA_SKIP_CUSTOM_CERT_VALIDATION`` . These parameters are used to configure SSL with ``KAFKA`` . - Optional: ``KAFKA_CLIENT_KEYSTORE`` , ``KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``KAFKA_CLIENT_KEY_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD`` . These parameters are used to configure TLS client configuration with SSL in ``KAFKA`` . - Optional: ``KAFKA_SASL_MECHANISM`` . Can be specified as ``SCRAM-SHA-512`` , ``GSSAPI`` , or ``AWS_MSK_IAM`` . - Optional: ``KAFKA_SASL_SCRAM_USERNAME`` , ``KAFKA_SASL_SCRAM_PASSWORD`` , ``ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD`` . These parameters are used to configure SASL/SCRAM-SHA-512 authentication with ``KAFKA`` . - Optional: ``KAFKA_SASL_GSSAPI_KEYTAB`` , ``KAFKA_SASL_GSSAPI_KRB5_CONF`` , ``KAFKA_SASL_GSSAPI_SERVICE`` , ``KAFKA_SASL_GSSAPI_PRINCIPAL`` . These parameters are used to configure SASL/GSSAPI authentication with ``KAFKA`` . - ``MONGODB`` - Designates a connection to a MongoDB document database. ``MONGODB`` Connections use the following ConnectionParameters. - Required: ``CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``SALESFORCE`` - Designates a connection to Salesforce using OAuth authencation. - Requires the ``AuthenticationConfiguration`` member to be configured. - ``NETWORK`` - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). ``NETWORK`` Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements. - ``MARKETPLACE`` - Uses configuration settings contained in a connector purchased from AWS Marketplace to read from and write to data stores that are not natively supported by AWS Glue . ``MARKETPLACE`` Connections use the following ConnectionParameters. - Required: ``CONNECTOR_TYPE`` , ``CONNECTOR_URL`` , ``CONNECTOR_CLASS_NAME`` , ``CONNECTION_URL`` . - Required for ``JDBC`` ``CONNECTOR_TYPE`` connections: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``CUSTOM`` - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by AWS Glue . ``SFTP`` is not supported. For more information about how optional ConnectionProperties are used to configure features in AWS Glue , consult `AWS Glue connection properties <https://docs.aws.amazon.com/glue/latest/dg/connection-defining.html>`_ . For more information about how optional ConnectionProperties are used to configure features in AWS Glue Studio, consult `Using connectors and connections <https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html>`_ .
|
|
1057
1057
|
:param connection_properties: These key-value pairs define parameters for the connection.
|
|
1058
1058
|
:param description: The description of the connection.
|
|
1059
1059
|
:param match_criteria: A list of criteria that can be used in selecting this connection.
|
|
1060
|
-
:param name: The name of the connection.
|
|
1061
|
-
:param physical_connection_requirements:
|
|
1060
|
+
:param name: The name of the connection.
|
|
1061
|
+
:param physical_connection_requirements: The physical connection requirements, such as virtual private cloud (VPC) and ``SecurityGroup`` , that are needed to successfully make this connection.
|
|
1062
1062
|
|
|
1063
1063
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html
|
|
1064
1064
|
:exampleMetadata: fixture=_generated
|
|
@@ -1135,6 +1135,8 @@ class CfnConnection(
|
|
|
1135
1135
|
|
|
1136
1136
|
- Required: ``CONNECTION_URL`` .
|
|
1137
1137
|
- Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` .
|
|
1138
|
+
- ``SALESFORCE`` - Designates a connection to Salesforce using OAuth authencation.
|
|
1139
|
+
- Requires the ``AuthenticationConfiguration`` member to be configured.
|
|
1138
1140
|
- ``NETWORK`` - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
|
|
1139
1141
|
|
|
1140
1142
|
``NETWORK`` Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.
|
|
@@ -1190,8 +1192,6 @@ class CfnConnection(
|
|
|
1190
1192
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1191
1193
|
'''The name of the connection.
|
|
1192
1194
|
|
|
1193
|
-
Connection will not function as expected without a name.
|
|
1194
|
-
|
|
1195
1195
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-name
|
|
1196
1196
|
'''
|
|
1197
1197
|
result = self._values.get("name")
|
|
@@ -1201,7 +1201,7 @@ class CfnConnection(
|
|
|
1201
1201
|
def physical_connection_requirements(
|
|
1202
1202
|
self,
|
|
1203
1203
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.PhysicalConnectionRequirementsProperty"]]:
|
|
1204
|
-
'''
|
|
1204
|
+
'''The physical connection requirements, such as virtual private cloud (VPC) and ``SecurityGroup`` , that are needed to successfully make this connection.
|
|
1205
1205
|
|
|
1206
1206
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-physicalconnectionrequirements
|
|
1207
1207
|
'''
|
|
@@ -1236,9 +1236,9 @@ class CfnConnection(
|
|
|
1236
1236
|
security_group_id_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1237
1237
|
subnet_id: typing.Optional[builtins.str] = None,
|
|
1238
1238
|
) -> None:
|
|
1239
|
-
'''
|
|
1239
|
+
'''The OAuth client app in GetConnection response.
|
|
1240
1240
|
|
|
1241
|
-
:param availability_zone: The connection's Availability Zone.
|
|
1241
|
+
:param availability_zone: The connection's Availability Zone.
|
|
1242
1242
|
:param security_group_id_list: The security group ID list used by the connection.
|
|
1243
1243
|
:param subnet_id: The subnet ID used by the connection.
|
|
1244
1244
|
|
|
@@ -1274,8 +1274,6 @@ class CfnConnection(
|
|
|
1274
1274
|
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
1275
1275
|
'''The connection's Availability Zone.
|
|
1276
1276
|
|
|
1277
|
-
This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
|
|
1278
|
-
|
|
1279
1277
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-physicalconnectionrequirements.html#cfn-glue-connection-physicalconnectionrequirements-availabilityzone
|
|
1280
1278
|
'''
|
|
1281
1279
|
result = self._values.get("availability_zone")
|
|
@@ -6041,7 +6039,7 @@ class CfnJob(
|
|
|
6041
6039
|
:param execution_property: The maximum number of concurrent runs that are allowed for this job.
|
|
6042
6040
|
:param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9.
|
|
6043
6041
|
:param log_uri: This field is reserved for future use.
|
|
6044
|
-
:param maintenance_window:
|
|
6042
|
+
:param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
|
|
6045
6043
|
:param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
|
|
6046
6044
|
:param max_retries: The maximum number of times to retry this job after a JobRun fails.
|
|
6047
6045
|
:param name: The name you assign to this job definition.
|
|
@@ -6284,6 +6282,7 @@ class CfnJob(
|
|
|
6284
6282
|
@builtins.property
|
|
6285
6283
|
@jsii.member(jsii_name="maintenanceWindow")
|
|
6286
6284
|
def maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
6285
|
+
'''This field specifies a day of the week and hour for a maintenance window for streaming jobs.'''
|
|
6287
6286
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceWindow"))
|
|
6288
6287
|
|
|
6289
6288
|
@maintenance_window.setter
|
|
@@ -6772,7 +6771,7 @@ class CfnJobProps:
|
|
|
6772
6771
|
:param execution_property: The maximum number of concurrent runs that are allowed for this job.
|
|
6773
6772
|
:param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9.
|
|
6774
6773
|
:param log_uri: This field is reserved for future use.
|
|
6775
|
-
:param maintenance_window:
|
|
6774
|
+
:param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
|
|
6776
6775
|
:param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
|
|
6777
6776
|
:param max_retries: The maximum number of times to retry this job after a JobRun fails.
|
|
6778
6777
|
:param name: The name you assign to this job definition.
|
|
@@ -7018,7 +7017,12 @@ class CfnJobProps:
|
|
|
7018
7017
|
|
|
7019
7018
|
@builtins.property
|
|
7020
7019
|
def maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
7021
|
-
'''
|
|
7020
|
+
'''This field specifies a day of the week and hour for a maintenance window for streaming jobs.
|
|
7021
|
+
|
|
7022
|
+
AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs.
|
|
7023
|
+
|
|
7024
|
+
AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
|
|
7025
|
+
|
|
7022
7026
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maintenancewindow
|
|
7023
7027
|
'''
|
|
7024
7028
|
result = self._values.get("maintenance_window")
|
aws_cdk/aws_grafana/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS::Grafana Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -148,7 +148,7 @@ class CfnWorkspace(
|
|
|
148
148
|
:param scope: Scope in which this resource is defined.
|
|
149
149
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
150
150
|
:param account_access_type: Specifies whether the workspace can access AWS resources in this AWS account only, or whether it can also access AWS resources in other accounts in the same organization. If this is ``ORGANIZATION`` , the ``OrganizationalUnits`` parameter specifies which organizational units the workspace can access.
|
|
151
|
-
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center , or both to authenticate users for using the Grafana console within a workspace. For more information, see `User authentication in Amazon Managed Grafana <https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html>`_ .
|
|
151
|
+
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center , or both to authenticate users for using the Grafana console within a workspace. For more information, see `User authentication in Amazon Managed Grafana <https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html>`_ . *Allowed Values* : ``AWS_SSO | SAML``
|
|
152
152
|
:param permission_type: If this is ``SERVICE_MANAGED`` , and the workplace was created through the Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use AWS data sources and notification channels. If this is ``CUSTOMER_MANAGED`` , you must manage those roles and permissions yourself. If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other AWS accounts in the organization, this parameter must be set to ``CUSTOMER_MANAGED`` . For more information about converting between customer and service managed, see `Managing permissions for data sources and notification channels <https://docs.aws.amazon.com/grafana/latest/userguide/AMG-datasource-and-notification.html>`_ . For more information about the roles and permissions that must be managed for customer managed workspaces, see `Amazon Managed Grafana permissions and policies for AWS data sources and notification channels <https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html>`_
|
|
153
153
|
:param client_token: A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
154
154
|
:param data_sources: Specifies the AWS data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources. This list is only used when the workspace was created through the AWS console, and the ``permissionType`` is ``SERVICE_MANAGED`` .
|
|
@@ -156,7 +156,7 @@ class CfnWorkspace(
|
|
|
156
156
|
:param grafana_version: Specifies the version of Grafana to support in the workspace. Defaults to the latest version on create (for example, 9.4), or the current version of the workspace on update. Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4). To know what versions are available to upgrade to for a specific workspace, see the `ListVersions <https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html>`_ operation.
|
|
157
157
|
:param name: The name of the workspace.
|
|
158
158
|
:param network_access_control: The configuration settings for network access to your workspace.
|
|
159
|
-
:param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
|
|
159
|
+
:param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels. *AllowedValues* : ``SNS``
|
|
160
160
|
:param organizational_units: Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
|
|
161
161
|
:param organization_role_name: The name of the IAM role that is used to access resources through Organizations.
|
|
162
162
|
:param plugin_admin_enabled: Whether plugin administration is enabled in the workspace. Setting to ``true`` allows workspace admins to install, uninstall, and update plugins from within the Grafana workspace. .. epigraph:: This option is only valid for workspaces that support Grafana version 9 or newer.
|
|
@@ -1228,7 +1228,7 @@ class CfnWorkspaceProps:
|
|
|
1228
1228
|
'''Properties for defining a ``CfnWorkspace``.
|
|
1229
1229
|
|
|
1230
1230
|
:param account_access_type: Specifies whether the workspace can access AWS resources in this AWS account only, or whether it can also access AWS resources in other accounts in the same organization. If this is ``ORGANIZATION`` , the ``OrganizationalUnits`` parameter specifies which organizational units the workspace can access.
|
|
1231
|
-
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center , or both to authenticate users for using the Grafana console within a workspace. For more information, see `User authentication in Amazon Managed Grafana <https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html>`_ .
|
|
1231
|
+
:param authentication_providers: Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center , or both to authenticate users for using the Grafana console within a workspace. For more information, see `User authentication in Amazon Managed Grafana <https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html>`_ . *Allowed Values* : ``AWS_SSO | SAML``
|
|
1232
1232
|
:param permission_type: If this is ``SERVICE_MANAGED`` , and the workplace was created through the Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use AWS data sources and notification channels. If this is ``CUSTOMER_MANAGED`` , you must manage those roles and permissions yourself. If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other AWS accounts in the organization, this parameter must be set to ``CUSTOMER_MANAGED`` . For more information about converting between customer and service managed, see `Managing permissions for data sources and notification channels <https://docs.aws.amazon.com/grafana/latest/userguide/AMG-datasource-and-notification.html>`_ . For more information about the roles and permissions that must be managed for customer managed workspaces, see `Amazon Managed Grafana permissions and policies for AWS data sources and notification channels <https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html>`_
|
|
1233
1233
|
:param client_token: A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
1234
1234
|
:param data_sources: Specifies the AWS data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources. This list is only used when the workspace was created through the AWS console, and the ``permissionType`` is ``SERVICE_MANAGED`` .
|
|
@@ -1236,7 +1236,7 @@ class CfnWorkspaceProps:
|
|
|
1236
1236
|
:param grafana_version: Specifies the version of Grafana to support in the workspace. Defaults to the latest version on create (for example, 9.4), or the current version of the workspace on update. Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4). To know what versions are available to upgrade to for a specific workspace, see the `ListVersions <https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html>`_ operation.
|
|
1237
1237
|
:param name: The name of the workspace.
|
|
1238
1238
|
:param network_access_control: The configuration settings for network access to your workspace.
|
|
1239
|
-
:param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
|
|
1239
|
+
:param notification_destinations: The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels. *AllowedValues* : ``SNS``
|
|
1240
1240
|
:param organizational_units: Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.
|
|
1241
1241
|
:param organization_role_name: The name of the IAM role that is used to access resources through Organizations.
|
|
1242
1242
|
:param plugin_admin_enabled: Whether plugin administration is enabled in the workspace. Setting to ``true`` allows workspace admins to install, uninstall, and update plugins from within the Grafana workspace. .. epigraph:: This option is only valid for workspaces that support Grafana version 9 or newer.
|
|
@@ -1372,6 +1372,8 @@ class CfnWorkspaceProps:
|
|
|
1372
1372
|
def authentication_providers(self) -> typing.List[builtins.str]:
|
|
1373
1373
|
'''Specifies whether this workspace uses SAML 2.0, AWS IAM Identity Center , or both to authenticate users for using the Grafana console within a workspace. For more information, see `User authentication in Amazon Managed Grafana <https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html>`_ .
|
|
1374
1374
|
|
|
1375
|
+
*Allowed Values* : ``AWS_SSO | SAML``
|
|
1376
|
+
|
|
1375
1377
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-grafana-workspace.html#cfn-grafana-workspace-authenticationproviders
|
|
1376
1378
|
'''
|
|
1377
1379
|
result = self._values.get("authentication_providers")
|
|
@@ -1462,6 +1464,8 @@ class CfnWorkspaceProps:
|
|
|
1462
1464
|
def notification_destinations(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1463
1465
|
'''The AWS notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.
|
|
1464
1466
|
|
|
1467
|
+
*AllowedValues* : ``SNS``
|
|
1468
|
+
|
|
1465
1469
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-grafana-workspace.html#cfn-grafana-workspace-notificationdestinations
|
|
1466
1470
|
'''
|
|
1467
1471
|
result = self._values.get("notification_destinations")
|