aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.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.
- 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.0.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.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.0.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.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS CodeDeploy Construct Library
|
|
3
3
|
|
|
4
4
|
## Table of Contents
|
|
@@ -92,7 +92,10 @@ deployment_group = codedeploy.ServerDeploymentGroup(self, "CodeDeployDeploymentG
|
|
|
92
92
|
failed_deployment=True, # default: true
|
|
93
93
|
stopped_deployment=True, # default: false
|
|
94
94
|
deployment_in_alarm=True
|
|
95
|
-
)
|
|
95
|
+
),
|
|
96
|
+
# whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group
|
|
97
|
+
# default: false
|
|
98
|
+
termination_hook=True
|
|
96
99
|
)
|
|
97
100
|
```
|
|
98
101
|
|
|
@@ -858,7 +861,10 @@ class AutoRollbackConfig:
|
|
|
858
861
|
failed_deployment=True, # default: true
|
|
859
862
|
stopped_deployment=True, # default: false
|
|
860
863
|
deployment_in_alarm=True
|
|
861
|
-
)
|
|
864
|
+
),
|
|
865
|
+
# whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group
|
|
866
|
+
# default: false
|
|
867
|
+
termination_hook=True
|
|
862
868
|
)
|
|
863
869
|
'''
|
|
864
870
|
if __debug__:
|
|
@@ -6987,7 +6993,10 @@ class InstanceTagSet(
|
|
|
6987
6993
|
failed_deployment=True, # default: true
|
|
6988
6994
|
stopped_deployment=True, # default: false
|
|
6989
6995
|
deployment_in_alarm=True
|
|
6990
|
-
)
|
|
6996
|
+
),
|
|
6997
|
+
# whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group
|
|
6998
|
+
# default: false
|
|
6999
|
+
termination_hook=True
|
|
6991
7000
|
)
|
|
6992
7001
|
'''
|
|
6993
7002
|
|
|
@@ -8262,6 +8271,7 @@ class ServerDeploymentGroup(
|
|
|
8262
8271
|
load_balancers: typing.Optional[typing.Sequence[LoadBalancer]] = None,
|
|
8263
8272
|
on_premise_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
8264
8273
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
8274
|
+
termination_hook: typing.Optional[builtins.bool] = None,
|
|
8265
8275
|
) -> None:
|
|
8266
8276
|
'''
|
|
8267
8277
|
:param scope: -
|
|
@@ -8280,6 +8290,7 @@ class ServerDeploymentGroup(
|
|
|
8280
8290
|
:param load_balancers: CodeDeploy supports the deployment to multiple load balancers. Specify either multiple Classic Load Balancers, or Application Load Balancers / Network Load Balancers Target Groups. Default: - Deployment Group will not have load balancers defined.
|
|
8281
8291
|
:param on_premise_instance_tags: All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group. Default: - No additional on-premise instances will be added to the Deployment Group.
|
|
8282
8292
|
:param role: The service Role of this Deployment Group. Default: - A new Role will be created.
|
|
8293
|
+
:param termination_hook: Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group. Default: - false
|
|
8283
8294
|
'''
|
|
8284
8295
|
if __debug__:
|
|
8285
8296
|
type_hints = typing.get_type_hints(_typecheckingstub__e0364d4b48c02675a1899e742e45b411f0e83905e634a84441d088a41fe25c8f)
|
|
@@ -8300,6 +8311,7 @@ class ServerDeploymentGroup(
|
|
|
8300
8311
|
load_balancers=load_balancers,
|
|
8301
8312
|
on_premise_instance_tags=on_premise_instance_tags,
|
|
8302
8313
|
role=role,
|
|
8314
|
+
termination_hook=termination_hook,
|
|
8303
8315
|
)
|
|
8304
8316
|
|
|
8305
8317
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -8495,6 +8507,7 @@ class ServerDeploymentGroupAttributes:
|
|
|
8495
8507
|
"load_balancers": "loadBalancers",
|
|
8496
8508
|
"on_premise_instance_tags": "onPremiseInstanceTags",
|
|
8497
8509
|
"role": "role",
|
|
8510
|
+
"termination_hook": "terminationHook",
|
|
8498
8511
|
},
|
|
8499
8512
|
)
|
|
8500
8513
|
class ServerDeploymentGroupProps:
|
|
@@ -8515,6 +8528,7 @@ class ServerDeploymentGroupProps:
|
|
|
8515
8528
|
load_balancers: typing.Optional[typing.Sequence[LoadBalancer]] = None,
|
|
8516
8529
|
on_premise_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
8517
8530
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
8531
|
+
termination_hook: typing.Optional[builtins.bool] = None,
|
|
8518
8532
|
) -> None:
|
|
8519
8533
|
'''Construction properties for ``ServerDeploymentGroup``.
|
|
8520
8534
|
|
|
@@ -8532,6 +8546,7 @@ class ServerDeploymentGroupProps:
|
|
|
8532
8546
|
:param load_balancers: CodeDeploy supports the deployment to multiple load balancers. Specify either multiple Classic Load Balancers, or Application Load Balancers / Network Load Balancers Target Groups. Default: - Deployment Group will not have load balancers defined.
|
|
8533
8547
|
:param on_premise_instance_tags: All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group. Default: - No additional on-premise instances will be added to the Deployment Group.
|
|
8534
8548
|
:param role: The service Role of this Deployment Group. Default: - A new Role will be created.
|
|
8549
|
+
:param termination_hook: Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group. Default: - false
|
|
8535
8550
|
|
|
8536
8551
|
:exampleMetadata: infused
|
|
8537
8552
|
|
|
@@ -8564,6 +8579,7 @@ class ServerDeploymentGroupProps:
|
|
|
8564
8579
|
check_type(argname="argument load_balancers", value=load_balancers, expected_type=type_hints["load_balancers"])
|
|
8565
8580
|
check_type(argname="argument on_premise_instance_tags", value=on_premise_instance_tags, expected_type=type_hints["on_premise_instance_tags"])
|
|
8566
8581
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
8582
|
+
check_type(argname="argument termination_hook", value=termination_hook, expected_type=type_hints["termination_hook"])
|
|
8567
8583
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8568
8584
|
if alarms is not None:
|
|
8569
8585
|
self._values["alarms"] = alarms
|
|
@@ -8593,6 +8609,8 @@ class ServerDeploymentGroupProps:
|
|
|
8593
8609
|
self._values["on_premise_instance_tags"] = on_premise_instance_tags
|
|
8594
8610
|
if role is not None:
|
|
8595
8611
|
self._values["role"] = role
|
|
8612
|
+
if termination_hook is not None:
|
|
8613
|
+
self._values["termination_hook"] = termination_hook
|
|
8596
8614
|
|
|
8597
8615
|
@builtins.property
|
|
8598
8616
|
def alarms(self) -> typing.Optional[typing.List[_IAlarm_ff3eabc0]]:
|
|
@@ -8747,6 +8765,17 @@ class ServerDeploymentGroupProps:
|
|
|
8747
8765
|
result = self._values.get("role")
|
|
8748
8766
|
return typing.cast(typing.Optional[_IRole_235f5d8e], result)
|
|
8749
8767
|
|
|
8768
|
+
@builtins.property
|
|
8769
|
+
def termination_hook(self) -> typing.Optional[builtins.bool]:
|
|
8770
|
+
'''Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
|
|
8771
|
+
|
|
8772
|
+
:default: - false
|
|
8773
|
+
|
|
8774
|
+
:see: https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors
|
|
8775
|
+
'''
|
|
8776
|
+
result = self._values.get("termination_hook")
|
|
8777
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8778
|
+
|
|
8750
8779
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8751
8780
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8752
8781
|
|
|
@@ -11023,6 +11052,7 @@ def _typecheckingstub__e0364d4b48c02675a1899e742e45b411f0e83905e634a84441d088a41
|
|
|
11023
11052
|
load_balancers: typing.Optional[typing.Sequence[LoadBalancer]] = None,
|
|
11024
11053
|
on_premise_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
11025
11054
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
11055
|
+
termination_hook: typing.Optional[builtins.bool] = None,
|
|
11026
11056
|
) -> None:
|
|
11027
11057
|
"""Type checking stubs"""
|
|
11028
11058
|
pass
|
|
@@ -11075,6 +11105,7 @@ def _typecheckingstub__a3ad41a581be1a234fd5722299d51aa77bd7beaf51e0511c95ee742d4
|
|
|
11075
11105
|
load_balancers: typing.Optional[typing.Sequence[LoadBalancer]] = None,
|
|
11076
11106
|
on_premise_instance_tags: typing.Optional[InstanceTagSet] = None,
|
|
11077
11107
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
11108
|
+
termination_hook: typing.Optional[builtins.bool] = None,
|
|
11078
11109
|
) -> None:
|
|
11079
11110
|
"""Type checking stubs"""
|
|
11080
11111
|
pass
|
aws_cdk/aws_codestar/__init__.py
CHANGED
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# Amazon Cognito Construct Library
|
|
3
3
|
|
|
4
4
|
[Amazon Cognito](https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html) provides
|
|
@@ -718,6 +718,24 @@ pool.add_client("app-client",
|
|
|
718
718
|
)
|
|
719
719
|
```
|
|
720
720
|
|
|
721
|
+
To set a default redirect URI, use the `defaultRedirectUri` property.
|
|
722
|
+
Its value must be present in the `callbackUrls` list.
|
|
723
|
+
|
|
724
|
+
```python
|
|
725
|
+
pool = cognito.UserPool(self, "Pool")
|
|
726
|
+
pool.add_client("app-client",
|
|
727
|
+
o_auth=cognito.OAuthSettings(
|
|
728
|
+
flows=cognito.OAuthFlows(
|
|
729
|
+
authorization_code_grant=True
|
|
730
|
+
),
|
|
731
|
+
scopes=[cognito.OAuthScope.OPENID],
|
|
732
|
+
default_redirect_uri="https://my-app-domain.com/welcome",
|
|
733
|
+
callback_urls=["https://my-app-domain.com/welcome", "https://my-app-domain.com/hello"],
|
|
734
|
+
logout_urls=["https://my-app-domain.com/signin"]
|
|
735
|
+
)
|
|
736
|
+
)
|
|
737
|
+
```
|
|
738
|
+
|
|
721
739
|
An app client can be configured to prevent user existence errors. This
|
|
722
740
|
instructs the Cognito authentication API to return generic authentication
|
|
723
741
|
failure responses instead of an UserNotFoundException. By default, the flag
|
|
@@ -6530,7 +6548,7 @@ class CfnUserPoolClient(
|
|
|
6530
6548
|
:param auth_session_validity: Amazon Cognito creates a session token for each API request in an authentication flow. ``AuthSessionValidity`` is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.
|
|
6531
6549
|
:param callback_ur_ls: A list of allowed redirect (callback) URLs for the IdPs. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component. See `OAuth 2.0 - Redirection Endpoint <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6749#section-3.1.2>`_ . Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
|
|
6532
6550
|
:param client_name: The client name for the user pool client you would like to create.
|
|
6533
|
-
:param default_redirect_uri: The default redirect URI. Must be in the ``CallbackURLs`` list. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component.
|
|
6551
|
+
:param default_redirect_uri: The default redirect URI. In app clients with one assigned IdP, replaces ``redirect_uri`` in authentication requests. Must be in the ``CallbackURLs`` list. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component. For more information, see `Default redirect URI <https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#cognito-user-pools-app-idp-settings-about>`_ . Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
|
|
6534
6552
|
:param enable_propagate_additional_user_context_data: Activates the propagation of additional user context data. For more information about propagation of user context data, see `Adding advanced security to a user pool <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html>`_ . If you don’t include this parameter, you can't send device fingerprint information, including source IP address, to Amazon Cognito advanced security. You can only activate ``EnablePropagateAdditionalUserContextData`` in an app client that has a client secret.
|
|
6535
6553
|
:param enable_token_revocation: Activates or deactivates token revocation. For more information about revoking tokens, see `RevokeToken <https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html>`_ . If you don't include this parameter, token revocation is automatically activated for the new user pool client.
|
|
6536
6554
|
:param explicit_auth_flows: The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions. .. epigraph:: If you don't specify a value for ``ExplicitAuthFlows`` , your user client supports ``ALLOW_REFRESH_TOKEN_AUTH`` , ``ALLOW_USER_SRP_AUTH`` , and ``ALLOW_CUSTOM_AUTH`` . Valid values include: - ``ALLOW_ADMIN_USER_PASSWORD_AUTH`` : Enable admin based user password authentication flow ``ADMIN_USER_PASSWORD_AUTH`` . This setting replaces the ``ADMIN_NO_SRP_AUTH`` setting. With this authentication flow, your app passes a user name and password to Amazon Cognito in the request, instead of using the Secure Remote Password (SRP) protocol to securely transmit the password. - ``ALLOW_CUSTOM_AUTH`` : Enable Lambda trigger based authentication. - ``ALLOW_USER_PASSWORD_AUTH`` : Enable user password-based authentication. In this flow, Amazon Cognito receives the password in the request instead of using the SRP protocol to verify passwords. - ``ALLOW_USER_SRP_AUTH`` : Enable SRP-based authentication. - ``ALLOW_REFRESH_TOKEN_AUTH`` : Enable authflow to refresh tokens. In some environments, you will see the values ``ADMIN_NO_SRP_AUTH`` , ``CUSTOM_AUTH_FLOW_ONLY`` , or ``USER_PASSWORD_AUTH`` . You can't assign these legacy ``ExplicitAuthFlows`` values to user pool clients at the same time as values that begin with ``ALLOW_`` , like ``ALLOW_USER_SRP_AUTH`` .
|
|
@@ -6771,10 +6789,7 @@ class CfnUserPoolClient(
|
|
|
6771
6789
|
@builtins.property
|
|
6772
6790
|
@jsii.member(jsii_name="defaultRedirectUri")
|
|
6773
6791
|
def default_redirect_uri(self) -> typing.Optional[builtins.str]:
|
|
6774
|
-
'''The default redirect URI.
|
|
6775
|
-
|
|
6776
|
-
Must be in the ``CallbackURLs`` list.
|
|
6777
|
-
'''
|
|
6792
|
+
'''The default redirect URI.'''
|
|
6778
6793
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "defaultRedirectUri"))
|
|
6779
6794
|
|
|
6780
6795
|
@default_redirect_uri.setter
|
|
@@ -7273,7 +7288,7 @@ class CfnUserPoolClientProps:
|
|
|
7273
7288
|
:param auth_session_validity: Amazon Cognito creates a session token for each API request in an authentication flow. ``AuthSessionValidity`` is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.
|
|
7274
7289
|
:param callback_ur_ls: A list of allowed redirect (callback) URLs for the IdPs. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component. See `OAuth 2.0 - Redirection Endpoint <https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6749#section-3.1.2>`_ . Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
|
|
7275
7290
|
:param client_name: The client name for the user pool client you would like to create.
|
|
7276
|
-
:param default_redirect_uri: The default redirect URI. Must be in the ``CallbackURLs`` list. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component.
|
|
7291
|
+
:param default_redirect_uri: The default redirect URI. In app clients with one assigned IdP, replaces ``redirect_uri`` in authentication requests. Must be in the ``CallbackURLs`` list. A redirect URI must: - Be an absolute URI. - Be registered with the authorization server. - Not include a fragment component. For more information, see `Default redirect URI <https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#cognito-user-pools-app-idp-settings-about>`_ . Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
|
|
7277
7292
|
:param enable_propagate_additional_user_context_data: Activates the propagation of additional user context data. For more information about propagation of user context data, see `Adding advanced security to a user pool <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html>`_ . If you don’t include this parameter, you can't send device fingerprint information, including source IP address, to Amazon Cognito advanced security. You can only activate ``EnablePropagateAdditionalUserContextData`` in an app client that has a client secret.
|
|
7278
7293
|
:param enable_token_revocation: Activates or deactivates token revocation. For more information about revoking tokens, see `RevokeToken <https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html>`_ . If you don't include this parameter, token revocation is automatically activated for the new user pool client.
|
|
7279
7294
|
:param explicit_auth_flows: The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions. .. epigraph:: If you don't specify a value for ``ExplicitAuthFlows`` , your user client supports ``ALLOW_REFRESH_TOKEN_AUTH`` , ``ALLOW_USER_SRP_AUTH`` , and ``ALLOW_CUSTOM_AUTH`` . Valid values include: - ``ALLOW_ADMIN_USER_PASSWORD_AUTH`` : Enable admin based user password authentication flow ``ADMIN_USER_PASSWORD_AUTH`` . This setting replaces the ``ADMIN_NO_SRP_AUTH`` setting. With this authentication flow, your app passes a user name and password to Amazon Cognito in the request, instead of using the Secure Remote Password (SRP) protocol to securely transmit the password. - ``ALLOW_CUSTOM_AUTH`` : Enable Lambda trigger based authentication. - ``ALLOW_USER_PASSWORD_AUTH`` : Enable user password-based authentication. In this flow, Amazon Cognito receives the password in the request instead of using the SRP protocol to verify passwords. - ``ALLOW_USER_SRP_AUTH`` : Enable SRP-based authentication. - ``ALLOW_REFRESH_TOKEN_AUTH`` : Enable authflow to refresh tokens. In some environments, you will see the values ``ADMIN_NO_SRP_AUTH`` , ``CUSTOM_AUTH_FLOW_ONLY`` , or ``USER_PASSWORD_AUTH`` . You can't assign these legacy ``ExplicitAuthFlows`` values to user pool clients at the same time as values that begin with ``ALLOW_`` , like ``ALLOW_USER_SRP_AUTH`` .
|
|
@@ -7532,7 +7547,9 @@ class CfnUserPoolClientProps:
|
|
|
7532
7547
|
|
|
7533
7548
|
@builtins.property
|
|
7534
7549
|
def default_redirect_uri(self) -> typing.Optional[builtins.str]:
|
|
7535
|
-
'''The default redirect URI.
|
|
7550
|
+
'''The default redirect URI.
|
|
7551
|
+
|
|
7552
|
+
In app clients with one assigned IdP, replaces ``redirect_uri`` in authentication requests. Must be in the ``CallbackURLs`` list.
|
|
7536
7553
|
|
|
7537
7554
|
A redirect URI must:
|
|
7538
7555
|
|
|
@@ -7540,7 +7557,7 @@ class CfnUserPoolClientProps:
|
|
|
7540
7557
|
- Be registered with the authorization server.
|
|
7541
7558
|
- Not include a fragment component.
|
|
7542
7559
|
|
|
7543
|
-
|
|
7560
|
+
For more information, see `Default redirect URI <https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#cognito-user-pools-app-idp-settings-about>`_ .
|
|
7544
7561
|
|
|
7545
7562
|
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
|
|
7546
7563
|
|
|
@@ -9414,15 +9431,6 @@ class CfnUserPoolResourceServer(
|
|
|
9414
9431
|
'''The CloudFormation resource type name for this resource class.'''
|
|
9415
9432
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
9416
9433
|
|
|
9417
|
-
@builtins.property
|
|
9418
|
-
@jsii.member(jsii_name="attrId")
|
|
9419
|
-
def attr_id(self) -> builtins.str:
|
|
9420
|
-
'''The resource ID.
|
|
9421
|
-
|
|
9422
|
-
:cloudformationAttribute: Id
|
|
9423
|
-
'''
|
|
9424
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
9425
|
-
|
|
9426
9434
|
@builtins.property
|
|
9427
9435
|
@jsii.member(jsii_name="cfnProperties")
|
|
9428
9436
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -13588,6 +13596,7 @@ class OAuthScope(
|
|
|
13588
13596
|
jsii_struct_bases=[],
|
|
13589
13597
|
name_mapping={
|
|
13590
13598
|
"callback_urls": "callbackUrls",
|
|
13599
|
+
"default_redirect_uri": "defaultRedirectUri",
|
|
13591
13600
|
"flows": "flows",
|
|
13592
13601
|
"logout_urls": "logoutUrls",
|
|
13593
13602
|
"scopes": "scopes",
|
|
@@ -13598,6 +13607,7 @@ class OAuthSettings:
|
|
|
13598
13607
|
self,
|
|
13599
13608
|
*,
|
|
13600
13609
|
callback_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13610
|
+
default_redirect_uri: typing.Optional[builtins.str] = None,
|
|
13601
13611
|
flows: typing.Optional[typing.Union[OAuthFlows, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
13602
13612
|
logout_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13603
13613
|
scopes: typing.Optional[typing.Sequence[OAuthScope]] = None,
|
|
@@ -13605,6 +13615,7 @@ class OAuthSettings:
|
|
|
13605
13615
|
'''OAuth settings to configure the interaction between the app and this client.
|
|
13606
13616
|
|
|
13607
13617
|
:param callback_urls: List of allowed redirect URLs for the identity providers. Default: - ['https://example.com'] if either authorizationCodeGrant or implicitCodeGrant flows are enabled, no callback URLs otherwise.
|
|
13618
|
+
:param default_redirect_uri: The default redirect URI. Must be in the ``callbackUrls`` list. A redirect URI must: - Be an absolute URI - Be registered with the authorization server. - Not include a fragment component. Default: - no default redirect URI
|
|
13608
13619
|
:param flows: OAuth flows that are allowed with this client. Default: {authorizationCodeGrant:true,implicitCodeGrant:true}
|
|
13609
13620
|
:param logout_urls: List of allowed logout URLs for the identity providers. Default: - no logout URLs
|
|
13610
13621
|
:param scopes: OAuth scopes that are allowed with this client. Default: [OAuthScope.PHONE,OAuthScope.EMAIL,OAuthScope.OPENID,OAuthScope.PROFILE,OAuthScope.COGNITO_ADMIN]
|
|
@@ -13644,12 +13655,15 @@ class OAuthSettings:
|
|
|
13644
13655
|
if __debug__:
|
|
13645
13656
|
type_hints = typing.get_type_hints(_typecheckingstub__9322fee969a93d621a972830c0fca7f51a16c368668af0d6da355939ca39b708)
|
|
13646
13657
|
check_type(argname="argument callback_urls", value=callback_urls, expected_type=type_hints["callback_urls"])
|
|
13658
|
+
check_type(argname="argument default_redirect_uri", value=default_redirect_uri, expected_type=type_hints["default_redirect_uri"])
|
|
13647
13659
|
check_type(argname="argument flows", value=flows, expected_type=type_hints["flows"])
|
|
13648
13660
|
check_type(argname="argument logout_urls", value=logout_urls, expected_type=type_hints["logout_urls"])
|
|
13649
13661
|
check_type(argname="argument scopes", value=scopes, expected_type=type_hints["scopes"])
|
|
13650
13662
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
13651
13663
|
if callback_urls is not None:
|
|
13652
13664
|
self._values["callback_urls"] = callback_urls
|
|
13665
|
+
if default_redirect_uri is not None:
|
|
13666
|
+
self._values["default_redirect_uri"] = default_redirect_uri
|
|
13653
13667
|
if flows is not None:
|
|
13654
13668
|
self._values["flows"] = flows
|
|
13655
13669
|
if logout_urls is not None:
|
|
@@ -13666,6 +13680,29 @@ class OAuthSettings:
|
|
|
13666
13680
|
result = self._values.get("callback_urls")
|
|
13667
13681
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
13668
13682
|
|
|
13683
|
+
@builtins.property
|
|
13684
|
+
def default_redirect_uri(self) -> typing.Optional[builtins.str]:
|
|
13685
|
+
'''The default redirect URI. Must be in the ``callbackUrls`` list.
|
|
13686
|
+
|
|
13687
|
+
A redirect URI must:
|
|
13688
|
+
|
|
13689
|
+
- Be an absolute URI
|
|
13690
|
+
- Be registered with the authorization server.
|
|
13691
|
+
- Not include a fragment component.
|
|
13692
|
+
|
|
13693
|
+
:default: - no default redirect URI
|
|
13694
|
+
|
|
13695
|
+
:see:
|
|
13696
|
+
|
|
13697
|
+
https://tools.ietf.org/html/rfc6749#section-3.1.2
|
|
13698
|
+
|
|
13699
|
+
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
|
|
13700
|
+
|
|
13701
|
+
App callback URLs such as myapp://example are also supported.
|
|
13702
|
+
'''
|
|
13703
|
+
result = self._values.get("default_redirect_uri")
|
|
13704
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13705
|
+
|
|
13669
13706
|
@builtins.property
|
|
13670
13707
|
def flows(self) -> typing.Optional[OAuthFlows]:
|
|
13671
13708
|
'''OAuth flows that are allowed with this client.
|
|
@@ -22570,6 +22607,7 @@ def _typecheckingstub__b161664ae7bfb1838c23dd6d7b35e7c009bedb80545b644df24485522
|
|
|
22570
22607
|
def _typecheckingstub__9322fee969a93d621a972830c0fca7f51a16c368668af0d6da355939ca39b708(
|
|
22571
22608
|
*,
|
|
22572
22609
|
callback_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
22610
|
+
default_redirect_uri: typing.Optional[builtins.str] = None,
|
|
22573
22611
|
flows: typing.Optional[typing.Union[OAuthFlows, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22574
22612
|
logout_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
22575
22613
|
scopes: typing.Optional[typing.Sequence[OAuthScope]] = None,
|
aws_cdk/aws_config/__init__.py
CHANGED
aws_cdk/aws_connect/__init__.py
CHANGED
aws_cdk/aws_cur/__init__.py
CHANGED
aws_cdk/aws_databrew/__init__.py
CHANGED
aws_cdk/aws_datasync/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS::DataSync Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -109,10 +109,10 @@ class CfnAgent(
|
|
|
109
109
|
'''
|
|
110
110
|
:param scope: Scope in which this resource is defined.
|
|
111
111
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
112
|
-
:param activation_key: Specifies your DataSync agent's activation key. If you don't have an activation key, see `
|
|
113
|
-
:param agent_name: Specifies a name for your agent.
|
|
112
|
+
:param activation_key: Specifies your DataSync agent's activation key. If you don't have an activation key, see `Activating your agent <https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html>`_ .
|
|
113
|
+
:param agent_name: Specifies a name for your agent. We recommend specifying a name that you can remember.
|
|
114
114
|
:param security_group_arns: The Amazon Resource Names (ARNs) of the security groups used to protect your data transfer task subnets. See `SecurityGroupArns <https://docs.aws.amazon.com/datasync/latest/userguide/API_Ec2Config.html#DataSync-Type-Ec2Config-SecurityGroupArns>`_ . *Pattern* : ``^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/.*$``
|
|
115
|
-
:param subnet_arns: Specifies the ARN of the subnet where
|
|
115
|
+
:param subnet_arns: Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.
|
|
116
116
|
:param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least one tag for your agent.
|
|
117
117
|
:param vpc_endpoint_id: The ID of the virtual private cloud (VPC) endpoint that the agent has access to. This is the client-side VPC endpoint, powered by AWS PrivateLink . If you don't have an AWS PrivateLink VPC endpoint, see `AWS PrivateLink and VPC endpoints <https://docs.aws.amazon.com//vpc/latest/userguide/endpoint-services-overview.html>`_ in the *Amazon VPC User Guide* . For more information about activating your agent in a private network based on a VPC, see `Using AWS DataSync in a Virtual Private Cloud <https://docs.aws.amazon.com/datasync/latest/userguide/datasync-in-vpc.html>`_ in the *AWS DataSync User Guide.* A VPC endpoint ID looks like this: ``vpce-01234d5aff67890e1`` .
|
|
118
118
|
'''
|
|
@@ -239,7 +239,7 @@ class CfnAgent(
|
|
|
239
239
|
@builtins.property
|
|
240
240
|
@jsii.member(jsii_name="subnetArns")
|
|
241
241
|
def subnet_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
242
|
-
'''Specifies the ARN of the subnet where
|
|
242
|
+
'''Specifies the ARN of the subnet where your VPC service endpoint is located.'''
|
|
243
243
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "subnetArns"))
|
|
244
244
|
|
|
245
245
|
@subnet_arns.setter
|
|
@@ -301,10 +301,10 @@ class CfnAgentProps:
|
|
|
301
301
|
) -> None:
|
|
302
302
|
'''Properties for defining a ``CfnAgent``.
|
|
303
303
|
|
|
304
|
-
:param activation_key: Specifies your DataSync agent's activation key. If you don't have an activation key, see `
|
|
305
|
-
:param agent_name: Specifies a name for your agent.
|
|
304
|
+
:param activation_key: Specifies your DataSync agent's activation key. If you don't have an activation key, see `Activating your agent <https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html>`_ .
|
|
305
|
+
:param agent_name: Specifies a name for your agent. We recommend specifying a name that you can remember.
|
|
306
306
|
:param security_group_arns: The Amazon Resource Names (ARNs) of the security groups used to protect your data transfer task subnets. See `SecurityGroupArns <https://docs.aws.amazon.com/datasync/latest/userguide/API_Ec2Config.html#DataSync-Type-Ec2Config-SecurityGroupArns>`_ . *Pattern* : ``^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/.*$``
|
|
307
|
-
:param subnet_arns: Specifies the ARN of the subnet where
|
|
307
|
+
:param subnet_arns: Specifies the ARN of the subnet where your VPC service endpoint is located. You can only specify one ARN.
|
|
308
308
|
:param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least one tag for your agent.
|
|
309
309
|
:param vpc_endpoint_id: The ID of the virtual private cloud (VPC) endpoint that the agent has access to. This is the client-side VPC endpoint, powered by AWS PrivateLink . If you don't have an AWS PrivateLink VPC endpoint, see `AWS PrivateLink and VPC endpoints <https://docs.aws.amazon.com//vpc/latest/userguide/endpoint-services-overview.html>`_ in the *Amazon VPC User Guide* . For more information about activating your agent in a private network based on a VPC, see `Using AWS DataSync in a Virtual Private Cloud <https://docs.aws.amazon.com/datasync/latest/userguide/datasync-in-vpc.html>`_ in the *AWS DataSync User Guide.* A VPC endpoint ID looks like this: ``vpce-01234d5aff67890e1`` .
|
|
310
310
|
|
|
@@ -355,7 +355,7 @@ class CfnAgentProps:
|
|
|
355
355
|
def activation_key(self) -> typing.Optional[builtins.str]:
|
|
356
356
|
'''Specifies your DataSync agent's activation key.
|
|
357
357
|
|
|
358
|
-
If you don't have an activation key, see `
|
|
358
|
+
If you don't have an activation key, see `Activating your agent <https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html>`_ .
|
|
359
359
|
|
|
360
360
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-activationkey
|
|
361
361
|
'''
|
|
@@ -366,7 +366,7 @@ class CfnAgentProps:
|
|
|
366
366
|
def agent_name(self) -> typing.Optional[builtins.str]:
|
|
367
367
|
'''Specifies a name for your agent.
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
We recommend specifying a name that you can remember.
|
|
370
370
|
|
|
371
371
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-agentname
|
|
372
372
|
'''
|
|
@@ -388,9 +388,9 @@ class CfnAgentProps:
|
|
|
388
388
|
|
|
389
389
|
@builtins.property
|
|
390
390
|
def subnet_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
391
|
-
'''Specifies the ARN of the subnet where
|
|
391
|
+
'''Specifies the ARN of the subnet where your VPC service endpoint is located.
|
|
392
392
|
|
|
393
|
-
|
|
393
|
+
You can only specify one ARN.
|
|
394
394
|
|
|
395
395
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-subnetarns
|
|
396
396
|
'''
|
aws_cdk/aws_datazone/__init__.py
CHANGED
aws_cdk/aws_dax/__init__.py
CHANGED
aws_cdk/aws_deadline/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS::Deadline Construct Library
|
|
3
3
|
|
|
4
4
|
<!--BEGIN STABILITY BANNER-->---
|
|
@@ -3240,7 +3240,8 @@ class CfnMonitor(
|
|
|
3240
3240
|
@builtins.property
|
|
3241
3241
|
@jsii.member(jsii_name="attrArn")
|
|
3242
3242
|
def attr_arn(self) -> builtins.str:
|
|
3243
|
-
'''
|
|
3243
|
+
'''The Amazon Resource Name (ARN) of the monitor.
|
|
3244
|
+
|
|
3244
3245
|
:cloudformationAttribute: Arn
|
|
3245
3246
|
'''
|
|
3246
3247
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
aws_cdk/aws_dlm/__init__.py
CHANGED
aws_cdk/aws_dms/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# AWS Database Migration Service Construct Library
|
|
3
3
|
|
|
4
4
|
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
@@ -9514,7 +9514,7 @@ class CfnReplicationConfig(
|
|
|
9514
9514
|
@builtins.property
|
|
9515
9515
|
@jsii.member(jsii_name="attrReplicationConfigArn")
|
|
9516
9516
|
def attr_replication_config_arn(self) -> builtins.str:
|
|
9517
|
-
'''The Amazon Resource Name (ARN) of
|
|
9517
|
+
'''The Amazon Resource Name (ARN) of this AWS DMS Serverless replication configuration.
|
|
9518
9518
|
|
|
9519
9519
|
:cloudformationAttribute: ReplicationConfigArn
|
|
9520
9520
|
'''
|
aws_cdk/aws_docdb/__init__.py
CHANGED