aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.218.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +87 -0
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +229 -6
- aws_cdk/aws_apigatewayv2/__init__.py +60 -2
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +101 -4
- aws_cdk/aws_appsync/__init__.py +61 -3
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +64 -2
- aws_cdk/aws_bedrock/__init__.py +277 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +38 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +69 -8
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +115 -12
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +89 -2
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +86 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +733 -2
- aws_cdk/aws_directoryservice/__init__.py +29 -0
- aws_cdk/aws_dms/__init__.py +58 -0
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +181 -0
- aws_cdk/aws_ec2/__init__.py +2031 -10
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +142 -12
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +145 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +507 -56
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +568 -111
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +68 -2
- aws_cdk/aws_lambda/__init__.py +104 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +562 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +92 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1520 -103
- aws_cdk/aws_opensearchserverless/__init__.py +222 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_opsworkscm/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +402 -58
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +715 -1
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +191 -154
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +274 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +670 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -7267,6 +7267,48 @@ class CfnApiDestination(
|
|
|
7267
7267
|
|
|
7268
7268
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
7269
7269
|
|
|
7270
|
+
@jsii.member(jsii_name="fromApiDestinationArn")
|
|
7271
|
+
@builtins.classmethod
|
|
7272
|
+
def from_api_destination_arn(
|
|
7273
|
+
cls,
|
|
7274
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7275
|
+
id: builtins.str,
|
|
7276
|
+
arn: builtins.str,
|
|
7277
|
+
) -> IApiDestinationRef:
|
|
7278
|
+
'''Creates a new IApiDestinationRef from an ARN.
|
|
7279
|
+
|
|
7280
|
+
:param scope: -
|
|
7281
|
+
:param id: -
|
|
7282
|
+
:param arn: -
|
|
7283
|
+
'''
|
|
7284
|
+
if __debug__:
|
|
7285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4d067d14eb4986a791825f5574a2a1b7996e52c30d1c10ce8e7b59e60ddb769)
|
|
7286
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7287
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7288
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
7289
|
+
return typing.cast(IApiDestinationRef, jsii.sinvoke(cls, "fromApiDestinationArn", [scope, id, arn]))
|
|
7290
|
+
|
|
7291
|
+
@jsii.member(jsii_name="fromApiDestinationName")
|
|
7292
|
+
@builtins.classmethod
|
|
7293
|
+
def from_api_destination_name(
|
|
7294
|
+
cls,
|
|
7295
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7296
|
+
id: builtins.str,
|
|
7297
|
+
api_destination_name: builtins.str,
|
|
7298
|
+
) -> IApiDestinationRef:
|
|
7299
|
+
'''Creates a new IApiDestinationRef from a apiDestinationName.
|
|
7300
|
+
|
|
7301
|
+
:param scope: -
|
|
7302
|
+
:param id: -
|
|
7303
|
+
:param api_destination_name: -
|
|
7304
|
+
'''
|
|
7305
|
+
if __debug__:
|
|
7306
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f7e79e48e08b958f9ad095544607e87dd2f1aa8eef727bec93c1ee0def4c583)
|
|
7307
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7308
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7309
|
+
check_type(argname="argument api_destination_name", value=api_destination_name, expected_type=type_hints["api_destination_name"])
|
|
7310
|
+
return typing.cast(IApiDestinationRef, jsii.sinvoke(cls, "fromApiDestinationName", [scope, id, api_destination_name]))
|
|
7311
|
+
|
|
7270
7312
|
@jsii.member(jsii_name="inspect")
|
|
7271
7313
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
7272
7314
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -7490,6 +7532,48 @@ class CfnArchive(
|
|
|
7490
7532
|
|
|
7491
7533
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
7492
7534
|
|
|
7535
|
+
@jsii.member(jsii_name="fromArchiveArn")
|
|
7536
|
+
@builtins.classmethod
|
|
7537
|
+
def from_archive_arn(
|
|
7538
|
+
cls,
|
|
7539
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7540
|
+
id: builtins.str,
|
|
7541
|
+
arn: builtins.str,
|
|
7542
|
+
) -> IArchiveRef:
|
|
7543
|
+
'''Creates a new IArchiveRef from an ARN.
|
|
7544
|
+
|
|
7545
|
+
:param scope: -
|
|
7546
|
+
:param id: -
|
|
7547
|
+
:param arn: -
|
|
7548
|
+
'''
|
|
7549
|
+
if __debug__:
|
|
7550
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8e8ead948e3f54f53c0d21e22906517bc78f6bc7b15975a7503199c89c0cc2d8)
|
|
7551
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7552
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7553
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
7554
|
+
return typing.cast(IArchiveRef, jsii.sinvoke(cls, "fromArchiveArn", [scope, id, arn]))
|
|
7555
|
+
|
|
7556
|
+
@jsii.member(jsii_name="fromArchiveName")
|
|
7557
|
+
@builtins.classmethod
|
|
7558
|
+
def from_archive_name(
|
|
7559
|
+
cls,
|
|
7560
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7561
|
+
id: builtins.str,
|
|
7562
|
+
archive_name: builtins.str,
|
|
7563
|
+
) -> IArchiveRef:
|
|
7564
|
+
'''Creates a new IArchiveRef from a archiveName.
|
|
7565
|
+
|
|
7566
|
+
:param scope: -
|
|
7567
|
+
:param id: -
|
|
7568
|
+
:param archive_name: -
|
|
7569
|
+
'''
|
|
7570
|
+
if __debug__:
|
|
7571
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f94b64dd5cb2b916b6680e63c92384270a55a857a32d8c25ec445a22c5a86f62)
|
|
7572
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7573
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7574
|
+
check_type(argname="argument archive_name", value=archive_name, expected_type=type_hints["archive_name"])
|
|
7575
|
+
return typing.cast(IArchiveRef, jsii.sinvoke(cls, "fromArchiveName", [scope, id, archive_name]))
|
|
7576
|
+
|
|
7493
7577
|
@jsii.member(jsii_name="inspect")
|
|
7494
7578
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
7495
7579
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -7768,6 +7852,48 @@ class CfnConnection(
|
|
|
7768
7852
|
|
|
7769
7853
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
7770
7854
|
|
|
7855
|
+
@jsii.member(jsii_name="fromConnectionArn")
|
|
7856
|
+
@builtins.classmethod
|
|
7857
|
+
def from_connection_arn(
|
|
7858
|
+
cls,
|
|
7859
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7860
|
+
id: builtins.str,
|
|
7861
|
+
arn: builtins.str,
|
|
7862
|
+
) -> IConnectionRef:
|
|
7863
|
+
'''Creates a new IConnectionRef from an ARN.
|
|
7864
|
+
|
|
7865
|
+
:param scope: -
|
|
7866
|
+
:param id: -
|
|
7867
|
+
:param arn: -
|
|
7868
|
+
'''
|
|
7869
|
+
if __debug__:
|
|
7870
|
+
type_hints = typing.get_type_hints(_typecheckingstub__630a9669f06abf4f4e8bad75138d45b4182263c18c97fb22a426fbc0a2bbcdc2)
|
|
7871
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7872
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7873
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
7874
|
+
return typing.cast(IConnectionRef, jsii.sinvoke(cls, "fromConnectionArn", [scope, id, arn]))
|
|
7875
|
+
|
|
7876
|
+
@jsii.member(jsii_name="fromConnectionName")
|
|
7877
|
+
@builtins.classmethod
|
|
7878
|
+
def from_connection_name(
|
|
7879
|
+
cls,
|
|
7880
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7881
|
+
id: builtins.str,
|
|
7882
|
+
connection_name: builtins.str,
|
|
7883
|
+
) -> IConnectionRef:
|
|
7884
|
+
'''Creates a new IConnectionRef from a connectionName.
|
|
7885
|
+
|
|
7886
|
+
:param scope: -
|
|
7887
|
+
:param id: -
|
|
7888
|
+
:param connection_name: -
|
|
7889
|
+
'''
|
|
7890
|
+
if __debug__:
|
|
7891
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d14cab009a8170454a66a3e141b7bf3bd9913cd1520a24a6bd2047517dc43bca)
|
|
7892
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7893
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7894
|
+
check_type(argname="argument connection_name", value=connection_name, expected_type=type_hints["connection_name"])
|
|
7895
|
+
return typing.cast(IConnectionRef, jsii.sinvoke(cls, "fromConnectionName", [scope, id, connection_name]))
|
|
7896
|
+
|
|
7771
7897
|
@jsii.member(jsii_name="inspect")
|
|
7772
7898
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
7773
7899
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -9009,6 +9135,48 @@ class CfnEndpoint(
|
|
|
9009
9135
|
|
|
9010
9136
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
9011
9137
|
|
|
9138
|
+
@jsii.member(jsii_name="fromEndpointArn")
|
|
9139
|
+
@builtins.classmethod
|
|
9140
|
+
def from_endpoint_arn(
|
|
9141
|
+
cls,
|
|
9142
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9143
|
+
id: builtins.str,
|
|
9144
|
+
arn: builtins.str,
|
|
9145
|
+
) -> IEndpointRef:
|
|
9146
|
+
'''Creates a new IEndpointRef from an ARN.
|
|
9147
|
+
|
|
9148
|
+
:param scope: -
|
|
9149
|
+
:param id: -
|
|
9150
|
+
:param arn: -
|
|
9151
|
+
'''
|
|
9152
|
+
if __debug__:
|
|
9153
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b8df0737b10ec98bf62c1be2c67715f159dc221d2935abd8e8ae6669ca458d7f)
|
|
9154
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
9155
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9156
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
9157
|
+
return typing.cast(IEndpointRef, jsii.sinvoke(cls, "fromEndpointArn", [scope, id, arn]))
|
|
9158
|
+
|
|
9159
|
+
@jsii.member(jsii_name="fromEndpointName")
|
|
9160
|
+
@builtins.classmethod
|
|
9161
|
+
def from_endpoint_name(
|
|
9162
|
+
cls,
|
|
9163
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9164
|
+
id: builtins.str,
|
|
9165
|
+
endpoint_name: builtins.str,
|
|
9166
|
+
) -> IEndpointRef:
|
|
9167
|
+
'''Creates a new IEndpointRef from a endpointName.
|
|
9168
|
+
|
|
9169
|
+
:param scope: -
|
|
9170
|
+
:param id: -
|
|
9171
|
+
:param endpoint_name: -
|
|
9172
|
+
'''
|
|
9173
|
+
if __debug__:
|
|
9174
|
+
type_hints = typing.get_type_hints(_typecheckingstub__777109eec20698d982fd6e8cd9ad182871f5e151603cba27527f7f96a6fb3f5e)
|
|
9175
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
9176
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9177
|
+
check_type(argname="argument endpoint_name", value=endpoint_name, expected_type=type_hints["endpoint_name"])
|
|
9178
|
+
return typing.cast(IEndpointRef, jsii.sinvoke(cls, "fromEndpointName", [scope, id, endpoint_name]))
|
|
9179
|
+
|
|
9012
9180
|
@jsii.member(jsii_name="inspect")
|
|
9013
9181
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
9014
9182
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -9635,6 +9803,48 @@ class CfnEventBus(
|
|
|
9635
9803
|
|
|
9636
9804
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
9637
9805
|
|
|
9806
|
+
@jsii.member(jsii_name="fromEventBusArn")
|
|
9807
|
+
@builtins.classmethod
|
|
9808
|
+
def from_event_bus_arn(
|
|
9809
|
+
cls,
|
|
9810
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9811
|
+
id: builtins.str,
|
|
9812
|
+
arn: builtins.str,
|
|
9813
|
+
) -> IEventBusRef:
|
|
9814
|
+
'''Creates a new IEventBusRef from an ARN.
|
|
9815
|
+
|
|
9816
|
+
:param scope: -
|
|
9817
|
+
:param id: -
|
|
9818
|
+
:param arn: -
|
|
9819
|
+
'''
|
|
9820
|
+
if __debug__:
|
|
9821
|
+
type_hints = typing.get_type_hints(_typecheckingstub__52da9c5fdac4b9a20af016bb86d96bb717169d7d2f8789450b948f3ae2849d73)
|
|
9822
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
9823
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9824
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
9825
|
+
return typing.cast(IEventBusRef, jsii.sinvoke(cls, "fromEventBusArn", [scope, id, arn]))
|
|
9826
|
+
|
|
9827
|
+
@jsii.member(jsii_name="fromEventBusName")
|
|
9828
|
+
@builtins.classmethod
|
|
9829
|
+
def from_event_bus_name(
|
|
9830
|
+
cls,
|
|
9831
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9832
|
+
id: builtins.str,
|
|
9833
|
+
event_bus_name: builtins.str,
|
|
9834
|
+
) -> IEventBusRef:
|
|
9835
|
+
'''Creates a new IEventBusRef from a eventBusName.
|
|
9836
|
+
|
|
9837
|
+
:param scope: -
|
|
9838
|
+
:param id: -
|
|
9839
|
+
:param event_bus_name: -
|
|
9840
|
+
'''
|
|
9841
|
+
if __debug__:
|
|
9842
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c06912850ab4232d75f46bf4e7fc5fb53350cab9f80c585bec5b376767c64960)
|
|
9843
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
9844
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9845
|
+
check_type(argname="argument event_bus_name", value=event_bus_name, expected_type=type_hints["event_bus_name"])
|
|
9846
|
+
return typing.cast(IEventBusRef, jsii.sinvoke(cls, "fromEventBusName", [scope, id, event_bus_name]))
|
|
9847
|
+
|
|
9638
9848
|
@jsii.member(jsii_name="inspect")
|
|
9639
9849
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
9640
9850
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -14301,6 +14511,22 @@ def _typecheckingstub__0c7f09c3557e2395656d23b74c8de1fbe1e4a3b537284c9d270edc631
|
|
|
14301
14511
|
"""Type checking stubs"""
|
|
14302
14512
|
pass
|
|
14303
14513
|
|
|
14514
|
+
def _typecheckingstub__e4d067d14eb4986a791825f5574a2a1b7996e52c30d1c10ce8e7b59e60ddb769(
|
|
14515
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14516
|
+
id: builtins.str,
|
|
14517
|
+
arn: builtins.str,
|
|
14518
|
+
) -> None:
|
|
14519
|
+
"""Type checking stubs"""
|
|
14520
|
+
pass
|
|
14521
|
+
|
|
14522
|
+
def _typecheckingstub__2f7e79e48e08b958f9ad095544607e87dd2f1aa8eef727bec93c1ee0def4c583(
|
|
14523
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14524
|
+
id: builtins.str,
|
|
14525
|
+
api_destination_name: builtins.str,
|
|
14526
|
+
) -> None:
|
|
14527
|
+
"""Type checking stubs"""
|
|
14528
|
+
pass
|
|
14529
|
+
|
|
14304
14530
|
def _typecheckingstub__158c0bb8fa8e9ef1c2e58e89a44ebad609986b410e381f81aedd0308a9e35b28(
|
|
14305
14531
|
inspector: _TreeInspector_488e0dd5,
|
|
14306
14532
|
) -> None:
|
|
@@ -14363,6 +14589,22 @@ def _typecheckingstub__a963410c1802040879d7bcae9506f4438510f71eb6934c222d9c998db
|
|
|
14363
14589
|
"""Type checking stubs"""
|
|
14364
14590
|
pass
|
|
14365
14591
|
|
|
14592
|
+
def _typecheckingstub__8e8ead948e3f54f53c0d21e22906517bc78f6bc7b15975a7503199c89c0cc2d8(
|
|
14593
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14594
|
+
id: builtins.str,
|
|
14595
|
+
arn: builtins.str,
|
|
14596
|
+
) -> None:
|
|
14597
|
+
"""Type checking stubs"""
|
|
14598
|
+
pass
|
|
14599
|
+
|
|
14600
|
+
def _typecheckingstub__f94b64dd5cb2b916b6680e63c92384270a55a857a32d8c25ec445a22c5a86f62(
|
|
14601
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14602
|
+
id: builtins.str,
|
|
14603
|
+
archive_name: builtins.str,
|
|
14604
|
+
) -> None:
|
|
14605
|
+
"""Type checking stubs"""
|
|
14606
|
+
pass
|
|
14607
|
+
|
|
14366
14608
|
def _typecheckingstub__c7da996869ac9a69e8a63a58883200e217a1913f5d321926f7ab5c4ebb3e56a6(
|
|
14367
14609
|
inspector: _TreeInspector_488e0dd5,
|
|
14368
14610
|
) -> None:
|
|
@@ -14425,6 +14667,22 @@ def _typecheckingstub__65bde9b35de094b905dd335652d04503af85c50ac027a006a1d7ec926
|
|
|
14425
14667
|
"""Type checking stubs"""
|
|
14426
14668
|
pass
|
|
14427
14669
|
|
|
14670
|
+
def _typecheckingstub__630a9669f06abf4f4e8bad75138d45b4182263c18c97fb22a426fbc0a2bbcdc2(
|
|
14671
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14672
|
+
id: builtins.str,
|
|
14673
|
+
arn: builtins.str,
|
|
14674
|
+
) -> None:
|
|
14675
|
+
"""Type checking stubs"""
|
|
14676
|
+
pass
|
|
14677
|
+
|
|
14678
|
+
def _typecheckingstub__d14cab009a8170454a66a3e141b7bf3bd9913cd1520a24a6bd2047517dc43bca(
|
|
14679
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14680
|
+
id: builtins.str,
|
|
14681
|
+
connection_name: builtins.str,
|
|
14682
|
+
) -> None:
|
|
14683
|
+
"""Type checking stubs"""
|
|
14684
|
+
pass
|
|
14685
|
+
|
|
14428
14686
|
def _typecheckingstub__192a6c229918a43504bd57de4e35ae7938880d0c805afe4cc4c5905924754719(
|
|
14429
14687
|
inspector: _TreeInspector_488e0dd5,
|
|
14430
14688
|
) -> None:
|
|
@@ -14572,6 +14830,22 @@ def _typecheckingstub__66aefb2196270463c6a9f2eea0dcb5bb280d90c63f36870b21785e675
|
|
|
14572
14830
|
"""Type checking stubs"""
|
|
14573
14831
|
pass
|
|
14574
14832
|
|
|
14833
|
+
def _typecheckingstub__b8df0737b10ec98bf62c1be2c67715f159dc221d2935abd8e8ae6669ca458d7f(
|
|
14834
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14835
|
+
id: builtins.str,
|
|
14836
|
+
arn: builtins.str,
|
|
14837
|
+
) -> None:
|
|
14838
|
+
"""Type checking stubs"""
|
|
14839
|
+
pass
|
|
14840
|
+
|
|
14841
|
+
def _typecheckingstub__777109eec20698d982fd6e8cd9ad182871f5e151603cba27527f7f96a6fb3f5e(
|
|
14842
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14843
|
+
id: builtins.str,
|
|
14844
|
+
endpoint_name: builtins.str,
|
|
14845
|
+
) -> None:
|
|
14846
|
+
"""Type checking stubs"""
|
|
14847
|
+
pass
|
|
14848
|
+
|
|
14575
14849
|
def _typecheckingstub__575b3a669c9a519cfd6641ef37eb4e16de10be20251ac40d8d954a8cac93bb17(
|
|
14576
14850
|
inspector: _TreeInspector_488e0dd5,
|
|
14577
14851
|
) -> None:
|
|
@@ -14679,6 +14953,22 @@ def _typecheckingstub__5766595a149723459145d9f55c6afa7ed3017d49f4af7cec85e0fffe2
|
|
|
14679
14953
|
"""Type checking stubs"""
|
|
14680
14954
|
pass
|
|
14681
14955
|
|
|
14956
|
+
def _typecheckingstub__52da9c5fdac4b9a20af016bb86d96bb717169d7d2f8789450b948f3ae2849d73(
|
|
14957
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14958
|
+
id: builtins.str,
|
|
14959
|
+
arn: builtins.str,
|
|
14960
|
+
) -> None:
|
|
14961
|
+
"""Type checking stubs"""
|
|
14962
|
+
pass
|
|
14963
|
+
|
|
14964
|
+
def _typecheckingstub__c06912850ab4232d75f46bf4e7fc5fb53350cab9f80c585bec5b376767c64960(
|
|
14965
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
14966
|
+
id: builtins.str,
|
|
14967
|
+
event_bus_name: builtins.str,
|
|
14968
|
+
) -> None:
|
|
14969
|
+
"""Type checking stubs"""
|
|
14970
|
+
pass
|
|
14971
|
+
|
|
14682
14972
|
def _typecheckingstub__505cff6efff7c5a6d5cba375be4fe0f0f9042abf1bfc4636e8e005ac832fdd64(
|
|
14683
14973
|
inspector: _TreeInspector_488e0dd5,
|
|
14684
14974
|
) -> None:
|
aws_cdk/aws_evs/__init__.py
CHANGED
|
@@ -210,7 +210,11 @@ class CfnEnvironmentProps:
|
|
|
210
210
|
),
|
|
211
211
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
212
212
|
cidr="cidr"
|
|
213
|
-
)
|
|
213
|
+
),
|
|
214
|
+
|
|
215
|
+
# the properties below are optional
|
|
216
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
217
|
+
is_hcx_public=False
|
|
214
218
|
),
|
|
215
219
|
kms_key_id="kmsKeyId",
|
|
216
220
|
service_access_security_groups=evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty(
|
|
@@ -644,7 +648,11 @@ class CfnEnvironment(
|
|
|
644
648
|
),
|
|
645
649
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
646
650
|
cidr="cidr"
|
|
647
|
-
)
|
|
651
|
+
),
|
|
652
|
+
|
|
653
|
+
# the properties below are optional
|
|
654
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
655
|
+
is_hcx_public=False
|
|
648
656
|
),
|
|
649
657
|
kms_key_id="kmsKeyId",
|
|
650
658
|
service_access_security_groups=evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty(
|
|
@@ -1432,6 +1440,8 @@ class CfnEnvironment(
|
|
|
1432
1440
|
"v_motion": "vMotion",
|
|
1433
1441
|
"v_san": "vSan",
|
|
1434
1442
|
"v_tep": "vTep",
|
|
1443
|
+
"hcx_network_acl_id": "hcxNetworkAclId",
|
|
1444
|
+
"is_hcx_public": "isHcxPublic",
|
|
1435
1445
|
},
|
|
1436
1446
|
)
|
|
1437
1447
|
class InitialVlansProperty:
|
|
@@ -1448,6 +1458,8 @@ class CfnEnvironment(
|
|
|
1448
1458
|
v_motion: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1449
1459
|
v_san: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1450
1460
|
v_tep: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1461
|
+
hcx_network_acl_id: typing.Optional[builtins.str] = None,
|
|
1462
|
+
is_hcx_public: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1451
1463
|
) -> None:
|
|
1452
1464
|
'''The initial VLAN subnets for the environment.
|
|
1453
1465
|
|
|
@@ -1456,13 +1468,15 @@ class CfnEnvironment(
|
|
|
1456
1468
|
:param edge_v_tep: The edge VTEP VLAN subnet. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections.
|
|
1457
1469
|
:param expansion_vlan1: An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.
|
|
1458
1470
|
:param expansion_vlan2: An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.
|
|
1459
|
-
:param hcx: The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.
|
|
1471
|
+
:param hcx: The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation. If you plan to use a public HCX VLAN subnet, the following requirements must be met: - Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration. - The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block. - Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
|
|
1460
1472
|
:param nsx_up_link: The NSX uplink VLAN subnet. This VLAN subnet allows connectivity to the NSX overlay network.
|
|
1461
1473
|
:param vmk_management: The host VMkernel management VLAN subnet. This VLAN subnet carries traffic for managing ESXi hosts and communicating with VMware vCenter Server.
|
|
1462
1474
|
:param vm_management: The VM management VLAN subnet. This VLAN subnet carries traffic for vSphere virtual machines.
|
|
1463
1475
|
:param v_motion: The vMotion VLAN subnet. This VLAN subnet carries traffic for vSphere vMotion.
|
|
1464
1476
|
:param v_san: The vSAN VLAN subnet. This VLAN subnet carries the communication between ESXi hosts to implement a vSAN shared storage pool.
|
|
1465
1477
|
:param v_tep: The VTEP VLAN subnet. This VLAN subnet handles internal network traffic between virtual machines within a VCF instance.
|
|
1478
|
+
:param hcx_network_acl_id: A unique ID for a network access control list that the HCX VLAN uses. Required when ``isHcxPublic`` is set to ``true`` .
|
|
1479
|
+
:param is_hcx_public: Determines if the HCX VLAN that Amazon EVS provisions is public or private.
|
|
1466
1480
|
|
|
1467
1481
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html
|
|
1468
1482
|
:exampleMetadata: fixture=_generated
|
|
@@ -1503,7 +1517,11 @@ class CfnEnvironment(
|
|
|
1503
1517
|
),
|
|
1504
1518
|
v_tep=evs.CfnEnvironment.InitialVlanInfoProperty(
|
|
1505
1519
|
cidr="cidr"
|
|
1506
|
-
)
|
|
1520
|
+
),
|
|
1521
|
+
|
|
1522
|
+
# the properties below are optional
|
|
1523
|
+
hcx_network_acl_id="hcxNetworkAclId",
|
|
1524
|
+
is_hcx_public=False
|
|
1507
1525
|
)
|
|
1508
1526
|
'''
|
|
1509
1527
|
if __debug__:
|
|
@@ -1518,6 +1536,8 @@ class CfnEnvironment(
|
|
|
1518
1536
|
check_type(argname="argument v_motion", value=v_motion, expected_type=type_hints["v_motion"])
|
|
1519
1537
|
check_type(argname="argument v_san", value=v_san, expected_type=type_hints["v_san"])
|
|
1520
1538
|
check_type(argname="argument v_tep", value=v_tep, expected_type=type_hints["v_tep"])
|
|
1539
|
+
check_type(argname="argument hcx_network_acl_id", value=hcx_network_acl_id, expected_type=type_hints["hcx_network_acl_id"])
|
|
1540
|
+
check_type(argname="argument is_hcx_public", value=is_hcx_public, expected_type=type_hints["is_hcx_public"])
|
|
1521
1541
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1522
1542
|
"edge_v_tep": edge_v_tep,
|
|
1523
1543
|
"expansion_vlan1": expansion_vlan1,
|
|
@@ -1530,6 +1550,10 @@ class CfnEnvironment(
|
|
|
1530
1550
|
"v_san": v_san,
|
|
1531
1551
|
"v_tep": v_tep,
|
|
1532
1552
|
}
|
|
1553
|
+
if hcx_network_acl_id is not None:
|
|
1554
|
+
self._values["hcx_network_acl_id"] = hcx_network_acl_id
|
|
1555
|
+
if is_hcx_public is not None:
|
|
1556
|
+
self._values["is_hcx_public"] = is_hcx_public
|
|
1533
1557
|
|
|
1534
1558
|
@builtins.property
|
|
1535
1559
|
def edge_v_tep(
|
|
@@ -1581,6 +1605,12 @@ class CfnEnvironment(
|
|
|
1581
1605
|
|
|
1582
1606
|
This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.
|
|
1583
1607
|
|
|
1608
|
+
If you plan to use a public HCX VLAN subnet, the following requirements must be met:
|
|
1609
|
+
|
|
1610
|
+
- Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.
|
|
1611
|
+
- The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.
|
|
1612
|
+
- Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
|
|
1613
|
+
|
|
1584
1614
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-hcx
|
|
1585
1615
|
'''
|
|
1586
1616
|
result = self._values.get("hcx")
|
|
@@ -1671,6 +1701,28 @@ class CfnEnvironment(
|
|
|
1671
1701
|
assert result is not None, "Required property 'v_tep' is missing"
|
|
1672
1702
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnEnvironment.InitialVlanInfoProperty"], result)
|
|
1673
1703
|
|
|
1704
|
+
@builtins.property
|
|
1705
|
+
def hcx_network_acl_id(self) -> typing.Optional[builtins.str]:
|
|
1706
|
+
'''A unique ID for a network access control list that the HCX VLAN uses.
|
|
1707
|
+
|
|
1708
|
+
Required when ``isHcxPublic`` is set to ``true`` .
|
|
1709
|
+
|
|
1710
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-hcxnetworkaclid
|
|
1711
|
+
'''
|
|
1712
|
+
result = self._values.get("hcx_network_acl_id")
|
|
1713
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1714
|
+
|
|
1715
|
+
@builtins.property
|
|
1716
|
+
def is_hcx_public(
|
|
1717
|
+
self,
|
|
1718
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1719
|
+
'''Determines if the HCX VLAN that Amazon EVS provisions is public or private.
|
|
1720
|
+
|
|
1721
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evs-environment-initialvlans.html#cfn-evs-environment-initialvlans-ishcxpublic
|
|
1722
|
+
'''
|
|
1723
|
+
result = self._values.get("is_hcx_public")
|
|
1724
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1725
|
+
|
|
1674
1726
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1675
1727
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1676
1728
|
|
|
@@ -2261,6 +2313,8 @@ def _typecheckingstub__a70b9547ba64740f8b44168dbcdcd80e75a75a1dc2ed733c834ad336f
|
|
|
2261
2313
|
v_motion: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2262
2314
|
v_san: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2263
2315
|
v_tep: typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.InitialVlanInfoProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2316
|
+
hcx_network_acl_id: typing.Optional[builtins.str] = None,
|
|
2317
|
+
is_hcx_public: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2264
2318
|
) -> None:
|
|
2265
2319
|
"""Type checking stubs"""
|
|
2266
2320
|
pass
|
aws_cdk/aws_finspace/__init__.py
CHANGED
|
@@ -466,6 +466,48 @@ class CfnEnvironment(
|
|
|
466
466
|
|
|
467
467
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
468
468
|
|
|
469
|
+
@jsii.member(jsii_name="fromEnvironmentArn")
|
|
470
|
+
@builtins.classmethod
|
|
471
|
+
def from_environment_arn(
|
|
472
|
+
cls,
|
|
473
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
474
|
+
id: builtins.str,
|
|
475
|
+
arn: builtins.str,
|
|
476
|
+
) -> IEnvironmentRef:
|
|
477
|
+
'''Creates a new IEnvironmentRef from an ARN.
|
|
478
|
+
|
|
479
|
+
:param scope: -
|
|
480
|
+
:param id: -
|
|
481
|
+
:param arn: -
|
|
482
|
+
'''
|
|
483
|
+
if __debug__:
|
|
484
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b92cbfe9da7a90cc72011038cb4559944d65e4b786f79dce53c9a3883abb1461)
|
|
485
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
486
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
487
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
488
|
+
return typing.cast(IEnvironmentRef, jsii.sinvoke(cls, "fromEnvironmentArn", [scope, id, arn]))
|
|
489
|
+
|
|
490
|
+
@jsii.member(jsii_name="fromEnvironmentId")
|
|
491
|
+
@builtins.classmethod
|
|
492
|
+
def from_environment_id(
|
|
493
|
+
cls,
|
|
494
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
495
|
+
id: builtins.str,
|
|
496
|
+
environment_id: builtins.str,
|
|
497
|
+
) -> IEnvironmentRef:
|
|
498
|
+
'''Creates a new IEnvironmentRef from a environmentId.
|
|
499
|
+
|
|
500
|
+
:param scope: -
|
|
501
|
+
:param id: -
|
|
502
|
+
:param environment_id: -
|
|
503
|
+
'''
|
|
504
|
+
if __debug__:
|
|
505
|
+
type_hints = typing.get_type_hints(_typecheckingstub__39e2e2873628b8cd5af14e45814a46693e8e9fdce268762ba663b61f576effd2)
|
|
506
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
507
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
508
|
+
check_type(argname="argument environment_id", value=environment_id, expected_type=type_hints["environment_id"])
|
|
509
|
+
return typing.cast(IEnvironmentRef, jsii.sinvoke(cls, "fromEnvironmentId", [scope, id, environment_id]))
|
|
510
|
+
|
|
469
511
|
@jsii.member(jsii_name="inspect")
|
|
470
512
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
471
513
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1051,6 +1093,22 @@ def _typecheckingstub__9f57ac69116cda232b57cc77dd248367e34b3decfb4cc4cd606394bbf
|
|
|
1051
1093
|
"""Type checking stubs"""
|
|
1052
1094
|
pass
|
|
1053
1095
|
|
|
1096
|
+
def _typecheckingstub__b92cbfe9da7a90cc72011038cb4559944d65e4b786f79dce53c9a3883abb1461(
|
|
1097
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1098
|
+
id: builtins.str,
|
|
1099
|
+
arn: builtins.str,
|
|
1100
|
+
) -> None:
|
|
1101
|
+
"""Type checking stubs"""
|
|
1102
|
+
pass
|
|
1103
|
+
|
|
1104
|
+
def _typecheckingstub__39e2e2873628b8cd5af14e45814a46693e8e9fdce268762ba663b61f576effd2(
|
|
1105
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1106
|
+
id: builtins.str,
|
|
1107
|
+
environment_id: builtins.str,
|
|
1108
|
+
) -> None:
|
|
1109
|
+
"""Type checking stubs"""
|
|
1110
|
+
pass
|
|
1111
|
+
|
|
1054
1112
|
def _typecheckingstub__f5d0b1b73afeaee7185b654d27df42d0dbc9a9ffc19dfc7b89de95cb1b73263f(
|
|
1055
1113
|
inspector: _TreeInspector_488e0dd5,
|
|
1056
1114
|
) -> None:
|