aws-cdk-lib 2.134.0__py3-none-any.whl → 2.136.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +5 -0
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.134.0.jsii.tgz → aws-cdk-lib@2.136.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 +3 -0
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +3 -0
- aws_cdk/aws_appconfig/__init__.py +3 -0
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +30 -21
- 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 +3 -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 +3 -0
- 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 +3 -0
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +3 -0
- aws_cdk/aws_bedrock/__init__.py +3 -0
- 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 +3 -0
- aws_cdk/aws_cloudfront/__init__.py +3 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +3 -0
- aws_cdk/aws_cloudwatch/__init__.py +3 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +3 -0
- aws_cdk/aws_codebuild/__init__.py +17 -11
- 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 +3 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +3 -0
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +21 -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 +3 -0
- 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 +3 -0
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +20 -9
- aws_cdk/aws_dynamodb/__init__.py +3 -0
- aws_cdk/aws_ec2/__init__.py +2908 -284
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +30 -36
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +42 -22
- 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 +75 -15
- 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 +5 -2
- 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 +18 -8
- 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 +44 -13
- 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 +3 -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 +37 -14
- 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 +30 -27
- aws_cdk/aws_kendra/__init__.py +22 -15
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +3 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +3 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +11 -4
- 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 +3 -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 +8 -2
- 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 +3 -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 +219 -13
- 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 +3 -0
- 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 +3 -0
- 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 +80 -39
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +3 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +3 -0
- 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 +3 -0
- 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 +3 -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.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.136.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.134.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.134.0.dist-info → aws_cdk_lib-2.136.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_gamelift/__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
|
|
@@ -194,6 +194,9 @@ aga_sg = endpoint_group.connections_peer("GlobalAcceleratorSG", vpc)
|
|
|
194
194
|
alb.connections.allow_from(aga_sg, ec2.Port.tcp(443))
|
|
195
195
|
```
|
|
196
196
|
'''
|
|
197
|
+
from pkgutil import extend_path
|
|
198
|
+
__path__ = extend_path(__path__, __name__)
|
|
199
|
+
|
|
197
200
|
import abc
|
|
198
201
|
import builtins
|
|
199
202
|
import datetime
|
|
@@ -1143,7 +1146,7 @@ class CfnEndpointGroup(
|
|
|
1143
1146
|
A resource must be valid and active when you add it as an endpoint.
|
|
1144
1147
|
|
|
1145
1148
|
:param endpoint_id: An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active when you add it as an endpoint. For cross-account endpoints, this must be the ARN of the resource.
|
|
1146
|
-
:param attachment_arn: The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints
|
|
1149
|
+
:param attachment_arn: The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.
|
|
1147
1150
|
:param client_ip_preservation_enabled: Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the ``X-Forwarded-For`` request header as traffic travels to applications on the Application Load Balancer endpoint fronted by the accelerator. For more information, see `Preserve Client IP Addresses <https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - true
|
|
1148
1151
|
:param weight: The weight associated with the endpoint. When you add weights to endpoints, you configure Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. For more information, see `Endpoint Weights <https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html>`_ in the *AWS Global Accelerator Developer Guide* . Default: - 100
|
|
1149
1152
|
|
|
@@ -1197,7 +1200,7 @@ class CfnEndpointGroup(
|
|
|
1197
1200
|
|
|
1198
1201
|
@builtins.property
|
|
1199
1202
|
def attachment_arn(self) -> typing.Optional[builtins.str]:
|
|
1200
|
-
'''The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints
|
|
1203
|
+
'''The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.
|
|
1201
1204
|
|
|
1202
1205
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-attachmentarn
|
|
1203
1206
|
'''
|
|
@@ -9,6 +9,9 @@ See the README of the `aws-cdk-lib/aws-globalaccelerator` library for more infor
|
|
|
9
9
|
AWS Global Accelerator, and examples of all the integration classes available in
|
|
10
10
|
this module.
|
|
11
11
|
'''
|
|
12
|
+
from pkgutil import extend_path
|
|
13
|
+
__path__ = extend_path(__path__, __name__)
|
|
14
|
+
|
|
12
15
|
import abc
|
|
13
16
|
import builtins
|
|
14
17
|
import datetime
|
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
|
|
@@ -1524,7 +1527,7 @@ class CfnCrawler(
|
|
|
1524
1527
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
1525
1528
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
1526
1529
|
:param description: A description of the crawler.
|
|
1527
|
-
:param lake_formation_configuration:
|
|
1530
|
+
:param lake_formation_configuration: Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
1528
1531
|
:param name: The name of the crawler.
|
|
1529
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.
|
|
1530
1533
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -1708,6 +1711,7 @@ class CfnCrawler(
|
|
|
1708
1711
|
def lake_formation_configuration(
|
|
1709
1712
|
self,
|
|
1710
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.'''
|
|
1711
1715
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCrawler.LakeFormationConfigurationProperty"]], jsii.get(self, "lakeFormationConfiguration"))
|
|
1712
1716
|
|
|
1713
1717
|
@lake_formation_configuration.setter
|
|
@@ -2311,9 +2315,10 @@ class CfnCrawler(
|
|
|
2311
2315
|
account_id: typing.Optional[builtins.str] = None,
|
|
2312
2316
|
use_lake_formation_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2313
2317
|
) -> None:
|
|
2314
|
-
'''
|
|
2315
|
-
|
|
2316
|
-
:param
|
|
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.
|
|
2317
2322
|
|
|
2318
2323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html
|
|
2319
2324
|
:exampleMetadata: fixture=_generated
|
|
@@ -2341,7 +2346,10 @@ class CfnCrawler(
|
|
|
2341
2346
|
|
|
2342
2347
|
@builtins.property
|
|
2343
2348
|
def account_id(self) -> typing.Optional[builtins.str]:
|
|
2344
|
-
'''
|
|
2349
|
+
'''Required for cross account crawls.
|
|
2350
|
+
|
|
2351
|
+
For same account crawls as the target data, this can be left as null.
|
|
2352
|
+
|
|
2345
2353
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-accountid
|
|
2346
2354
|
'''
|
|
2347
2355
|
result = self._values.get("account_id")
|
|
@@ -2351,7 +2359,8 @@ class CfnCrawler(
|
|
|
2351
2359
|
def use_lake_formation_credentials(
|
|
2352
2360
|
self,
|
|
2353
2361
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2354
|
-
'''
|
|
2362
|
+
'''Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
2363
|
+
|
|
2355
2364
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html#cfn-glue-crawler-lakeformationconfiguration-uselakeformationcredentials
|
|
2356
2365
|
'''
|
|
2357
2366
|
result = self._values.get("use_lake_formation_credentials")
|
|
@@ -3038,7 +3047,7 @@ class CfnCrawlerProps:
|
|
|
3038
3047
|
:param crawler_security_configuration: The name of the ``SecurityConfiguration`` structure to be used by this crawler.
|
|
3039
3048
|
:param database_name: The name of the database in which the crawler's output is stored.
|
|
3040
3049
|
:param description: A description of the crawler.
|
|
3041
|
-
:param lake_formation_configuration:
|
|
3050
|
+
:param lake_formation_configuration: Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
3042
3051
|
:param name: The name of the crawler.
|
|
3043
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.
|
|
3044
3053
|
:param schedule: For scheduled crawlers, the schedule when the crawler runs.
|
|
@@ -3244,7 +3253,8 @@ class CfnCrawlerProps:
|
|
|
3244
3253
|
def lake_formation_configuration(
|
|
3245
3254
|
self,
|
|
3246
3255
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCrawler.LakeFormationConfigurationProperty]]:
|
|
3247
|
-
'''
|
|
3256
|
+
'''Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
|
|
3257
|
+
|
|
3248
3258
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-lakeformationconfiguration
|
|
3249
3259
|
'''
|
|
3250
3260
|
result = self._values.get("lake_formation_configuration")
|
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
|
@@ -397,6 +397,39 @@ iam.Role(self, "Role",
|
|
|
397
397
|
)
|
|
398
398
|
```
|
|
399
399
|
|
|
400
|
+
### Granting a principal permission to assume a role
|
|
401
|
+
|
|
402
|
+
A principal can be granted permission to assume a role using `grantAssumeRole`.
|
|
403
|
+
|
|
404
|
+
Note that this does not apply to service principals or account principals as they must be added to the role trust policy via `assumeRolePolicy`.
|
|
405
|
+
|
|
406
|
+
```python
|
|
407
|
+
user = iam.User(self, "user")
|
|
408
|
+
role = iam.Role(self, "role",
|
|
409
|
+
assumed_by=iam.AccountPrincipal(self.account)
|
|
410
|
+
)
|
|
411
|
+
|
|
412
|
+
role.grant_assume_role(user)
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Granting service and account principals permission to assume a role
|
|
416
|
+
|
|
417
|
+
Service principals and account principals can be granted permission to assume a role using `assumeRolePolicy` which modifies the role trust policy.
|
|
418
|
+
|
|
419
|
+
```python
|
|
420
|
+
role = iam.Role(self, "role",
|
|
421
|
+
assumed_by=iam.AccountPrincipal(self.account)
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
role.assume_role_policy.add_statements(iam.PolicyStatement(
|
|
425
|
+
actions=["sts:AssumeRole"],
|
|
426
|
+
principals=[
|
|
427
|
+
iam.AccountPrincipal("123456789"),
|
|
428
|
+
iam.ServicePrincipal("beep-boop.amazonaws.com")
|
|
429
|
+
]
|
|
430
|
+
))
|
|
431
|
+
```
|
|
432
|
+
|
|
400
433
|
## Parsing JSON Policy Documents
|
|
401
434
|
|
|
402
435
|
The `PolicyDocument.fromJson` and `PolicyStatement.fromJson` static methods can be used to parse JSON objects. For example:
|
|
@@ -817,6 +850,9 @@ instance_profile = iam.InstanceProfile.from_instance_profile_attributes(self, "I
|
|
|
817
850
|
attached to IAM principals specify relevant resources, while policies attached to resources
|
|
818
851
|
specify which IAM principals they apply to.
|
|
819
852
|
'''
|
|
853
|
+
from pkgutil import extend_path
|
|
854
|
+
__path__ = extend_path(__path__, __name__)
|
|
855
|
+
|
|
820
856
|
import abc
|
|
821
857
|
import builtins
|
|
822
858
|
import datetime
|
|
@@ -10703,21 +10739,16 @@ class RoleProps:
|
|
|
10703
10739
|
|
|
10704
10740
|
Example::
|
|
10705
10741
|
|
|
10706
|
-
#
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10742
|
+
# definition: sfn.IChainable
|
|
10743
|
+
role = iam.Role(self, "Role",
|
|
10744
|
+
assumed_by=iam.ServicePrincipal("lambda.amazonaws.com")
|
|
10745
|
+
)
|
|
10746
|
+
state_machine = sfn.StateMachine(self, "StateMachine",
|
|
10747
|
+
definition_body=sfn.DefinitionBody.from_chainable(definition)
|
|
10712
10748
|
)
|
|
10713
|
-
console_read_only_role.add_to_policy(iam.PolicyStatement(
|
|
10714
|
-
actions=["eks:AccessKubernetesApi", "eks:Describe*", "eks:List*"
|
|
10715
|
-
],
|
|
10716
|
-
resources=[cluster.cluster_arn]
|
|
10717
|
-
))
|
|
10718
10749
|
|
|
10719
|
-
#
|
|
10720
|
-
|
|
10750
|
+
# Give role permission to get execution history of ALL executions for the state machine
|
|
10751
|
+
state_machine.grant_execution(role, "states:GetExecutionHistory")
|
|
10721
10752
|
'''
|
|
10722
10753
|
if __debug__:
|
|
10723
10754
|
type_hints = typing.get_type_hints(_typecheckingstub__9c9223cb9fa6dff45ee4fd7013629ab18542c2499a83f542c5405968fad2287c)
|
|
@@ -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
|
aws_cdk/aws_iot/__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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -1740,11 +1743,11 @@ class CfnAssetModel(
|
|
|
1740
1743
|
:param type: The type of the composite model. For alarm composite models, this type is ``AWS/ALARM`` .
|
|
1741
1744
|
:param composed_asset_model_id: The ID of a component model which is reused to create this composite model.
|
|
1742
1745
|
:param composite_model_properties: The asset property definitions for this composite model.
|
|
1743
|
-
:param description: The description of the composite model.
|
|
1744
|
-
:param external_id: The external ID of a composite model on this asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1746
|
+
:param description: The description of the composite model. .. epigraph:: If the composite model is a ``component-model-based`` composite model, the description is inherited from the ``COMPONENT_MODEL`` asset model and cannot be changed.
|
|
1747
|
+
:param external_id: The external ID of a composite model on this asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . .. epigraph:: One of ``ExternalId`` or ``Path`` must be specified.
|
|
1745
1748
|
:param id: The ID of the asset model composite model. .. epigraph:: This is a return value and can't be set.
|
|
1746
|
-
:param parent_asset_model_composite_model_external_id: The external ID of the parent
|
|
1747
|
-
:param path: The structured path to the property from the root of the asset using property names. Path is used as the ID if the asset model is a derived composite model.
|
|
1749
|
+
:param parent_asset_model_composite_model_external_id: The external ID of the parent composite model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1750
|
+
:param path: The structured path to the property from the root of the asset using property names. Path is used as the ID if the asset model is a derived composite model. .. epigraph:: One of ``ExternalId`` or ``Path`` must be specified.
|
|
1748
1751
|
|
|
1749
1752
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html
|
|
1750
1753
|
:exampleMetadata: fixture=_generated
|
|
@@ -1905,6 +1908,10 @@ class CfnAssetModel(
|
|
|
1905
1908
|
def description(self) -> typing.Optional[builtins.str]:
|
|
1906
1909
|
'''The description of the composite model.
|
|
1907
1910
|
|
|
1911
|
+
.. epigraph::
|
|
1912
|
+
|
|
1913
|
+
If the composite model is a ``component-model-based`` composite model, the description is inherited from the ``COMPONENT_MODEL`` asset model and cannot be changed.
|
|
1914
|
+
|
|
1908
1915
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-description
|
|
1909
1916
|
'''
|
|
1910
1917
|
result = self._values.get("description")
|
|
@@ -1915,6 +1922,9 @@ class CfnAssetModel(
|
|
|
1915
1922
|
'''The external ID of a composite model on this asset model.
|
|
1916
1923
|
|
|
1917
1924
|
For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1925
|
+
.. epigraph::
|
|
1926
|
+
|
|
1927
|
+
One of ``ExternalId`` or ``Path`` must be specified.
|
|
1918
1928
|
|
|
1919
1929
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-externalid
|
|
1920
1930
|
'''
|
|
@@ -1938,12 +1948,9 @@ class CfnAssetModel(
|
|
|
1938
1948
|
def parent_asset_model_composite_model_external_id(
|
|
1939
1949
|
self,
|
|
1940
1950
|
) -> typing.Optional[builtins.str]:
|
|
1941
|
-
'''The external ID of the parent
|
|
1951
|
+
'''The external ID of the parent composite model.
|
|
1942
1952
|
|
|
1943
1953
|
For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1944
|
-
.. epigraph::
|
|
1945
|
-
|
|
1946
|
-
If ``ParentCompositeModelExternalId`` is specified, this value overrides the value of ``ExternalId`` , if both are included.
|
|
1947
1954
|
|
|
1948
1955
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-parentassetmodelcompositemodelexternalid
|
|
1949
1956
|
'''
|
|
@@ -1955,6 +1962,9 @@ class CfnAssetModel(
|
|
|
1955
1962
|
'''The structured path to the property from the root of the asset using property names.
|
|
1956
1963
|
|
|
1957
1964
|
Path is used as the ID if the asset model is a derived composite model.
|
|
1965
|
+
.. epigraph::
|
|
1966
|
+
|
|
1967
|
+
One of ``ExternalId`` or ``Path`` must be specified.
|
|
1958
1968
|
|
|
1959
1969
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-path
|
|
1960
1970
|
'''
|
|
@@ -1997,9 +2007,9 @@ class CfnAssetModel(
|
|
|
1997
2007
|
|
|
1998
2008
|
:param child_asset_model_id: The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the ``childAssetModelId`` asset model. AWS IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ , you may provide either the asset model ID or else ``externalId:`` followed by the asset model's external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1999
2009
|
:param name: The name of the asset model hierarchy that you specify by using the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ API operation.
|
|
2000
|
-
:param external_id: The external ID (if any) provided in the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ operation. You can assign an external ID by specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ . However, you can't change the external ID if one is already assigned. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
2010
|
+
:param external_id: The external ID (if any) provided in the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ operation. You can assign an external ID by specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ . However, you can't change the external ID if one is already assigned. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . .. epigraph:: One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2001
2011
|
:param id: The ID of the asset model hierarchy. This ID is a ``hierarchyId`` . .. epigraph:: This is a return value and can't be set. - If you are callling `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ to create a *new* hierarchy: You can specify its ID here, if desired. AWS IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - If you are calling UpdateAssetModel to modify an *existing* hierarchy: This can be either the actual ID in UUID format, or else ``externalId:`` followed by the external ID, if it has one. For more information, see `Referencing objects with external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`_ in the *AWS IoT SiteWise User Guide* .
|
|
2002
|
-
:param logical_id: The ``LogicalID`` of the asset model hierarchy. This ID is a ``hierarchyLogicalId`` .
|
|
2012
|
+
:param logical_id: The ``LogicalID`` of the asset model hierarchy. This ID is a ``hierarchyLogicalId`` . .. epigraph:: One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2003
2013
|
|
|
2004
2014
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html
|
|
2005
2015
|
:exampleMetadata: fixture=_generated
|
|
@@ -2064,6 +2074,10 @@ class CfnAssetModel(
|
|
|
2064
2074
|
def external_id(self) -> typing.Optional[builtins.str]:
|
|
2065
2075
|
'''The external ID (if any) provided in the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ operation. You can assign an external ID by specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ . However, you can't change the external ID if one is already assigned. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
2066
2076
|
|
|
2077
|
+
.. epigraph::
|
|
2078
|
+
|
|
2079
|
+
One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2080
|
+
|
|
2067
2081
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-externalid
|
|
2068
2082
|
'''
|
|
2069
2083
|
result = self._values.get("external_id")
|
|
@@ -2087,9 +2101,11 @@ class CfnAssetModel(
|
|
|
2087
2101
|
|
|
2088
2102
|
@builtins.property
|
|
2089
2103
|
def logical_id(self) -> typing.Optional[builtins.str]:
|
|
2090
|
-
'''The ``LogicalID`` of the asset model hierarchy.
|
|
2104
|
+
'''The ``LogicalID`` of the asset model hierarchy. This ID is a ``hierarchyLogicalId`` .
|
|
2105
|
+
|
|
2106
|
+
.. epigraph::
|
|
2091
2107
|
|
|
2092
|
-
|
|
2108
|
+
One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2093
2109
|
|
|
2094
2110
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-logicalid
|
|
2095
2111
|
'''
|
|
@@ -2140,9 +2156,9 @@ class CfnAssetModel(
|
|
|
2140
2156
|
:param name: The name of the asset model property.
|
|
2141
2157
|
:param type: Contains a property type, which can be one of ``attribute`` , ``measurement`` , ``metric`` , or ``transform`` .
|
|
2142
2158
|
:param data_type_spec: The data type of the structure for this property. This parameter exists on properties that have the ``STRUCT`` data type.
|
|
2143
|
-
:param external_id: The external ID of the asset property. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
2159
|
+
:param external_id: The external ID of the asset property. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . .. epigraph:: One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2144
2160
|
:param id: The ID of the property. .. epigraph:: This is a return value and can't be set.
|
|
2145
|
-
:param logical_id: The ``LogicalID`` of the asset model property.
|
|
2161
|
+
:param logical_id: The ``LogicalID`` of the asset model property. .. epigraph:: One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2146
2162
|
:param unit: The unit of the asset model property, such as ``Newtons`` or ``RPM`` .
|
|
2147
2163
|
|
|
2148
2164
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html
|
|
@@ -2290,6 +2306,9 @@ class CfnAssetModel(
|
|
|
2290
2306
|
'''The external ID of the asset property.
|
|
2291
2307
|
|
|
2292
2308
|
For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
2309
|
+
.. epigraph::
|
|
2310
|
+
|
|
2311
|
+
One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2293
2312
|
|
|
2294
2313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-externalid
|
|
2295
2314
|
'''
|
|
@@ -2313,6 +2332,10 @@ class CfnAssetModel(
|
|
|
2313
2332
|
def logical_id(self) -> typing.Optional[builtins.str]:
|
|
2314
2333
|
'''The ``LogicalID`` of the asset model property.
|
|
2315
2334
|
|
|
2335
|
+
.. epigraph::
|
|
2336
|
+
|
|
2337
|
+
One of ``ExternalId`` or ``LogicalId`` must be specified.
|
|
2338
|
+
|
|
2316
2339
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-logicalid
|
|
2317
2340
|
'''
|
|
2318
2341
|
result = self._values.get("logical_id")
|
|
@@ -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
|
aws_cdk/aws_ivs/__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
|
aws_cdk/aws_ivschat/__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
|