aws-cdk-lib 2.155.0__py3-none-any.whl → 2.157.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 +28 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.155.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +10 -75
- aws_cdk/aws_amplify/__init__.py +106 -0
- aws_cdk/aws_apigatewayv2/__init__.py +81 -13
- aws_cdk/aws_appintegrations/__init__.py +14 -14
- aws_cdk/aws_applicationsignals/__init__.py +750 -1
- aws_cdk/aws_appsync/__init__.py +50 -18
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_backup/__init__.py +39 -0
- aws_cdk/aws_batch/__init__.py +41 -0
- aws_cdk/aws_bedrock/__init__.py +1528 -91
- aws_cdk/aws_chatbot/__init__.py +6 -6
- aws_cdk/aws_cloudformation/__init__.py +22 -22
- aws_cdk/aws_cloudfront/__init__.py +650 -57
- aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
- aws_cdk/aws_cloudfront_origins/__init__.py +2034 -91
- aws_cdk/aws_codebuild/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +40 -29
- aws_cdk/aws_docdb/__init__.py +78 -6
- aws_cdk/aws_ec2/__init__.py +397 -75
- aws_cdk/aws_ecs/__init__.py +271 -101
- aws_cdk/aws_ecs_patterns/__init__.py +129 -11
- aws_cdk/aws_eks/__init__.py +40 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +26 -50
- aws_cdk/aws_entityresolution/__init__.py +117 -4
- aws_cdk/aws_events/__init__.py +40 -14
- aws_cdk/aws_events_targets/__init__.py +357 -0
- aws_cdk/aws_glue/__init__.py +0 -8
- aws_cdk/aws_groundstation/__init__.py +27 -16
- aws_cdk/aws_guardduty/__init__.py +26 -14
- aws_cdk/aws_iam/__init__.py +7 -8
- aws_cdk/aws_iotfleetwise/__init__.py +108 -0
- aws_cdk/aws_kms/__init__.py +53 -10
- aws_cdk/aws_lambda/__init__.py +147 -17
- aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
- aws_cdk/aws_macie/__init__.py +4 -4
- aws_cdk/aws_medialive/__init__.py +348 -0
- aws_cdk/aws_mediapackagev2/__init__.py +38 -38
- aws_cdk/aws_neptune/__init__.py +14 -8
- aws_cdk/aws_opensearchservice/__init__.py +194 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
- aws_cdk/aws_personalize/__init__.py +2 -2
- aws_cdk/aws_pipes/__init__.py +22 -22
- aws_cdk/aws_qbusiness/__init__.py +675 -6
- aws_cdk/aws_quicksight/__init__.py +3285 -0
- aws_cdk/aws_rds/__init__.py +24 -0
- aws_cdk/aws_s3/__init__.py +13 -14
- aws_cdk/aws_sagemaker/__init__.py +1167 -0
- aws_cdk/aws_secretsmanager/__init__.py +2 -3
- aws_cdk/aws_securityhub/__init__.py +108 -103
- aws_cdk/aws_ses/__init__.py +31 -0
- aws_cdk/aws_sns/__init__.py +19 -13
- aws_cdk/aws_ssm/__init__.py +10 -6
- aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +106 -45
- aws_cdk/aws_synthetics/__init__.py +13 -0
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/triggers/__init__.py +30 -3
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +66 -64
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
|
@@ -907,6 +907,12 @@ class CfnDomain(
|
|
|
907
907
|
anonymous_auth_enabled=False,
|
|
908
908
|
enabled=False,
|
|
909
909
|
internal_user_database_enabled=False,
|
|
910
|
+
jwt_options=opensearchservice.CfnDomain.JWTOptionsProperty(
|
|
911
|
+
enabled=False,
|
|
912
|
+
public_key="publicKey",
|
|
913
|
+
roles_key="rolesKey",
|
|
914
|
+
subject_key="subjectKey"
|
|
915
|
+
),
|
|
910
916
|
master_user_options=opensearchservice.CfnDomain.MasterUserOptionsProperty(
|
|
911
917
|
master_user_arn="masterUserArn",
|
|
912
918
|
master_user_name="masterUserName",
|
|
@@ -989,6 +995,7 @@ class CfnDomain(
|
|
|
989
995
|
)
|
|
990
996
|
)
|
|
991
997
|
),
|
|
998
|
+
skip_shard_migration_wait=False,
|
|
992
999
|
snapshot_options=opensearchservice.CfnDomain.SnapshotOptionsProperty(
|
|
993
1000
|
automated_snapshot_start_hour=123
|
|
994
1001
|
),
|
|
@@ -1026,6 +1033,7 @@ class CfnDomain(
|
|
|
1026
1033
|
log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.LogPublishingOptionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1027
1034
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.NodeToNodeEncryptionOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1028
1035
|
off_peak_window_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.OffPeakWindowOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1036
|
+
skip_shard_migration_wait: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1029
1037
|
snapshot_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.SnapshotOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1030
1038
|
software_update_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.SoftwareUpdateOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1031
1039
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1049,6 +1057,7 @@ class CfnDomain(
|
|
|
1049
1057
|
:param log_publishing_options: An object with one or more of the following keys: ``SEARCH_SLOW_LOGS`` , ``ES_APPLICATION_LOGS`` , ``INDEX_SLOW_LOGS`` , ``AUDIT_LOGS`` , depending on the types of logs you want to publish. Each key needs a valid ``LogPublishingOption`` value. For the full syntax, see the `examples <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#aws-resource-opensearchservice-domain--examples>`_ .
|
|
1050
1058
|
:param node_to_node_encryption_options: Specifies whether node-to-node encryption is enabled. See `Node-to-node encryption for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html>`_ .
|
|
1051
1059
|
:param off_peak_window_options: Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
|
|
1060
|
+
:param skip_shard_migration_wait:
|
|
1052
1061
|
:param snapshot_options: *DEPRECATED* . The automated snapshot configuration for the OpenSearch Service domain indexes.
|
|
1053
1062
|
:param software_update_options: Service software update options for the domain.
|
|
1054
1063
|
:param tags: An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.
|
|
@@ -1074,6 +1083,7 @@ class CfnDomain(
|
|
|
1074
1083
|
log_publishing_options=log_publishing_options,
|
|
1075
1084
|
node_to_node_encryption_options=node_to_node_encryption_options,
|
|
1076
1085
|
off_peak_window_options=off_peak_window_options,
|
|
1086
|
+
skip_shard_migration_wait=skip_shard_migration_wait,
|
|
1077
1087
|
snapshot_options=snapshot_options,
|
|
1078
1088
|
software_update_options=software_update_options,
|
|
1079
1089
|
tags=tags,
|
|
@@ -1502,6 +1512,23 @@ class CfnDomain(
|
|
|
1502
1512
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1503
1513
|
jsii.set(self, "offPeakWindowOptions", value) # pyright: ignore[reportArgumentType]
|
|
1504
1514
|
|
|
1515
|
+
@builtins.property
|
|
1516
|
+
@jsii.member(jsii_name="skipShardMigrationWait")
|
|
1517
|
+
def skip_shard_migration_wait(
|
|
1518
|
+
self,
|
|
1519
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1520
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "skipShardMigrationWait"))
|
|
1521
|
+
|
|
1522
|
+
@skip_shard_migration_wait.setter
|
|
1523
|
+
def skip_shard_migration_wait(
|
|
1524
|
+
self,
|
|
1525
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
1526
|
+
) -> None:
|
|
1527
|
+
if __debug__:
|
|
1528
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2219753353ca3a6a30279b3606e2de2e1ee4acbc605b0d2bfd0ddf82122d2440)
|
|
1529
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1530
|
+
jsii.set(self, "skipShardMigrationWait", value) # pyright: ignore[reportArgumentType]
|
|
1531
|
+
|
|
1505
1532
|
@builtins.property
|
|
1506
1533
|
@jsii.member(jsii_name="snapshotOptions")
|
|
1507
1534
|
def snapshot_options(
|
|
@@ -1577,6 +1604,7 @@ class CfnDomain(
|
|
|
1577
1604
|
"anonymous_auth_enabled": "anonymousAuthEnabled",
|
|
1578
1605
|
"enabled": "enabled",
|
|
1579
1606
|
"internal_user_database_enabled": "internalUserDatabaseEnabled",
|
|
1607
|
+
"jwt_options": "jwtOptions",
|
|
1580
1608
|
"master_user_options": "masterUserOptions",
|
|
1581
1609
|
"saml_options": "samlOptions",
|
|
1582
1610
|
},
|
|
@@ -1589,6 +1617,7 @@ class CfnDomain(
|
|
|
1589
1617
|
anonymous_auth_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1590
1618
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1591
1619
|
internal_user_database_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1620
|
+
jwt_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.JWTOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1592
1621
|
master_user_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.MasterUserOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1593
1622
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.SAMLOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1594
1623
|
) -> None:
|
|
@@ -1600,6 +1629,7 @@ class CfnDomain(
|
|
|
1600
1629
|
: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>`_ .
|
|
1601
1630
|
: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>`_ .
|
|
1602
1631
|
:param internal_user_database_enabled: True to enable the internal user database.
|
|
1632
|
+
:param jwt_options: Container for information about the JWT configuration of the Amazon OpenSearch Service.
|
|
1603
1633
|
:param master_user_options: Specifies information about the master user.
|
|
1604
1634
|
:param saml_options: Container for information about the SAML configuration for OpenSearch Dashboards.
|
|
1605
1635
|
|
|
@@ -1617,6 +1647,12 @@ class CfnDomain(
|
|
|
1617
1647
|
anonymous_auth_enabled=False,
|
|
1618
1648
|
enabled=False,
|
|
1619
1649
|
internal_user_database_enabled=False,
|
|
1650
|
+
jwt_options=opensearchservice.CfnDomain.JWTOptionsProperty(
|
|
1651
|
+
enabled=False,
|
|
1652
|
+
public_key="publicKey",
|
|
1653
|
+
roles_key="rolesKey",
|
|
1654
|
+
subject_key="subjectKey"
|
|
1655
|
+
),
|
|
1620
1656
|
master_user_options=opensearchservice.CfnDomain.MasterUserOptionsProperty(
|
|
1621
1657
|
master_user_arn="masterUserArn",
|
|
1622
1658
|
master_user_name="masterUserName",
|
|
@@ -1642,6 +1678,7 @@ class CfnDomain(
|
|
|
1642
1678
|
check_type(argname="argument anonymous_auth_enabled", value=anonymous_auth_enabled, expected_type=type_hints["anonymous_auth_enabled"])
|
|
1643
1679
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
1644
1680
|
check_type(argname="argument internal_user_database_enabled", value=internal_user_database_enabled, expected_type=type_hints["internal_user_database_enabled"])
|
|
1681
|
+
check_type(argname="argument jwt_options", value=jwt_options, expected_type=type_hints["jwt_options"])
|
|
1645
1682
|
check_type(argname="argument master_user_options", value=master_user_options, expected_type=type_hints["master_user_options"])
|
|
1646
1683
|
check_type(argname="argument saml_options", value=saml_options, expected_type=type_hints["saml_options"])
|
|
1647
1684
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -1653,6 +1690,8 @@ class CfnDomain(
|
|
|
1653
1690
|
self._values["enabled"] = enabled
|
|
1654
1691
|
if internal_user_database_enabled is not None:
|
|
1655
1692
|
self._values["internal_user_database_enabled"] = internal_user_database_enabled
|
|
1693
|
+
if jwt_options is not None:
|
|
1694
|
+
self._values["jwt_options"] = jwt_options
|
|
1656
1695
|
if master_user_options is not None:
|
|
1657
1696
|
self._values["master_user_options"] = master_user_options
|
|
1658
1697
|
if saml_options is not None:
|
|
@@ -1706,6 +1745,17 @@ class CfnDomain(
|
|
|
1706
1745
|
result = self._values.get("internal_user_database_enabled")
|
|
1707
1746
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1708
1747
|
|
|
1748
|
+
@builtins.property
|
|
1749
|
+
def jwt_options(
|
|
1750
|
+
self,
|
|
1751
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.JWTOptionsProperty"]]:
|
|
1752
|
+
'''Container for information about the JWT configuration of the Amazon OpenSearch Service.
|
|
1753
|
+
|
|
1754
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-jwtoptions
|
|
1755
|
+
'''
|
|
1756
|
+
result = self._values.get("jwt_options")
|
|
1757
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.JWTOptionsProperty"]], result)
|
|
1758
|
+
|
|
1709
1759
|
@builtins.property
|
|
1710
1760
|
def master_user_options(
|
|
1711
1761
|
self,
|
|
@@ -2597,6 +2647,108 @@ class CfnDomain(
|
|
|
2597
2647
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2598
2648
|
)
|
|
2599
2649
|
|
|
2650
|
+
@jsii.data_type(
|
|
2651
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.JWTOptionsProperty",
|
|
2652
|
+
jsii_struct_bases=[],
|
|
2653
|
+
name_mapping={
|
|
2654
|
+
"enabled": "enabled",
|
|
2655
|
+
"public_key": "publicKey",
|
|
2656
|
+
"roles_key": "rolesKey",
|
|
2657
|
+
"subject_key": "subjectKey",
|
|
2658
|
+
},
|
|
2659
|
+
)
|
|
2660
|
+
class JWTOptionsProperty:
|
|
2661
|
+
def __init__(
|
|
2662
|
+
self,
|
|
2663
|
+
*,
|
|
2664
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2665
|
+
public_key: typing.Optional[builtins.str] = None,
|
|
2666
|
+
roles_key: typing.Optional[builtins.str] = None,
|
|
2667
|
+
subject_key: typing.Optional[builtins.str] = None,
|
|
2668
|
+
) -> None:
|
|
2669
|
+
'''
|
|
2670
|
+
:param enabled:
|
|
2671
|
+
:param public_key:
|
|
2672
|
+
:param roles_key:
|
|
2673
|
+
:param subject_key:
|
|
2674
|
+
|
|
2675
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-jwtoptions.html
|
|
2676
|
+
:exampleMetadata: fixture=_generated
|
|
2677
|
+
|
|
2678
|
+
Example::
|
|
2679
|
+
|
|
2680
|
+
# The code below shows an example of how to instantiate this type.
|
|
2681
|
+
# The values are placeholders you should change.
|
|
2682
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
2683
|
+
|
|
2684
|
+
j_wTOptions_property = opensearchservice.CfnDomain.JWTOptionsProperty(
|
|
2685
|
+
enabled=False,
|
|
2686
|
+
public_key="publicKey",
|
|
2687
|
+
roles_key="rolesKey",
|
|
2688
|
+
subject_key="subjectKey"
|
|
2689
|
+
)
|
|
2690
|
+
'''
|
|
2691
|
+
if __debug__:
|
|
2692
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be8fc4de4af3d5862315e2f6983641a93c9f0277e7b66f8223fd6ca32d8b02e6)
|
|
2693
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
2694
|
+
check_type(argname="argument public_key", value=public_key, expected_type=type_hints["public_key"])
|
|
2695
|
+
check_type(argname="argument roles_key", value=roles_key, expected_type=type_hints["roles_key"])
|
|
2696
|
+
check_type(argname="argument subject_key", value=subject_key, expected_type=type_hints["subject_key"])
|
|
2697
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2698
|
+
if enabled is not None:
|
|
2699
|
+
self._values["enabled"] = enabled
|
|
2700
|
+
if public_key is not None:
|
|
2701
|
+
self._values["public_key"] = public_key
|
|
2702
|
+
if roles_key is not None:
|
|
2703
|
+
self._values["roles_key"] = roles_key
|
|
2704
|
+
if subject_key is not None:
|
|
2705
|
+
self._values["subject_key"] = subject_key
|
|
2706
|
+
|
|
2707
|
+
@builtins.property
|
|
2708
|
+
def enabled(
|
|
2709
|
+
self,
|
|
2710
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2711
|
+
'''
|
|
2712
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-jwtoptions.html#cfn-opensearchservice-domain-jwtoptions-enabled
|
|
2713
|
+
'''
|
|
2714
|
+
result = self._values.get("enabled")
|
|
2715
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2716
|
+
|
|
2717
|
+
@builtins.property
|
|
2718
|
+
def public_key(self) -> typing.Optional[builtins.str]:
|
|
2719
|
+
'''
|
|
2720
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-jwtoptions.html#cfn-opensearchservice-domain-jwtoptions-publickey
|
|
2721
|
+
'''
|
|
2722
|
+
result = self._values.get("public_key")
|
|
2723
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2724
|
+
|
|
2725
|
+
@builtins.property
|
|
2726
|
+
def roles_key(self) -> typing.Optional[builtins.str]:
|
|
2727
|
+
'''
|
|
2728
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-jwtoptions.html#cfn-opensearchservice-domain-jwtoptions-roleskey
|
|
2729
|
+
'''
|
|
2730
|
+
result = self._values.get("roles_key")
|
|
2731
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2732
|
+
|
|
2733
|
+
@builtins.property
|
|
2734
|
+
def subject_key(self) -> typing.Optional[builtins.str]:
|
|
2735
|
+
'''
|
|
2736
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-jwtoptions.html#cfn-opensearchservice-domain-jwtoptions-subjectkey
|
|
2737
|
+
'''
|
|
2738
|
+
result = self._values.get("subject_key")
|
|
2739
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2740
|
+
|
|
2741
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2742
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2743
|
+
|
|
2744
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2745
|
+
return not (rhs == self)
|
|
2746
|
+
|
|
2747
|
+
def __repr__(self) -> str:
|
|
2748
|
+
return "JWTOptionsProperty(%s)" % ", ".join(
|
|
2749
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2750
|
+
)
|
|
2751
|
+
|
|
2600
2752
|
@jsii.data_type(
|
|
2601
2753
|
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.LogPublishingOptionProperty",
|
|
2602
2754
|
jsii_struct_bases=[],
|
|
@@ -3678,6 +3830,7 @@ class CfnDomain(
|
|
|
3678
3830
|
"log_publishing_options": "logPublishingOptions",
|
|
3679
3831
|
"node_to_node_encryption_options": "nodeToNodeEncryptionOptions",
|
|
3680
3832
|
"off_peak_window_options": "offPeakWindowOptions",
|
|
3833
|
+
"skip_shard_migration_wait": "skipShardMigrationWait",
|
|
3681
3834
|
"snapshot_options": "snapshotOptions",
|
|
3682
3835
|
"software_update_options": "softwareUpdateOptions",
|
|
3683
3836
|
"tags": "tags",
|
|
@@ -3703,6 +3856,7 @@ class CfnDomainProps:
|
|
|
3703
3856
|
log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.LogPublishingOptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3704
3857
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3705
3858
|
off_peak_window_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.OffPeakWindowOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3859
|
+
skip_shard_migration_wait: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3706
3860
|
snapshot_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SnapshotOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3707
3861
|
software_update_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SoftwareUpdateOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3708
3862
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3725,6 +3879,7 @@ class CfnDomainProps:
|
|
|
3725
3879
|
:param log_publishing_options: An object with one or more of the following keys: ``SEARCH_SLOW_LOGS`` , ``ES_APPLICATION_LOGS`` , ``INDEX_SLOW_LOGS`` , ``AUDIT_LOGS`` , depending on the types of logs you want to publish. Each key needs a valid ``LogPublishingOption`` value. For the full syntax, see the `examples <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#aws-resource-opensearchservice-domain--examples>`_ .
|
|
3726
3880
|
:param node_to_node_encryption_options: Specifies whether node-to-node encryption is enabled. See `Node-to-node encryption for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html>`_ .
|
|
3727
3881
|
:param off_peak_window_options: Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
|
|
3882
|
+
:param skip_shard_migration_wait:
|
|
3728
3883
|
:param snapshot_options: *DEPRECATED* . The automated snapshot configuration for the OpenSearch Service domain indexes.
|
|
3729
3884
|
:param software_update_options: Service software update options for the domain.
|
|
3730
3885
|
:param tags: An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain.
|
|
@@ -3751,6 +3906,12 @@ class CfnDomainProps:
|
|
|
3751
3906
|
anonymous_auth_enabled=False,
|
|
3752
3907
|
enabled=False,
|
|
3753
3908
|
internal_user_database_enabled=False,
|
|
3909
|
+
jwt_options=opensearchservice.CfnDomain.JWTOptionsProperty(
|
|
3910
|
+
enabled=False,
|
|
3911
|
+
public_key="publicKey",
|
|
3912
|
+
roles_key="rolesKey",
|
|
3913
|
+
subject_key="subjectKey"
|
|
3914
|
+
),
|
|
3754
3915
|
master_user_options=opensearchservice.CfnDomain.MasterUserOptionsProperty(
|
|
3755
3916
|
master_user_arn="masterUserArn",
|
|
3756
3917
|
master_user_name="masterUserName",
|
|
@@ -3833,6 +3994,7 @@ class CfnDomainProps:
|
|
|
3833
3994
|
)
|
|
3834
3995
|
)
|
|
3835
3996
|
),
|
|
3997
|
+
skip_shard_migration_wait=False,
|
|
3836
3998
|
snapshot_options=opensearchservice.CfnDomain.SnapshotOptionsProperty(
|
|
3837
3999
|
automated_snapshot_start_hour=123
|
|
3838
4000
|
),
|
|
@@ -3866,6 +4028,7 @@ class CfnDomainProps:
|
|
|
3866
4028
|
check_type(argname="argument log_publishing_options", value=log_publishing_options, expected_type=type_hints["log_publishing_options"])
|
|
3867
4029
|
check_type(argname="argument node_to_node_encryption_options", value=node_to_node_encryption_options, expected_type=type_hints["node_to_node_encryption_options"])
|
|
3868
4030
|
check_type(argname="argument off_peak_window_options", value=off_peak_window_options, expected_type=type_hints["off_peak_window_options"])
|
|
4031
|
+
check_type(argname="argument skip_shard_migration_wait", value=skip_shard_migration_wait, expected_type=type_hints["skip_shard_migration_wait"])
|
|
3869
4032
|
check_type(argname="argument snapshot_options", value=snapshot_options, expected_type=type_hints["snapshot_options"])
|
|
3870
4033
|
check_type(argname="argument software_update_options", value=software_update_options, expected_type=type_hints["software_update_options"])
|
|
3871
4034
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -3901,6 +4064,8 @@ class CfnDomainProps:
|
|
|
3901
4064
|
self._values["node_to_node_encryption_options"] = node_to_node_encryption_options
|
|
3902
4065
|
if off_peak_window_options is not None:
|
|
3903
4066
|
self._values["off_peak_window_options"] = off_peak_window_options
|
|
4067
|
+
if skip_shard_migration_wait is not None:
|
|
4068
|
+
self._values["skip_shard_migration_wait"] = skip_shard_migration_wait
|
|
3904
4069
|
if snapshot_options is not None:
|
|
3905
4070
|
self._values["snapshot_options"] = snapshot_options
|
|
3906
4071
|
if software_update_options is not None:
|
|
@@ -4093,6 +4258,16 @@ class CfnDomainProps:
|
|
|
4093
4258
|
result = self._values.get("off_peak_window_options")
|
|
4094
4259
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.OffPeakWindowOptionsProperty]], result)
|
|
4095
4260
|
|
|
4261
|
+
@builtins.property
|
|
4262
|
+
def skip_shard_migration_wait(
|
|
4263
|
+
self,
|
|
4264
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4265
|
+
'''
|
|
4266
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-skipshardmigrationwait
|
|
4267
|
+
'''
|
|
4268
|
+
result = self._values.get("skip_shard_migration_wait")
|
|
4269
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
4270
|
+
|
|
4096
4271
|
@builtins.property
|
|
4097
4272
|
def snapshot_options(
|
|
4098
4273
|
self,
|
|
@@ -8428,6 +8603,7 @@ def _typecheckingstub__6fcd2545392b3f48f314c640881e38e167b5936f1165d2eb1ce21766d
|
|
|
8428
8603
|
log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.LogPublishingOptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8429
8604
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8430
8605
|
off_peak_window_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.OffPeakWindowOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8606
|
+
skip_shard_migration_wait: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8431
8607
|
snapshot_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SnapshotOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8432
8608
|
software_update_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SoftwareUpdateOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8433
8609
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8538,6 +8714,12 @@ def _typecheckingstub__9a3a2b200397209bed0a90cb39485a3ccb08bcbb3d56bbecc1ef0b66b
|
|
|
8538
8714
|
"""Type checking stubs"""
|
|
8539
8715
|
pass
|
|
8540
8716
|
|
|
8717
|
+
def _typecheckingstub__2219753353ca3a6a30279b3606e2de2e1ee4acbc605b0d2bfd0ddf82122d2440(
|
|
8718
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
8719
|
+
) -> None:
|
|
8720
|
+
"""Type checking stubs"""
|
|
8721
|
+
pass
|
|
8722
|
+
|
|
8541
8723
|
def _typecheckingstub__4355f39393b86da5d9d2bb3c03113864e6a1293ce3a4a9b21ccbc2f55009520a(
|
|
8542
8724
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.SnapshotOptionsProperty]],
|
|
8543
8725
|
) -> None:
|
|
@@ -8568,6 +8750,7 @@ def _typecheckingstub__fd5c3c68239a044600ab387ec52e22ed8852c6e213d5626aa4396b28a
|
|
|
8568
8750
|
anonymous_auth_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8569
8751
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8570
8752
|
internal_user_database_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8753
|
+
jwt_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.JWTOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8571
8754
|
master_user_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.MasterUserOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8572
8755
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SAMLOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8573
8756
|
) -> None:
|
|
@@ -8647,6 +8830,16 @@ def _typecheckingstub__df207d57c5bf0c99afe86b2563e40142d554f359eddff25bfecdf22c9
|
|
|
8647
8830
|
"""Type checking stubs"""
|
|
8648
8831
|
pass
|
|
8649
8832
|
|
|
8833
|
+
def _typecheckingstub__be8fc4de4af3d5862315e2f6983641a93c9f0277e7b66f8223fd6ca32d8b02e6(
|
|
8834
|
+
*,
|
|
8835
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8836
|
+
public_key: typing.Optional[builtins.str] = None,
|
|
8837
|
+
roles_key: typing.Optional[builtins.str] = None,
|
|
8838
|
+
subject_key: typing.Optional[builtins.str] = None,
|
|
8839
|
+
) -> None:
|
|
8840
|
+
"""Type checking stubs"""
|
|
8841
|
+
pass
|
|
8842
|
+
|
|
8650
8843
|
def _typecheckingstub__f619e98a16faa2be95396251f0c046225b41dc39039c1064a235021c6127a509(
|
|
8651
8844
|
*,
|
|
8652
8845
|
cloud_watch_logs_log_group_arn: typing.Optional[builtins.str] = None,
|
|
@@ -8767,6 +8960,7 @@ def _typecheckingstub__4a3bbf8db74762f8d49d2ee572e0b31eef8650964dd0e8a168a5fe2d6
|
|
|
8767
8960
|
log_publishing_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.LogPublishingOptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8768
8961
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8769
8962
|
off_peak_window_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.OffPeakWindowOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8963
|
+
skip_shard_migration_wait: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8770
8964
|
snapshot_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SnapshotOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8771
8965
|
software_update_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.SoftwareUpdateOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8772
8966
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|