aws-cdk-lib 2.165.0__py3-none-any.whl → 2.166.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.165.0.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +2122 -340
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +982 -191
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +9 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +15 -6
- aws_cdk/aws_ecs/__init__.py +41 -31
- aws_cdk/aws_elasticache/__init__.py +11 -6
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_rds/__init__.py +65 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_deployment/__init__.py +13 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_ses/__init__.py +19 -0
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_synthetics/__init__.py +121 -0
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2035 -61
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +42 -42
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
|
@@ -566,6 +566,7 @@ from .. import (
|
|
|
566
566
|
IResolvable as _IResolvable_da3f097b,
|
|
567
567
|
IResource as _IResource_c80c4260,
|
|
568
568
|
ITaggable as _ITaggable_36806126,
|
|
569
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
569
570
|
RemovalPolicy as _RemovalPolicy_9f93c814,
|
|
570
571
|
Resource as _Resource_45bc6135,
|
|
571
572
|
SecretValue as _SecretValue_3dd0ddae,
|
|
@@ -892,6 +893,640 @@ class CapacityConfig:
|
|
|
892
893
|
)
|
|
893
894
|
|
|
894
895
|
|
|
896
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
897
|
+
class CfnApplication(
|
|
898
|
+
_CfnResource_9df397a6,
|
|
899
|
+
metaclass=jsii.JSIIMeta,
|
|
900
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnApplication",
|
|
901
|
+
):
|
|
902
|
+
'''Creates an OpenSearch Application.
|
|
903
|
+
|
|
904
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html
|
|
905
|
+
:cloudformationResource: AWS::OpenSearchService::Application
|
|
906
|
+
:exampleMetadata: fixture=_generated
|
|
907
|
+
|
|
908
|
+
Example::
|
|
909
|
+
|
|
910
|
+
# The code below shows an example of how to instantiate this type.
|
|
911
|
+
# The values are placeholders you should change.
|
|
912
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
913
|
+
|
|
914
|
+
cfn_application = opensearchservice.CfnApplication(self, "MyCfnApplication",
|
|
915
|
+
name="name",
|
|
916
|
+
|
|
917
|
+
# the properties below are optional
|
|
918
|
+
app_configs=[opensearchservice.CfnApplication.AppConfigProperty(
|
|
919
|
+
key="key",
|
|
920
|
+
value="value"
|
|
921
|
+
)],
|
|
922
|
+
data_sources=[opensearchservice.CfnApplication.DataSourceProperty(
|
|
923
|
+
data_source_arn="dataSourceArn",
|
|
924
|
+
|
|
925
|
+
# the properties below are optional
|
|
926
|
+
data_source_description="dataSourceDescription"
|
|
927
|
+
)],
|
|
928
|
+
endpoint="endpoint",
|
|
929
|
+
iam_identity_center_options=opensearchservice.CfnApplication.IamIdentityCenterOptionsProperty(
|
|
930
|
+
enabled=False,
|
|
931
|
+
iam_identity_center_instance_arn="iamIdentityCenterInstanceArn",
|
|
932
|
+
iam_role_for_identity_center_application_arn="iamRoleForIdentityCenterApplicationArn"
|
|
933
|
+
),
|
|
934
|
+
tags=[CfnTag(
|
|
935
|
+
key="key",
|
|
936
|
+
value="value"
|
|
937
|
+
)]
|
|
938
|
+
)
|
|
939
|
+
'''
|
|
940
|
+
|
|
941
|
+
def __init__(
|
|
942
|
+
self,
|
|
943
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
944
|
+
id: builtins.str,
|
|
945
|
+
*,
|
|
946
|
+
name: builtins.str,
|
|
947
|
+
app_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.AppConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
948
|
+
data_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.DataSourceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
949
|
+
endpoint: typing.Optional[builtins.str] = None,
|
|
950
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.IamIdentityCenterOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
951
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
952
|
+
) -> None:
|
|
953
|
+
'''
|
|
954
|
+
:param scope: Scope in which this resource is defined.
|
|
955
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
956
|
+
:param name: Name of an OpenSearch Application.
|
|
957
|
+
:param app_configs: List of application configurations.
|
|
958
|
+
:param data_sources: List of data sources.
|
|
959
|
+
:param endpoint: Endpoint URL of an OpenSearch Application.
|
|
960
|
+
:param iam_identity_center_options: Container for IAM Identity Center Options settings.
|
|
961
|
+
:param tags: An arbitrary set of tags (key-value pairs) for this application.
|
|
962
|
+
'''
|
|
963
|
+
if __debug__:
|
|
964
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ac25677906ac058ff21dd4dd3fa4bc5649dbf0708d3cec14da66245bc1bb24b)
|
|
965
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
966
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
967
|
+
props = CfnApplicationProps(
|
|
968
|
+
name=name,
|
|
969
|
+
app_configs=app_configs,
|
|
970
|
+
data_sources=data_sources,
|
|
971
|
+
endpoint=endpoint,
|
|
972
|
+
iam_identity_center_options=iam_identity_center_options,
|
|
973
|
+
tags=tags,
|
|
974
|
+
)
|
|
975
|
+
|
|
976
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
977
|
+
|
|
978
|
+
@jsii.member(jsii_name="inspect")
|
|
979
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
980
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
981
|
+
|
|
982
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
983
|
+
'''
|
|
984
|
+
if __debug__:
|
|
985
|
+
type_hints = typing.get_type_hints(_typecheckingstub__010596563813f2e4ea0ec0e832557f7f62393de348b04daaa36cd0c1173c0fab)
|
|
986
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
987
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
988
|
+
|
|
989
|
+
@jsii.member(jsii_name="renderProperties")
|
|
990
|
+
def _render_properties(
|
|
991
|
+
self,
|
|
992
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
993
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
994
|
+
'''
|
|
995
|
+
:param props: -
|
|
996
|
+
'''
|
|
997
|
+
if __debug__:
|
|
998
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6f1efe9410c953ee3f3c8e0eaa8d99b40d76540855ecd95e833141f2eb8a5afa)
|
|
999
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1000
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1001
|
+
|
|
1002
|
+
@jsii.python.classproperty
|
|
1003
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1004
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1005
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1006
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1007
|
+
|
|
1008
|
+
@builtins.property
|
|
1009
|
+
@jsii.member(jsii_name="attrArn")
|
|
1010
|
+
def attr_arn(self) -> builtins.str:
|
|
1011
|
+
'''The Amazon Resource Name (ARN) of the domain.
|
|
1012
|
+
|
|
1013
|
+
See `Identifiers for IAM Entities <https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html>`_ in *Using AWS Identity and Access Management* for more information.
|
|
1014
|
+
|
|
1015
|
+
:cloudformationAttribute: Arn
|
|
1016
|
+
'''
|
|
1017
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1018
|
+
|
|
1019
|
+
@builtins.property
|
|
1020
|
+
@jsii.member(jsii_name="attrId")
|
|
1021
|
+
def attr_id(self) -> builtins.str:
|
|
1022
|
+
'''Unique identifier for an OpenSearch application.
|
|
1023
|
+
|
|
1024
|
+
:cloudformationAttribute: Id
|
|
1025
|
+
'''
|
|
1026
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
1027
|
+
|
|
1028
|
+
@builtins.property
|
|
1029
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1030
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1031
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1032
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1033
|
+
|
|
1034
|
+
@builtins.property
|
|
1035
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1036
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1037
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1038
|
+
|
|
1039
|
+
@builtins.property
|
|
1040
|
+
@jsii.member(jsii_name="name")
|
|
1041
|
+
def name(self) -> builtins.str:
|
|
1042
|
+
'''Name of an OpenSearch Application.'''
|
|
1043
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1044
|
+
|
|
1045
|
+
@name.setter
|
|
1046
|
+
def name(self, value: builtins.str) -> None:
|
|
1047
|
+
if __debug__:
|
|
1048
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b3c3fc4422c425a7f7a26e6e6fbeefb10ac8367e4dd888d53a0c786b75228e1)
|
|
1049
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1050
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1051
|
+
|
|
1052
|
+
@builtins.property
|
|
1053
|
+
@jsii.member(jsii_name="appConfigs")
|
|
1054
|
+
def app_configs(
|
|
1055
|
+
self,
|
|
1056
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.AppConfigProperty"]]]]:
|
|
1057
|
+
'''List of application configurations.'''
|
|
1058
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.AppConfigProperty"]]]], jsii.get(self, "appConfigs"))
|
|
1059
|
+
|
|
1060
|
+
@app_configs.setter
|
|
1061
|
+
def app_configs(
|
|
1062
|
+
self,
|
|
1063
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.AppConfigProperty"]]]],
|
|
1064
|
+
) -> None:
|
|
1065
|
+
if __debug__:
|
|
1066
|
+
type_hints = typing.get_type_hints(_typecheckingstub__694a0111ad52c0ebd9b61a1b51fd19463f0f74be607a8dc318a66972b32e5262)
|
|
1067
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1068
|
+
jsii.set(self, "appConfigs", value) # pyright: ignore[reportArgumentType]
|
|
1069
|
+
|
|
1070
|
+
@builtins.property
|
|
1071
|
+
@jsii.member(jsii_name="dataSources")
|
|
1072
|
+
def data_sources(
|
|
1073
|
+
self,
|
|
1074
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.DataSourceProperty"]]]]:
|
|
1075
|
+
'''List of data sources.'''
|
|
1076
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.DataSourceProperty"]]]], jsii.get(self, "dataSources"))
|
|
1077
|
+
|
|
1078
|
+
@data_sources.setter
|
|
1079
|
+
def data_sources(
|
|
1080
|
+
self,
|
|
1081
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.DataSourceProperty"]]]],
|
|
1082
|
+
) -> None:
|
|
1083
|
+
if __debug__:
|
|
1084
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bba1674c959c98d5b3d45d6eaf7a8d20c797c65902fe99c536ac7530200af8ff)
|
|
1085
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1086
|
+
jsii.set(self, "dataSources", value) # pyright: ignore[reportArgumentType]
|
|
1087
|
+
|
|
1088
|
+
@builtins.property
|
|
1089
|
+
@jsii.member(jsii_name="endpoint")
|
|
1090
|
+
def endpoint(self) -> typing.Optional[builtins.str]:
|
|
1091
|
+
'''Endpoint URL of an OpenSearch Application.'''
|
|
1092
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "endpoint"))
|
|
1093
|
+
|
|
1094
|
+
@endpoint.setter
|
|
1095
|
+
def endpoint(self, value: typing.Optional[builtins.str]) -> None:
|
|
1096
|
+
if __debug__:
|
|
1097
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f5f696a51a461e6b6e5c354d390867e41b97f8fc31e7c4a34db75c3f882b5b4a)
|
|
1098
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1099
|
+
jsii.set(self, "endpoint", value) # pyright: ignore[reportArgumentType]
|
|
1100
|
+
|
|
1101
|
+
@builtins.property
|
|
1102
|
+
@jsii.member(jsii_name="iamIdentityCenterOptions")
|
|
1103
|
+
def iam_identity_center_options(
|
|
1104
|
+
self,
|
|
1105
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IamIdentityCenterOptionsProperty"]]:
|
|
1106
|
+
'''Container for IAM Identity Center Options settings.'''
|
|
1107
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IamIdentityCenterOptionsProperty"]], jsii.get(self, "iamIdentityCenterOptions"))
|
|
1108
|
+
|
|
1109
|
+
@iam_identity_center_options.setter
|
|
1110
|
+
def iam_identity_center_options(
|
|
1111
|
+
self,
|
|
1112
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IamIdentityCenterOptionsProperty"]],
|
|
1113
|
+
) -> None:
|
|
1114
|
+
if __debug__:
|
|
1115
|
+
type_hints = typing.get_type_hints(_typecheckingstub__905379ee8909936359e4e55480945820a97987b6908dbca0355618f385959e81)
|
|
1116
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1117
|
+
jsii.set(self, "iamIdentityCenterOptions", value) # pyright: ignore[reportArgumentType]
|
|
1118
|
+
|
|
1119
|
+
@builtins.property
|
|
1120
|
+
@jsii.member(jsii_name="tags")
|
|
1121
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1122
|
+
'''An arbitrary set of tags (key-value pairs) for this application.'''
|
|
1123
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1124
|
+
|
|
1125
|
+
@tags.setter
|
|
1126
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1127
|
+
if __debug__:
|
|
1128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d20068bc5112f252408ee83569f019899dca7f54b496b672a61b37e57f49966a)
|
|
1129
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1130
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1131
|
+
|
|
1132
|
+
@jsii.data_type(
|
|
1133
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnApplication.AppConfigProperty",
|
|
1134
|
+
jsii_struct_bases=[],
|
|
1135
|
+
name_mapping={"key": "key", "value": "value"},
|
|
1136
|
+
)
|
|
1137
|
+
class AppConfigProperty:
|
|
1138
|
+
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
1139
|
+
'''Configurations of the OpenSearch Application.
|
|
1140
|
+
|
|
1141
|
+
:param key: Specify the item to configure, such as admin role for the OpenSearch Application.
|
|
1142
|
+
:param value: Specifies the value to configure for the key, such as an IAM user ARN.
|
|
1143
|
+
|
|
1144
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-appconfig.html
|
|
1145
|
+
:exampleMetadata: fixture=_generated
|
|
1146
|
+
|
|
1147
|
+
Example::
|
|
1148
|
+
|
|
1149
|
+
# The code below shows an example of how to instantiate this type.
|
|
1150
|
+
# The values are placeholders you should change.
|
|
1151
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
1152
|
+
|
|
1153
|
+
app_config_property = opensearchservice.CfnApplication.AppConfigProperty(
|
|
1154
|
+
key="key",
|
|
1155
|
+
value="value"
|
|
1156
|
+
)
|
|
1157
|
+
'''
|
|
1158
|
+
if __debug__:
|
|
1159
|
+
type_hints = typing.get_type_hints(_typecheckingstub__da9648ff491c49ec988147c5ad2223fc7ed1d96a3d5cdccc2104b06b262e8250)
|
|
1160
|
+
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
1161
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1162
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1163
|
+
"key": key,
|
|
1164
|
+
"value": value,
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
@builtins.property
|
|
1168
|
+
def key(self) -> builtins.str:
|
|
1169
|
+
'''Specify the item to configure, such as admin role for the OpenSearch Application.
|
|
1170
|
+
|
|
1171
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-appconfig.html#cfn-opensearchservice-application-appconfig-key
|
|
1172
|
+
'''
|
|
1173
|
+
result = self._values.get("key")
|
|
1174
|
+
assert result is not None, "Required property 'key' is missing"
|
|
1175
|
+
return typing.cast(builtins.str, result)
|
|
1176
|
+
|
|
1177
|
+
@builtins.property
|
|
1178
|
+
def value(self) -> builtins.str:
|
|
1179
|
+
'''Specifies the value to configure for the key, such as an IAM user ARN.
|
|
1180
|
+
|
|
1181
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-appconfig.html#cfn-opensearchservice-application-appconfig-value
|
|
1182
|
+
'''
|
|
1183
|
+
result = self._values.get("value")
|
|
1184
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1185
|
+
return typing.cast(builtins.str, result)
|
|
1186
|
+
|
|
1187
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1188
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1189
|
+
|
|
1190
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1191
|
+
return not (rhs == self)
|
|
1192
|
+
|
|
1193
|
+
def __repr__(self) -> str:
|
|
1194
|
+
return "AppConfigProperty(%s)" % ", ".join(
|
|
1195
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1196
|
+
)
|
|
1197
|
+
|
|
1198
|
+
@jsii.data_type(
|
|
1199
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnApplication.DataSourceProperty",
|
|
1200
|
+
jsii_struct_bases=[],
|
|
1201
|
+
name_mapping={
|
|
1202
|
+
"data_source_arn": "dataSourceArn",
|
|
1203
|
+
"data_source_description": "dataSourceDescription",
|
|
1204
|
+
},
|
|
1205
|
+
)
|
|
1206
|
+
class DataSourceProperty:
|
|
1207
|
+
def __init__(
|
|
1208
|
+
self,
|
|
1209
|
+
*,
|
|
1210
|
+
data_source_arn: builtins.str,
|
|
1211
|
+
data_source_description: typing.Optional[builtins.str] = None,
|
|
1212
|
+
) -> None:
|
|
1213
|
+
'''Data sources that are associated with an OpenSearch Application.
|
|
1214
|
+
|
|
1215
|
+
:param data_source_arn: Amazon Resource Name (ARN) format.
|
|
1216
|
+
:param data_source_description: Detailed description of a data source.
|
|
1217
|
+
|
|
1218
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-datasource.html
|
|
1219
|
+
:exampleMetadata: fixture=_generated
|
|
1220
|
+
|
|
1221
|
+
Example::
|
|
1222
|
+
|
|
1223
|
+
# The code below shows an example of how to instantiate this type.
|
|
1224
|
+
# The values are placeholders you should change.
|
|
1225
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
1226
|
+
|
|
1227
|
+
data_source_property = opensearchservice.CfnApplication.DataSourceProperty(
|
|
1228
|
+
data_source_arn="dataSourceArn",
|
|
1229
|
+
|
|
1230
|
+
# the properties below are optional
|
|
1231
|
+
data_source_description="dataSourceDescription"
|
|
1232
|
+
)
|
|
1233
|
+
'''
|
|
1234
|
+
if __debug__:
|
|
1235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cef2fd6c56ca998ce2d1bd34cfd370f3a19aa7c85986f7f9098273145dbe62b6)
|
|
1236
|
+
check_type(argname="argument data_source_arn", value=data_source_arn, expected_type=type_hints["data_source_arn"])
|
|
1237
|
+
check_type(argname="argument data_source_description", value=data_source_description, expected_type=type_hints["data_source_description"])
|
|
1238
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1239
|
+
"data_source_arn": data_source_arn,
|
|
1240
|
+
}
|
|
1241
|
+
if data_source_description is not None:
|
|
1242
|
+
self._values["data_source_description"] = data_source_description
|
|
1243
|
+
|
|
1244
|
+
@builtins.property
|
|
1245
|
+
def data_source_arn(self) -> builtins.str:
|
|
1246
|
+
'''Amazon Resource Name (ARN) format.
|
|
1247
|
+
|
|
1248
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-datasource.html#cfn-opensearchservice-application-datasource-datasourcearn
|
|
1249
|
+
'''
|
|
1250
|
+
result = self._values.get("data_source_arn")
|
|
1251
|
+
assert result is not None, "Required property 'data_source_arn' is missing"
|
|
1252
|
+
return typing.cast(builtins.str, result)
|
|
1253
|
+
|
|
1254
|
+
@builtins.property
|
|
1255
|
+
def data_source_description(self) -> typing.Optional[builtins.str]:
|
|
1256
|
+
'''Detailed description of a data source.
|
|
1257
|
+
|
|
1258
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-datasource.html#cfn-opensearchservice-application-datasource-datasourcedescription
|
|
1259
|
+
'''
|
|
1260
|
+
result = self._values.get("data_source_description")
|
|
1261
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1262
|
+
|
|
1263
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1264
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1265
|
+
|
|
1266
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1267
|
+
return not (rhs == self)
|
|
1268
|
+
|
|
1269
|
+
def __repr__(self) -> str:
|
|
1270
|
+
return "DataSourceProperty(%s)" % ", ".join(
|
|
1271
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1272
|
+
)
|
|
1273
|
+
|
|
1274
|
+
@jsii.data_type(
|
|
1275
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnApplication.IamIdentityCenterOptionsProperty",
|
|
1276
|
+
jsii_struct_bases=[],
|
|
1277
|
+
name_mapping={
|
|
1278
|
+
"enabled": "enabled",
|
|
1279
|
+
"iam_identity_center_instance_arn": "iamIdentityCenterInstanceArn",
|
|
1280
|
+
"iam_role_for_identity_center_application_arn": "iamRoleForIdentityCenterApplicationArn",
|
|
1281
|
+
},
|
|
1282
|
+
)
|
|
1283
|
+
class IamIdentityCenterOptionsProperty:
|
|
1284
|
+
def __init__(
|
|
1285
|
+
self,
|
|
1286
|
+
*,
|
|
1287
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1288
|
+
iam_identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
1289
|
+
iam_role_for_identity_center_application_arn: typing.Optional[builtins.str] = None,
|
|
1290
|
+
) -> None:
|
|
1291
|
+
'''Settings for IAM Identity Center for an OpenSearch Application.
|
|
1292
|
+
|
|
1293
|
+
:param enabled: IAM Identity Center is enabled for the OpenSearch Application.
|
|
1294
|
+
:param iam_identity_center_instance_arn: Amazon Resource Name (ARN) format.
|
|
1295
|
+
:param iam_role_for_identity_center_application_arn: Amazon Resource Name of the IAM Identity Center's Application created for the OpenSearch Application after enabling IAM Identity Center.
|
|
1296
|
+
|
|
1297
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-iamidentitycenteroptions.html
|
|
1298
|
+
:exampleMetadata: fixture=_generated
|
|
1299
|
+
|
|
1300
|
+
Example::
|
|
1301
|
+
|
|
1302
|
+
# The code below shows an example of how to instantiate this type.
|
|
1303
|
+
# The values are placeholders you should change.
|
|
1304
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
1305
|
+
|
|
1306
|
+
iam_identity_center_options_property = opensearchservice.CfnApplication.IamIdentityCenterOptionsProperty(
|
|
1307
|
+
enabled=False,
|
|
1308
|
+
iam_identity_center_instance_arn="iamIdentityCenterInstanceArn",
|
|
1309
|
+
iam_role_for_identity_center_application_arn="iamRoleForIdentityCenterApplicationArn"
|
|
1310
|
+
)
|
|
1311
|
+
'''
|
|
1312
|
+
if __debug__:
|
|
1313
|
+
type_hints = typing.get_type_hints(_typecheckingstub__58c97e96e8e1ce004fea8b82d1b09d335f940c83119efbabb4975a7015b6f5e3)
|
|
1314
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
1315
|
+
check_type(argname="argument iam_identity_center_instance_arn", value=iam_identity_center_instance_arn, expected_type=type_hints["iam_identity_center_instance_arn"])
|
|
1316
|
+
check_type(argname="argument iam_role_for_identity_center_application_arn", value=iam_role_for_identity_center_application_arn, expected_type=type_hints["iam_role_for_identity_center_application_arn"])
|
|
1317
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1318
|
+
if enabled is not None:
|
|
1319
|
+
self._values["enabled"] = enabled
|
|
1320
|
+
if iam_identity_center_instance_arn is not None:
|
|
1321
|
+
self._values["iam_identity_center_instance_arn"] = iam_identity_center_instance_arn
|
|
1322
|
+
if iam_role_for_identity_center_application_arn is not None:
|
|
1323
|
+
self._values["iam_role_for_identity_center_application_arn"] = iam_role_for_identity_center_application_arn
|
|
1324
|
+
|
|
1325
|
+
@builtins.property
|
|
1326
|
+
def enabled(
|
|
1327
|
+
self,
|
|
1328
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1329
|
+
'''IAM Identity Center is enabled for the OpenSearch Application.
|
|
1330
|
+
|
|
1331
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-iamidentitycenteroptions.html#cfn-opensearchservice-application-iamidentitycenteroptions-enabled
|
|
1332
|
+
'''
|
|
1333
|
+
result = self._values.get("enabled")
|
|
1334
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1335
|
+
|
|
1336
|
+
@builtins.property
|
|
1337
|
+
def iam_identity_center_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
1338
|
+
'''Amazon Resource Name (ARN) format.
|
|
1339
|
+
|
|
1340
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-iamidentitycenteroptions.html#cfn-opensearchservice-application-iamidentitycenteroptions-iamidentitycenterinstancearn
|
|
1341
|
+
'''
|
|
1342
|
+
result = self._values.get("iam_identity_center_instance_arn")
|
|
1343
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1344
|
+
|
|
1345
|
+
@builtins.property
|
|
1346
|
+
def iam_role_for_identity_center_application_arn(
|
|
1347
|
+
self,
|
|
1348
|
+
) -> typing.Optional[builtins.str]:
|
|
1349
|
+
'''Amazon Resource Name of the IAM Identity Center's Application created for the OpenSearch Application after enabling IAM Identity Center.
|
|
1350
|
+
|
|
1351
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-iamidentitycenteroptions.html#cfn-opensearchservice-application-iamidentitycenteroptions-iamroleforidentitycenterapplicationarn
|
|
1352
|
+
'''
|
|
1353
|
+
result = self._values.get("iam_role_for_identity_center_application_arn")
|
|
1354
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1355
|
+
|
|
1356
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1357
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1358
|
+
|
|
1359
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1360
|
+
return not (rhs == self)
|
|
1361
|
+
|
|
1362
|
+
def __repr__(self) -> str:
|
|
1363
|
+
return "IamIdentityCenterOptionsProperty(%s)" % ", ".join(
|
|
1364
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1365
|
+
)
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
@jsii.data_type(
|
|
1369
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnApplicationProps",
|
|
1370
|
+
jsii_struct_bases=[],
|
|
1371
|
+
name_mapping={
|
|
1372
|
+
"name": "name",
|
|
1373
|
+
"app_configs": "appConfigs",
|
|
1374
|
+
"data_sources": "dataSources",
|
|
1375
|
+
"endpoint": "endpoint",
|
|
1376
|
+
"iam_identity_center_options": "iamIdentityCenterOptions",
|
|
1377
|
+
"tags": "tags",
|
|
1378
|
+
},
|
|
1379
|
+
)
|
|
1380
|
+
class CfnApplicationProps:
|
|
1381
|
+
def __init__(
|
|
1382
|
+
self,
|
|
1383
|
+
*,
|
|
1384
|
+
name: builtins.str,
|
|
1385
|
+
app_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AppConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1386
|
+
data_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DataSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1387
|
+
endpoint: typing.Optional[builtins.str] = None,
|
|
1388
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IamIdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1389
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1390
|
+
) -> None:
|
|
1391
|
+
'''Properties for defining a ``CfnApplication``.
|
|
1392
|
+
|
|
1393
|
+
:param name: Name of an OpenSearch Application.
|
|
1394
|
+
:param app_configs: List of application configurations.
|
|
1395
|
+
:param data_sources: List of data sources.
|
|
1396
|
+
:param endpoint: Endpoint URL of an OpenSearch Application.
|
|
1397
|
+
:param iam_identity_center_options: Container for IAM Identity Center Options settings.
|
|
1398
|
+
:param tags: An arbitrary set of tags (key-value pairs) for this application.
|
|
1399
|
+
|
|
1400
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html
|
|
1401
|
+
:exampleMetadata: fixture=_generated
|
|
1402
|
+
|
|
1403
|
+
Example::
|
|
1404
|
+
|
|
1405
|
+
# The code below shows an example of how to instantiate this type.
|
|
1406
|
+
# The values are placeholders you should change.
|
|
1407
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
1408
|
+
|
|
1409
|
+
cfn_application_props = opensearchservice.CfnApplicationProps(
|
|
1410
|
+
name="name",
|
|
1411
|
+
|
|
1412
|
+
# the properties below are optional
|
|
1413
|
+
app_configs=[opensearchservice.CfnApplication.AppConfigProperty(
|
|
1414
|
+
key="key",
|
|
1415
|
+
value="value"
|
|
1416
|
+
)],
|
|
1417
|
+
data_sources=[opensearchservice.CfnApplication.DataSourceProperty(
|
|
1418
|
+
data_source_arn="dataSourceArn",
|
|
1419
|
+
|
|
1420
|
+
# the properties below are optional
|
|
1421
|
+
data_source_description="dataSourceDescription"
|
|
1422
|
+
)],
|
|
1423
|
+
endpoint="endpoint",
|
|
1424
|
+
iam_identity_center_options=opensearchservice.CfnApplication.IamIdentityCenterOptionsProperty(
|
|
1425
|
+
enabled=False,
|
|
1426
|
+
iam_identity_center_instance_arn="iamIdentityCenterInstanceArn",
|
|
1427
|
+
iam_role_for_identity_center_application_arn="iamRoleForIdentityCenterApplicationArn"
|
|
1428
|
+
),
|
|
1429
|
+
tags=[CfnTag(
|
|
1430
|
+
key="key",
|
|
1431
|
+
value="value"
|
|
1432
|
+
)]
|
|
1433
|
+
)
|
|
1434
|
+
'''
|
|
1435
|
+
if __debug__:
|
|
1436
|
+
type_hints = typing.get_type_hints(_typecheckingstub__236cc96183229711206ae6d51551db123c35fb8ce3a2105d7bac41736b22a545)
|
|
1437
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1438
|
+
check_type(argname="argument app_configs", value=app_configs, expected_type=type_hints["app_configs"])
|
|
1439
|
+
check_type(argname="argument data_sources", value=data_sources, expected_type=type_hints["data_sources"])
|
|
1440
|
+
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
1441
|
+
check_type(argname="argument iam_identity_center_options", value=iam_identity_center_options, expected_type=type_hints["iam_identity_center_options"])
|
|
1442
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1443
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1444
|
+
"name": name,
|
|
1445
|
+
}
|
|
1446
|
+
if app_configs is not None:
|
|
1447
|
+
self._values["app_configs"] = app_configs
|
|
1448
|
+
if data_sources is not None:
|
|
1449
|
+
self._values["data_sources"] = data_sources
|
|
1450
|
+
if endpoint is not None:
|
|
1451
|
+
self._values["endpoint"] = endpoint
|
|
1452
|
+
if iam_identity_center_options is not None:
|
|
1453
|
+
self._values["iam_identity_center_options"] = iam_identity_center_options
|
|
1454
|
+
if tags is not None:
|
|
1455
|
+
self._values["tags"] = tags
|
|
1456
|
+
|
|
1457
|
+
@builtins.property
|
|
1458
|
+
def name(self) -> builtins.str:
|
|
1459
|
+
'''Name of an OpenSearch Application.
|
|
1460
|
+
|
|
1461
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-name
|
|
1462
|
+
'''
|
|
1463
|
+
result = self._values.get("name")
|
|
1464
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1465
|
+
return typing.cast(builtins.str, result)
|
|
1466
|
+
|
|
1467
|
+
@builtins.property
|
|
1468
|
+
def app_configs(
|
|
1469
|
+
self,
|
|
1470
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.AppConfigProperty]]]]:
|
|
1471
|
+
'''List of application configurations.
|
|
1472
|
+
|
|
1473
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-appconfigs
|
|
1474
|
+
'''
|
|
1475
|
+
result = self._values.get("app_configs")
|
|
1476
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.AppConfigProperty]]]], result)
|
|
1477
|
+
|
|
1478
|
+
@builtins.property
|
|
1479
|
+
def data_sources(
|
|
1480
|
+
self,
|
|
1481
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.DataSourceProperty]]]]:
|
|
1482
|
+
'''List of data sources.
|
|
1483
|
+
|
|
1484
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-datasources
|
|
1485
|
+
'''
|
|
1486
|
+
result = self._values.get("data_sources")
|
|
1487
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.DataSourceProperty]]]], result)
|
|
1488
|
+
|
|
1489
|
+
@builtins.property
|
|
1490
|
+
def endpoint(self) -> typing.Optional[builtins.str]:
|
|
1491
|
+
'''Endpoint URL of an OpenSearch Application.
|
|
1492
|
+
|
|
1493
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-endpoint
|
|
1494
|
+
'''
|
|
1495
|
+
result = self._values.get("endpoint")
|
|
1496
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1497
|
+
|
|
1498
|
+
@builtins.property
|
|
1499
|
+
def iam_identity_center_options(
|
|
1500
|
+
self,
|
|
1501
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IamIdentityCenterOptionsProperty]]:
|
|
1502
|
+
'''Container for IAM Identity Center Options settings.
|
|
1503
|
+
|
|
1504
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-iamidentitycenteroptions
|
|
1505
|
+
'''
|
|
1506
|
+
result = self._values.get("iam_identity_center_options")
|
|
1507
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IamIdentityCenterOptionsProperty]], result)
|
|
1508
|
+
|
|
1509
|
+
@builtins.property
|
|
1510
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1511
|
+
'''An arbitrary set of tags (key-value pairs) for this application.
|
|
1512
|
+
|
|
1513
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#cfn-opensearchservice-application-tags
|
|
1514
|
+
'''
|
|
1515
|
+
result = self._values.get("tags")
|
|
1516
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1517
|
+
|
|
1518
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1519
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1520
|
+
|
|
1521
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1522
|
+
return not (rhs == self)
|
|
1523
|
+
|
|
1524
|
+
def __repr__(self) -> str:
|
|
1525
|
+
return "CfnApplicationProps(%s)" % ", ".join(
|
|
1526
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1527
|
+
)
|
|
1528
|
+
|
|
1529
|
+
|
|
895
1530
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
896
1531
|
class CfnDomain(
|
|
897
1532
|
_CfnResource_9df397a6,
|
|
@@ -991,6 +1626,14 @@ class CfnDomain(
|
|
|
991
1626
|
kms_key_id="kmsKeyId"
|
|
992
1627
|
),
|
|
993
1628
|
engine_version="engineVersion",
|
|
1629
|
+
identity_center_options=opensearchservice.CfnDomain.IdentityCenterOptionsProperty(
|
|
1630
|
+
enabled_api_access=False,
|
|
1631
|
+
identity_center_application_arn="identityCenterApplicationArn",
|
|
1632
|
+
identity_center_instance_arn="identityCenterInstanceArn",
|
|
1633
|
+
identity_store_id="identityStoreId",
|
|
1634
|
+
roles_key="rolesKey",
|
|
1635
|
+
subject_key="subjectKey"
|
|
1636
|
+
),
|
|
994
1637
|
ip_address_type="ipAddressType",
|
|
995
1638
|
log_publishing_options={
|
|
996
1639
|
"log_publishing_options_key": opensearchservice.CfnDomain.LogPublishingOptionProperty(
|
|
@@ -1044,6 +1687,7 @@ class CfnDomain(
|
|
|
1044
1687
|
ebs_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.EBSOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1045
1688
|
encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.EncryptionAtRestOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1046
1689
|
engine_version: typing.Optional[builtins.str] = None,
|
|
1690
|
+
identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.IdentityCenterOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1047
1691
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
1048
1692
|
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,
|
|
1049
1693
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.NodeToNodeEncryptionOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1068,6 +1712,7 @@ class CfnDomain(
|
|
|
1068
1712
|
:param ebs_options: The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain. For more information, see `EBS volume size limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource>`_ in the *Amazon OpenSearch Service Developer Guide* .
|
|
1069
1713
|
:param encryption_at_rest_options: Whether the domain should encrypt data at rest, and if so, the AWS KMS key to use. See `Encryption of data at rest for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/encryption-at-rest.html>`_ . If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
|
|
1070
1714
|
:param engine_version: The version of OpenSearch to use. The value must be in the format ``OpenSearch_X.Y`` or ``Elasticsearch_X.Y`` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see `Supported versions of OpenSearch and Elasticsearch <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version>`_ in the *Amazon OpenSearch Service Developer Guide* . If you set the `EnableVersionUpgrade <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain>`_ update policy to ``true`` , you can update ``EngineVersion`` without interruption. When ``EnableVersionUpgrade`` is set to ``false`` , or is not specified, updating ``EngineVersion`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
1715
|
+
:param identity_center_options: Container for IAM Identity Center Option control for the domain.
|
|
1071
1716
|
:param ip_address_type: Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
|
|
1072
1717
|
: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>`_ .
|
|
1073
1718
|
: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>`_ .
|
|
@@ -1094,6 +1739,7 @@ class CfnDomain(
|
|
|
1094
1739
|
ebs_options=ebs_options,
|
|
1095
1740
|
encryption_at_rest_options=encryption_at_rest_options,
|
|
1096
1741
|
engine_version=engine_version,
|
|
1742
|
+
identity_center_options=identity_center_options,
|
|
1097
1743
|
ip_address_type=ip_address_type,
|
|
1098
1744
|
log_publishing_options=log_publishing_options,
|
|
1099
1745
|
node_to_node_encryption_options=node_to_node_encryption_options,
|
|
@@ -1198,6 +1844,26 @@ class CfnDomain(
|
|
|
1198
1844
|
'''
|
|
1199
1845
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
1200
1846
|
|
|
1847
|
+
@builtins.property
|
|
1848
|
+
@jsii.member(jsii_name="attrIdentityCenterOptionsIdentityCenterApplicationArn")
|
|
1849
|
+
def attr_identity_center_options_identity_center_application_arn(
|
|
1850
|
+
self,
|
|
1851
|
+
) -> builtins.str:
|
|
1852
|
+
'''The ARN for IAM Identity Center Application which will integrate with Amazon OpenSearch Service.
|
|
1853
|
+
|
|
1854
|
+
:cloudformationAttribute: IdentityCenterOptions.IdentityCenterApplicationARN
|
|
1855
|
+
'''
|
|
1856
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentityCenterOptionsIdentityCenterApplicationArn"))
|
|
1857
|
+
|
|
1858
|
+
@builtins.property
|
|
1859
|
+
@jsii.member(jsii_name="attrIdentityCenterOptionsIdentityStoreId")
|
|
1860
|
+
def attr_identity_center_options_identity_store_id(self) -> builtins.str:
|
|
1861
|
+
'''The ID of IAM Identity Store.
|
|
1862
|
+
|
|
1863
|
+
:cloudformationAttribute: IdentityCenterOptions.IdentityStoreId
|
|
1864
|
+
'''
|
|
1865
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentityCenterOptionsIdentityStoreId"))
|
|
1866
|
+
|
|
1201
1867
|
@builtins.property
|
|
1202
1868
|
@jsii.member(jsii_name="attrServiceSoftwareOptions")
|
|
1203
1869
|
def attr_service_software_options(self) -> _IResolvable_da3f097b:
|
|
@@ -1460,6 +2126,24 @@ class CfnDomain(
|
|
|
1460
2126
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1461
2127
|
jsii.set(self, "engineVersion", value) # pyright: ignore[reportArgumentType]
|
|
1462
2128
|
|
|
2129
|
+
@builtins.property
|
|
2130
|
+
@jsii.member(jsii_name="identityCenterOptions")
|
|
2131
|
+
def identity_center_options(
|
|
2132
|
+
self,
|
|
2133
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IdentityCenterOptionsProperty"]]:
|
|
2134
|
+
'''Container for IAM Identity Center Option control for the domain.'''
|
|
2135
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IdentityCenterOptionsProperty"]], jsii.get(self, "identityCenterOptions"))
|
|
2136
|
+
|
|
2137
|
+
@identity_center_options.setter
|
|
2138
|
+
def identity_center_options(
|
|
2139
|
+
self,
|
|
2140
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IdentityCenterOptionsProperty"]],
|
|
2141
|
+
) -> None:
|
|
2142
|
+
if __debug__:
|
|
2143
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b19eb039a71e8e1e83ff32229a3facab2ba5a6ceb6e5a5574dc7bc067c3f149)
|
|
2144
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2145
|
+
jsii.set(self, "identityCenterOptions", value) # pyright: ignore[reportArgumentType]
|
|
2146
|
+
|
|
1463
2147
|
@builtins.property
|
|
1464
2148
|
@jsii.member(jsii_name="ipAddressType")
|
|
1465
2149
|
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
@@ -2591,6 +3275,145 @@ class CfnDomain(
|
|
|
2591
3275
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2592
3276
|
)
|
|
2593
3277
|
|
|
3278
|
+
@jsii.data_type(
|
|
3279
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.IdentityCenterOptionsProperty",
|
|
3280
|
+
jsii_struct_bases=[],
|
|
3281
|
+
name_mapping={
|
|
3282
|
+
"enabled_api_access": "enabledApiAccess",
|
|
3283
|
+
"identity_center_application_arn": "identityCenterApplicationArn",
|
|
3284
|
+
"identity_center_instance_arn": "identityCenterInstanceArn",
|
|
3285
|
+
"identity_store_id": "identityStoreId",
|
|
3286
|
+
"roles_key": "rolesKey",
|
|
3287
|
+
"subject_key": "subjectKey",
|
|
3288
|
+
},
|
|
3289
|
+
)
|
|
3290
|
+
class IdentityCenterOptionsProperty:
|
|
3291
|
+
def __init__(
|
|
3292
|
+
self,
|
|
3293
|
+
*,
|
|
3294
|
+
enabled_api_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3295
|
+
identity_center_application_arn: typing.Optional[builtins.str] = None,
|
|
3296
|
+
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
3297
|
+
identity_store_id: typing.Optional[builtins.str] = None,
|
|
3298
|
+
roles_key: typing.Optional[builtins.str] = None,
|
|
3299
|
+
subject_key: typing.Optional[builtins.str] = None,
|
|
3300
|
+
) -> None:
|
|
3301
|
+
'''Container for IAM Identity Center Options settings.
|
|
3302
|
+
|
|
3303
|
+
:param enabled_api_access: True to enable IAM Identity Center for API access in Amazon OpenSearch Service.
|
|
3304
|
+
:param identity_center_application_arn: The ARN for IAM Identity Center Application which will integrate with Amazon OpenSearch Service.
|
|
3305
|
+
:param identity_center_instance_arn: The ARN for IAM Identity Center Instance.
|
|
3306
|
+
:param identity_store_id: The ID of IAM Identity Store.
|
|
3307
|
+
:param roles_key: Specify the attribute that contains the backend role (groupName, groupID) of IAM Identity Center.
|
|
3308
|
+
:param subject_key: Specify the attribute that contains the subject (username, userID, email) of IAM Identity Center.
|
|
3309
|
+
|
|
3310
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html
|
|
3311
|
+
:exampleMetadata: fixture=_generated
|
|
3312
|
+
|
|
3313
|
+
Example::
|
|
3314
|
+
|
|
3315
|
+
# The code below shows an example of how to instantiate this type.
|
|
3316
|
+
# The values are placeholders you should change.
|
|
3317
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
3318
|
+
|
|
3319
|
+
identity_center_options_property = opensearchservice.CfnDomain.IdentityCenterOptionsProperty(
|
|
3320
|
+
enabled_api_access=False,
|
|
3321
|
+
identity_center_application_arn="identityCenterApplicationArn",
|
|
3322
|
+
identity_center_instance_arn="identityCenterInstanceArn",
|
|
3323
|
+
identity_store_id="identityStoreId",
|
|
3324
|
+
roles_key="rolesKey",
|
|
3325
|
+
subject_key="subjectKey"
|
|
3326
|
+
)
|
|
3327
|
+
'''
|
|
3328
|
+
if __debug__:
|
|
3329
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9205eb32a18ebed75ca975205de43322a1836abdff793eaed7f00cdef41743bd)
|
|
3330
|
+
check_type(argname="argument enabled_api_access", value=enabled_api_access, expected_type=type_hints["enabled_api_access"])
|
|
3331
|
+
check_type(argname="argument identity_center_application_arn", value=identity_center_application_arn, expected_type=type_hints["identity_center_application_arn"])
|
|
3332
|
+
check_type(argname="argument identity_center_instance_arn", value=identity_center_instance_arn, expected_type=type_hints["identity_center_instance_arn"])
|
|
3333
|
+
check_type(argname="argument identity_store_id", value=identity_store_id, expected_type=type_hints["identity_store_id"])
|
|
3334
|
+
check_type(argname="argument roles_key", value=roles_key, expected_type=type_hints["roles_key"])
|
|
3335
|
+
check_type(argname="argument subject_key", value=subject_key, expected_type=type_hints["subject_key"])
|
|
3336
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3337
|
+
if enabled_api_access is not None:
|
|
3338
|
+
self._values["enabled_api_access"] = enabled_api_access
|
|
3339
|
+
if identity_center_application_arn is not None:
|
|
3340
|
+
self._values["identity_center_application_arn"] = identity_center_application_arn
|
|
3341
|
+
if identity_center_instance_arn is not None:
|
|
3342
|
+
self._values["identity_center_instance_arn"] = identity_center_instance_arn
|
|
3343
|
+
if identity_store_id is not None:
|
|
3344
|
+
self._values["identity_store_id"] = identity_store_id
|
|
3345
|
+
if roles_key is not None:
|
|
3346
|
+
self._values["roles_key"] = roles_key
|
|
3347
|
+
if subject_key is not None:
|
|
3348
|
+
self._values["subject_key"] = subject_key
|
|
3349
|
+
|
|
3350
|
+
@builtins.property
|
|
3351
|
+
def enabled_api_access(
|
|
3352
|
+
self,
|
|
3353
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3354
|
+
'''True to enable IAM Identity Center for API access in Amazon OpenSearch Service.
|
|
3355
|
+
|
|
3356
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-enabledapiaccess
|
|
3357
|
+
'''
|
|
3358
|
+
result = self._values.get("enabled_api_access")
|
|
3359
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3360
|
+
|
|
3361
|
+
@builtins.property
|
|
3362
|
+
def identity_center_application_arn(self) -> typing.Optional[builtins.str]:
|
|
3363
|
+
'''The ARN for IAM Identity Center Application which will integrate with Amazon OpenSearch Service.
|
|
3364
|
+
|
|
3365
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-identitycenterapplicationarn
|
|
3366
|
+
'''
|
|
3367
|
+
result = self._values.get("identity_center_application_arn")
|
|
3368
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3369
|
+
|
|
3370
|
+
@builtins.property
|
|
3371
|
+
def identity_center_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
3372
|
+
'''The ARN for IAM Identity Center Instance.
|
|
3373
|
+
|
|
3374
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-identitycenterinstancearn
|
|
3375
|
+
'''
|
|
3376
|
+
result = self._values.get("identity_center_instance_arn")
|
|
3377
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3378
|
+
|
|
3379
|
+
@builtins.property
|
|
3380
|
+
def identity_store_id(self) -> typing.Optional[builtins.str]:
|
|
3381
|
+
'''The ID of IAM Identity Store.
|
|
3382
|
+
|
|
3383
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-identitystoreid
|
|
3384
|
+
'''
|
|
3385
|
+
result = self._values.get("identity_store_id")
|
|
3386
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3387
|
+
|
|
3388
|
+
@builtins.property
|
|
3389
|
+
def roles_key(self) -> typing.Optional[builtins.str]:
|
|
3390
|
+
'''Specify the attribute that contains the backend role (groupName, groupID) of IAM Identity Center.
|
|
3391
|
+
|
|
3392
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-roleskey
|
|
3393
|
+
'''
|
|
3394
|
+
result = self._values.get("roles_key")
|
|
3395
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3396
|
+
|
|
3397
|
+
@builtins.property
|
|
3398
|
+
def subject_key(self) -> typing.Optional[builtins.str]:
|
|
3399
|
+
'''Specify the attribute that contains the subject (username, userID, email) of IAM Identity Center.
|
|
3400
|
+
|
|
3401
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-identitycenteroptions.html#cfn-opensearchservice-domain-identitycenteroptions-subjectkey
|
|
3402
|
+
'''
|
|
3403
|
+
result = self._values.get("subject_key")
|
|
3404
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3405
|
+
|
|
3406
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3407
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3408
|
+
|
|
3409
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3410
|
+
return not (rhs == self)
|
|
3411
|
+
|
|
3412
|
+
def __repr__(self) -> str:
|
|
3413
|
+
return "IdentityCenterOptionsProperty(%s)" % ", ".join(
|
|
3414
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3415
|
+
)
|
|
3416
|
+
|
|
2594
3417
|
@jsii.data_type(
|
|
2595
3418
|
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.IdpProperty",
|
|
2596
3419
|
jsii_struct_bases=[],
|
|
@@ -3841,6 +4664,7 @@ class CfnDomain(
|
|
|
3841
4664
|
"ebs_options": "ebsOptions",
|
|
3842
4665
|
"encryption_at_rest_options": "encryptionAtRestOptions",
|
|
3843
4666
|
"engine_version": "engineVersion",
|
|
4667
|
+
"identity_center_options": "identityCenterOptions",
|
|
3844
4668
|
"ip_address_type": "ipAddressType",
|
|
3845
4669
|
"log_publishing_options": "logPublishingOptions",
|
|
3846
4670
|
"node_to_node_encryption_options": "nodeToNodeEncryptionOptions",
|
|
@@ -3867,6 +4691,7 @@ class CfnDomainProps:
|
|
|
3867
4691
|
ebs_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EBSOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3868
4692
|
encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3869
4693
|
engine_version: typing.Optional[builtins.str] = None,
|
|
4694
|
+
identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.IdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3870
4695
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
3871
4696
|
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,
|
|
3872
4697
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3890,6 +4715,7 @@ class CfnDomainProps:
|
|
|
3890
4715
|
:param ebs_options: The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the OpenSearch Service domain. For more information, see `EBS volume size limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource>`_ in the *Amazon OpenSearch Service Developer Guide* .
|
|
3891
4716
|
:param encryption_at_rest_options: Whether the domain should encrypt data at rest, and if so, the AWS KMS key to use. See `Encryption of data at rest for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/encryption-at-rest.html>`_ . If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property.
|
|
3892
4717
|
:param engine_version: The version of OpenSearch to use. The value must be in the format ``OpenSearch_X.Y`` or ``Elasticsearch_X.Y`` . If not specified, the latest version of OpenSearch is used. For information about the versions that OpenSearch Service supports, see `Supported versions of OpenSearch and Elasticsearch <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version>`_ in the *Amazon OpenSearch Service Developer Guide* . If you set the `EnableVersionUpgrade <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-upgradeopensearchdomain>`_ update policy to ``true`` , you can update ``EngineVersion`` without interruption. When ``EnableVersionUpgrade`` is set to ``false`` , or is not specified, updating ``EngineVersion`` results in `replacement <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement>`_ .
|
|
4718
|
+
:param identity_center_options: Container for IAM Identity Center Option control for the domain.
|
|
3893
4719
|
:param ip_address_type: Choose either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
|
|
3894
4720
|
: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>`_ .
|
|
3895
4721
|
: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>`_ .
|
|
@@ -3990,6 +4816,14 @@ class CfnDomainProps:
|
|
|
3990
4816
|
kms_key_id="kmsKeyId"
|
|
3991
4817
|
),
|
|
3992
4818
|
engine_version="engineVersion",
|
|
4819
|
+
identity_center_options=opensearchservice.CfnDomain.IdentityCenterOptionsProperty(
|
|
4820
|
+
enabled_api_access=False,
|
|
4821
|
+
identity_center_application_arn="identityCenterApplicationArn",
|
|
4822
|
+
identity_center_instance_arn="identityCenterInstanceArn",
|
|
4823
|
+
identity_store_id="identityStoreId",
|
|
4824
|
+
roles_key="rolesKey",
|
|
4825
|
+
subject_key="subjectKey"
|
|
4826
|
+
),
|
|
3993
4827
|
ip_address_type="ipAddressType",
|
|
3994
4828
|
log_publishing_options={
|
|
3995
4829
|
"log_publishing_options_key": opensearchservice.CfnDomain.LogPublishingOptionProperty(
|
|
@@ -4039,6 +4873,7 @@ class CfnDomainProps:
|
|
|
4039
4873
|
check_type(argname="argument ebs_options", value=ebs_options, expected_type=type_hints["ebs_options"])
|
|
4040
4874
|
check_type(argname="argument encryption_at_rest_options", value=encryption_at_rest_options, expected_type=type_hints["encryption_at_rest_options"])
|
|
4041
4875
|
check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
|
|
4876
|
+
check_type(argname="argument identity_center_options", value=identity_center_options, expected_type=type_hints["identity_center_options"])
|
|
4042
4877
|
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
4043
4878
|
check_type(argname="argument log_publishing_options", value=log_publishing_options, expected_type=type_hints["log_publishing_options"])
|
|
4044
4879
|
check_type(argname="argument node_to_node_encryption_options", value=node_to_node_encryption_options, expected_type=type_hints["node_to_node_encryption_options"])
|
|
@@ -4071,6 +4906,8 @@ class CfnDomainProps:
|
|
|
4071
4906
|
self._values["encryption_at_rest_options"] = encryption_at_rest_options
|
|
4072
4907
|
if engine_version is not None:
|
|
4073
4908
|
self._values["engine_version"] = engine_version
|
|
4909
|
+
if identity_center_options is not None:
|
|
4910
|
+
self._values["identity_center_options"] = identity_center_options
|
|
4074
4911
|
if ip_address_type is not None:
|
|
4075
4912
|
self._values["ip_address_type"] = ip_address_type
|
|
4076
4913
|
if log_publishing_options is not None:
|
|
@@ -4225,6 +5062,17 @@ class CfnDomainProps:
|
|
|
4225
5062
|
result = self._values.get("engine_version")
|
|
4226
5063
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4227
5064
|
|
|
5065
|
+
@builtins.property
|
|
5066
|
+
def identity_center_options(
|
|
5067
|
+
self,
|
|
5068
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.IdentityCenterOptionsProperty]]:
|
|
5069
|
+
'''Container for IAM Identity Center Option control for the domain.
|
|
5070
|
+
|
|
5071
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-identitycenteroptions
|
|
5072
|
+
'''
|
|
5073
|
+
result = self._values.get("identity_center_options")
|
|
5074
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.IdentityCenterOptionsProperty]], result)
|
|
5075
|
+
|
|
4228
5076
|
@builtins.property
|
|
4229
5077
|
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
4230
5078
|
'''Choose either dual stack or IPv4 as your IP address type.
|
|
@@ -8560,6 +9408,8 @@ class Domain(
|
|
|
8560
9408
|
__all__ = [
|
|
8561
9409
|
"AdvancedSecurityOptions",
|
|
8562
9410
|
"CapacityConfig",
|
|
9411
|
+
"CfnApplication",
|
|
9412
|
+
"CfnApplicationProps",
|
|
8563
9413
|
"CfnDomain",
|
|
8564
9414
|
"CfnDomainProps",
|
|
8565
9415
|
"CognitoOptions",
|
|
@@ -8605,6 +9455,105 @@ def _typecheckingstub__48cdec23c4ecd3d168ddd937e9295b924cdea583f9951d98aacce1c1c
|
|
|
8605
9455
|
"""Type checking stubs"""
|
|
8606
9456
|
pass
|
|
8607
9457
|
|
|
9458
|
+
def _typecheckingstub__9ac25677906ac058ff21dd4dd3fa4bc5649dbf0708d3cec14da66245bc1bb24b(
|
|
9459
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9460
|
+
id: builtins.str,
|
|
9461
|
+
*,
|
|
9462
|
+
name: builtins.str,
|
|
9463
|
+
app_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AppConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9464
|
+
data_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DataSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9465
|
+
endpoint: typing.Optional[builtins.str] = None,
|
|
9466
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IamIdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9467
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9468
|
+
) -> None:
|
|
9469
|
+
"""Type checking stubs"""
|
|
9470
|
+
pass
|
|
9471
|
+
|
|
9472
|
+
def _typecheckingstub__010596563813f2e4ea0ec0e832557f7f62393de348b04daaa36cd0c1173c0fab(
|
|
9473
|
+
inspector: _TreeInspector_488e0dd5,
|
|
9474
|
+
) -> None:
|
|
9475
|
+
"""Type checking stubs"""
|
|
9476
|
+
pass
|
|
9477
|
+
|
|
9478
|
+
def _typecheckingstub__6f1efe9410c953ee3f3c8e0eaa8d99b40d76540855ecd95e833141f2eb8a5afa(
|
|
9479
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
9480
|
+
) -> None:
|
|
9481
|
+
"""Type checking stubs"""
|
|
9482
|
+
pass
|
|
9483
|
+
|
|
9484
|
+
def _typecheckingstub__0b3c3fc4422c425a7f7a26e6e6fbeefb10ac8367e4dd888d53a0c786b75228e1(
|
|
9485
|
+
value: builtins.str,
|
|
9486
|
+
) -> None:
|
|
9487
|
+
"""Type checking stubs"""
|
|
9488
|
+
pass
|
|
9489
|
+
|
|
9490
|
+
def _typecheckingstub__694a0111ad52c0ebd9b61a1b51fd19463f0f74be607a8dc318a66972b32e5262(
|
|
9491
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.AppConfigProperty]]]],
|
|
9492
|
+
) -> None:
|
|
9493
|
+
"""Type checking stubs"""
|
|
9494
|
+
pass
|
|
9495
|
+
|
|
9496
|
+
def _typecheckingstub__bba1674c959c98d5b3d45d6eaf7a8d20c797c65902fe99c536ac7530200af8ff(
|
|
9497
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.DataSourceProperty]]]],
|
|
9498
|
+
) -> None:
|
|
9499
|
+
"""Type checking stubs"""
|
|
9500
|
+
pass
|
|
9501
|
+
|
|
9502
|
+
def _typecheckingstub__f5f696a51a461e6b6e5c354d390867e41b97f8fc31e7c4a34db75c3f882b5b4a(
|
|
9503
|
+
value: typing.Optional[builtins.str],
|
|
9504
|
+
) -> None:
|
|
9505
|
+
"""Type checking stubs"""
|
|
9506
|
+
pass
|
|
9507
|
+
|
|
9508
|
+
def _typecheckingstub__905379ee8909936359e4e55480945820a97987b6908dbca0355618f385959e81(
|
|
9509
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IamIdentityCenterOptionsProperty]],
|
|
9510
|
+
) -> None:
|
|
9511
|
+
"""Type checking stubs"""
|
|
9512
|
+
pass
|
|
9513
|
+
|
|
9514
|
+
def _typecheckingstub__d20068bc5112f252408ee83569f019899dca7f54b496b672a61b37e57f49966a(
|
|
9515
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
9516
|
+
) -> None:
|
|
9517
|
+
"""Type checking stubs"""
|
|
9518
|
+
pass
|
|
9519
|
+
|
|
9520
|
+
def _typecheckingstub__da9648ff491c49ec988147c5ad2223fc7ed1d96a3d5cdccc2104b06b262e8250(
|
|
9521
|
+
*,
|
|
9522
|
+
key: builtins.str,
|
|
9523
|
+
value: builtins.str,
|
|
9524
|
+
) -> None:
|
|
9525
|
+
"""Type checking stubs"""
|
|
9526
|
+
pass
|
|
9527
|
+
|
|
9528
|
+
def _typecheckingstub__cef2fd6c56ca998ce2d1bd34cfd370f3a19aa7c85986f7f9098273145dbe62b6(
|
|
9529
|
+
*,
|
|
9530
|
+
data_source_arn: builtins.str,
|
|
9531
|
+
data_source_description: typing.Optional[builtins.str] = None,
|
|
9532
|
+
) -> None:
|
|
9533
|
+
"""Type checking stubs"""
|
|
9534
|
+
pass
|
|
9535
|
+
|
|
9536
|
+
def _typecheckingstub__58c97e96e8e1ce004fea8b82d1b09d335f940c83119efbabb4975a7015b6f5e3(
|
|
9537
|
+
*,
|
|
9538
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9539
|
+
iam_identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
9540
|
+
iam_role_for_identity_center_application_arn: typing.Optional[builtins.str] = None,
|
|
9541
|
+
) -> None:
|
|
9542
|
+
"""Type checking stubs"""
|
|
9543
|
+
pass
|
|
9544
|
+
|
|
9545
|
+
def _typecheckingstub__236cc96183229711206ae6d51551db123c35fb8ce3a2105d7bac41736b22a545(
|
|
9546
|
+
*,
|
|
9547
|
+
name: builtins.str,
|
|
9548
|
+
app_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AppConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9549
|
+
data_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DataSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9550
|
+
endpoint: typing.Optional[builtins.str] = None,
|
|
9551
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IamIdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9552
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9553
|
+
) -> None:
|
|
9554
|
+
"""Type checking stubs"""
|
|
9555
|
+
pass
|
|
9556
|
+
|
|
8608
9557
|
def _typecheckingstub__6fcd2545392b3f48f314c640881e38e167b5936f1165d2eb1ce21766d3db5770(
|
|
8609
9558
|
scope: _constructs_77d1e7e8.Construct,
|
|
8610
9559
|
id: builtins.str,
|
|
@@ -8620,6 +9569,7 @@ def _typecheckingstub__6fcd2545392b3f48f314c640881e38e167b5936f1165d2eb1ce21766d
|
|
|
8620
9569
|
ebs_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EBSOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8621
9570
|
encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8622
9571
|
engine_version: typing.Optional[builtins.str] = None,
|
|
9572
|
+
identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.IdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8623
9573
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
8624
9574
|
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,
|
|
8625
9575
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8711,6 +9661,12 @@ def _typecheckingstub__88301df742e18b9ab560ac04b99b966a761eeee663731308b40ab8ca4
|
|
|
8711
9661
|
"""Type checking stubs"""
|
|
8712
9662
|
pass
|
|
8713
9663
|
|
|
9664
|
+
def _typecheckingstub__5b19eb039a71e8e1e83ff32229a3facab2ba5a6ceb6e5a5574dc7bc067c3f149(
|
|
9665
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.IdentityCenterOptionsProperty]],
|
|
9666
|
+
) -> None:
|
|
9667
|
+
"""Type checking stubs"""
|
|
9668
|
+
pass
|
|
9669
|
+
|
|
8714
9670
|
def _typecheckingstub__15de3b6bee67c94e6a9ff942356ecb4f67771482ab0d1655f673b885868135c2(
|
|
8715
9671
|
value: typing.Optional[builtins.str],
|
|
8716
9672
|
) -> None:
|
|
@@ -8843,6 +9799,18 @@ def _typecheckingstub__8045e71bf2b9389f7b778b391167aea3cf2ff9b7ccd6b9462c26cc1dc
|
|
|
8843
9799
|
"""Type checking stubs"""
|
|
8844
9800
|
pass
|
|
8845
9801
|
|
|
9802
|
+
def _typecheckingstub__9205eb32a18ebed75ca975205de43322a1836abdff793eaed7f00cdef41743bd(
|
|
9803
|
+
*,
|
|
9804
|
+
enabled_api_access: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9805
|
+
identity_center_application_arn: typing.Optional[builtins.str] = None,
|
|
9806
|
+
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
9807
|
+
identity_store_id: typing.Optional[builtins.str] = None,
|
|
9808
|
+
roles_key: typing.Optional[builtins.str] = None,
|
|
9809
|
+
subject_key: typing.Optional[builtins.str] = None,
|
|
9810
|
+
) -> None:
|
|
9811
|
+
"""Type checking stubs"""
|
|
9812
|
+
pass
|
|
9813
|
+
|
|
8846
9814
|
def _typecheckingstub__df207d57c5bf0c99afe86b2563e40142d554f359eddff25bfecdf22c97a3ed72(
|
|
8847
9815
|
*,
|
|
8848
9816
|
entity_id: builtins.str,
|
|
@@ -8977,6 +9945,7 @@ def _typecheckingstub__4a3bbf8db74762f8d49d2ee572e0b31eef8650964dd0e8a168a5fe2d6
|
|
|
8977
9945
|
ebs_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EBSOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8978
9946
|
encryption_at_rest_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EncryptionAtRestOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8979
9947
|
engine_version: typing.Optional[builtins.str] = None,
|
|
9948
|
+
identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.IdentityCenterOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8980
9949
|
ip_address_type: typing.Optional[builtins.str] = None,
|
|
8981
9950
|
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,
|
|
8982
9951
|
node_to_node_encryption_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeToNodeEncryptionOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|