aws-cdk-lib 2.203.1__py3-none-any.whl → 2.205.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 +208 -92
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +89 -39
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +412 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
- aws_cdk/aws_arczonalshift/__init__.py +4 -1
- aws_cdk/aws_b2bi/__init__.py +32 -16
- aws_cdk/aws_bedrock/__init__.py +198 -10
- aws_cdk/aws_cassandra/__init__.py +156 -0
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cloudformation/__init__.py +74 -72
- aws_cdk/aws_cloudfront/__init__.py +1273 -485
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
- aws_cdk/aws_cloudwatch/__init__.py +278 -23
- aws_cdk/aws_codebuild/__init__.py +300 -36
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +78 -0
- aws_cdk/aws_dynamodb/__init__.py +523 -37
- aws_cdk/aws_ec2/__init__.py +126 -30
- aws_cdk/aws_ecs/__init__.py +64 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +58 -3
- aws_cdk/aws_events_targets/__init__.py +7 -2
- aws_cdk/aws_evs/__init__.py +7 -7
- aws_cdk/aws_fsx/__init__.py +138 -78
- aws_cdk/aws_gamelift/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +391 -13
- aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_lex/__init__.py +36 -19
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_neptune/__init__.py +12 -12
- aws_cdk/aws_odb/__init__.py +4049 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_qbusiness/__init__.py +471 -4
- aws_cdk/aws_quicksight/__init__.py +185 -16
- aws_cdk/aws_rds/__init__.py +553 -17
- aws_cdk/aws_redshiftserverless/__init__.py +72 -45
- aws_cdk/aws_route53/__init__.py +41 -19
- aws_cdk/aws_s3tables/__init__.py +1005 -0
- aws_cdk/aws_sagemaker/__init__.py +20 -0
- aws_cdk/aws_scheduler/__init__.py +210 -0
- aws_cdk/aws_sns/__init__.py +164 -0
- aws_cdk/aws_sqs/__init__.py +164 -0
- aws_cdk/aws_stepfunctions/__init__.py +288 -0
- aws_cdk/aws_synthetics/__init__.py +159 -37
- aws_cdk/aws_transfer/__init__.py +23 -1
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
|
@@ -1280,6 +1280,17 @@ class CfnDataAccessor(
|
|
|
1280
1280
|
principal="principal",
|
|
1281
1281
|
|
|
1282
1282
|
# the properties below are optional
|
|
1283
|
+
authentication_detail=qbusiness.CfnDataAccessor.DataAccessorAuthenticationDetailProperty(
|
|
1284
|
+
authentication_type="authenticationType",
|
|
1285
|
+
|
|
1286
|
+
# the properties below are optional
|
|
1287
|
+
authentication_configuration=qbusiness.CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty(
|
|
1288
|
+
idc_trusted_token_issuer_configuration=qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty(
|
|
1289
|
+
idc_trusted_token_issuer_arn="idcTrustedTokenIssuerArn"
|
|
1290
|
+
)
|
|
1291
|
+
),
|
|
1292
|
+
external_ids=["externalIds"]
|
|
1293
|
+
),
|
|
1283
1294
|
tags=[CfnTag(
|
|
1284
1295
|
key="key",
|
|
1285
1296
|
value="value"
|
|
@@ -1296,6 +1307,7 @@ class CfnDataAccessor(
|
|
|
1296
1307
|
application_id: builtins.str,
|
|
1297
1308
|
display_name: builtins.str,
|
|
1298
1309
|
principal: builtins.str,
|
|
1310
|
+
authentication_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAccessor.DataAccessorAuthenticationDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1299
1311
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1300
1312
|
) -> None:
|
|
1301
1313
|
'''
|
|
@@ -1305,6 +1317,7 @@ class CfnDataAccessor(
|
|
|
1305
1317
|
:param application_id: The unique identifier of the Amazon Q Business application.
|
|
1306
1318
|
:param display_name: The friendly name of the data accessor.
|
|
1307
1319
|
:param principal: The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.
|
|
1320
|
+
:param authentication_detail: The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.
|
|
1308
1321
|
:param tags: The tags to associate with the data accessor.
|
|
1309
1322
|
'''
|
|
1310
1323
|
if __debug__:
|
|
@@ -1316,6 +1329,7 @@ class CfnDataAccessor(
|
|
|
1316
1329
|
application_id=application_id,
|
|
1317
1330
|
display_name=display_name,
|
|
1318
1331
|
principal=principal,
|
|
1332
|
+
authentication_detail=authentication_detail,
|
|
1319
1333
|
tags=tags,
|
|
1320
1334
|
)
|
|
1321
1335
|
|
|
@@ -1464,6 +1478,24 @@ class CfnDataAccessor(
|
|
|
1464
1478
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1465
1479
|
jsii.set(self, "principal", value) # pyright: ignore[reportArgumentType]
|
|
1466
1480
|
|
|
1481
|
+
@builtins.property
|
|
1482
|
+
@jsii.member(jsii_name="authenticationDetail")
|
|
1483
|
+
def authentication_detail(
|
|
1484
|
+
self,
|
|
1485
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorAuthenticationDetailProperty"]]:
|
|
1486
|
+
'''The authentication configuration details for the data accessor.'''
|
|
1487
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorAuthenticationDetailProperty"]], jsii.get(self, "authenticationDetail"))
|
|
1488
|
+
|
|
1489
|
+
@authentication_detail.setter
|
|
1490
|
+
def authentication_detail(
|
|
1491
|
+
self,
|
|
1492
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorAuthenticationDetailProperty"]],
|
|
1493
|
+
) -> None:
|
|
1494
|
+
if __debug__:
|
|
1495
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8aa34af043257e0411af6e09ebeda77531edcaba51ad9fd392b4515b8c730792)
|
|
1496
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1497
|
+
jsii.set(self, "authenticationDetail", value) # pyright: ignore[reportArgumentType]
|
|
1498
|
+
|
|
1467
1499
|
@builtins.property
|
|
1468
1500
|
@jsii.member(jsii_name="tags")
|
|
1469
1501
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -2044,6 +2076,227 @@ class CfnDataAccessor(
|
|
|
2044
2076
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2045
2077
|
)
|
|
2046
2078
|
|
|
2079
|
+
@jsii.data_type(
|
|
2080
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty",
|
|
2081
|
+
jsii_struct_bases=[],
|
|
2082
|
+
name_mapping={
|
|
2083
|
+
"idc_trusted_token_issuer_configuration": "idcTrustedTokenIssuerConfiguration",
|
|
2084
|
+
},
|
|
2085
|
+
)
|
|
2086
|
+
class DataAccessorAuthenticationConfigurationProperty:
|
|
2087
|
+
def __init__(
|
|
2088
|
+
self,
|
|
2089
|
+
*,
|
|
2090
|
+
idc_trusted_token_issuer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2091
|
+
) -> None:
|
|
2092
|
+
'''A union type that contains the specific authentication configuration based on the authentication type selected.
|
|
2093
|
+
|
|
2094
|
+
:param idc_trusted_token_issuer_configuration: Configuration for IAM Identity Center Trusted Token Issuer (TTI) authentication used when the authentication type is ``AWS_IAM_IDC_TTI`` .
|
|
2095
|
+
|
|
2096
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationconfiguration.html
|
|
2097
|
+
:exampleMetadata: fixture=_generated
|
|
2098
|
+
|
|
2099
|
+
Example::
|
|
2100
|
+
|
|
2101
|
+
# The code below shows an example of how to instantiate this type.
|
|
2102
|
+
# The values are placeholders you should change.
|
|
2103
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
2104
|
+
|
|
2105
|
+
data_accessor_authentication_configuration_property = qbusiness.CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty(
|
|
2106
|
+
idc_trusted_token_issuer_configuration=qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty(
|
|
2107
|
+
idc_trusted_token_issuer_arn="idcTrustedTokenIssuerArn"
|
|
2108
|
+
)
|
|
2109
|
+
)
|
|
2110
|
+
'''
|
|
2111
|
+
if __debug__:
|
|
2112
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5026e300a407a951a2bf85ba48cf1646fb1b1672f84f2ea26974311fd2b650de)
|
|
2113
|
+
check_type(argname="argument idc_trusted_token_issuer_configuration", value=idc_trusted_token_issuer_configuration, expected_type=type_hints["idc_trusted_token_issuer_configuration"])
|
|
2114
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2115
|
+
"idc_trusted_token_issuer_configuration": idc_trusted_token_issuer_configuration,
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
@builtins.property
|
|
2119
|
+
def idc_trusted_token_issuer_configuration(
|
|
2120
|
+
self,
|
|
2121
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty"]:
|
|
2122
|
+
'''Configuration for IAM Identity Center Trusted Token Issuer (TTI) authentication used when the authentication type is ``AWS_IAM_IDC_TTI`` .
|
|
2123
|
+
|
|
2124
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationconfiguration.html#cfn-qbusiness-dataaccessor-dataaccessorauthenticationconfiguration-idctrustedtokenissuerconfiguration
|
|
2125
|
+
'''
|
|
2126
|
+
result = self._values.get("idc_trusted_token_issuer_configuration")
|
|
2127
|
+
assert result is not None, "Required property 'idc_trusted_token_issuer_configuration' is missing"
|
|
2128
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty"], result)
|
|
2129
|
+
|
|
2130
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2131
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2132
|
+
|
|
2133
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2134
|
+
return not (rhs == self)
|
|
2135
|
+
|
|
2136
|
+
def __repr__(self) -> str:
|
|
2137
|
+
return "DataAccessorAuthenticationConfigurationProperty(%s)" % ", ".join(
|
|
2138
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2139
|
+
)
|
|
2140
|
+
|
|
2141
|
+
@jsii.data_type(
|
|
2142
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnDataAccessor.DataAccessorAuthenticationDetailProperty",
|
|
2143
|
+
jsii_struct_bases=[],
|
|
2144
|
+
name_mapping={
|
|
2145
|
+
"authentication_type": "authenticationType",
|
|
2146
|
+
"authentication_configuration": "authenticationConfiguration",
|
|
2147
|
+
"external_ids": "externalIds",
|
|
2148
|
+
},
|
|
2149
|
+
)
|
|
2150
|
+
class DataAccessorAuthenticationDetailProperty:
|
|
2151
|
+
def __init__(
|
|
2152
|
+
self,
|
|
2153
|
+
*,
|
|
2154
|
+
authentication_type: builtins.str,
|
|
2155
|
+
authentication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2156
|
+
external_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2157
|
+
) -> None:
|
|
2158
|
+
'''Contains the authentication configuration details for a data accessor.
|
|
2159
|
+
|
|
2160
|
+
This structure defines how the ISV authenticates when accessing data through the data accessor.
|
|
2161
|
+
|
|
2162
|
+
:param authentication_type: The type of authentication to use for the data accessor. This determines how the ISV authenticates when accessing data. You can use one of two authentication types: - ``AWS_IAM_IDC_TTI`` - Authentication using IAM Identity Center Trusted Token Issuer (TTI). This authentication type allows the ISV to use a trusted token issuer to generate tokens for accessing the data. - ``AWS_IAM_IDC_AUTH_CODE`` - Authentication using IAM Identity Center authorization code flow. This authentication type uses the standard OAuth 2.0 authorization code flow for authentication.
|
|
2163
|
+
:param authentication_configuration: The specific authentication configuration based on the authentication type.
|
|
2164
|
+
:param external_ids: A list of external identifiers associated with this authentication configuration. These are used to correlate the data accessor with external systems.
|
|
2165
|
+
|
|
2166
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationdetail.html
|
|
2167
|
+
:exampleMetadata: fixture=_generated
|
|
2168
|
+
|
|
2169
|
+
Example::
|
|
2170
|
+
|
|
2171
|
+
# The code below shows an example of how to instantiate this type.
|
|
2172
|
+
# The values are placeholders you should change.
|
|
2173
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
2174
|
+
|
|
2175
|
+
data_accessor_authentication_detail_property = qbusiness.CfnDataAccessor.DataAccessorAuthenticationDetailProperty(
|
|
2176
|
+
authentication_type="authenticationType",
|
|
2177
|
+
|
|
2178
|
+
# the properties below are optional
|
|
2179
|
+
authentication_configuration=qbusiness.CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty(
|
|
2180
|
+
idc_trusted_token_issuer_configuration=qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty(
|
|
2181
|
+
idc_trusted_token_issuer_arn="idcTrustedTokenIssuerArn"
|
|
2182
|
+
)
|
|
2183
|
+
),
|
|
2184
|
+
external_ids=["externalIds"]
|
|
2185
|
+
)
|
|
2186
|
+
'''
|
|
2187
|
+
if __debug__:
|
|
2188
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce3d0eb33f705ecbcd9b23e1fae7014cc8010d410a8398ce3feea55694ebed37)
|
|
2189
|
+
check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
|
|
2190
|
+
check_type(argname="argument authentication_configuration", value=authentication_configuration, expected_type=type_hints["authentication_configuration"])
|
|
2191
|
+
check_type(argname="argument external_ids", value=external_ids, expected_type=type_hints["external_ids"])
|
|
2192
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2193
|
+
"authentication_type": authentication_type,
|
|
2194
|
+
}
|
|
2195
|
+
if authentication_configuration is not None:
|
|
2196
|
+
self._values["authentication_configuration"] = authentication_configuration
|
|
2197
|
+
if external_ids is not None:
|
|
2198
|
+
self._values["external_ids"] = external_ids
|
|
2199
|
+
|
|
2200
|
+
@builtins.property
|
|
2201
|
+
def authentication_type(self) -> builtins.str:
|
|
2202
|
+
'''The type of authentication to use for the data accessor.
|
|
2203
|
+
|
|
2204
|
+
This determines how the ISV authenticates when accessing data. You can use one of two authentication types:
|
|
2205
|
+
|
|
2206
|
+
- ``AWS_IAM_IDC_TTI`` - Authentication using IAM Identity Center Trusted Token Issuer (TTI). This authentication type allows the ISV to use a trusted token issuer to generate tokens for accessing the data.
|
|
2207
|
+
- ``AWS_IAM_IDC_AUTH_CODE`` - Authentication using IAM Identity Center authorization code flow. This authentication type uses the standard OAuth 2.0 authorization code flow for authentication.
|
|
2208
|
+
|
|
2209
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationdetail.html#cfn-qbusiness-dataaccessor-dataaccessorauthenticationdetail-authenticationtype
|
|
2210
|
+
'''
|
|
2211
|
+
result = self._values.get("authentication_type")
|
|
2212
|
+
assert result is not None, "Required property 'authentication_type' is missing"
|
|
2213
|
+
return typing.cast(builtins.str, result)
|
|
2214
|
+
|
|
2215
|
+
@builtins.property
|
|
2216
|
+
def authentication_configuration(
|
|
2217
|
+
self,
|
|
2218
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty"]]:
|
|
2219
|
+
'''The specific authentication configuration based on the authentication type.
|
|
2220
|
+
|
|
2221
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationdetail.html#cfn-qbusiness-dataaccessor-dataaccessorauthenticationdetail-authenticationconfiguration
|
|
2222
|
+
'''
|
|
2223
|
+
result = self._values.get("authentication_configuration")
|
|
2224
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty"]], result)
|
|
2225
|
+
|
|
2226
|
+
@builtins.property
|
|
2227
|
+
def external_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2228
|
+
'''A list of external identifiers associated with this authentication configuration.
|
|
2229
|
+
|
|
2230
|
+
These are used to correlate the data accessor with external systems.
|
|
2231
|
+
|
|
2232
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationdetail.html#cfn-qbusiness-dataaccessor-dataaccessorauthenticationdetail-externalids
|
|
2233
|
+
'''
|
|
2234
|
+
result = self._values.get("external_ids")
|
|
2235
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2236
|
+
|
|
2237
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2238
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2239
|
+
|
|
2240
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2241
|
+
return not (rhs == self)
|
|
2242
|
+
|
|
2243
|
+
def __repr__(self) -> str:
|
|
2244
|
+
return "DataAccessorAuthenticationDetailProperty(%s)" % ", ".join(
|
|
2245
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2246
|
+
)
|
|
2247
|
+
|
|
2248
|
+
@jsii.data_type(
|
|
2249
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty",
|
|
2250
|
+
jsii_struct_bases=[],
|
|
2251
|
+
name_mapping={"idc_trusted_token_issuer_arn": "idcTrustedTokenIssuerArn"},
|
|
2252
|
+
)
|
|
2253
|
+
class DataAccessorIdcTrustedTokenIssuerConfigurationProperty:
|
|
2254
|
+
def __init__(self, *, idc_trusted_token_issuer_arn: builtins.str) -> None:
|
|
2255
|
+
'''Configuration details for IAM Identity Center Trusted Token Issuer (TTI) authentication.
|
|
2256
|
+
|
|
2257
|
+
:param idc_trusted_token_issuer_arn: The Amazon Resource Name (ARN) of the IAM Identity Center Trusted Token Issuer that will be used for authentication.
|
|
2258
|
+
|
|
2259
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessoridctrustedtokenissuerconfiguration.html
|
|
2260
|
+
:exampleMetadata: fixture=_generated
|
|
2261
|
+
|
|
2262
|
+
Example::
|
|
2263
|
+
|
|
2264
|
+
# The code below shows an example of how to instantiate this type.
|
|
2265
|
+
# The values are placeholders you should change.
|
|
2266
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
2267
|
+
|
|
2268
|
+
data_accessor_idc_trusted_token_issuer_configuration_property = qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty(
|
|
2269
|
+
idc_trusted_token_issuer_arn="idcTrustedTokenIssuerArn"
|
|
2270
|
+
)
|
|
2271
|
+
'''
|
|
2272
|
+
if __debug__:
|
|
2273
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa8bef9d39508faf93f48a0365a4605be496aa8cf95d29ab54e4ceabbabaef4d)
|
|
2274
|
+
check_type(argname="argument idc_trusted_token_issuer_arn", value=idc_trusted_token_issuer_arn, expected_type=type_hints["idc_trusted_token_issuer_arn"])
|
|
2275
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2276
|
+
"idc_trusted_token_issuer_arn": idc_trusted_token_issuer_arn,
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
@builtins.property
|
|
2280
|
+
def idc_trusted_token_issuer_arn(self) -> builtins.str:
|
|
2281
|
+
'''The Amazon Resource Name (ARN) of the IAM Identity Center Trusted Token Issuer that will be used for authentication.
|
|
2282
|
+
|
|
2283
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessoridctrustedtokenissuerconfiguration.html#cfn-qbusiness-dataaccessor-dataaccessoridctrustedtokenissuerconfiguration-idctrustedtokenissuerarn
|
|
2284
|
+
'''
|
|
2285
|
+
result = self._values.get("idc_trusted_token_issuer_arn")
|
|
2286
|
+
assert result is not None, "Required property 'idc_trusted_token_issuer_arn' is missing"
|
|
2287
|
+
return typing.cast(builtins.str, result)
|
|
2288
|
+
|
|
2289
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2290
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2291
|
+
|
|
2292
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2293
|
+
return not (rhs == self)
|
|
2294
|
+
|
|
2295
|
+
def __repr__(self) -> str:
|
|
2296
|
+
return "DataAccessorIdcTrustedTokenIssuerConfigurationProperty(%s)" % ", ".join(
|
|
2297
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2298
|
+
)
|
|
2299
|
+
|
|
2047
2300
|
@jsii.data_type(
|
|
2048
2301
|
jsii_type="aws-cdk-lib.aws_qbusiness.CfnDataAccessor.DocumentAttributeProperty",
|
|
2049
2302
|
jsii_struct_bases=[],
|
|
@@ -2240,6 +2493,7 @@ class CfnDataAccessor(
|
|
|
2240
2493
|
"application_id": "applicationId",
|
|
2241
2494
|
"display_name": "displayName",
|
|
2242
2495
|
"principal": "principal",
|
|
2496
|
+
"authentication_detail": "authenticationDetail",
|
|
2243
2497
|
"tags": "tags",
|
|
2244
2498
|
},
|
|
2245
2499
|
)
|
|
@@ -2251,6 +2505,7 @@ class CfnDataAccessorProps:
|
|
|
2251
2505
|
application_id: builtins.str,
|
|
2252
2506
|
display_name: builtins.str,
|
|
2253
2507
|
principal: builtins.str,
|
|
2508
|
+
authentication_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAccessor.DataAccessorAuthenticationDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2254
2509
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2255
2510
|
) -> None:
|
|
2256
2511
|
'''Properties for defining a ``CfnDataAccessor``.
|
|
@@ -2259,6 +2514,7 @@ class CfnDataAccessorProps:
|
|
|
2259
2514
|
:param application_id: The unique identifier of the Amazon Q Business application.
|
|
2260
2515
|
:param display_name: The friendly name of the data accessor.
|
|
2261
2516
|
:param principal: The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.
|
|
2517
|
+
:param authentication_detail: The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.
|
|
2262
2518
|
:param tags: The tags to associate with the data accessor.
|
|
2263
2519
|
|
|
2264
2520
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html
|
|
@@ -2353,6 +2609,17 @@ class CfnDataAccessorProps:
|
|
|
2353
2609
|
principal="principal",
|
|
2354
2610
|
|
|
2355
2611
|
# the properties below are optional
|
|
2612
|
+
authentication_detail=qbusiness.CfnDataAccessor.DataAccessorAuthenticationDetailProperty(
|
|
2613
|
+
authentication_type="authenticationType",
|
|
2614
|
+
|
|
2615
|
+
# the properties below are optional
|
|
2616
|
+
authentication_configuration=qbusiness.CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty(
|
|
2617
|
+
idc_trusted_token_issuer_configuration=qbusiness.CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty(
|
|
2618
|
+
idc_trusted_token_issuer_arn="idcTrustedTokenIssuerArn"
|
|
2619
|
+
)
|
|
2620
|
+
),
|
|
2621
|
+
external_ids=["externalIds"]
|
|
2622
|
+
),
|
|
2356
2623
|
tags=[CfnTag(
|
|
2357
2624
|
key="key",
|
|
2358
2625
|
value="value"
|
|
@@ -2365,6 +2632,7 @@ class CfnDataAccessorProps:
|
|
|
2365
2632
|
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
2366
2633
|
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
2367
2634
|
check_type(argname="argument principal", value=principal, expected_type=type_hints["principal"])
|
|
2635
|
+
check_type(argname="argument authentication_detail", value=authentication_detail, expected_type=type_hints["authentication_detail"])
|
|
2368
2636
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2369
2637
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2370
2638
|
"action_configurations": action_configurations,
|
|
@@ -2372,6 +2640,8 @@ class CfnDataAccessorProps:
|
|
|
2372
2640
|
"display_name": display_name,
|
|
2373
2641
|
"principal": principal,
|
|
2374
2642
|
}
|
|
2643
|
+
if authentication_detail is not None:
|
|
2644
|
+
self._values["authentication_detail"] = authentication_detail
|
|
2375
2645
|
if tags is not None:
|
|
2376
2646
|
self._values["tags"] = tags
|
|
2377
2647
|
|
|
@@ -2417,6 +2687,19 @@ class CfnDataAccessorProps:
|
|
|
2417
2687
|
assert result is not None, "Required property 'principal' is missing"
|
|
2418
2688
|
return typing.cast(builtins.str, result)
|
|
2419
2689
|
|
|
2690
|
+
@builtins.property
|
|
2691
|
+
def authentication_detail(
|
|
2692
|
+
self,
|
|
2693
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataAccessor.DataAccessorAuthenticationDetailProperty]]:
|
|
2694
|
+
'''The authentication configuration details for the data accessor.
|
|
2695
|
+
|
|
2696
|
+
This specifies how the ISV authenticates when accessing data through this data accessor.
|
|
2697
|
+
|
|
2698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html#cfn-qbusiness-dataaccessor-authenticationdetail
|
|
2699
|
+
'''
|
|
2700
|
+
result = self._values.get("authentication_detail")
|
|
2701
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataAccessor.DataAccessorAuthenticationDetailProperty]], result)
|
|
2702
|
+
|
|
2420
2703
|
@builtins.property
|
|
2421
2704
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2422
2705
|
'''The tags to associate with the data accessor.
|
|
@@ -3510,7 +3793,7 @@ class CfnDataSource(
|
|
|
3510
3793
|
For more information, see `Custom document enrichment <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html>`_ .
|
|
3511
3794
|
|
|
3512
3795
|
:param invocation_condition: The condition used for when a Lambda function should be invoked. For example, you can specify a condition that if there are empty date-time values, then Amazon Q Business should invoke a function that inserts the current date-time.
|
|
3513
|
-
:param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function
|
|
3796
|
+
:param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function during ingestion. For more information, see `Using Lambda functions for Amazon Q Business document enrichment <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html>`_ .
|
|
3514
3797
|
:param role_arn: The Amazon Resource Name (ARN) of a role with permission to run ``PreExtractionHookConfiguration`` and ``PostExtractionHookConfiguration`` for altering document metadata and content during the document ingestion process.
|
|
3515
3798
|
:param s3_bucket_name: Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see `Data contracts for Lambda functions <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts>`_ .
|
|
3516
3799
|
|
|
@@ -3572,7 +3855,7 @@ class CfnDataSource(
|
|
|
3572
3855
|
|
|
3573
3856
|
@builtins.property
|
|
3574
3857
|
def lambda_arn(self) -> typing.Optional[builtins.str]:
|
|
3575
|
-
'''The Amazon Resource Name (ARN) of the Lambda function
|
|
3858
|
+
'''The Amazon Resource Name (ARN) of the Lambda function during ingestion.
|
|
3576
3859
|
|
|
3577
3860
|
For more information, see `Using Lambda functions for Amazon Q Business document enrichment <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html>`_ .
|
|
3578
3861
|
|
|
@@ -5033,7 +5316,14 @@ class CfnPermission(
|
|
|
5033
5316
|
actions=["actions"],
|
|
5034
5317
|
application_id="applicationId",
|
|
5035
5318
|
principal="principal",
|
|
5036
|
-
statement_id="statementId"
|
|
5319
|
+
statement_id="statementId",
|
|
5320
|
+
|
|
5321
|
+
# the properties below are optional
|
|
5322
|
+
conditions=[qbusiness.CfnPermission.ConditionProperty(
|
|
5323
|
+
condition_key="conditionKey",
|
|
5324
|
+
condition_operator="conditionOperator",
|
|
5325
|
+
condition_values=["conditionValues"]
|
|
5326
|
+
)]
|
|
5037
5327
|
)
|
|
5038
5328
|
'''
|
|
5039
5329
|
|
|
@@ -5046,6 +5336,7 @@ class CfnPermission(
|
|
|
5046
5336
|
application_id: builtins.str,
|
|
5047
5337
|
principal: builtins.str,
|
|
5048
5338
|
statement_id: builtins.str,
|
|
5339
|
+
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPermission.ConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5049
5340
|
) -> None:
|
|
5050
5341
|
'''
|
|
5051
5342
|
:param scope: Scope in which this resource is defined.
|
|
@@ -5054,6 +5345,7 @@ class CfnPermission(
|
|
|
5054
5345
|
:param application_id: The unique identifier of the Amazon Q Business application.
|
|
5055
5346
|
:param principal: Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.
|
|
5056
5347
|
:param statement_id: A unique identifier for the policy statement.
|
|
5348
|
+
:param conditions:
|
|
5057
5349
|
'''
|
|
5058
5350
|
if __debug__:
|
|
5059
5351
|
type_hints = typing.get_type_hints(_typecheckingstub__aa8b9992ffebedf4dda280be4bd0aa5dade8d62a6c092d850b1b1bb8df042ee8)
|
|
@@ -5064,6 +5356,7 @@ class CfnPermission(
|
|
|
5064
5356
|
application_id=application_id,
|
|
5065
5357
|
principal=principal,
|
|
5066
5358
|
statement_id=statement_id,
|
|
5359
|
+
conditions=conditions,
|
|
5067
5360
|
)
|
|
5068
5361
|
|
|
5069
5362
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -5155,6 +5448,109 @@ class CfnPermission(
|
|
|
5155
5448
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5156
5449
|
jsii.set(self, "statementId", value) # pyright: ignore[reportArgumentType]
|
|
5157
5450
|
|
|
5451
|
+
@builtins.property
|
|
5452
|
+
@jsii.member(jsii_name="conditions")
|
|
5453
|
+
def conditions(
|
|
5454
|
+
self,
|
|
5455
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPermission.ConditionProperty"]]]]:
|
|
5456
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPermission.ConditionProperty"]]]], jsii.get(self, "conditions"))
|
|
5457
|
+
|
|
5458
|
+
@conditions.setter
|
|
5459
|
+
def conditions(
|
|
5460
|
+
self,
|
|
5461
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPermission.ConditionProperty"]]]],
|
|
5462
|
+
) -> None:
|
|
5463
|
+
if __debug__:
|
|
5464
|
+
type_hints = typing.get_type_hints(_typecheckingstub__df7eedd7834a134466643c8bd40b7906fe6b7fcc7f482e5265aec4bb05607f6a)
|
|
5465
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5466
|
+
jsii.set(self, "conditions", value) # pyright: ignore[reportArgumentType]
|
|
5467
|
+
|
|
5468
|
+
@jsii.data_type(
|
|
5469
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnPermission.ConditionProperty",
|
|
5470
|
+
jsii_struct_bases=[],
|
|
5471
|
+
name_mapping={
|
|
5472
|
+
"condition_key": "conditionKey",
|
|
5473
|
+
"condition_operator": "conditionOperator",
|
|
5474
|
+
"condition_values": "conditionValues",
|
|
5475
|
+
},
|
|
5476
|
+
)
|
|
5477
|
+
class ConditionProperty:
|
|
5478
|
+
def __init__(
|
|
5479
|
+
self,
|
|
5480
|
+
*,
|
|
5481
|
+
condition_key: builtins.str,
|
|
5482
|
+
condition_operator: builtins.str,
|
|
5483
|
+
condition_values: typing.Sequence[builtins.str],
|
|
5484
|
+
) -> None:
|
|
5485
|
+
'''
|
|
5486
|
+
:param condition_key:
|
|
5487
|
+
:param condition_operator:
|
|
5488
|
+
:param condition_values:
|
|
5489
|
+
|
|
5490
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-permission-condition.html
|
|
5491
|
+
:exampleMetadata: fixture=_generated
|
|
5492
|
+
|
|
5493
|
+
Example::
|
|
5494
|
+
|
|
5495
|
+
# The code below shows an example of how to instantiate this type.
|
|
5496
|
+
# The values are placeholders you should change.
|
|
5497
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
5498
|
+
|
|
5499
|
+
condition_property = qbusiness.CfnPermission.ConditionProperty(
|
|
5500
|
+
condition_key="conditionKey",
|
|
5501
|
+
condition_operator="conditionOperator",
|
|
5502
|
+
condition_values=["conditionValues"]
|
|
5503
|
+
)
|
|
5504
|
+
'''
|
|
5505
|
+
if __debug__:
|
|
5506
|
+
type_hints = typing.get_type_hints(_typecheckingstub__39a9bd842be75583d990f7774438e331f4161b57ee4d98a449b293c0e014f90d)
|
|
5507
|
+
check_type(argname="argument condition_key", value=condition_key, expected_type=type_hints["condition_key"])
|
|
5508
|
+
check_type(argname="argument condition_operator", value=condition_operator, expected_type=type_hints["condition_operator"])
|
|
5509
|
+
check_type(argname="argument condition_values", value=condition_values, expected_type=type_hints["condition_values"])
|
|
5510
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5511
|
+
"condition_key": condition_key,
|
|
5512
|
+
"condition_operator": condition_operator,
|
|
5513
|
+
"condition_values": condition_values,
|
|
5514
|
+
}
|
|
5515
|
+
|
|
5516
|
+
@builtins.property
|
|
5517
|
+
def condition_key(self) -> builtins.str:
|
|
5518
|
+
'''
|
|
5519
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-permission-condition.html#cfn-qbusiness-permission-condition-conditionkey
|
|
5520
|
+
'''
|
|
5521
|
+
result = self._values.get("condition_key")
|
|
5522
|
+
assert result is not None, "Required property 'condition_key' is missing"
|
|
5523
|
+
return typing.cast(builtins.str, result)
|
|
5524
|
+
|
|
5525
|
+
@builtins.property
|
|
5526
|
+
def condition_operator(self) -> builtins.str:
|
|
5527
|
+
'''
|
|
5528
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-permission-condition.html#cfn-qbusiness-permission-condition-conditionoperator
|
|
5529
|
+
'''
|
|
5530
|
+
result = self._values.get("condition_operator")
|
|
5531
|
+
assert result is not None, "Required property 'condition_operator' is missing"
|
|
5532
|
+
return typing.cast(builtins.str, result)
|
|
5533
|
+
|
|
5534
|
+
@builtins.property
|
|
5535
|
+
def condition_values(self) -> typing.List[builtins.str]:
|
|
5536
|
+
'''
|
|
5537
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-permission-condition.html#cfn-qbusiness-permission-condition-conditionvalues
|
|
5538
|
+
'''
|
|
5539
|
+
result = self._values.get("condition_values")
|
|
5540
|
+
assert result is not None, "Required property 'condition_values' is missing"
|
|
5541
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
5542
|
+
|
|
5543
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5544
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5545
|
+
|
|
5546
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5547
|
+
return not (rhs == self)
|
|
5548
|
+
|
|
5549
|
+
def __repr__(self) -> str:
|
|
5550
|
+
return "ConditionProperty(%s)" % ", ".join(
|
|
5551
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5552
|
+
)
|
|
5553
|
+
|
|
5158
5554
|
|
|
5159
5555
|
@jsii.data_type(
|
|
5160
5556
|
jsii_type="aws-cdk-lib.aws_qbusiness.CfnPermissionProps",
|
|
@@ -5164,6 +5560,7 @@ class CfnPermission(
|
|
|
5164
5560
|
"application_id": "applicationId",
|
|
5165
5561
|
"principal": "principal",
|
|
5166
5562
|
"statement_id": "statementId",
|
|
5563
|
+
"conditions": "conditions",
|
|
5167
5564
|
},
|
|
5168
5565
|
)
|
|
5169
5566
|
class CfnPermissionProps:
|
|
@@ -5174,6 +5571,7 @@ class CfnPermissionProps:
|
|
|
5174
5571
|
application_id: builtins.str,
|
|
5175
5572
|
principal: builtins.str,
|
|
5176
5573
|
statement_id: builtins.str,
|
|
5574
|
+
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPermission.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5177
5575
|
) -> None:
|
|
5178
5576
|
'''Properties for defining a ``CfnPermission``.
|
|
5179
5577
|
|
|
@@ -5181,6 +5579,7 @@ class CfnPermissionProps:
|
|
|
5181
5579
|
:param application_id: The unique identifier of the Amazon Q Business application.
|
|
5182
5580
|
:param principal: Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.
|
|
5183
5581
|
:param statement_id: A unique identifier for the policy statement.
|
|
5582
|
+
:param conditions:
|
|
5184
5583
|
|
|
5185
5584
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html
|
|
5186
5585
|
:exampleMetadata: fixture=_generated
|
|
@@ -5195,7 +5594,14 @@ class CfnPermissionProps:
|
|
|
5195
5594
|
actions=["actions"],
|
|
5196
5595
|
application_id="applicationId",
|
|
5197
5596
|
principal="principal",
|
|
5198
|
-
statement_id="statementId"
|
|
5597
|
+
statement_id="statementId",
|
|
5598
|
+
|
|
5599
|
+
# the properties below are optional
|
|
5600
|
+
conditions=[qbusiness.CfnPermission.ConditionProperty(
|
|
5601
|
+
condition_key="conditionKey",
|
|
5602
|
+
condition_operator="conditionOperator",
|
|
5603
|
+
condition_values=["conditionValues"]
|
|
5604
|
+
)]
|
|
5199
5605
|
)
|
|
5200
5606
|
'''
|
|
5201
5607
|
if __debug__:
|
|
@@ -5204,12 +5610,15 @@ class CfnPermissionProps:
|
|
|
5204
5610
|
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
5205
5611
|
check_type(argname="argument principal", value=principal, expected_type=type_hints["principal"])
|
|
5206
5612
|
check_type(argname="argument statement_id", value=statement_id, expected_type=type_hints["statement_id"])
|
|
5613
|
+
check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
|
|
5207
5614
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5208
5615
|
"actions": actions,
|
|
5209
5616
|
"application_id": application_id,
|
|
5210
5617
|
"principal": principal,
|
|
5211
5618
|
"statement_id": statement_id,
|
|
5212
5619
|
}
|
|
5620
|
+
if conditions is not None:
|
|
5621
|
+
self._values["conditions"] = conditions
|
|
5213
5622
|
|
|
5214
5623
|
@builtins.property
|
|
5215
5624
|
def actions(self) -> typing.List[builtins.str]:
|
|
@@ -5251,6 +5660,16 @@ class CfnPermissionProps:
|
|
|
5251
5660
|
assert result is not None, "Required property 'statement_id' is missing"
|
|
5252
5661
|
return typing.cast(builtins.str, result)
|
|
5253
5662
|
|
|
5663
|
+
@builtins.property
|
|
5664
|
+
def conditions(
|
|
5665
|
+
self,
|
|
5666
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPermission.ConditionProperty]]]]:
|
|
5667
|
+
'''
|
|
5668
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html#cfn-qbusiness-permission-conditions
|
|
5669
|
+
'''
|
|
5670
|
+
result = self._values.get("conditions")
|
|
5671
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPermission.ConditionProperty]]]], result)
|
|
5672
|
+
|
|
5254
5673
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5255
5674
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5256
5675
|
|
|
@@ -8087,6 +8506,7 @@ def _typecheckingstub__32b7ecf69912e25edcd2354b3e0497931ea6bf042b1aabc881c8677d2
|
|
|
8087
8506
|
application_id: builtins.str,
|
|
8088
8507
|
display_name: builtins.str,
|
|
8089
8508
|
principal: builtins.str,
|
|
8509
|
+
authentication_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAccessor.DataAccessorAuthenticationDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8090
8510
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8091
8511
|
) -> None:
|
|
8092
8512
|
"""Type checking stubs"""
|
|
@@ -8128,6 +8548,12 @@ def _typecheckingstub__fd64ede16f385d2990fa12fa363564c55f359fed279a75365018e42cd
|
|
|
8128
8548
|
"""Type checking stubs"""
|
|
8129
8549
|
pass
|
|
8130
8550
|
|
|
8551
|
+
def _typecheckingstub__8aa34af043257e0411af6e09ebeda77531edcaba51ad9fd392b4515b8c730792(
|
|
8552
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataAccessor.DataAccessorAuthenticationDetailProperty]],
|
|
8553
|
+
) -> None:
|
|
8554
|
+
"""Type checking stubs"""
|
|
8555
|
+
pass
|
|
8556
|
+
|
|
8131
8557
|
def _typecheckingstub__17fcd903858daed5111fdf34ce66e12720cfa6fd9e1712eb5744a4b8c06fb1fe(
|
|
8132
8558
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
8133
8559
|
) -> None:
|
|
@@ -8165,6 +8591,29 @@ def _typecheckingstub__e0944dd9fc73c38902199011a9a1b06a552398d255157793794e769d8
|
|
|
8165
8591
|
"""Type checking stubs"""
|
|
8166
8592
|
pass
|
|
8167
8593
|
|
|
8594
|
+
def _typecheckingstub__5026e300a407a951a2bf85ba48cf1646fb1b1672f84f2ea26974311fd2b650de(
|
|
8595
|
+
*,
|
|
8596
|
+
idc_trusted_token_issuer_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAccessor.DataAccessorIdcTrustedTokenIssuerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8597
|
+
) -> None:
|
|
8598
|
+
"""Type checking stubs"""
|
|
8599
|
+
pass
|
|
8600
|
+
|
|
8601
|
+
def _typecheckingstub__ce3d0eb33f705ecbcd9b23e1fae7014cc8010d410a8398ce3feea55694ebed37(
|
|
8602
|
+
*,
|
|
8603
|
+
authentication_type: builtins.str,
|
|
8604
|
+
authentication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAccessor.DataAccessorAuthenticationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8605
|
+
external_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8606
|
+
) -> None:
|
|
8607
|
+
"""Type checking stubs"""
|
|
8608
|
+
pass
|
|
8609
|
+
|
|
8610
|
+
def _typecheckingstub__aa8bef9d39508faf93f48a0365a4605be496aa8cf95d29ab54e4ceabbabaef4d(
|
|
8611
|
+
*,
|
|
8612
|
+
idc_trusted_token_issuer_arn: builtins.str,
|
|
8613
|
+
) -> None:
|
|
8614
|
+
"""Type checking stubs"""
|
|
8615
|
+
pass
|
|
8616
|
+
|
|
8168
8617
|
def _typecheckingstub__fc877a8d06303e2294e4f8e5813534f57082fb9476b669bafe4451af29bb5979(
|
|
8169
8618
|
*,
|
|
8170
8619
|
name: builtins.str,
|
|
@@ -8189,6 +8638,7 @@ def _typecheckingstub__4dfde2d4c17793fa3cb9793a9171b9042ac55727b3f0c3a17f1606cab
|
|
|
8189
8638
|
application_id: builtins.str,
|
|
8190
8639
|
display_name: builtins.str,
|
|
8191
8640
|
principal: builtins.str,
|
|
8641
|
+
authentication_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataAccessor.DataAccessorAuthenticationDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8192
8642
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8193
8643
|
) -> None:
|
|
8194
8644
|
"""Type checking stubs"""
|
|
@@ -8523,6 +8973,7 @@ def _typecheckingstub__aa8b9992ffebedf4dda280be4bd0aa5dade8d62a6c092d850b1b1bb8d
|
|
|
8523
8973
|
application_id: builtins.str,
|
|
8524
8974
|
principal: builtins.str,
|
|
8525
8975
|
statement_id: builtins.str,
|
|
8976
|
+
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPermission.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8526
8977
|
) -> None:
|
|
8527
8978
|
"""Type checking stubs"""
|
|
8528
8979
|
pass
|
|
@@ -8563,12 +9014,28 @@ def _typecheckingstub__5bf1e79f20a58bfbabb1ce356f12e0ce01131844f0c50f11db4e0f82f
|
|
|
8563
9014
|
"""Type checking stubs"""
|
|
8564
9015
|
pass
|
|
8565
9016
|
|
|
9017
|
+
def _typecheckingstub__df7eedd7834a134466643c8bd40b7906fe6b7fcc7f482e5265aec4bb05607f6a(
|
|
9018
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPermission.ConditionProperty]]]],
|
|
9019
|
+
) -> None:
|
|
9020
|
+
"""Type checking stubs"""
|
|
9021
|
+
pass
|
|
9022
|
+
|
|
9023
|
+
def _typecheckingstub__39a9bd842be75583d990f7774438e331f4161b57ee4d98a449b293c0e014f90d(
|
|
9024
|
+
*,
|
|
9025
|
+
condition_key: builtins.str,
|
|
9026
|
+
condition_operator: builtins.str,
|
|
9027
|
+
condition_values: typing.Sequence[builtins.str],
|
|
9028
|
+
) -> None:
|
|
9029
|
+
"""Type checking stubs"""
|
|
9030
|
+
pass
|
|
9031
|
+
|
|
8566
9032
|
def _typecheckingstub__7ea87fcda68d4a26468f5e5d1c394a46d117b80b00274f61bbd36b0329a0a8c4(
|
|
8567
9033
|
*,
|
|
8568
9034
|
actions: typing.Sequence[builtins.str],
|
|
8569
9035
|
application_id: builtins.str,
|
|
8570
9036
|
principal: builtins.str,
|
|
8571
9037
|
statement_id: builtins.str,
|
|
9038
|
+
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPermission.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8572
9039
|
) -> None:
|
|
8573
9040
|
"""Type checking stubs"""
|
|
8574
9041
|
pass
|