aws-cdk-lib 2.140.0__py3-none-any.whl → 2.141.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.140.0.jsii.tgz → aws-cdk-lib@2.141.0.jsii.tgz} +0 -0
- aws_cdk/aws_bedrock/__init__.py +51 -41
- aws_cdk/aws_cloudtrail/__init__.py +13 -4
- aws_cdk/aws_connectcampaigns/__init__.py +2 -2
- aws_cdk/aws_datasync/__init__.py +51 -56
- aws_cdk/aws_dynamodb/__init__.py +410 -0
- aws_cdk/aws_ec2/__init__.py +90 -40
- aws_cdk/aws_ecr/__init__.py +32 -7
- aws_cdk/aws_entityresolution/__init__.py +6 -2
- aws_cdk/aws_fms/__init__.py +7 -7
- aws_cdk/aws_gamelift/__init__.py +261 -160
- aws_cdk/aws_ivs/__init__.py +1 -3
- aws_cdk/aws_kms/__init__.py +11 -5
- aws_cdk/aws_location/__init__.py +8 -4
- aws_cdk/aws_oam/__init__.py +45 -11
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_paymentcryptography/__init__.py +128 -48
- aws_cdk/aws_pinpoint/__init__.py +7 -5
- aws_cdk/aws_qbusiness/__init__.py +620 -294
- aws_cdk/aws_quicksight/__init__.py +103 -40
- aws_cdk/aws_rds/__init__.py +38 -8
- aws_cdk/aws_route53profiles/__init__.py +49 -49
- aws_cdk/aws_sagemaker/__init__.py +30 -30
- aws_cdk/aws_ses/__init__.py +9 -9
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_voiceid/__init__.py +2 -2
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/RECORD +33 -33
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.140.0.dist-info → aws_cdk_lib-2.141.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
19
19
|
import constructs._jsii
|
|
20
20
|
|
|
21
21
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
22
|
-
"aws-cdk-lib", "2.
|
|
22
|
+
"aws-cdk-lib", "2.141.0", __name__[0:-6], "aws-cdk-lib@2.141.0.jsii.tgz"
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -984,11 +984,11 @@ class CfnAgent(
|
|
|
984
984
|
top_k: typing.Optional[jsii.Number] = None,
|
|
985
985
|
top_p: typing.Optional[jsii.Number] = None,
|
|
986
986
|
) -> None:
|
|
987
|
-
'''
|
|
987
|
+
'''Specifications about the inference parameters that were provided alongside the prompt.
|
|
988
988
|
|
|
989
|
-
For more information, see `Inference parameters for foundation models <https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html>`_ .
|
|
989
|
+
These are specified in the `PromptOverrideConfiguration <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html>`_ object that was set when the agent was created or updated. For more information, see `Inference parameters for foundation models <https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html>`_ .
|
|
990
990
|
|
|
991
|
-
:param maximum_length: The maximum number of tokens
|
|
991
|
+
:param maximum_length: The maximum number of tokens allowed in the generated response.
|
|
992
992
|
:param stop_sequences: A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.
|
|
993
993
|
:param temperature: The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.
|
|
994
994
|
:param top_k: While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for ``topK`` is the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set ``topK`` to 50, the model selects the next token from among the top 50 most likely choices.
|
|
@@ -1032,7 +1032,7 @@ class CfnAgent(
|
|
|
1032
1032
|
|
|
1033
1033
|
@builtins.property
|
|
1034
1034
|
def maximum_length(self) -> typing.Optional[jsii.Number]:
|
|
1035
|
-
'''The maximum number of tokens
|
|
1035
|
+
'''The maximum number of tokens allowed in the generated response.
|
|
1036
1036
|
|
|
1037
1037
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html#cfn-bedrock-agent-inferenceconfiguration-maximumlength
|
|
1038
1038
|
'''
|
|
@@ -2381,7 +2381,7 @@ class CfnDataSource(
|
|
|
2381
2381
|
:param data_source_configuration: Contains details about how the data source is stored.
|
|
2382
2382
|
:param knowledge_base_id: The unique identifier of the knowledge base to which the data source belongs.
|
|
2383
2383
|
:param name: The name of the data source.
|
|
2384
|
-
:param data_deletion_policy: The deletion policy for
|
|
2384
|
+
:param data_deletion_policy: The data deletion policy for a data source.
|
|
2385
2385
|
:param description: The description of the data source.
|
|
2386
2386
|
:param server_side_encryption_configuration: Contains details about the configuration of the server-side encryption.
|
|
2387
2387
|
:param vector_ingestion_configuration: Contains details about how to ingest the documents in the data source.
|
|
@@ -2465,7 +2465,7 @@ class CfnDataSource(
|
|
|
2465
2465
|
@builtins.property
|
|
2466
2466
|
@jsii.member(jsii_name="attrFailureReasons")
|
|
2467
2467
|
def attr_failure_reasons(self) -> typing.List[builtins.str]:
|
|
2468
|
-
'''The
|
|
2468
|
+
'''The detailed reasons on the failure to delete a data source.
|
|
2469
2469
|
|
|
2470
2470
|
:cloudformationAttribute: FailureReasons
|
|
2471
2471
|
'''
|
|
@@ -2532,7 +2532,7 @@ class CfnDataSource(
|
|
|
2532
2532
|
@builtins.property
|
|
2533
2533
|
@jsii.member(jsii_name="dataDeletionPolicy")
|
|
2534
2534
|
def data_deletion_policy(self) -> typing.Optional[builtins.str]:
|
|
2535
|
-
'''The deletion policy for
|
|
2535
|
+
'''The data deletion policy for a data source.'''
|
|
2536
2536
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataDeletionPolicy"))
|
|
2537
2537
|
|
|
2538
2538
|
@data_deletion_policy.setter
|
|
@@ -2856,7 +2856,7 @@ class CfnDataSource(
|
|
|
2856
2856
|
'''Contains information about the S3 configuration of the data source.
|
|
2857
2857
|
|
|
2858
2858
|
:param bucket_arn: The Amazon Resource Name (ARN) of the bucket that contains the data source.
|
|
2859
|
-
:param bucket_owner_account_id: The account ID for the
|
|
2859
|
+
:param bucket_owner_account_id: The bucket account owner ID for the S3 bucket.
|
|
2860
2860
|
:param inclusion_prefixes: A list of S3 prefixes that define the object containing the data sources. For more information, see `Organizing objects using prefixes <https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html>`_ .
|
|
2861
2861
|
|
|
2862
2862
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html
|
|
@@ -2901,7 +2901,7 @@ class CfnDataSource(
|
|
|
2901
2901
|
|
|
2902
2902
|
@builtins.property
|
|
2903
2903
|
def bucket_owner_account_id(self) -> typing.Optional[builtins.str]:
|
|
2904
|
-
'''The account ID for the
|
|
2904
|
+
'''The bucket account owner ID for the S3 bucket.
|
|
2905
2905
|
|
|
2906
2906
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html#cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid
|
|
2907
2907
|
'''
|
|
@@ -3083,7 +3083,7 @@ class CfnDataSourceProps:
|
|
|
3083
3083
|
:param data_source_configuration: Contains details about how the data source is stored.
|
|
3084
3084
|
:param knowledge_base_id: The unique identifier of the knowledge base to which the data source belongs.
|
|
3085
3085
|
:param name: The name of the data source.
|
|
3086
|
-
:param data_deletion_policy: The deletion policy for
|
|
3086
|
+
:param data_deletion_policy: The data deletion policy for a data source.
|
|
3087
3087
|
:param description: The description of the data source.
|
|
3088
3088
|
:param server_side_encryption_configuration: Contains details about the configuration of the server-side encryption.
|
|
3089
3089
|
:param vector_ingestion_configuration: Contains details about how to ingest the documents in the data source.
|
|
@@ -3187,7 +3187,7 @@ class CfnDataSourceProps:
|
|
|
3187
3187
|
|
|
3188
3188
|
@builtins.property
|
|
3189
3189
|
def data_deletion_policy(self) -> typing.Optional[builtins.str]:
|
|
3190
|
-
'''The deletion policy for
|
|
3190
|
+
'''The data deletion policy for a data source.
|
|
3191
3191
|
|
|
3192
3192
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy
|
|
3193
3193
|
'''
|
|
@@ -3243,7 +3243,9 @@ class CfnGuardrail(
|
|
|
3243
3243
|
metaclass=jsii.JSIIMeta,
|
|
3244
3244
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail",
|
|
3245
3245
|
):
|
|
3246
|
-
'''
|
|
3246
|
+
'''Creates a guardrail to block topics and to implement safeguards for your generative AI applications.
|
|
3247
|
+
|
|
3248
|
+
You can configure denied topics to disallow undesirable topics and content filters to block harmful content in model inputs and responses. For more information, see `Guardrails for Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html>`_ in the *Amazon Bedrock User Guide*
|
|
3247
3249
|
|
|
3248
3250
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html
|
|
3249
3251
|
:cloudformationResource: AWS::Bedrock::Guardrail
|
|
@@ -3328,14 +3330,14 @@ class CfnGuardrail(
|
|
|
3328
3330
|
'''
|
|
3329
3331
|
:param scope: Scope in which this resource is defined.
|
|
3330
3332
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3331
|
-
:param blocked_input_messaging:
|
|
3332
|
-
:param blocked_outputs_messaging:
|
|
3333
|
-
:param name:
|
|
3333
|
+
:param blocked_input_messaging: The message to return when the guardrail blocks a prompt.
|
|
3334
|
+
:param blocked_outputs_messaging: The message to return when the guardrail blocks a model response.
|
|
3335
|
+
:param name: The name of the guardrail.
|
|
3334
3336
|
:param content_policy_config: Content policy config for a guardrail.
|
|
3335
|
-
:param description:
|
|
3336
|
-
:param kms_key_arn: The KMS key
|
|
3337
|
+
:param description: A description of the guardrail.
|
|
3338
|
+
:param kms_key_arn: The ARN of the AWS KMS key used to encrypt the guardrail.
|
|
3337
3339
|
:param sensitive_information_policy_config: Sensitive information policy config for a guardrail.
|
|
3338
|
-
:param tags:
|
|
3340
|
+
:param tags: Metadata that you can assign to a guardrail as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
|
|
3339
3341
|
:param topic_policy_config: Topic policy config for a guardrail.
|
|
3340
3342
|
:param word_policy_config: Word policy config for a guardrail.
|
|
3341
3343
|
'''
|
|
@@ -3391,7 +3393,7 @@ class CfnGuardrail(
|
|
|
3391
3393
|
@builtins.property
|
|
3392
3394
|
@jsii.member(jsii_name="attrCreatedAt")
|
|
3393
3395
|
def attr_created_at(self) -> builtins.str:
|
|
3394
|
-
'''
|
|
3396
|
+
'''The date and time at which the guardrail was created.
|
|
3395
3397
|
|
|
3396
3398
|
:cloudformationAttribute: CreatedAt
|
|
3397
3399
|
'''
|
|
@@ -3409,7 +3411,9 @@ class CfnGuardrail(
|
|
|
3409
3411
|
@builtins.property
|
|
3410
3412
|
@jsii.member(jsii_name="attrGuardrailArn")
|
|
3411
3413
|
def attr_guardrail_arn(self) -> builtins.str:
|
|
3412
|
-
'''
|
|
3414
|
+
'''The Amazon Resource Name (ARN) of the guardrail.
|
|
3415
|
+
|
|
3416
|
+
This a the primary identifier for the guardrail.
|
|
3413
3417
|
|
|
3414
3418
|
:cloudformationAttribute: GuardrailArn
|
|
3415
3419
|
'''
|
|
@@ -3418,7 +3422,7 @@ class CfnGuardrail(
|
|
|
3418
3422
|
@builtins.property
|
|
3419
3423
|
@jsii.member(jsii_name="attrGuardrailId")
|
|
3420
3424
|
def attr_guardrail_id(self) -> builtins.str:
|
|
3421
|
-
'''
|
|
3425
|
+
'''The unique identifier of the guardrail.
|
|
3422
3426
|
|
|
3423
3427
|
:cloudformationAttribute: GuardrailId
|
|
3424
3428
|
'''
|
|
@@ -3445,7 +3449,7 @@ class CfnGuardrail(
|
|
|
3445
3449
|
@builtins.property
|
|
3446
3450
|
@jsii.member(jsii_name="attrUpdatedAt")
|
|
3447
3451
|
def attr_updated_at(self) -> builtins.str:
|
|
3448
|
-
'''
|
|
3452
|
+
'''The date and time at which the guardrail was last updated.
|
|
3449
3453
|
|
|
3450
3454
|
:cloudformationAttribute: UpdatedAt
|
|
3451
3455
|
'''
|
|
@@ -3454,7 +3458,7 @@ class CfnGuardrail(
|
|
|
3454
3458
|
@builtins.property
|
|
3455
3459
|
@jsii.member(jsii_name="attrVersion")
|
|
3456
3460
|
def attr_version(self) -> builtins.str:
|
|
3457
|
-
'''
|
|
3461
|
+
'''The version of the guardrail.
|
|
3458
3462
|
|
|
3459
3463
|
:cloudformationAttribute: Version
|
|
3460
3464
|
'''
|
|
@@ -3474,7 +3478,7 @@ class CfnGuardrail(
|
|
|
3474
3478
|
@builtins.property
|
|
3475
3479
|
@jsii.member(jsii_name="blockedInputMessaging")
|
|
3476
3480
|
def blocked_input_messaging(self) -> builtins.str:
|
|
3477
|
-
'''
|
|
3481
|
+
'''The message to return when the guardrail blocks a prompt.'''
|
|
3478
3482
|
return typing.cast(builtins.str, jsii.get(self, "blockedInputMessaging"))
|
|
3479
3483
|
|
|
3480
3484
|
@blocked_input_messaging.setter
|
|
@@ -3487,7 +3491,7 @@ class CfnGuardrail(
|
|
|
3487
3491
|
@builtins.property
|
|
3488
3492
|
@jsii.member(jsii_name="blockedOutputsMessaging")
|
|
3489
3493
|
def blocked_outputs_messaging(self) -> builtins.str:
|
|
3490
|
-
'''
|
|
3494
|
+
'''The message to return when the guardrail blocks a model response.'''
|
|
3491
3495
|
return typing.cast(builtins.str, jsii.get(self, "blockedOutputsMessaging"))
|
|
3492
3496
|
|
|
3493
3497
|
@blocked_outputs_messaging.setter
|
|
@@ -3500,7 +3504,7 @@ class CfnGuardrail(
|
|
|
3500
3504
|
@builtins.property
|
|
3501
3505
|
@jsii.member(jsii_name="name")
|
|
3502
3506
|
def name(self) -> builtins.str:
|
|
3503
|
-
'''
|
|
3507
|
+
'''The name of the guardrail.'''
|
|
3504
3508
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
3505
3509
|
|
|
3506
3510
|
@name.setter
|
|
@@ -3531,7 +3535,7 @@ class CfnGuardrail(
|
|
|
3531
3535
|
@builtins.property
|
|
3532
3536
|
@jsii.member(jsii_name="description")
|
|
3533
3537
|
def description(self) -> typing.Optional[builtins.str]:
|
|
3534
|
-
'''
|
|
3538
|
+
'''A description of the guardrail.'''
|
|
3535
3539
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
3536
3540
|
|
|
3537
3541
|
@description.setter
|
|
@@ -3544,7 +3548,7 @@ class CfnGuardrail(
|
|
|
3544
3548
|
@builtins.property
|
|
3545
3549
|
@jsii.member(jsii_name="kmsKeyArn")
|
|
3546
3550
|
def kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
3547
|
-
'''The KMS key
|
|
3551
|
+
'''The ARN of the AWS KMS key used to encrypt the guardrail.'''
|
|
3548
3552
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyArn"))
|
|
3549
3553
|
|
|
3550
3554
|
@kms_key_arn.setter
|
|
@@ -3575,7 +3579,10 @@ class CfnGuardrail(
|
|
|
3575
3579
|
@builtins.property
|
|
3576
3580
|
@jsii.member(jsii_name="tags")
|
|
3577
3581
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
3578
|
-
'''
|
|
3582
|
+
'''Metadata that you can assign to a guardrail as key-value pairs.
|
|
3583
|
+
|
|
3584
|
+
For more information, see the following resources:.
|
|
3585
|
+
'''
|
|
3579
3586
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
3580
3587
|
|
|
3581
3588
|
@tags.setter
|
|
@@ -4426,14 +4433,14 @@ class CfnGuardrailProps:
|
|
|
4426
4433
|
) -> None:
|
|
4427
4434
|
'''Properties for defining a ``CfnGuardrail``.
|
|
4428
4435
|
|
|
4429
|
-
:param blocked_input_messaging:
|
|
4430
|
-
:param blocked_outputs_messaging:
|
|
4431
|
-
:param name:
|
|
4436
|
+
:param blocked_input_messaging: The message to return when the guardrail blocks a prompt.
|
|
4437
|
+
:param blocked_outputs_messaging: The message to return when the guardrail blocks a model response.
|
|
4438
|
+
:param name: The name of the guardrail.
|
|
4432
4439
|
:param content_policy_config: Content policy config for a guardrail.
|
|
4433
|
-
:param description:
|
|
4434
|
-
:param kms_key_arn: The KMS key
|
|
4440
|
+
:param description: A description of the guardrail.
|
|
4441
|
+
:param kms_key_arn: The ARN of the AWS KMS key used to encrypt the guardrail.
|
|
4435
4442
|
:param sensitive_information_policy_config: Sensitive information policy config for a guardrail.
|
|
4436
|
-
:param tags:
|
|
4443
|
+
:param tags: Metadata that you can assign to a guardrail as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
|
|
4437
4444
|
:param topic_policy_config: Topic policy config for a guardrail.
|
|
4438
4445
|
:param word_policy_config: Word policy config for a guardrail.
|
|
4439
4446
|
|
|
@@ -4533,7 +4540,7 @@ class CfnGuardrailProps:
|
|
|
4533
4540
|
|
|
4534
4541
|
@builtins.property
|
|
4535
4542
|
def blocked_input_messaging(self) -> builtins.str:
|
|
4536
|
-
'''
|
|
4543
|
+
'''The message to return when the guardrail blocks a prompt.
|
|
4537
4544
|
|
|
4538
4545
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedinputmessaging
|
|
4539
4546
|
'''
|
|
@@ -4543,7 +4550,7 @@ class CfnGuardrailProps:
|
|
|
4543
4550
|
|
|
4544
4551
|
@builtins.property
|
|
4545
4552
|
def blocked_outputs_messaging(self) -> builtins.str:
|
|
4546
|
-
'''
|
|
4553
|
+
'''The message to return when the guardrail blocks a model response.
|
|
4547
4554
|
|
|
4548
4555
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedoutputsmessaging
|
|
4549
4556
|
'''
|
|
@@ -4553,7 +4560,7 @@ class CfnGuardrailProps:
|
|
|
4553
4560
|
|
|
4554
4561
|
@builtins.property
|
|
4555
4562
|
def name(self) -> builtins.str:
|
|
4556
|
-
'''
|
|
4563
|
+
'''The name of the guardrail.
|
|
4557
4564
|
|
|
4558
4565
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-name
|
|
4559
4566
|
'''
|
|
@@ -4574,7 +4581,7 @@ class CfnGuardrailProps:
|
|
|
4574
4581
|
|
|
4575
4582
|
@builtins.property
|
|
4576
4583
|
def description(self) -> typing.Optional[builtins.str]:
|
|
4577
|
-
'''
|
|
4584
|
+
'''A description of the guardrail.
|
|
4578
4585
|
|
|
4579
4586
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-description
|
|
4580
4587
|
'''
|
|
@@ -4583,7 +4590,7 @@ class CfnGuardrailProps:
|
|
|
4583
4590
|
|
|
4584
4591
|
@builtins.property
|
|
4585
4592
|
def kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
4586
|
-
'''The KMS key
|
|
4593
|
+
'''The ARN of the AWS KMS key used to encrypt the guardrail.
|
|
4587
4594
|
|
|
4588
4595
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-kmskeyarn
|
|
4589
4596
|
'''
|
|
@@ -4603,7 +4610,10 @@ class CfnGuardrailProps:
|
|
|
4603
4610
|
|
|
4604
4611
|
@builtins.property
|
|
4605
4612
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4606
|
-
'''
|
|
4613
|
+
'''Metadata that you can assign to a guardrail as key-value pairs. For more information, see the following resources:.
|
|
4614
|
+
|
|
4615
|
+
- `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_
|
|
4616
|
+
- `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
|
|
4607
4617
|
|
|
4608
4618
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags
|
|
4609
4619
|
'''
|
|
@@ -3383,9 +3383,18 @@ class CfnTrail(
|
|
|
3383
3383
|
type: builtins.str,
|
|
3384
3384
|
values: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3385
3385
|
) -> None:
|
|
3386
|
-
'''
|
|
3386
|
+
'''Data events provide information about the resource operations performed on or within a resource itself.
|
|
3387
|
+
|
|
3388
|
+
These are also known as data plane operations. You can specify up to 250 data resources for a trail.
|
|
3389
|
+
|
|
3390
|
+
Configure the ``DataResource`` to specify the resource type and resource ARNs for which you want to log data events.
|
|
3391
|
+
|
|
3392
|
+
You can specify the following resource types in your event selectors for your trail:
|
|
3393
|
+
|
|
3394
|
+
- ``AWS::DynamoDB::Table``
|
|
3395
|
+
- ``AWS::Lambda::Function``
|
|
3396
|
+
- ``AWS::S3::Object``
|
|
3387
3397
|
|
|
3388
|
-
Data events provide information about the resource operations performed on or within a resource itself. These are also known as data plane operations. You can specify up to 250 data resources for a trail.
|
|
3389
3398
|
.. epigraph::
|
|
3390
3399
|
|
|
3391
3400
|
The total number of allowed data resources is 250. This number can be distributed between 1 and 5 event selectors, but the total cannot exceed 250 across all selectors for the trail.
|
|
@@ -3406,7 +3415,7 @@ class CfnTrail(
|
|
|
3406
3415
|
- The ``Invoke`` API operation on *MyOtherLambdaFunction* is an Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, the ``Invoke`` operation for *MyOtherLambdaFunction* does not match the function specified for the trail. The trail doesn’t log the event.
|
|
3407
3416
|
|
|
3408
3417
|
:param type: The resource type in which you want to log data events. You can specify the following *basic* event selector resource types: - ``AWS::DynamoDB::Table`` - ``AWS::Lambda::Function`` - ``AWS::S3::Object`` Additional resource types are available through *advanced* event selectors. For more information about these additional resource types, see `AdvancedFieldSelector <https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html>`_ .
|
|
3409
|
-
:param values: An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified
|
|
3418
|
+
:param values: An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified resource type. - To log data events for all objects in all S3 buckets in your AWS account , specify the prefix as ``arn:aws:s3`` . .. epigraph:: This also enables logging of data event activity performed by any user or role in your AWS account , even if that activity is performed on a bucket that belongs to another AWS account . - To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as ``arn:aws:s3:::bucket-1/`` . The trail logs data events for all objects in this S3 bucket. - To log data events for specific objects, specify the S3 bucket and object prefix such as ``arn:aws:s3:::bucket-1/example-images`` . The trail logs data events for objects in this S3 bucket that match the prefix. - To log data events for all Lambda functions in your AWS account , specify the prefix as ``arn:aws:lambda`` . .. epigraph:: This also enables logging of ``Invoke`` activity performed by any user or role in your AWS account , even if that activity is performed on a function that belongs to another AWS account . - To log data events for a specific Lambda function, specify the function ARN. .. epigraph:: Lambda function ARNs are exact. For example, if you specify a function ARN *arn:aws:lambda:us-west-2:111111111111:function:helloworld* , data events will only be logged for *arn:aws:lambda:us-west-2:111111111111:function:helloworld* . They will not be logged for *arn:aws:lambda:us-west-2:111111111111:function:helloworld2* . - To log data events for all DynamoDB tables in your AWS account , specify the prefix as ``arn:aws:dynamodb`` .
|
|
3410
3419
|
|
|
3411
3420
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html
|
|
3412
3421
|
:exampleMetadata: fixture=_generated
|
|
@@ -3454,7 +3463,7 @@ class CfnTrail(
|
|
|
3454
3463
|
|
|
3455
3464
|
@builtins.property
|
|
3456
3465
|
def values(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
3457
|
-
'''An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified
|
|
3466
|
+
'''An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified resource type.
|
|
3458
3467
|
|
|
3459
3468
|
- To log data events for all objects in all S3 buckets in your AWS account , specify the prefix as ``arn:aws:s3`` .
|
|
3460
3469
|
|
|
@@ -346,7 +346,7 @@ class CfnCampaign(
|
|
|
346
346
|
'''Contains information about answering machine detection.
|
|
347
347
|
|
|
348
348
|
:param enable_answer_machine_detection: Whether answering machine detection is enabled.
|
|
349
|
-
:param await_answer_machine_prompt:
|
|
349
|
+
:param await_answer_machine_prompt: Whether waiting for answer machine prompt is enabled.
|
|
350
350
|
|
|
351
351
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html
|
|
352
352
|
:exampleMetadata: fixture=_generated
|
|
@@ -390,7 +390,7 @@ class CfnCampaign(
|
|
|
390
390
|
def await_answer_machine_prompt(
|
|
391
391
|
self,
|
|
392
392
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
393
|
-
'''
|
|
393
|
+
'''Whether waiting for answer machine prompt is enabled.
|
|
394
394
|
|
|
395
395
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html#cfn-connectcampaigns-campaign-answermachinedetectionconfig-awaitanswermachineprompt
|
|
396
396
|
'''
|