aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.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 +14 -1
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +108 -3
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
- aws_cdk/aws_appconfig/__init__.py +189 -8
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +560 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +74 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +9 -4
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +26 -12
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +426 -73
- aws_cdk/aws_bedrock/__init__.py +200 -2
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +4 -1
- aws_cdk/aws_cloudfront/__init__.py +5 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +47 -14
- aws_cdk/aws_cloudwatch/__init__.py +21 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +815 -2
- aws_cdk/aws_codebuild/__init__.py +38 -16
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +27 -8
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +44 -40
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +277 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +396 -13
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +5 -2
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +419 -5
- aws_cdk/aws_ec2/__init__.py +3530 -504
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +12 -4
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +69 -47
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +96 -66
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +147 -3
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +12 -10
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +88 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +138 -55
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
- aws_cdk/aws_kendra/__init__.py +56 -39
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +91 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +26 -18
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +45 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +150 -27
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +6 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +77 -14
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +7 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +99 -46
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +20 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -30,6 +30,9 @@ For more information on the resources and properties available for this service,
|
|
|
30
30
|
|
|
31
31
|
<!--END CFNONLY DISCLAIMER-->
|
|
32
32
|
'''
|
|
33
|
+
from pkgutil import extend_path
|
|
34
|
+
__path__ = extend_path(__path__, __name__)
|
|
35
|
+
|
|
33
36
|
import abc
|
|
34
37
|
import builtins
|
|
35
38
|
import datetime
|
|
@@ -1474,6 +1477,10 @@ class CfnCrawler(
|
|
|
1474
1477
|
crawler_security_configuration="crawlerSecurityConfiguration",
|
|
1475
1478
|
database_name="databaseName",
|
|
1476
1479
|
description="description",
|
|
1480
|
+
lake_formation_configuration=glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
1481
|
+
account_id="accountId",
|
|
1482
|
+
use_lake_formation_credentials=False
|
|
1483
|
+
),
|
|
1477
1484
|
name="name",
|
|
1478
1485
|
recrawl_policy=glue.CfnCrawler.RecrawlPolicyProperty(
|
|
1479
1486
|
recrawl_behavior="recrawlBehavior"
|
|
@@ -1502,6 +1509,7 @@ class CfnCrawler(
|
|
|
1502
1509
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
1503
1510
|
database_name: typing.Optional[builtins.str] = None,
|
|
1504
1511
|
description: typing.Optional[builtins.str] = None,
|
|
1512
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.LakeFormationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1505
1513
|
name: typing.Optional[builtins.str] = None,
|
|
1506
1514
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.RecrawlPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1507
1515
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCrawler.ScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1519,6 +1527,7 @@ class CfnCrawler(
|
|
|
1519
1527
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
1520
1528
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
1521
1529
|
:param description: A description of the crawler.
|
|
1530
|
+
:param lake_formation_configuration: Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
1522
1531
|
:param name: The name of the crawler.
|
|
1523
1532
|
:param recrawl_policy: A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
|
|
1524
1533
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -1538,6 +1547,7 @@ class CfnCrawler(
|
|
|
1538
1547
|
crawler_security_configuration=crawler_security_configuration,
|
|
1539
1548
|
database_name=database_name,
|
|
1540
1549
|
description=description,
|
|
1550
|
+
lake_formation_configuration=lake_formation_configuration,
|
|
1541
1551
|
name=name,
|
|
1542
1552
|
recrawl_policy=recrawl_policy,
|
|
1543
1553
|
schedule=schedule,
|
|
@@ -1696,6 +1706,24 @@ class CfnCrawler(
|
|
|
1696
1706
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1697
1707
|
jsii.set(self, "description", value)
|
|
1698
1708
|
|
|
1709
|
+
@builtins.property
|
|
1710
|
+
@jsii.member(jsii_name="lakeFormationConfiguration")
|
|
1711
|
+
def lake_formation_configuration(
|
|
1712
|
+
self,
|
|
1713
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]]:
|
|
1714
|
+
'''Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.'''
|
|
1715
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]], jsii.get(self, "lakeFormationConfiguration"))
|
|
1716
|
+
|
|
1717
|
+
@lake_formation_configuration.setter
|
|
1718
|
+
def lake_formation_configuration(
|
|
1719
|
+
self,
|
|
1720
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]],
|
|
1721
|
+
) -> None:
|
|
1722
|
+
if __debug__:
|
|
1723
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e64ccabfbbc601ee6cf62caf919ec0f9d3c9ee5004117fe31886a6aa08cd135c)
|
|
1724
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1725
|
+
jsii.set(self, "lakeFormationConfiguration", value)
|
|
1726
|
+
|
|
1699
1727
|
@builtins.property
|
|
1700
1728
|
@jsii.member(jsii_name="name")
|
|
1701
1729
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -2272,6 +2300,83 @@ class CfnCrawler(
|
|
|
2272
2300
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2273
2301
|
)
|
|
2274
2302
|
|
|
2303
|
+
@jsii.data_type(
|
|
2304
|
+
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.LakeFormationConfigurationProperty",
|
|
2305
|
+
jsii_struct_bases=[],
|
|
2306
|
+
name_mapping={
|
|
2307
|
+
"account_id": "accountId",
|
|
2308
|
+
"use_lake_formation_credentials": "useLakeFormationCredentials",
|
|
2309
|
+
},
|
|
2310
|
+
)
|
|
2311
|
+
class LakeFormationConfigurationProperty:
|
|
2312
|
+
def __init__(
|
|
2313
|
+
self,
|
|
2314
|
+
*,
|
|
2315
|
+
account_id: typing.Optional[builtins.str] = None,
|
|
2316
|
+
use_lake_formation_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2317
|
+
) -> None:
|
|
2318
|
+
'''Specifies AWS Lake Formation configuration settings for the crawler.
|
|
2319
|
+
|
|
2320
|
+
:param account_id: Required for cross account crawls. For same account crawls as the target data, this can be left as null.
|
|
2321
|
+
:param use_lake_formation_credentials: Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
2322
|
+
|
|
2323
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html
|
|
2324
|
+
:exampleMetadata: fixture=_generated
|
|
2325
|
+
|
|
2326
|
+
Example::
|
|
2327
|
+
|
|
2328
|
+
# The code below shows an example of how to instantiate this type.
|
|
2329
|
+
# The values are placeholders you should change.
|
|
2330
|
+
from aws_cdk import aws_glue as glue
|
|
2331
|
+
|
|
2332
|
+
lake_formation_configuration_property = glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
2333
|
+
account_id="accountId",
|
|
2334
|
+
use_lake_formation_credentials=False
|
|
2335
|
+
)
|
|
2336
|
+
'''
|
|
2337
|
+
if __debug__:
|
|
2338
|
+
type_hints = typing.get_type_hints(_typecheckingstub__00e61f68ec488853de383150c03873ed82cc7c24780e8804ee029b82e3540cb6)
|
|
2339
|
+
check_type(argname="argument account_id", value=account_id, expected_type=type_hints["account_id"])
|
|
2340
|
+
check_type(argname="argument use_lake_formation_credentials", value=use_lake_formation_credentials, expected_type=type_hints["use_lake_formation_credentials"])
|
|
2341
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2342
|
+
if account_id is not None:
|
|
2343
|
+
self._values["account_id"] = account_id
|
|
2344
|
+
if use_lake_formation_credentials is not None:
|
|
2345
|
+
self._values["use_lake_formation_credentials"] = use_lake_formation_credentials
|
|
2346
|
+
|
|
2347
|
+
@builtins.property
|
|
2348
|
+
def account_id(self) -> typing.Optional[builtins.str]:
|
|
2349
|
+
'''Required for cross account crawls.
|
|
2350
|
+
|
|
2351
|
+
For same account crawls as the target data, this can be left as null.
|
|
2352
|
+
|
|
2353
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-accountid
|
|
2354
|
+
'''
|
|
2355
|
+
result = self._values.get("account_id")
|
|
2356
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2357
|
+
|
|
2358
|
+
@builtins.property
|
|
2359
|
+
def use_lake_formation_credentials(
|
|
2360
|
+
self,
|
|
2361
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2362
|
+
'''Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
2363
|
+
|
|
2364
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-uselakeformationcredentials
|
|
2365
|
+
'''
|
|
2366
|
+
result = self._values.get("use_lake_formation_credentials")
|
|
2367
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2368
|
+
|
|
2369
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2370
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2371
|
+
|
|
2372
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2373
|
+
return not (rhs == self)
|
|
2374
|
+
|
|
2375
|
+
def __repr__(self) -> str:
|
|
2376
|
+
return "LakeFormationConfigurationProperty(%s)" % ", ".join(
|
|
2377
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2378
|
+
)
|
|
2379
|
+
|
|
2275
2380
|
@jsii.data_type(
|
|
2276
2381
|
jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.MongoDBTargetProperty",
|
|
2277
2382
|
jsii_struct_bases=[],
|
|
@@ -2905,6 +3010,7 @@ class CfnCrawler(
|
|
|
2905
3010
|
"crawler_security_configuration": "crawlerSecurityConfiguration",
|
|
2906
3011
|
"database_name": "databaseName",
|
|
2907
3012
|
"description": "description",
|
|
3013
|
+
"lake_formation_configuration": "lakeFormationConfiguration",
|
|
2908
3014
|
"name": "name",
|
|
2909
3015
|
"recrawl_policy": "recrawlPolicy",
|
|
2910
3016
|
"schedule": "schedule",
|
|
@@ -2924,6 +3030,7 @@ class CfnCrawlerProps:
|
|
|
2924
3030
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
2925
3031
|
database_name: typing.Optional[builtins.str] = None,
|
|
2926
3032
|
description: typing.Optional[builtins.str] = None,
|
|
3033
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2927
3034
|
name: typing.Optional[builtins.str] = None,
|
|
2928
3035
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2929
3036
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2940,6 +3047,7 @@ class CfnCrawlerProps:
|
|
|
2940
3047
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
2941
3048
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
2942
3049
|
:param description: A description of the crawler.
|
|
3050
|
+
:param lake_formation_configuration: Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
2943
3051
|
:param name: The name of the crawler.
|
|
2944
3052
|
:param recrawl_policy: A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
|
|
2945
3053
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -3008,6 +3116,10 @@ class CfnCrawlerProps:
|
|
|
3008
3116
|
crawler_security_configuration="crawlerSecurityConfiguration",
|
|
3009
3117
|
database_name="databaseName",
|
|
3010
3118
|
description="description",
|
|
3119
|
+
lake_formation_configuration=glue.CfnCrawler.LakeFormationConfigurationProperty(
|
|
3120
|
+
account_id="accountId",
|
|
3121
|
+
use_lake_formation_credentials=False
|
|
3122
|
+
),
|
|
3011
3123
|
name="name",
|
|
3012
3124
|
recrawl_policy=glue.CfnCrawler.RecrawlPolicyProperty(
|
|
3013
3125
|
recrawl_behavior="recrawlBehavior"
|
|
@@ -3032,6 +3144,7 @@ class CfnCrawlerProps:
|
|
|
3032
3144
|
check_type(argname="argument crawler_security_configuration", value=crawler_security_configuration, expected_type=type_hints["crawler_security_configuration"])
|
|
3033
3145
|
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
3034
3146
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3147
|
+
check_type(argname="argument lake_formation_configuration", value=lake_formation_configuration, expected_type=type_hints["lake_formation_configuration"])
|
|
3035
3148
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3036
3149
|
check_type(argname="argument recrawl_policy", value=recrawl_policy, expected_type=type_hints["recrawl_policy"])
|
|
3037
3150
|
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
@@ -3052,6 +3165,8 @@ class CfnCrawlerProps:
|
|
|
3052
3165
|
self._values["database_name"] = database_name
|
|
3053
3166
|
if description is not None:
|
|
3054
3167
|
self._values["description"] = description
|
|
3168
|
+
if lake_formation_configuration is not None:
|
|
3169
|
+
self._values["lake_formation_configuration"] = lake_formation_configuration
|
|
3055
3170
|
if name is not None:
|
|
3056
3171
|
self._values["name"] = name
|
|
3057
3172
|
if recrawl_policy is not None:
|
|
@@ -3134,6 +3249,17 @@ class CfnCrawlerProps:
|
|
|
3134
3249
|
result = self._values.get("description")
|
|
3135
3250
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3136
3251
|
|
|
3252
|
+
@builtins.property
|
|
3253
|
+
def lake_formation_configuration(
|
|
3254
|
+
self,
|
|
3255
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]]:
|
|
3256
|
+
'''Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
3257
|
+
|
|
3258
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-lakeformationconfiguration
|
|
3259
|
+
'''
|
|
3260
|
+
result = self._values.get("lake_formation_configuration")
|
|
3261
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]], result)
|
|
3262
|
+
|
|
3137
3263
|
@builtins.property
|
|
3138
3264
|
def name(self) -> typing.Optional[builtins.str]:
|
|
3139
3265
|
'''The name of the crawler.
|
|
@@ -13121,7 +13247,7 @@ class CfnTableOptimizer(
|
|
|
13121
13247
|
:param catalog_id: The catalog ID of the table.
|
|
13122
13248
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13123
13249
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13124
|
-
:param table_optimizer_configuration:
|
|
13250
|
+
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
13125
13251
|
:param type: The type of table optimizer. Currently, the only valid value is compaction.
|
|
13126
13252
|
'''
|
|
13127
13253
|
if __debug__:
|
|
@@ -13225,6 +13351,7 @@ class CfnTableOptimizer(
|
|
|
13225
13351
|
def table_optimizer_configuration(
|
|
13226
13352
|
self,
|
|
13227
13353
|
) -> typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"]:
|
|
13354
|
+
'''Specifies configuration details of a table optimizer.'''
|
|
13228
13355
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.TableOptimizerConfigurationProperty"], jsii.get(self, "tableOptimizerConfiguration"))
|
|
13229
13356
|
|
|
13230
13357
|
@table_optimizer_configuration.setter
|
|
@@ -13348,7 +13475,7 @@ class CfnTableOptimizerProps:
|
|
|
13348
13475
|
:param catalog_id: The catalog ID of the table.
|
|
13349
13476
|
:param database_name: The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
|
|
13350
13477
|
:param table_name: The table name. For Hive compatibility, this must be entirely lowercase.
|
|
13351
|
-
:param table_optimizer_configuration:
|
|
13478
|
+
:param table_optimizer_configuration: Specifies configuration details of a table optimizer.
|
|
13352
13479
|
:param type: The type of table optimizer. Currently, the only valid value is compaction.
|
|
13353
13480
|
|
|
13354
13481
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
|
|
@@ -13424,7 +13551,8 @@ class CfnTableOptimizerProps:
|
|
|
13424
13551
|
def table_optimizer_configuration(
|
|
13425
13552
|
self,
|
|
13426
13553
|
) -> typing.Union[_IResolvable_da3f097b, CfnTableOptimizer.TableOptimizerConfigurationProperty]:
|
|
13427
|
-
'''
|
|
13554
|
+
'''Specifies configuration details of a table optimizer.
|
|
13555
|
+
|
|
13428
13556
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration
|
|
13429
13557
|
'''
|
|
13430
13558
|
result = self._values.get("table_optimizer_configuration")
|
|
@@ -15208,6 +15336,7 @@ def _typecheckingstub__ff9e598239ccebeecff8b5e3f5f0458f9de0c5c407db27837fb3122ad
|
|
|
15208
15336
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
15209
15337
|
database_name: typing.Optional[builtins.str] = None,
|
|
15210
15338
|
description: typing.Optional[builtins.str] = None,
|
|
15339
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15211
15340
|
name: typing.Optional[builtins.str] = None,
|
|
15212
15341
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15213
15342
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15272,6 +15401,12 @@ def _typecheckingstub__55e97c90536e63620917a74b9e753f3ef37d2ba4cc78a367b3c2692a6
|
|
|
15272
15401
|
"""Type checking stubs"""
|
|
15273
15402
|
pass
|
|
15274
15403
|
|
|
15404
|
+
def _typecheckingstub__e64ccabfbbc601ee6cf62caf919ec0f9d3c9ee5004117fe31886a6aa08cd135c(
|
|
15405
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]],
|
|
15406
|
+
) -> None:
|
|
15407
|
+
"""Type checking stubs"""
|
|
15408
|
+
pass
|
|
15409
|
+
|
|
15275
15410
|
def _typecheckingstub__35986739065f4f5528fa36a3a4743b76eb0937d555e5d7ad917e107db84e9d92(
|
|
15276
15411
|
value: typing.Optional[builtins.str],
|
|
15277
15412
|
) -> None:
|
|
@@ -15355,6 +15490,14 @@ def _typecheckingstub__9cb27c7db73a5c6fa3740f2d4726f453641d40911229d3bb39f26c440
|
|
|
15355
15490
|
"""Type checking stubs"""
|
|
15356
15491
|
pass
|
|
15357
15492
|
|
|
15493
|
+
def _typecheckingstub__00e61f68ec488853de383150c03873ed82cc7c24780e8804ee029b82e3540cb6(
|
|
15494
|
+
*,
|
|
15495
|
+
account_id: typing.Optional[builtins.str] = None,
|
|
15496
|
+
use_lake_formation_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15497
|
+
) -> None:
|
|
15498
|
+
"""Type checking stubs"""
|
|
15499
|
+
pass
|
|
15500
|
+
|
|
15358
15501
|
def _typecheckingstub__b27a374f7da5948658852ac367f177b833b9e06c48e0a246c211a7d7ede3af94(
|
|
15359
15502
|
*,
|
|
15360
15503
|
connection_name: typing.Optional[builtins.str] = None,
|
|
@@ -15419,6 +15562,7 @@ def _typecheckingstub__51125dcaf0f55fdaefa50d6b9c05a6e431008538b8ab24abc0fbe126f
|
|
|
15419
15562
|
crawler_security_configuration: typing.Optional[builtins.str] = None,
|
|
15420
15563
|
database_name: typing.Optional[builtins.str] = None,
|
|
15421
15564
|
description: typing.Optional[builtins.str] = None,
|
|
15565
|
+
lake_formation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.LakeFormationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15422
15566
|
name: typing.Optional[builtins.str] = None,
|
|
15423
15567
|
recrawl_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.RecrawlPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15424
15568
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCrawler.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_grafana/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -817,6 +817,9 @@ instance_profile = iam.InstanceProfile.from_instance_profile_attributes(self, "I
|
|
|
817
817
|
attached to IAM principals specify relevant resources, while policies attached to resources
|
|
818
818
|
specify which IAM principals they apply to.
|
|
819
819
|
'''
|
|
820
|
+
from pkgutil import extend_path
|
|
821
|
+
__path__ = extend_path(__path__, __name__)
|
|
822
|
+
|
|
820
823
|
import abc
|
|
821
824
|
import builtins
|
|
822
825
|
import datetime
|
|
@@ -2294,7 +2297,7 @@ class CfnManagedPolicy(
|
|
|
2294
2297
|
:param description: A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
|
|
2295
2298
|
:param groups: The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2296
2299
|
:param managed_policy_name: The friendly name of the policy. .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
|
|
2297
|
-
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name.
|
|
2300
|
+
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name. Default: - "/"
|
|
2298
2301
|
:param roles: The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
|
|
2299
2302
|
:param users: The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2300
2303
|
'''
|
|
@@ -2552,7 +2555,7 @@ class CfnManagedPolicyProps:
|
|
|
2552
2555
|
:param description: A friendly description of the policy. Typically used to store information about the permissions defined in the policy. For example, "Grants access to production DynamoDB tables." The policy description is immutable. After a value is assigned, it cannot be changed.
|
|
2553
2556
|
:param groups: The name (friendly name, not ARN) of the group to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2554
2557
|
:param managed_policy_name: The friendly name of the policy. .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see `Acknowledging IAM Resources in AWS CloudFormation Templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities>`_ . .. epigraph:: Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}`` .
|
|
2555
|
-
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name.
|
|
2558
|
+
:param path: The path for the policy. For more information about paths, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* . This parameter is optional. If it is not included, it defaults to a slash (/). This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! ( ``\\u0021`` ) through the DEL character ( ``\\u007F`` ), including most punctuation characters, digits, and upper and lowercased letters. .. epigraph:: You cannot use an asterisk (*) in the path name. Default: - "/"
|
|
2556
2559
|
:param roles: The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (per its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- .. epigraph:: If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy`` ) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service`` ) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that AWS CloudFormation deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
|
|
2557
2560
|
:param users: The name (friendly name, not ARN) of the IAM user to attach the policy to. This parameter allows (through its `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
2558
2561
|
|
|
@@ -2681,6 +2684,8 @@ class CfnManagedPolicyProps:
|
|
|
2681
2684
|
|
|
2682
2685
|
You cannot use an asterisk (*) in the path name.
|
|
2683
2686
|
|
|
2687
|
+
:default: - "/"
|
|
2688
|
+
|
|
2684
2689
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-path
|
|
2685
2690
|
'''
|
|
2686
2691
|
result = self._values.get("path")
|
|
@@ -9253,11 +9258,7 @@ class Policy(
|
|
|
9253
9258
|
metaclass=jsii.JSIIMeta,
|
|
9254
9259
|
jsii_type="aws-cdk-lib.aws_iam.Policy",
|
|
9255
9260
|
):
|
|
9256
|
-
'''The AWS::IAM::Policy resource associates an IAM policy with IAM users, roles, or groups.
|
|
9257
|
-
|
|
9258
|
-
For more information about IAM policies, see `Overview of IAM
|
|
9259
|
-
Policies <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html>`_
|
|
9260
|
-
in the IAM User Guide guide.
|
|
9261
|
+
'''The AWS::IAM::Policy resource associates an `inline <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#inline>`_ IAM policy with IAM users, roles, or groups. For more information about IAM policies, see `Overview of IAM Policies <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html>`_ in the IAM User Guide guide.
|
|
9261
9262
|
|
|
9262
9263
|
:exampleMetadata: infused
|
|
9263
9264
|
|
|
@@ -9298,7 +9299,7 @@ class Policy(
|
|
|
9298
9299
|
:param scope: -
|
|
9299
9300
|
:param id: -
|
|
9300
9301
|
:param document: Initial PolicyDocument to use for this Policy. If omited, any ``PolicyStatement`` provided in the ``statements`` property will be applied against the empty default ``PolicyDocument``. Default: - An empty policy.
|
|
9301
|
-
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it, you can set this to ``true``. Default: false
|
|
9302
|
+
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it or it remains unattached to an IAM identity, you can set this to ``true``. Default: false
|
|
9302
9303
|
:param groups: Groups to attach this policy to. You can also use ``attachToGroup(group)`` to attach this policy to a group. Default: - No groups.
|
|
9303
9304
|
:param policy_name: The name of the policy. If you specify multiple policies for an entity, specify unique names. For example, if you specify a list of policies for an IAM role, each policy must have a unique name. Default: - Uses the logical ID of the policy resource, which is ensured to be unique within the stack.
|
|
9304
9305
|
:param roles: Roles to attach this policy to. You can also use ``attachToRole(role)`` to attach this policy to a role. Default: - No roles.
|
|
@@ -9705,7 +9706,7 @@ class PolicyProps:
|
|
|
9705
9706
|
'''Properties for defining an IAM inline policy document.
|
|
9706
9707
|
|
|
9707
9708
|
:param document: Initial PolicyDocument to use for this Policy. If omited, any ``PolicyStatement`` provided in the ``statements`` property will be applied against the empty default ``PolicyDocument``. Default: - An empty policy.
|
|
9708
|
-
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it, you can set this to ``true``. Default: false
|
|
9709
|
+
:param force: Force creation of an ``AWS::IAM::Policy``. Unless set to ``true``, this ``Policy`` construct will not materialize to an ``AWS::IAM::Policy`` CloudFormation resource in case it would have no effect (for example, if it remains unattached to an IAM identity or if it has no statements). This is generally desired behavior, since it prevents creating invalid--and hence undeployable--CloudFormation templates. In cases where you know the policy must be created and it is actually an error if no statements have been added to it or it remains unattached to an IAM identity, you can set this to ``true``. Default: false
|
|
9709
9710
|
:param groups: Groups to attach this policy to. You can also use ``attachToGroup(group)`` to attach this policy to a group. Default: - No groups.
|
|
9710
9711
|
:param policy_name: The name of the policy. If you specify multiple policies for an entity, specify unique names. For example, if you specify a list of policies for an IAM role, each policy must have a unique name. Default: - Uses the logical ID of the policy resource, which is ensured to be unique within the stack.
|
|
9711
9712
|
:param roles: Roles to attach this policy to. You can also use ``attachToRole(role)`` to attach this policy to a role. Default: - No roles.
|
|
@@ -9783,7 +9784,8 @@ class PolicyProps:
|
|
|
9783
9784
|
creating invalid--and hence undeployable--CloudFormation templates.
|
|
9784
9785
|
|
|
9785
9786
|
In cases where you know the policy must be created and it is actually
|
|
9786
|
-
an error if no statements have been added to it
|
|
9787
|
+
an error if no statements have been added to it or it remains unattached to
|
|
9788
|
+
an IAM identity, you can set this to ``true``.
|
|
9787
9789
|
|
|
9788
9790
|
:default: false
|
|
9789
9791
|
'''
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|