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
|
@@ -432,10 +432,10 @@ class CfnIndexProps:
|
|
|
432
432
|
dimension=123,
|
|
433
433
|
index=False,
|
|
434
434
|
method=opensearchserverless.CfnIndex.MethodProperty(
|
|
435
|
-
engine="engine",
|
|
436
435
|
name="name",
|
|
437
436
|
|
|
438
437
|
# the properties below are optional
|
|
438
|
+
engine="engine",
|
|
439
439
|
parameters=opensearchserverless.CfnIndex.ParametersProperty(
|
|
440
440
|
ef_construction=123,
|
|
441
441
|
m=123
|
|
@@ -641,6 +641,7 @@ class CfnLifecyclePolicyProps:
|
|
|
641
641
|
jsii_struct_bases=[],
|
|
642
642
|
name_mapping={
|
|
643
643
|
"description": "description",
|
|
644
|
+
"iam_federation_options": "iamFederationOptions",
|
|
644
645
|
"iam_identity_center_options": "iamIdentityCenterOptions",
|
|
645
646
|
"name": "name",
|
|
646
647
|
"saml_options": "samlOptions",
|
|
@@ -652,6 +653,7 @@ class CfnSecurityConfigProps:
|
|
|
652
653
|
self,
|
|
653
654
|
*,
|
|
654
655
|
description: typing.Optional[builtins.str] = None,
|
|
656
|
+
iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamFederationConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
655
657
|
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
656
658
|
name: typing.Optional[builtins.str] = None,
|
|
657
659
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -660,6 +662,7 @@ class CfnSecurityConfigProps:
|
|
|
660
662
|
'''Properties for defining a ``CfnSecurityConfig``.
|
|
661
663
|
|
|
662
664
|
:param description: The description of the security configuration.
|
|
665
|
+
:param iam_federation_options: Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
|
|
663
666
|
:param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
|
|
664
667
|
:param name: The name of the security configuration.
|
|
665
668
|
:param saml_options: SAML options for the security configuration in the form of a key-value map.
|
|
@@ -676,6 +679,10 @@ class CfnSecurityConfigProps:
|
|
|
676
679
|
|
|
677
680
|
cfn_security_config_props = opensearchserverless.CfnSecurityConfigProps(
|
|
678
681
|
description="description",
|
|
682
|
+
iam_federation_options=opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
|
|
683
|
+
group_attribute="groupAttribute",
|
|
684
|
+
user_attribute="userAttribute"
|
|
685
|
+
),
|
|
679
686
|
iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
|
|
680
687
|
instance_arn="instanceArn",
|
|
681
688
|
|
|
@@ -702,6 +709,7 @@ class CfnSecurityConfigProps:
|
|
|
702
709
|
if __debug__:
|
|
703
710
|
type_hints = typing.get_type_hints(_typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4)
|
|
704
711
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
712
|
+
check_type(argname="argument iam_federation_options", value=iam_federation_options, expected_type=type_hints["iam_federation_options"])
|
|
705
713
|
check_type(argname="argument iam_identity_center_options", value=iam_identity_center_options, expected_type=type_hints["iam_identity_center_options"])
|
|
706
714
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
707
715
|
check_type(argname="argument saml_options", value=saml_options, expected_type=type_hints["saml_options"])
|
|
@@ -709,6 +717,8 @@ class CfnSecurityConfigProps:
|
|
|
709
717
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
710
718
|
if description is not None:
|
|
711
719
|
self._values["description"] = description
|
|
720
|
+
if iam_federation_options is not None:
|
|
721
|
+
self._values["iam_federation_options"] = iam_federation_options
|
|
712
722
|
if iam_identity_center_options is not None:
|
|
713
723
|
self._values["iam_identity_center_options"] = iam_identity_center_options
|
|
714
724
|
if name is not None:
|
|
@@ -727,6 +737,19 @@ class CfnSecurityConfigProps:
|
|
|
727
737
|
result = self._values.get("description")
|
|
728
738
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
729
739
|
|
|
740
|
+
@builtins.property
|
|
741
|
+
def iam_federation_options(
|
|
742
|
+
self,
|
|
743
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]]:
|
|
744
|
+
'''Describes IAM federation options in the form of a key-value map.
|
|
745
|
+
|
|
746
|
+
Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
|
|
747
|
+
|
|
748
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securityconfig.html#cfn-opensearchserverless-securityconfig-iamfederationoptions
|
|
749
|
+
'''
|
|
750
|
+
result = self._values.get("iam_federation_options")
|
|
751
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]], result)
|
|
752
|
+
|
|
730
753
|
@builtins.property
|
|
731
754
|
def iam_identity_center_options(
|
|
732
755
|
self,
|
|
@@ -1865,6 +1888,48 @@ class CfnCollection(
|
|
|
1865
1888
|
|
|
1866
1889
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1867
1890
|
|
|
1891
|
+
@jsii.member(jsii_name="fromCollectionArn")
|
|
1892
|
+
@builtins.classmethod
|
|
1893
|
+
def from_collection_arn(
|
|
1894
|
+
cls,
|
|
1895
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1896
|
+
id: builtins.str,
|
|
1897
|
+
arn: builtins.str,
|
|
1898
|
+
) -> ICollectionRef:
|
|
1899
|
+
'''Creates a new ICollectionRef from an ARN.
|
|
1900
|
+
|
|
1901
|
+
:param scope: -
|
|
1902
|
+
:param id: -
|
|
1903
|
+
:param arn: -
|
|
1904
|
+
'''
|
|
1905
|
+
if __debug__:
|
|
1906
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a867d3ccfec6274c8dba1d54e9985d5848fc3846259a0066b6a7a2747a2f202)
|
|
1907
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1908
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1909
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
1910
|
+
return typing.cast(ICollectionRef, jsii.sinvoke(cls, "fromCollectionArn", [scope, id, arn]))
|
|
1911
|
+
|
|
1912
|
+
@jsii.member(jsii_name="fromCollectionId")
|
|
1913
|
+
@builtins.classmethod
|
|
1914
|
+
def from_collection_id(
|
|
1915
|
+
cls,
|
|
1916
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1917
|
+
id: builtins.str,
|
|
1918
|
+
collection_id: builtins.str,
|
|
1919
|
+
) -> ICollectionRef:
|
|
1920
|
+
'''Creates a new ICollectionRef from a collectionId.
|
|
1921
|
+
|
|
1922
|
+
:param scope: -
|
|
1923
|
+
:param id: -
|
|
1924
|
+
:param collection_id: -
|
|
1925
|
+
'''
|
|
1926
|
+
if __debug__:
|
|
1927
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4873da41e53bbb04f400bc347dc5055de33d58a34837863127c0a03bff69ac7f)
|
|
1928
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1929
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1930
|
+
check_type(argname="argument collection_id", value=collection_id, expected_type=type_hints["collection_id"])
|
|
1931
|
+
return typing.cast(ICollectionRef, jsii.sinvoke(cls, "fromCollectionId", [scope, id, collection_id]))
|
|
1932
|
+
|
|
1868
1933
|
@jsii.member(jsii_name="inspect")
|
|
1869
1934
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1870
1935
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -2056,10 +2121,10 @@ class CfnIndex(
|
|
|
2056
2121
|
dimension=123,
|
|
2057
2122
|
index=False,
|
|
2058
2123
|
method=opensearchserverless.CfnIndex.MethodProperty(
|
|
2059
|
-
engine="engine",
|
|
2060
2124
|
name="name",
|
|
2061
2125
|
|
|
2062
2126
|
# the properties below are optional
|
|
2127
|
+
engine="engine",
|
|
2063
2128
|
parameters=opensearchserverless.CfnIndex.ParametersProperty(
|
|
2064
2129
|
ef_construction=123,
|
|
2065
2130
|
m=123
|
|
@@ -2415,10 +2480,10 @@ class CfnIndex(
|
|
|
2415
2480
|
dimension=123,
|
|
2416
2481
|
index=False,
|
|
2417
2482
|
method=opensearchserverless.CfnIndex.MethodProperty(
|
|
2418
|
-
engine="engine",
|
|
2419
2483
|
name="name",
|
|
2420
2484
|
|
|
2421
2485
|
# the properties below are optional
|
|
2486
|
+
engine="engine",
|
|
2422
2487
|
parameters=opensearchserverless.CfnIndex.ParametersProperty(
|
|
2423
2488
|
ef_construction=123,
|
|
2424
2489
|
m=123
|
|
@@ -2466,8 +2531,8 @@ class CfnIndex(
|
|
|
2466
2531
|
jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.MethodProperty",
|
|
2467
2532
|
jsii_struct_bases=[],
|
|
2468
2533
|
name_mapping={
|
|
2469
|
-
"engine": "engine",
|
|
2470
2534
|
"name": "name",
|
|
2535
|
+
"engine": "engine",
|
|
2471
2536
|
"parameters": "parameters",
|
|
2472
2537
|
"space_type": "spaceType",
|
|
2473
2538
|
},
|
|
@@ -2476,15 +2541,15 @@ class CfnIndex(
|
|
|
2476
2541
|
def __init__(
|
|
2477
2542
|
self,
|
|
2478
2543
|
*,
|
|
2479
|
-
engine: builtins.str,
|
|
2480
2544
|
name: builtins.str,
|
|
2545
|
+
engine: typing.Optional[builtins.str] = None,
|
|
2481
2546
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.ParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2482
2547
|
space_type: typing.Optional[builtins.str] = None,
|
|
2483
2548
|
) -> None:
|
|
2484
2549
|
'''Configuration for k-NN search method.
|
|
2485
2550
|
|
|
2486
|
-
:param engine: The k-NN search engine to use.
|
|
2487
2551
|
:param name: The algorithm name for k-NN search.
|
|
2552
|
+
:param engine: The k-NN search engine to use.
|
|
2488
2553
|
:param parameters: Additional parameters for the k-NN algorithm.
|
|
2489
2554
|
:param space_type: The distance function used for k-NN search.
|
|
2490
2555
|
|
|
@@ -2498,10 +2563,10 @@ class CfnIndex(
|
|
|
2498
2563
|
from aws_cdk import aws_opensearchserverless as opensearchserverless
|
|
2499
2564
|
|
|
2500
2565
|
method_property = opensearchserverless.CfnIndex.MethodProperty(
|
|
2501
|
-
engine="engine",
|
|
2502
2566
|
name="name",
|
|
2503
2567
|
|
|
2504
2568
|
# the properties below are optional
|
|
2569
|
+
engine="engine",
|
|
2505
2570
|
parameters=opensearchserverless.CfnIndex.ParametersProperty(
|
|
2506
2571
|
ef_construction=123,
|
|
2507
2572
|
m=123
|
|
@@ -2511,29 +2576,20 @@ class CfnIndex(
|
|
|
2511
2576
|
'''
|
|
2512
2577
|
if __debug__:
|
|
2513
2578
|
type_hints = typing.get_type_hints(_typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35)
|
|
2514
|
-
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
2515
2579
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2580
|
+
check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
|
|
2516
2581
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
2517
2582
|
check_type(argname="argument space_type", value=space_type, expected_type=type_hints["space_type"])
|
|
2518
2583
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2519
|
-
"engine": engine,
|
|
2520
2584
|
"name": name,
|
|
2521
2585
|
}
|
|
2586
|
+
if engine is not None:
|
|
2587
|
+
self._values["engine"] = engine
|
|
2522
2588
|
if parameters is not None:
|
|
2523
2589
|
self._values["parameters"] = parameters
|
|
2524
2590
|
if space_type is not None:
|
|
2525
2591
|
self._values["space_type"] = space_type
|
|
2526
2592
|
|
|
2527
|
-
@builtins.property
|
|
2528
|
-
def engine(self) -> builtins.str:
|
|
2529
|
-
'''The k-NN search engine to use.
|
|
2530
|
-
|
|
2531
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-engine
|
|
2532
|
-
'''
|
|
2533
|
-
result = self._values.get("engine")
|
|
2534
|
-
assert result is not None, "Required property 'engine' is missing"
|
|
2535
|
-
return typing.cast(builtins.str, result)
|
|
2536
|
-
|
|
2537
2593
|
@builtins.property
|
|
2538
2594
|
def name(self) -> builtins.str:
|
|
2539
2595
|
'''The algorithm name for k-NN search.
|
|
@@ -2544,6 +2600,15 @@ class CfnIndex(
|
|
|
2544
2600
|
assert result is not None, "Required property 'name' is missing"
|
|
2545
2601
|
return typing.cast(builtins.str, result)
|
|
2546
2602
|
|
|
2603
|
+
@builtins.property
|
|
2604
|
+
def engine(self) -> typing.Optional[builtins.str]:
|
|
2605
|
+
'''The k-NN search engine to use.
|
|
2606
|
+
|
|
2607
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-engine
|
|
2608
|
+
'''
|
|
2609
|
+
result = self._values.get("engine")
|
|
2610
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2611
|
+
|
|
2547
2612
|
@builtins.property
|
|
2548
2613
|
def parameters(
|
|
2549
2614
|
self,
|
|
@@ -2695,10 +2760,10 @@ class CfnIndex(
|
|
|
2695
2760
|
dimension=123,
|
|
2696
2761
|
index=False,
|
|
2697
2762
|
method=opensearchserverless.CfnIndex.MethodProperty(
|
|
2698
|
-
engine="engine",
|
|
2699
2763
|
name="name",
|
|
2700
2764
|
|
|
2701
2765
|
# the properties below are optional
|
|
2766
|
+
engine="engine",
|
|
2702
2767
|
parameters=opensearchserverless.CfnIndex.ParametersProperty(
|
|
2703
2768
|
ef_construction=123,
|
|
2704
2769
|
m=123
|
|
@@ -2982,6 +3047,10 @@ class CfnSecurityConfig(
|
|
|
2982
3047
|
|
|
2983
3048
|
cfn_security_config = opensearchserverless.CfnSecurityConfig(self, "MyCfnSecurityConfig",
|
|
2984
3049
|
description="description",
|
|
3050
|
+
iam_federation_options=opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
|
|
3051
|
+
group_attribute="groupAttribute",
|
|
3052
|
+
user_attribute="userAttribute"
|
|
3053
|
+
),
|
|
2985
3054
|
iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
|
|
2986
3055
|
instance_arn="instanceArn",
|
|
2987
3056
|
|
|
@@ -3012,6 +3081,7 @@ class CfnSecurityConfig(
|
|
|
3012
3081
|
id: builtins.str,
|
|
3013
3082
|
*,
|
|
3014
3083
|
description: typing.Optional[builtins.str] = None,
|
|
3084
|
+
iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamFederationConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3015
3085
|
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3016
3086
|
name: typing.Optional[builtins.str] = None,
|
|
3017
3087
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3021,6 +3091,7 @@ class CfnSecurityConfig(
|
|
|
3021
3091
|
:param scope: Scope in which this resource is defined.
|
|
3022
3092
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3023
3093
|
:param description: The description of the security configuration.
|
|
3094
|
+
:param iam_federation_options: Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation.
|
|
3024
3095
|
:param iam_identity_center_options: Describes IAM Identity Center options in the form of a key-value map.
|
|
3025
3096
|
:param name: The name of the security configuration.
|
|
3026
3097
|
:param saml_options: SAML options for the security configuration in the form of a key-value map.
|
|
@@ -3032,6 +3103,7 @@ class CfnSecurityConfig(
|
|
|
3032
3103
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3033
3104
|
props = CfnSecurityConfigProps(
|
|
3034
3105
|
description=description,
|
|
3106
|
+
iam_federation_options=iam_federation_options,
|
|
3035
3107
|
iam_identity_center_options=iam_identity_center_options,
|
|
3036
3108
|
name=name,
|
|
3037
3109
|
saml_options=saml_options,
|
|
@@ -3132,6 +3204,24 @@ class CfnSecurityConfig(
|
|
|
3132
3204
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3133
3205
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
3134
3206
|
|
|
3207
|
+
@builtins.property
|
|
3208
|
+
@jsii.member(jsii_name="iamFederationOptions")
|
|
3209
|
+
def iam_federation_options(
|
|
3210
|
+
self,
|
|
3211
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]]:
|
|
3212
|
+
'''Describes IAM federation options in the form of a key-value map.'''
|
|
3213
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]], jsii.get(self, "iamFederationOptions"))
|
|
3214
|
+
|
|
3215
|
+
@iam_federation_options.setter
|
|
3216
|
+
def iam_federation_options(
|
|
3217
|
+
self,
|
|
3218
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamFederationConfigOptionsProperty"]],
|
|
3219
|
+
) -> None:
|
|
3220
|
+
if __debug__:
|
|
3221
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ccfa7fa0cc51cc5944f3e224a02320990df0f8ebafce43a7009528585ae23975)
|
|
3222
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3223
|
+
jsii.set(self, "iamFederationOptions", value) # pyright: ignore[reportArgumentType]
|
|
3224
|
+
|
|
3135
3225
|
@builtins.property
|
|
3136
3226
|
@jsii.member(jsii_name="iamIdentityCenterOptions")
|
|
3137
3227
|
def iam_identity_center_options(
|
|
@@ -3194,6 +3284,85 @@ class CfnSecurityConfig(
|
|
|
3194
3284
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3195
3285
|
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
3196
3286
|
|
|
3287
|
+
@jsii.data_type(
|
|
3288
|
+
jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty",
|
|
3289
|
+
jsii_struct_bases=[],
|
|
3290
|
+
name_mapping={
|
|
3291
|
+
"group_attribute": "groupAttribute",
|
|
3292
|
+
"user_attribute": "userAttribute",
|
|
3293
|
+
},
|
|
3294
|
+
)
|
|
3295
|
+
class IamFederationConfigOptionsProperty:
|
|
3296
|
+
def __init__(
|
|
3297
|
+
self,
|
|
3298
|
+
*,
|
|
3299
|
+
group_attribute: typing.Optional[builtins.str] = None,
|
|
3300
|
+
user_attribute: typing.Optional[builtins.str] = None,
|
|
3301
|
+
) -> None:
|
|
3302
|
+
'''Describes IAM federation options for an OpenSearch Serverless security configuration in the form of a key-value map.
|
|
3303
|
+
|
|
3304
|
+
These options define how OpenSearch Serverless integrates with external identity providers using federation.
|
|
3305
|
+
|
|
3306
|
+
:param group_attribute: The group attribute for this IAM federation integration. This attribute is used to map identity provider groups to OpenSearch Serverless permissions.
|
|
3307
|
+
:param user_attribute: The user attribute for this IAM federation integration. This attribute is used to identify users in the federated authentication process.
|
|
3308
|
+
|
|
3309
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html
|
|
3310
|
+
:exampleMetadata: fixture=_generated
|
|
3311
|
+
|
|
3312
|
+
Example::
|
|
3313
|
+
|
|
3314
|
+
# The code below shows an example of how to instantiate this type.
|
|
3315
|
+
# The values are placeholders you should change.
|
|
3316
|
+
from aws_cdk import aws_opensearchserverless as opensearchserverless
|
|
3317
|
+
|
|
3318
|
+
iam_federation_config_options_property = opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
|
|
3319
|
+
group_attribute="groupAttribute",
|
|
3320
|
+
user_attribute="userAttribute"
|
|
3321
|
+
)
|
|
3322
|
+
'''
|
|
3323
|
+
if __debug__:
|
|
3324
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce8f26dda3a935772ecc5546e8017fcfdc1c87fe45685294d9860d147cf53040)
|
|
3325
|
+
check_type(argname="argument group_attribute", value=group_attribute, expected_type=type_hints["group_attribute"])
|
|
3326
|
+
check_type(argname="argument user_attribute", value=user_attribute, expected_type=type_hints["user_attribute"])
|
|
3327
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3328
|
+
if group_attribute is not None:
|
|
3329
|
+
self._values["group_attribute"] = group_attribute
|
|
3330
|
+
if user_attribute is not None:
|
|
3331
|
+
self._values["user_attribute"] = user_attribute
|
|
3332
|
+
|
|
3333
|
+
@builtins.property
|
|
3334
|
+
def group_attribute(self) -> typing.Optional[builtins.str]:
|
|
3335
|
+
'''The group attribute for this IAM federation integration.
|
|
3336
|
+
|
|
3337
|
+
This attribute is used to map identity provider groups to OpenSearch Serverless permissions.
|
|
3338
|
+
|
|
3339
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html#cfn-opensearchserverless-securityconfig-iamfederationconfigoptions-groupattribute
|
|
3340
|
+
'''
|
|
3341
|
+
result = self._values.get("group_attribute")
|
|
3342
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3343
|
+
|
|
3344
|
+
@builtins.property
|
|
3345
|
+
def user_attribute(self) -> typing.Optional[builtins.str]:
|
|
3346
|
+
'''The user attribute for this IAM federation integration.
|
|
3347
|
+
|
|
3348
|
+
This attribute is used to identify users in the federated authentication process.
|
|
3349
|
+
|
|
3350
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html#cfn-opensearchserverless-securityconfig-iamfederationconfigoptions-userattribute
|
|
3351
|
+
'''
|
|
3352
|
+
result = self._values.get("user_attribute")
|
|
3353
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3354
|
+
|
|
3355
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3356
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3357
|
+
|
|
3358
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3359
|
+
return not (rhs == self)
|
|
3360
|
+
|
|
3361
|
+
def __repr__(self) -> str:
|
|
3362
|
+
return "IamFederationConfigOptionsProperty(%s)" % ", ".join(
|
|
3363
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3364
|
+
)
|
|
3365
|
+
|
|
3197
3366
|
@jsii.data_type(
|
|
3198
3367
|
jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty",
|
|
3199
3368
|
jsii_struct_bases=[],
|
|
@@ -3873,6 +4042,7 @@ def _typecheckingstub__e73912f69bcf372f36058fe91d3360e53142205e8eb7f06190c7963ad
|
|
|
3873
4042
|
def _typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4(
|
|
3874
4043
|
*,
|
|
3875
4044
|
description: typing.Optional[builtins.str] = None,
|
|
4045
|
+
iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamFederationConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3876
4046
|
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3877
4047
|
name: typing.Optional[builtins.str] = None,
|
|
3878
4048
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -4008,6 +4178,22 @@ def _typecheckingstub__14f72b773d506ce15b59731aeb24f2f4a877a32d31af6ebf57a32ce70
|
|
|
4008
4178
|
"""Type checking stubs"""
|
|
4009
4179
|
pass
|
|
4010
4180
|
|
|
4181
|
+
def _typecheckingstub__1a867d3ccfec6274c8dba1d54e9985d5848fc3846259a0066b6a7a2747a2f202(
|
|
4182
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4183
|
+
id: builtins.str,
|
|
4184
|
+
arn: builtins.str,
|
|
4185
|
+
) -> None:
|
|
4186
|
+
"""Type checking stubs"""
|
|
4187
|
+
pass
|
|
4188
|
+
|
|
4189
|
+
def _typecheckingstub__4873da41e53bbb04f400bc347dc5055de33d58a34837863127c0a03bff69ac7f(
|
|
4190
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4191
|
+
id: builtins.str,
|
|
4192
|
+
collection_id: builtins.str,
|
|
4193
|
+
) -> None:
|
|
4194
|
+
"""Type checking stubs"""
|
|
4195
|
+
pass
|
|
4196
|
+
|
|
4011
4197
|
def _typecheckingstub__3c88f558406d9de750b6a01e95a1eade398fef738592cdd78170d3f472b7ff7e(
|
|
4012
4198
|
inspector: _TreeInspector_488e0dd5,
|
|
4013
4199
|
) -> None:
|
|
@@ -4123,8 +4309,8 @@ def _typecheckingstub__a5bb392b8c065f198a0fe7fd6e0fa2156f493990b76e0fee04edb9297
|
|
|
4123
4309
|
|
|
4124
4310
|
def _typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35(
|
|
4125
4311
|
*,
|
|
4126
|
-
engine: builtins.str,
|
|
4127
4312
|
name: builtins.str,
|
|
4313
|
+
engine: typing.Optional[builtins.str] = None,
|
|
4128
4314
|
parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.ParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4129
4315
|
space_type: typing.Optional[builtins.str] = None,
|
|
4130
4316
|
) -> None:
|
|
@@ -4204,6 +4390,7 @@ def _typecheckingstub__ed9d460597a09f666d8e08c01fd366ec5026a44848df01fe64ec8aa93
|
|
|
4204
4390
|
id: builtins.str,
|
|
4205
4391
|
*,
|
|
4206
4392
|
description: typing.Optional[builtins.str] = None,
|
|
4393
|
+
iam_federation_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamFederationConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4207
4394
|
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4208
4395
|
name: typing.Optional[builtins.str] = None,
|
|
4209
4396
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -4230,6 +4417,12 @@ def _typecheckingstub__a7b44e920b0f0e4d138dcb200c4536168d3965f24eed3226a4574e927
|
|
|
4230
4417
|
"""Type checking stubs"""
|
|
4231
4418
|
pass
|
|
4232
4419
|
|
|
4420
|
+
def _typecheckingstub__ccfa7fa0cc51cc5944f3e224a02320990df0f8ebafce43a7009528585ae23975(
|
|
4421
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamFederationConfigOptionsProperty]],
|
|
4422
|
+
) -> None:
|
|
4423
|
+
"""Type checking stubs"""
|
|
4424
|
+
pass
|
|
4425
|
+
|
|
4233
4426
|
def _typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a(
|
|
4234
4427
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]],
|
|
4235
4428
|
) -> None:
|
|
@@ -4254,6 +4447,14 @@ def _typecheckingstub__80701c5b69899d2a5416bba637f7adf26445dcef6c813c58399037cc3
|
|
|
4254
4447
|
"""Type checking stubs"""
|
|
4255
4448
|
pass
|
|
4256
4449
|
|
|
4450
|
+
def _typecheckingstub__ce8f26dda3a935772ecc5546e8017fcfdc1c87fe45685294d9860d147cf53040(
|
|
4451
|
+
*,
|
|
4452
|
+
group_attribute: typing.Optional[builtins.str] = None,
|
|
4453
|
+
user_attribute: typing.Optional[builtins.str] = None,
|
|
4454
|
+
) -> None:
|
|
4455
|
+
"""Type checking stubs"""
|
|
4456
|
+
pass
|
|
4457
|
+
|
|
4257
4458
|
def _typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9(
|
|
4258
4459
|
*,
|
|
4259
4460
|
instance_arn: builtins.str,
|
|
@@ -6899,7 +6899,7 @@ class CfnDomain(
|
|
|
6899
6899
|
:param anonymous_auth_disable_date: Date and time when the migration period will be disabled. Only necessary when `enabling fine-grained access control on an existing domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing>`_ .
|
|
6900
6900
|
:param anonymous_auth_enabled: True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when `enabling fine-grained access control on an existing domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing>`_ .
|
|
6901
6901
|
:param enabled: True to enable fine-grained access control. You must also enable encryption of data at rest and node-to-node encryption. See `Fine-grained access control in Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html>`_ .
|
|
6902
|
-
:param iam_federation_options:
|
|
6902
|
+
:param iam_federation_options: Input configuration for IAM identity federation within advanced security options.
|
|
6903
6903
|
:param internal_user_database_enabled: True to enable the internal user database.
|
|
6904
6904
|
:param jwt_options: Container for information about the JWT configuration of the Amazon OpenSearch Service.
|
|
6905
6905
|
:param master_user_options: Specifies information about the master user.
|
|
@@ -7018,7 +7018,8 @@ class CfnDomain(
|
|
|
7018
7018
|
def iam_federation_options(
|
|
7019
7019
|
self,
|
|
7020
7020
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IAMFederationOptionsProperty"]]:
|
|
7021
|
-
'''
|
|
7021
|
+
'''Input configuration for IAM identity federation within advanced security options.
|
|
7022
|
+
|
|
7022
7023
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-iamfederationoptions
|
|
7023
7024
|
'''
|
|
7024
7025
|
result = self._values.get("iam_federation_options")
|
|
@@ -7567,7 +7568,7 @@ class CfnDomain(
|
|
|
7567
7568
|
'''Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.
|
|
7568
7569
|
|
|
7569
7570
|
:param custom_endpoint: The fully qualified URL for your custom endpoint. Required if you enabled a custom endpoint for the domain.
|
|
7570
|
-
:param custom_endpoint_certificate_arn: The
|
|
7571
|
+
:param custom_endpoint_certificate_arn: The Certificate Manager ARN for your domain's SSL/TLS certificate. Required if you enabled a custom endpoint for the domain.
|
|
7571
7572
|
:param custom_endpoint_enabled: True to enable a custom endpoint for the domain. If enabled, you must also provide values for ``CustomEndpoint`` and ``CustomEndpointCertificateArn`` .
|
|
7572
7573
|
:param enforce_https: True to require that all traffic to the domain arrive over HTTPS. Required if you enable fine-grained access control in `AdvancedSecurityOptions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html>`_ .
|
|
7573
7574
|
:param tls_security_policy: The minimum TLS version required for traffic to the domain. The policy can be one of the following values:. - *Policy-Min-TLS-1-0-2019-07:* TLS security policy that supports TLS version 1.0 to TLS version 1.2 - *Policy-Min-TLS-1-2-2019-07:* TLS security policy that supports only TLS version 1.2 - *Policy-Min-TLS-1-2-PFS-2023-10:* TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
|
|
@@ -7621,7 +7622,7 @@ class CfnDomain(
|
|
|
7621
7622
|
|
|
7622
7623
|
@builtins.property
|
|
7623
7624
|
def custom_endpoint_certificate_arn(self) -> typing.Optional[builtins.str]:
|
|
7624
|
-
'''The
|
|
7625
|
+
'''The Certificate Manager ARN for your domain's SSL/TLS certificate.
|
|
7625
7626
|
|
|
7626
7627
|
Required if you enabled a custom endpoint for the domain.
|
|
7627
7628
|
|
aws_cdk/aws_opsworks/__init__.py
CHANGED
|
@@ -6023,6 +6023,27 @@ class CfnStack(
|
|
|
6023
6023
|
|
|
6024
6024
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
6025
6025
|
|
|
6026
|
+
@jsii.member(jsii_name="fromStackId")
|
|
6027
|
+
@builtins.classmethod
|
|
6028
|
+
def from_stack_id(
|
|
6029
|
+
cls,
|
|
6030
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6031
|
+
id: builtins.str,
|
|
6032
|
+
stack_id: builtins.str,
|
|
6033
|
+
) -> IStackRef:
|
|
6034
|
+
'''Creates a new IStackRef from a stackId.
|
|
6035
|
+
|
|
6036
|
+
:param scope: -
|
|
6037
|
+
:param id: -
|
|
6038
|
+
:param stack_id: -
|
|
6039
|
+
'''
|
|
6040
|
+
if __debug__:
|
|
6041
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a08e6effaea9838394d050971701d6c3eddd4c0f475e2848dc4ad9837e87246)
|
|
6042
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6043
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6044
|
+
check_type(argname="argument stack_id", value=stack_id, expected_type=type_hints["stack_id"])
|
|
6045
|
+
return typing.cast(IStackRef, jsii.sinvoke(cls, "fromStackId", [scope, id, stack_id]))
|
|
6046
|
+
|
|
6026
6047
|
@jsii.member(jsii_name="inspect")
|
|
6027
6048
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
6028
6049
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -8085,6 +8106,14 @@ def _typecheckingstub__6bf36f6bd552e246cec8163081581d4887e2e1838c2af0dfdfec5a942
|
|
|
8085
8106
|
"""Type checking stubs"""
|
|
8086
8107
|
pass
|
|
8087
8108
|
|
|
8109
|
+
def _typecheckingstub__3a08e6effaea9838394d050971701d6c3eddd4c0f475e2848dc4ad9837e87246(
|
|
8110
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8111
|
+
id: builtins.str,
|
|
8112
|
+
stack_id: builtins.str,
|
|
8113
|
+
) -> None:
|
|
8114
|
+
"""Type checking stubs"""
|
|
8115
|
+
pass
|
|
8116
|
+
|
|
8088
8117
|
def _typecheckingstub__b361ad0a6f0d9dfac35a11da0b66f08aa9b0147967d3f53cd273d313b99dd78c(
|
|
8089
8118
|
inspector: _TreeInspector_488e0dd5,
|
|
8090
8119
|
) -> None:
|
|
@@ -732,6 +732,27 @@ class CfnServer(
|
|
|
732
732
|
|
|
733
733
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
734
734
|
|
|
735
|
+
@jsii.member(jsii_name="fromServerArn")
|
|
736
|
+
@builtins.classmethod
|
|
737
|
+
def from_server_arn(
|
|
738
|
+
cls,
|
|
739
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
740
|
+
id: builtins.str,
|
|
741
|
+
arn: builtins.str,
|
|
742
|
+
) -> IServerRef:
|
|
743
|
+
'''Creates a new IServerRef from an ARN.
|
|
744
|
+
|
|
745
|
+
:param scope: -
|
|
746
|
+
:param id: -
|
|
747
|
+
:param arn: -
|
|
748
|
+
'''
|
|
749
|
+
if __debug__:
|
|
750
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1d015a80f8f16aa8ba5d63ce994cedf39306d66b43a1e47d630e4643e245bda7)
|
|
751
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
752
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
753
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
754
|
+
return typing.cast(IServerRef, jsii.sinvoke(cls, "fromServerArn", [scope, id, arn]))
|
|
755
|
+
|
|
735
756
|
@jsii.member(jsii_name="inspect")
|
|
736
757
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
737
758
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1255,6 +1276,14 @@ def _typecheckingstub__4fcf3005231c62e7682797d2e25d33ceb0c0b9602a2f2ffe6a7c3dabf
|
|
|
1255
1276
|
"""Type checking stubs"""
|
|
1256
1277
|
pass
|
|
1257
1278
|
|
|
1279
|
+
def _typecheckingstub__1d015a80f8f16aa8ba5d63ce994cedf39306d66b43a1e47d630e4643e245bda7(
|
|
1280
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1281
|
+
id: builtins.str,
|
|
1282
|
+
arn: builtins.str,
|
|
1283
|
+
) -> None:
|
|
1284
|
+
"""Type checking stubs"""
|
|
1285
|
+
pass
|
|
1286
|
+
|
|
1258
1287
|
def _typecheckingstub__19f2feeaf9088052d1e3d91318248757951a8853d230fb27b822589707fba494(
|
|
1259
1288
|
inspector: _TreeInspector_488e0dd5,
|
|
1260
1289
|
) -> None:
|