aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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 +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
|
@@ -966,6 +966,16 @@ class CfnSecurityConfig(
|
|
|
966
966
|
|
|
967
967
|
cfn_security_config = opensearchserverless.CfnSecurityConfig(self, "MyCfnSecurityConfig",
|
|
968
968
|
description="description",
|
|
969
|
+
iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
|
|
970
|
+
instance_arn="instanceArn",
|
|
971
|
+
|
|
972
|
+
# the properties below are optional
|
|
973
|
+
application_arn="applicationArn",
|
|
974
|
+
application_description="applicationDescription",
|
|
975
|
+
application_name="applicationName",
|
|
976
|
+
group_attribute="groupAttribute",
|
|
977
|
+
user_attribute="userAttribute"
|
|
978
|
+
),
|
|
969
979
|
name="name",
|
|
970
980
|
saml_options=opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty(
|
|
971
981
|
metadata="metadata",
|
|
@@ -985,6 +995,7 @@ class CfnSecurityConfig(
|
|
|
985
995
|
id: builtins.str,
|
|
986
996
|
*,
|
|
987
997
|
description: typing.Optional[builtins.str] = None,
|
|
998
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
988
999
|
name: typing.Optional[builtins.str] = None,
|
|
989
1000
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
990
1001
|
type: typing.Optional[builtins.str] = None,
|
|
@@ -993,6 +1004,7 @@ class CfnSecurityConfig(
|
|
|
993
1004
|
:param scope: Scope in which this resource is defined.
|
|
994
1005
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
995
1006
|
:param description: The description of the security configuration.
|
|
1007
|
+
:param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
|
|
996
1008
|
:param name: The name of the security configuration.
|
|
997
1009
|
:param saml_options: SAML options for the security configuration in the form of a key-value map.
|
|
998
1010
|
:param type: The type of security configuration. Currently the only option is ``saml`` .
|
|
@@ -1002,7 +1014,11 @@ class CfnSecurityConfig(
|
|
|
1002
1014
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1003
1015
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1004
1016
|
props = CfnSecurityConfigProps(
|
|
1005
|
-
description=description,
|
|
1017
|
+
description=description,
|
|
1018
|
+
iam_identity_center_options=iam_identity_center_options,
|
|
1019
|
+
name=name,
|
|
1020
|
+
saml_options=saml_options,
|
|
1021
|
+
type=type,
|
|
1006
1022
|
)
|
|
1007
1023
|
|
|
1008
1024
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -1037,6 +1053,33 @@ class CfnSecurityConfig(
|
|
|
1037
1053
|
'''The CloudFormation resource type name for this resource class.'''
|
|
1038
1054
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1039
1055
|
|
|
1056
|
+
@builtins.property
|
|
1057
|
+
@jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationArn")
|
|
1058
|
+
def attr_iam_identity_center_options_application_arn(self) -> builtins.str:
|
|
1059
|
+
'''The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1060
|
+
|
|
1061
|
+
:cloudformationAttribute: IamIdentityCenterOptions.ApplicationArn
|
|
1062
|
+
'''
|
|
1063
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationArn"))
|
|
1064
|
+
|
|
1065
|
+
@builtins.property
|
|
1066
|
+
@jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationDescription")
|
|
1067
|
+
def attr_iam_identity_center_options_application_description(self) -> builtins.str:
|
|
1068
|
+
'''The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1069
|
+
|
|
1070
|
+
:cloudformationAttribute: IamIdentityCenterOptions.ApplicationDescription
|
|
1071
|
+
'''
|
|
1072
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationDescription"))
|
|
1073
|
+
|
|
1074
|
+
@builtins.property
|
|
1075
|
+
@jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationName")
|
|
1076
|
+
def attr_iam_identity_center_options_application_name(self) -> builtins.str:
|
|
1077
|
+
'''The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1078
|
+
|
|
1079
|
+
:cloudformationAttribute: IamIdentityCenterOptions.ApplicationName
|
|
1080
|
+
'''
|
|
1081
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationName"))
|
|
1082
|
+
|
|
1040
1083
|
@builtins.property
|
|
1041
1084
|
@jsii.member(jsii_name="attrId")
|
|
1042
1085
|
def attr_id(self) -> builtins.str:
|
|
@@ -1066,6 +1109,24 @@ class CfnSecurityConfig(
|
|
|
1066
1109
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1067
1110
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1068
1111
|
|
|
1112
|
+
@builtins.property
|
|
1113
|
+
@jsii.member(jsii_name="iamIdentityCenterOptions")
|
|
1114
|
+
def iam_identity_center_options(
|
|
1115
|
+
self,
|
|
1116
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]]:
|
|
1117
|
+
'''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.'''
|
|
1118
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]], jsii.get(self, "iamIdentityCenterOptions"))
|
|
1119
|
+
|
|
1120
|
+
@iam_identity_center_options.setter
|
|
1121
|
+
def iam_identity_center_options(
|
|
1122
|
+
self,
|
|
1123
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]],
|
|
1124
|
+
) -> None:
|
|
1125
|
+
if __debug__:
|
|
1126
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a)
|
|
1127
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1128
|
+
jsii.set(self, "iamIdentityCenterOptions", value) # pyright: ignore[reportArgumentType]
|
|
1129
|
+
|
|
1069
1130
|
@builtins.property
|
|
1070
1131
|
@jsii.member(jsii_name="name")
|
|
1071
1132
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -1110,6 +1171,146 @@ class CfnSecurityConfig(
|
|
|
1110
1171
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1111
1172
|
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
1112
1173
|
|
|
1174
|
+
@jsii.data_type(
|
|
1175
|
+
jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty",
|
|
1176
|
+
jsii_struct_bases=[],
|
|
1177
|
+
name_mapping={
|
|
1178
|
+
"instance_arn": "instanceArn",
|
|
1179
|
+
"application_arn": "applicationArn",
|
|
1180
|
+
"application_description": "applicationDescription",
|
|
1181
|
+
"application_name": "applicationName",
|
|
1182
|
+
"group_attribute": "groupAttribute",
|
|
1183
|
+
"user_attribute": "userAttribute",
|
|
1184
|
+
},
|
|
1185
|
+
)
|
|
1186
|
+
class IamIdentityCenterConfigOptionsProperty:
|
|
1187
|
+
def __init__(
|
|
1188
|
+
self,
|
|
1189
|
+
*,
|
|
1190
|
+
instance_arn: builtins.str,
|
|
1191
|
+
application_arn: typing.Optional[builtins.str] = None,
|
|
1192
|
+
application_description: typing.Optional[builtins.str] = None,
|
|
1193
|
+
application_name: typing.Optional[builtins.str] = None,
|
|
1194
|
+
group_attribute: typing.Optional[builtins.str] = None,
|
|
1195
|
+
user_attribute: typing.Optional[builtins.str] = None,
|
|
1196
|
+
) -> None:
|
|
1197
|
+
'''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
|
|
1198
|
+
|
|
1199
|
+
:param instance_arn: The ARN of the IAM Identity Center instance used to integrate with OpenSearch Serverless.
|
|
1200
|
+
:param application_arn: The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1201
|
+
:param application_description: The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1202
|
+
:param application_name: The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1203
|
+
:param group_attribute: Group attribute for this IAM Identity Center integration.
|
|
1204
|
+
:param user_attribute: User attribute for this IAM Identity Center integration.
|
|
1205
|
+
|
|
1206
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html
|
|
1207
|
+
:exampleMetadata: fixture=_generated
|
|
1208
|
+
|
|
1209
|
+
Example::
|
|
1210
|
+
|
|
1211
|
+
# The code below shows an example of how to instantiate this type.
|
|
1212
|
+
# The values are placeholders you should change.
|
|
1213
|
+
from aws_cdk import aws_opensearchserverless as opensearchserverless
|
|
1214
|
+
|
|
1215
|
+
iam_identity_center_config_options_property = opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
|
|
1216
|
+
instance_arn="instanceArn",
|
|
1217
|
+
|
|
1218
|
+
# the properties below are optional
|
|
1219
|
+
application_arn="applicationArn",
|
|
1220
|
+
application_description="applicationDescription",
|
|
1221
|
+
application_name="applicationName",
|
|
1222
|
+
group_attribute="groupAttribute",
|
|
1223
|
+
user_attribute="userAttribute"
|
|
1224
|
+
)
|
|
1225
|
+
'''
|
|
1226
|
+
if __debug__:
|
|
1227
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9)
|
|
1228
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
1229
|
+
check_type(argname="argument application_arn", value=application_arn, expected_type=type_hints["application_arn"])
|
|
1230
|
+
check_type(argname="argument application_description", value=application_description, expected_type=type_hints["application_description"])
|
|
1231
|
+
check_type(argname="argument application_name", value=application_name, expected_type=type_hints["application_name"])
|
|
1232
|
+
check_type(argname="argument group_attribute", value=group_attribute, expected_type=type_hints["group_attribute"])
|
|
1233
|
+
check_type(argname="argument user_attribute", value=user_attribute, expected_type=type_hints["user_attribute"])
|
|
1234
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1235
|
+
"instance_arn": instance_arn,
|
|
1236
|
+
}
|
|
1237
|
+
if application_arn is not None:
|
|
1238
|
+
self._values["application_arn"] = application_arn
|
|
1239
|
+
if application_description is not None:
|
|
1240
|
+
self._values["application_description"] = application_description
|
|
1241
|
+
if application_name is not None:
|
|
1242
|
+
self._values["application_name"] = application_name
|
|
1243
|
+
if group_attribute is not None:
|
|
1244
|
+
self._values["group_attribute"] = group_attribute
|
|
1245
|
+
if user_attribute is not None:
|
|
1246
|
+
self._values["user_attribute"] = user_attribute
|
|
1247
|
+
|
|
1248
|
+
@builtins.property
|
|
1249
|
+
def instance_arn(self) -> builtins.str:
|
|
1250
|
+
'''The ARN of the IAM Identity Center instance used to integrate with OpenSearch Serverless.
|
|
1251
|
+
|
|
1252
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-instancearn
|
|
1253
|
+
'''
|
|
1254
|
+
result = self._values.get("instance_arn")
|
|
1255
|
+
assert result is not None, "Required property 'instance_arn' is missing"
|
|
1256
|
+
return typing.cast(builtins.str, result)
|
|
1257
|
+
|
|
1258
|
+
@builtins.property
|
|
1259
|
+
def application_arn(self) -> typing.Optional[builtins.str]:
|
|
1260
|
+
'''The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1261
|
+
|
|
1262
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationarn
|
|
1263
|
+
'''
|
|
1264
|
+
result = self._values.get("application_arn")
|
|
1265
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1266
|
+
|
|
1267
|
+
@builtins.property
|
|
1268
|
+
def application_description(self) -> typing.Optional[builtins.str]:
|
|
1269
|
+
'''The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1270
|
+
|
|
1271
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationdescription
|
|
1272
|
+
'''
|
|
1273
|
+
result = self._values.get("application_description")
|
|
1274
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1275
|
+
|
|
1276
|
+
@builtins.property
|
|
1277
|
+
def application_name(self) -> typing.Optional[builtins.str]:
|
|
1278
|
+
'''The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
|
|
1279
|
+
|
|
1280
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationname
|
|
1281
|
+
'''
|
|
1282
|
+
result = self._values.get("application_name")
|
|
1283
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1284
|
+
|
|
1285
|
+
@builtins.property
|
|
1286
|
+
def group_attribute(self) -> typing.Optional[builtins.str]:
|
|
1287
|
+
'''Group attribute for this IAM Identity Center integration.
|
|
1288
|
+
|
|
1289
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-groupattribute
|
|
1290
|
+
'''
|
|
1291
|
+
result = self._values.get("group_attribute")
|
|
1292
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1293
|
+
|
|
1294
|
+
@builtins.property
|
|
1295
|
+
def user_attribute(self) -> typing.Optional[builtins.str]:
|
|
1296
|
+
'''User attribute for this IAM Identity Center integration.
|
|
1297
|
+
|
|
1298
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-userattribute
|
|
1299
|
+
'''
|
|
1300
|
+
result = self._values.get("user_attribute")
|
|
1301
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1302
|
+
|
|
1303
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1304
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1305
|
+
|
|
1306
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1307
|
+
return not (rhs == self)
|
|
1308
|
+
|
|
1309
|
+
def __repr__(self) -> str:
|
|
1310
|
+
return "IamIdentityCenterConfigOptionsProperty(%s)" % ", ".join(
|
|
1311
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1312
|
+
)
|
|
1313
|
+
|
|
1113
1314
|
@jsii.data_type(
|
|
1114
1315
|
jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty",
|
|
1115
1316
|
jsii_struct_bases=[],
|
|
@@ -1226,6 +1427,7 @@ class CfnSecurityConfig(
|
|
|
1226
1427
|
jsii_struct_bases=[],
|
|
1227
1428
|
name_mapping={
|
|
1228
1429
|
"description": "description",
|
|
1430
|
+
"iam_identity_center_options": "iamIdentityCenterOptions",
|
|
1229
1431
|
"name": "name",
|
|
1230
1432
|
"saml_options": "samlOptions",
|
|
1231
1433
|
"type": "type",
|
|
@@ -1236,6 +1438,7 @@ class CfnSecurityConfigProps:
|
|
|
1236
1438
|
self,
|
|
1237
1439
|
*,
|
|
1238
1440
|
description: typing.Optional[builtins.str] = None,
|
|
1441
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1239
1442
|
name: typing.Optional[builtins.str] = None,
|
|
1240
1443
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1241
1444
|
type: typing.Optional[builtins.str] = None,
|
|
@@ -1243,6 +1446,7 @@ class CfnSecurityConfigProps:
|
|
|
1243
1446
|
'''Properties for defining a ``CfnSecurityConfig``.
|
|
1244
1447
|
|
|
1245
1448
|
:param description: The description of the security configuration.
|
|
1449
|
+
:param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
|
|
1246
1450
|
:param name: The name of the security configuration.
|
|
1247
1451
|
:param saml_options: SAML options for the security configuration in the form of a key-value map.
|
|
1248
1452
|
:param type: The type of security configuration. Currently the only option is ``saml`` .
|
|
@@ -1258,6 +1462,16 @@ class CfnSecurityConfigProps:
|
|
|
1258
1462
|
|
|
1259
1463
|
cfn_security_config_props = opensearchserverless.CfnSecurityConfigProps(
|
|
1260
1464
|
description="description",
|
|
1465
|
+
iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
|
|
1466
|
+
instance_arn="instanceArn",
|
|
1467
|
+
|
|
1468
|
+
# the properties below are optional
|
|
1469
|
+
application_arn="applicationArn",
|
|
1470
|
+
application_description="applicationDescription",
|
|
1471
|
+
application_name="applicationName",
|
|
1472
|
+
group_attribute="groupAttribute",
|
|
1473
|
+
user_attribute="userAttribute"
|
|
1474
|
+
),
|
|
1261
1475
|
name="name",
|
|
1262
1476
|
saml_options=opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty(
|
|
1263
1477
|
metadata="metadata",
|
|
@@ -1273,12 +1487,15 @@ class CfnSecurityConfigProps:
|
|
|
1273
1487
|
if __debug__:
|
|
1274
1488
|
type_hints = typing.get_type_hints(_typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4)
|
|
1275
1489
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1490
|
+
check_type(argname="argument iam_identity_center_options", value=iam_identity_center_options, expected_type=type_hints["iam_identity_center_options"])
|
|
1276
1491
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1277
1492
|
check_type(argname="argument saml_options", value=saml_options, expected_type=type_hints["saml_options"])
|
|
1278
1493
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1279
1494
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1280
1495
|
if description is not None:
|
|
1281
1496
|
self._values["description"] = description
|
|
1497
|
+
if iam_identity_center_options is not None:
|
|
1498
|
+
self._values["iam_identity_center_options"] = iam_identity_center_options
|
|
1282
1499
|
if name is not None:
|
|
1283
1500
|
self._values["name"] = name
|
|
1284
1501
|
if saml_options is not None:
|
|
@@ -1295,6 +1512,17 @@ class CfnSecurityConfigProps:
|
|
|
1295
1512
|
result = self._values.get("description")
|
|
1296
1513
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1297
1514
|
|
|
1515
|
+
@builtins.property
|
|
1516
|
+
def iam_identity_center_options(
|
|
1517
|
+
self,
|
|
1518
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]]:
|
|
1519
|
+
'''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
|
|
1520
|
+
|
|
1521
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securityconfig.html#cfn-opensearchserverless-securityconfig-iamidentitycenteroptions
|
|
1522
|
+
'''
|
|
1523
|
+
result = self._values.get("iam_identity_center_options")
|
|
1524
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]], result)
|
|
1525
|
+
|
|
1298
1526
|
@builtins.property
|
|
1299
1527
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1300
1528
|
'''The name of the security configuration.
|
|
@@ -2073,6 +2301,7 @@ def _typecheckingstub__ed9d460597a09f666d8e08c01fd366ec5026a44848df01fe64ec8aa93
|
|
|
2073
2301
|
id: builtins.str,
|
|
2074
2302
|
*,
|
|
2075
2303
|
description: typing.Optional[builtins.str] = None,
|
|
2304
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2076
2305
|
name: typing.Optional[builtins.str] = None,
|
|
2077
2306
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2078
2307
|
type: typing.Optional[builtins.str] = None,
|
|
@@ -2098,6 +2327,12 @@ def _typecheckingstub__a7b44e920b0f0e4d138dcb200c4536168d3965f24eed3226a4574e927
|
|
|
2098
2327
|
"""Type checking stubs"""
|
|
2099
2328
|
pass
|
|
2100
2329
|
|
|
2330
|
+
def _typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a(
|
|
2331
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]],
|
|
2332
|
+
) -> None:
|
|
2333
|
+
"""Type checking stubs"""
|
|
2334
|
+
pass
|
|
2335
|
+
|
|
2101
2336
|
def _typecheckingstub__940c51c2c1e431ab9c4c070593d5d7662323951afe83dc31ea2eafebbe59ac3f(
|
|
2102
2337
|
value: typing.Optional[builtins.str],
|
|
2103
2338
|
) -> None:
|
|
@@ -2116,6 +2351,18 @@ def _typecheckingstub__80701c5b69899d2a5416bba637f7adf26445dcef6c813c58399037cc3
|
|
|
2116
2351
|
"""Type checking stubs"""
|
|
2117
2352
|
pass
|
|
2118
2353
|
|
|
2354
|
+
def _typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9(
|
|
2355
|
+
*,
|
|
2356
|
+
instance_arn: builtins.str,
|
|
2357
|
+
application_arn: typing.Optional[builtins.str] = None,
|
|
2358
|
+
application_description: typing.Optional[builtins.str] = None,
|
|
2359
|
+
application_name: typing.Optional[builtins.str] = None,
|
|
2360
|
+
group_attribute: typing.Optional[builtins.str] = None,
|
|
2361
|
+
user_attribute: typing.Optional[builtins.str] = None,
|
|
2362
|
+
) -> None:
|
|
2363
|
+
"""Type checking stubs"""
|
|
2364
|
+
pass
|
|
2365
|
+
|
|
2119
2366
|
def _typecheckingstub__0390198d9b44e1b80737604ac5328dbfc7481d5b1ba8f915caa2e8c2a8028a9c(
|
|
2120
2367
|
*,
|
|
2121
2368
|
metadata: builtins.str,
|
|
@@ -2129,6 +2376,7 @@ def _typecheckingstub__0390198d9b44e1b80737604ac5328dbfc7481d5b1ba8f915caa2e8c2a
|
|
|
2129
2376
|
def _typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4(
|
|
2130
2377
|
*,
|
|
2131
2378
|
description: typing.Optional[builtins.str] = None,
|
|
2379
|
+
iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2132
2380
|
name: typing.Optional[builtins.str] = None,
|
|
2133
2381
|
saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2134
2382
|
type: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_pipes/__init__.py
CHANGED
|
@@ -1468,27 +1468,16 @@ class CfnPipe(
|
|
|
1468
1468
|
:param log_group_arn: The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
|
|
1469
1469
|
|
|
1470
1470
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-cloudwatchlogslogdestination.html
|
|
1471
|
-
:exampleMetadata:
|
|
1471
|
+
:exampleMetadata: fixture=_generated
|
|
1472
1472
|
|
|
1473
1473
|
Example::
|
|
1474
1474
|
|
|
1475
|
-
#
|
|
1476
|
-
#
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
source_filter = pipes.Filter([
|
|
1480
|
-
pipes.FilterPattern.from_object({
|
|
1481
|
-
"body": {
|
|
1482
|
-
# only forward events with customerType B2B or B2C
|
|
1483
|
-
"customer_type": ["B2B", "B2C"]
|
|
1484
|
-
}
|
|
1485
|
-
})
|
|
1486
|
-
])
|
|
1475
|
+
# The code below shows an example of how to instantiate this type.
|
|
1476
|
+
# The values are placeholders you should change.
|
|
1477
|
+
from aws_cdk import aws_pipes as pipes
|
|
1487
1478
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
target=SqsTarget(target_queue),
|
|
1491
|
-
filter=source_filter
|
|
1479
|
+
cloudwatch_logs_log_destination_property = pipes.CfnPipe.CloudwatchLogsLogDestinationProperty(
|
|
1480
|
+
log_group_arn="logGroupArn"
|
|
1492
1481
|
)
|
|
1493
1482
|
'''
|
|
1494
1483
|
if __debug__:
|
|
@@ -3079,19 +3068,15 @@ class CfnPipe(
|
|
|
3079
3068
|
|
|
3080
3069
|
# source_queue: sqs.Queue
|
|
3081
3070
|
# target_queue: sqs.Queue
|
|
3082
|
-
# loggroup: logs.LogGroup
|
|
3083
3071
|
|
|
3084
3072
|
|
|
3073
|
+
target_input_transformation = pipes.InputTransformation.from_event_path("$.body.payload")
|
|
3074
|
+
|
|
3085
3075
|
pipe = pipes.Pipe(self, "Pipe",
|
|
3086
3076
|
source=SqsSource(source_queue),
|
|
3087
|
-
target=SqsTarget(target_queue
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
log_include_execution_data=[pipes.IncludeExecutionData.ALL],
|
|
3091
|
-
|
|
3092
|
-
log_destinations=[
|
|
3093
|
-
CloudwatchDestination(loggroup)
|
|
3094
|
-
]
|
|
3077
|
+
target=SqsTarget(target_queue,
|
|
3078
|
+
input_transformation=target_input_transformation
|
|
3079
|
+
)
|
|
3095
3080
|
)
|
|
3096
3081
|
'''
|
|
3097
3082
|
if __debug__:
|
|
@@ -5657,13 +5642,12 @@ class CfnPipe(
|
|
|
5657
5642
|
|
|
5658
5643
|
Example::
|
|
5659
5644
|
|
|
5660
|
-
#
|
|
5645
|
+
# source_stream: kinesis.Stream
|
|
5661
5646
|
# target_queue: sqs.Queue
|
|
5662
5647
|
|
|
5663
5648
|
|
|
5664
|
-
pipe_source = sources.
|
|
5665
|
-
|
|
5666
|
-
maximum_batching_window=cdk.Duration.seconds(10)
|
|
5649
|
+
pipe_source = sources.KinesisSource(source_stream,
|
|
5650
|
+
starting_position=sources.KinesisStartingPosition.LATEST
|
|
5667
5651
|
)
|
|
5668
5652
|
|
|
5669
5653
|
pipe = pipes.Pipe(self, "Pipe",
|
|
@@ -91,7 +91,9 @@ class CfnApplication(
|
|
|
91
91
|
|
|
92
92
|
There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see `Amazon Q Business tiers <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers>`_ . You must use the Amazon Q Business console to assign subscription tiers to users.
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
An Amazon Q Apps service linked role will be created if it's absent in the AWS account when ``QAppsConfiguration`` is enabled in the request. For more information, see `Using service-linked roles for Q Apps <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles-qapps.html>`_ .
|
|
95
|
+
|
|
96
|
+
When you create an application, Amazon Q Business may securely transmit data for processing from your selected AWS region, but within your geography. For more information, see `Cross region inference in Amazon Q Business <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cross-region-inference.html>`_ .
|
|
95
97
|
|
|
96
98
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html
|
|
97
99
|
:cloudformationResource: AWS::QBusiness::Application
|