aws-cdk-lib 2.161.0__py3-none-any.whl → 2.162.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.
- aws_cdk/__init__.py +64 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.161.0.jsii.tgz → aws-cdk-lib@2.162.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +16 -7
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +94 -0
- aws_cdk/aws_appsync/__init__.py +35 -0
- aws_cdk/aws_b2bi/__init__.py +18 -21
- aws_cdk/aws_cloudformation/__init__.py +59 -5
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_codebuild/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +13 -3
- aws_cdk/aws_ecs/__init__.py +122 -29
- aws_cdk/aws_eks/__init__.py +62 -51
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +139 -25
- aws_cdk/aws_emr/__init__.py +2182 -2129
- aws_cdk/aws_glue/__init__.py +9 -6
- aws_cdk/aws_iam/__init__.py +26 -4
- aws_cdk/aws_iot/__init__.py +190 -0
- aws_cdk/aws_iotsitewise/__init__.py +3 -1
- aws_cdk/aws_lambda/__init__.py +7 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -2
- aws_cdk/aws_logs/__init__.py +6 -6
- aws_cdk/aws_quicksight/__init__.py +32 -19
- aws_cdk/aws_rds/__init__.py +62 -30
- aws_cdk/aws_route53/__init__.py +5 -1
- aws_cdk/aws_route53resolver/__init__.py +17 -3
- aws_cdk/aws_s3/__init__.py +47 -25
- aws_cdk/aws_s3_assets/__init__.py +2 -2
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +2 -2
- aws_cdk/aws_servicediscovery/__init__.py +8 -8
- aws_cdk/aws_sqs/__init__.py +12 -10
- aws_cdk/aws_stepfunctions_tasks/__init__.py +20 -20
- aws_cdk/cloudformation_include/__init__.py +4 -4
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +1 -1
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/RECORD +45 -45
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_glue/__init__.py
CHANGED
|
@@ -6095,7 +6095,7 @@ class CfnJob(
|
|
|
6095
6095
|
:param execution_property: The maximum number of concurrent runs that are allowed for this job.
|
|
6096
6096
|
:param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to the latest Glue version available.
|
|
6097
6097
|
:param job_mode: A mode that describes how a job was created. Valid values are:. - ``SCRIPT`` - The job was created using the AWS Glue Studio script editor. - ``VISUAL`` - The job was created using the AWS Glue Studio visual editor. - ``NOTEBOOK`` - The job was created using an interactive sessions notebook. When the ``JobMode`` field is missing or null, ``SCRIPT`` is assigned as the default value.
|
|
6098
|
-
:param job_run_queuing_enabled:
|
|
6098
|
+
:param job_run_queuing_enabled: Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used.
|
|
6099
6099
|
:param log_uri: This field is reserved for future use.
|
|
6100
6100
|
:param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
|
|
6101
6101
|
:param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
|
|
@@ -6174,8 +6174,7 @@ class CfnJob(
|
|
|
6174
6174
|
@builtins.property
|
|
6175
6175
|
@jsii.member(jsii_name="attrId")
|
|
6176
6176
|
def attr_id(self) -> builtins.str:
|
|
6177
|
-
'''
|
|
6178
|
-
|
|
6177
|
+
'''
|
|
6179
6178
|
:cloudformationAttribute: Id
|
|
6180
6179
|
'''
|
|
6181
6180
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -6347,7 +6346,7 @@ class CfnJob(
|
|
|
6347
6346
|
def job_run_queuing_enabled(
|
|
6348
6347
|
self,
|
|
6349
6348
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6350
|
-
'''
|
|
6349
|
+
'''Specifies whether job run queuing is enabled for the job runs for this job.'''
|
|
6351
6350
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "jobRunQueuingEnabled"))
|
|
6352
6351
|
|
|
6353
6352
|
@job_run_queuing_enabled.setter
|
|
@@ -6869,7 +6868,7 @@ class CfnJobProps:
|
|
|
6869
6868
|
:param execution_property: The maximum number of concurrent runs that are allowed for this job.
|
|
6870
6869
|
:param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to the latest Glue version available.
|
|
6871
6870
|
:param job_mode: A mode that describes how a job was created. Valid values are:. - ``SCRIPT`` - The job was created using the AWS Glue Studio script editor. - ``VISUAL`` - The job was created using the AWS Glue Studio visual editor. - ``NOTEBOOK`` - The job was created using an interactive sessions notebook. When the ``JobMode`` field is missing or null, ``SCRIPT`` is assigned as the default value.
|
|
6872
|
-
:param job_run_queuing_enabled:
|
|
6871
|
+
:param job_run_queuing_enabled: Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used.
|
|
6873
6872
|
:param log_uri: This field is reserved for future use.
|
|
6874
6873
|
:param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
|
|
6875
6874
|
:param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
|
|
@@ -7133,7 +7132,11 @@ class CfnJobProps:
|
|
|
7133
7132
|
def job_run_queuing_enabled(
|
|
7134
7133
|
self,
|
|
7135
7134
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
7136
|
-
'''
|
|
7135
|
+
'''Specifies whether job run queuing is enabled for the job runs for this job.
|
|
7136
|
+
|
|
7137
|
+
A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
|
|
7138
|
+
|
|
7139
|
+
If this field does not match the value set in the job run, then the value from the job run field will be used.
|
|
7137
7140
|
|
|
7138
7141
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-jobrunqueuingenabled
|
|
7139
7142
|
'''
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -892,6 +892,7 @@ from .. import (
|
|
|
892
892
|
IResolveContext as _IResolveContext_b2df1921,
|
|
893
893
|
IResource as _IResource_c80c4260,
|
|
894
894
|
ITaggable as _ITaggable_36806126,
|
|
895
|
+
RemovalPolicy as _RemovalPolicy_9f93c814,
|
|
895
896
|
Resource as _Resource_45bc6135,
|
|
896
897
|
SecretValue as _SecretValue_3dd0ddae,
|
|
897
898
|
TagManager as _TagManager_0a598cb3,
|
|
@@ -1106,7 +1107,7 @@ class AddToResourcePolicyResult:
|
|
|
1106
1107
|
|
|
1107
1108
|
Example::
|
|
1108
1109
|
|
|
1109
|
-
bucket = s3.Bucket.from_bucket_name(self, "existingBucket", "bucket
|
|
1110
|
+
bucket = s3.Bucket.from_bucket_name(self, "existingBucket", "amzn-s3-demo-bucket")
|
|
1110
1111
|
|
|
1111
1112
|
# No policy statement will be added to the resource
|
|
1112
1113
|
result = bucket.add_to_resource_policy(
|
|
@@ -13108,6 +13109,21 @@ class Role(
|
|
|
13108
13109
|
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
13109
13110
|
return typing.cast(AddToPrincipalPolicyResult, jsii.invoke(self, "addToPrincipalPolicy", [statement]))
|
|
13110
13111
|
|
|
13112
|
+
@jsii.member(jsii_name="applyRemovalPolicy")
|
|
13113
|
+
def apply_removal_policy(self, policy: _RemovalPolicy_9f93c814) -> None:
|
|
13114
|
+
'''Skip applyRemovalPolicy if role synthesis is prevented by customizeRoles.
|
|
13115
|
+
|
|
13116
|
+
Because in this case, this construct does not have a CfnResource in the tree.
|
|
13117
|
+
|
|
13118
|
+
:param policy: RemovalPolicy.
|
|
13119
|
+
|
|
13120
|
+
:override: true
|
|
13121
|
+
'''
|
|
13122
|
+
if __debug__:
|
|
13123
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ecbef57382fe1ab141db87fe0168ddbad51b2e3c7a9ebc9c39c4f2f839a3e4bf)
|
|
13124
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
13125
|
+
return typing.cast(None, jsii.invoke(self, "applyRemovalPolicy", [policy]))
|
|
13126
|
+
|
|
13111
13127
|
@jsii.member(jsii_name="attachInlinePolicy")
|
|
13112
13128
|
def attach_inline_policy(self, policy: Policy) -> None:
|
|
13113
13129
|
'''Attaches a policy to this role.
|
|
@@ -13762,7 +13778,7 @@ class ArnPrincipal(
|
|
|
13762
13778
|
Example::
|
|
13763
13779
|
|
|
13764
13780
|
# Option 2: create your custom mastersRole with scoped assumeBy arn as the Cluster prop. Switch to this role from the AWS console.
|
|
13765
|
-
from aws_cdk.
|
|
13781
|
+
from aws_cdk.lambda_layer_kubectl_v31 import KubectlV31Layer
|
|
13766
13782
|
# vpc: ec2.Vpc
|
|
13767
13783
|
|
|
13768
13784
|
|
|
@@ -13772,8 +13788,8 @@ class ArnPrincipal(
|
|
|
13772
13788
|
|
|
13773
13789
|
cluster = eks.Cluster(self, "EksCluster",
|
|
13774
13790
|
vpc=vpc,
|
|
13775
|
-
version=eks.KubernetesVersion.
|
|
13776
|
-
kubectl_layer=
|
|
13791
|
+
version=eks.KubernetesVersion.V1_31,
|
|
13792
|
+
kubectl_layer=KubectlV31Layer(self, "KubectlLayer"),
|
|
13777
13793
|
masters_role=masters_role
|
|
13778
13794
|
)
|
|
13779
13795
|
|
|
@@ -16732,6 +16748,12 @@ def _typecheckingstub__6168031f65ea6f5bbc6ae6d7207de3c8b2039038e0a8ddec4cc0db5ef
|
|
|
16732
16748
|
"""Type checking stubs"""
|
|
16733
16749
|
pass
|
|
16734
16750
|
|
|
16751
|
+
def _typecheckingstub__ecbef57382fe1ab141db87fe0168ddbad51b2e3c7a9ebc9c39c4f2f839a3e4bf(
|
|
16752
|
+
policy: _RemovalPolicy_9f93c814,
|
|
16753
|
+
) -> None:
|
|
16754
|
+
"""Type checking stubs"""
|
|
16755
|
+
pass
|
|
16756
|
+
|
|
16735
16757
|
def _typecheckingstub__6daee5d0cd9791a7321d18f729dc2d93548a8a15705bd861a902bd0dbae73cf6(
|
|
16736
16758
|
policy: Policy,
|
|
16737
16759
|
) -> None:
|
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -3562,10 +3562,15 @@ class CfnDomainConfiguration(
|
|
|
3562
3562
|
from aws_cdk import aws_iot as iot
|
|
3563
3563
|
|
|
3564
3564
|
cfn_domain_configuration = iot.CfnDomainConfiguration(self, "MyCfnDomainConfiguration",
|
|
3565
|
+
application_protocol="applicationProtocol",
|
|
3566
|
+
authentication_type="authenticationType",
|
|
3565
3567
|
authorizer_config=iot.CfnDomainConfiguration.AuthorizerConfigProperty(
|
|
3566
3568
|
allow_authorizer_override=False,
|
|
3567
3569
|
default_authorizer_name="defaultAuthorizerName"
|
|
3568
3570
|
),
|
|
3571
|
+
client_certificate_config=iot.CfnDomainConfiguration.ClientCertificateConfigProperty(
|
|
3572
|
+
client_certificate_callback_arn="clientCertificateCallbackArn"
|
|
3573
|
+
),
|
|
3569
3574
|
domain_configuration_name="domainConfigurationName",
|
|
3570
3575
|
domain_configuration_status="domainConfigurationStatus",
|
|
3571
3576
|
domain_name="domainName",
|
|
@@ -3590,7 +3595,10 @@ class CfnDomainConfiguration(
|
|
|
3590
3595
|
scope: _constructs_77d1e7e8.Construct,
|
|
3591
3596
|
id: builtins.str,
|
|
3592
3597
|
*,
|
|
3598
|
+
application_protocol: typing.Optional[builtins.str] = None,
|
|
3599
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
3593
3600
|
authorizer_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomainConfiguration.AuthorizerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3601
|
+
client_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomainConfiguration.ClientCertificateConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3594
3602
|
domain_configuration_name: typing.Optional[builtins.str] = None,
|
|
3595
3603
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
3596
3604
|
domain_name: typing.Optional[builtins.str] = None,
|
|
@@ -3604,7 +3612,10 @@ class CfnDomainConfiguration(
|
|
|
3604
3612
|
'''
|
|
3605
3613
|
:param scope: Scope in which this resource is defined.
|
|
3606
3614
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3615
|
+
:param application_protocol:
|
|
3616
|
+
:param authentication_type:
|
|
3607
3617
|
:param authorizer_config: An object that specifies the authorization service for a domain.
|
|
3618
|
+
:param client_certificate_config:
|
|
3608
3619
|
:param domain_configuration_name: The name of the domain configuration. This value must be unique to a region.
|
|
3609
3620
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
3610
3621
|
:param domain_name: The name of the domain.
|
|
@@ -3620,7 +3631,10 @@ class CfnDomainConfiguration(
|
|
|
3620
3631
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3621
3632
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3622
3633
|
props = CfnDomainConfigurationProps(
|
|
3634
|
+
application_protocol=application_protocol,
|
|
3635
|
+
authentication_type=authentication_type,
|
|
3623
3636
|
authorizer_config=authorizer_config,
|
|
3637
|
+
client_certificate_config=client_certificate_config,
|
|
3624
3638
|
domain_configuration_name=domain_configuration_name,
|
|
3625
3639
|
domain_configuration_status=domain_configuration_status,
|
|
3626
3640
|
domain_name=domain_name,
|
|
@@ -3704,6 +3718,30 @@ class CfnDomainConfiguration(
|
|
|
3704
3718
|
'''Tag Manager which manages the tags for this resource.'''
|
|
3705
3719
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
3706
3720
|
|
|
3721
|
+
@builtins.property
|
|
3722
|
+
@jsii.member(jsii_name="applicationProtocol")
|
|
3723
|
+
def application_protocol(self) -> typing.Optional[builtins.str]:
|
|
3724
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "applicationProtocol"))
|
|
3725
|
+
|
|
3726
|
+
@application_protocol.setter
|
|
3727
|
+
def application_protocol(self, value: typing.Optional[builtins.str]) -> None:
|
|
3728
|
+
if __debug__:
|
|
3729
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c45224b590b64a416c46a87fc29ac1019904163ddb0b258621e5f6516130ef7b)
|
|
3730
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3731
|
+
jsii.set(self, "applicationProtocol", value) # pyright: ignore[reportArgumentType]
|
|
3732
|
+
|
|
3733
|
+
@builtins.property
|
|
3734
|
+
@jsii.member(jsii_name="authenticationType")
|
|
3735
|
+
def authentication_type(self) -> typing.Optional[builtins.str]:
|
|
3736
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "authenticationType"))
|
|
3737
|
+
|
|
3738
|
+
@authentication_type.setter
|
|
3739
|
+
def authentication_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
3740
|
+
if __debug__:
|
|
3741
|
+
type_hints = typing.get_type_hints(_typecheckingstub__225c3e9fa9e234db50635139f586f914d1ae8ce19ef4a06b1f7b5945af17949c)
|
|
3742
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3743
|
+
jsii.set(self, "authenticationType", value) # pyright: ignore[reportArgumentType]
|
|
3744
|
+
|
|
3707
3745
|
@builtins.property
|
|
3708
3746
|
@jsii.member(jsii_name="authorizerConfig")
|
|
3709
3747
|
def authorizer_config(
|
|
@@ -3722,6 +3760,23 @@ class CfnDomainConfiguration(
|
|
|
3722
3760
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3723
3761
|
jsii.set(self, "authorizerConfig", value) # pyright: ignore[reportArgumentType]
|
|
3724
3762
|
|
|
3763
|
+
@builtins.property
|
|
3764
|
+
@jsii.member(jsii_name="clientCertificateConfig")
|
|
3765
|
+
def client_certificate_config(
|
|
3766
|
+
self,
|
|
3767
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ClientCertificateConfigProperty"]]:
|
|
3768
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ClientCertificateConfigProperty"]], jsii.get(self, "clientCertificateConfig"))
|
|
3769
|
+
|
|
3770
|
+
@client_certificate_config.setter
|
|
3771
|
+
def client_certificate_config(
|
|
3772
|
+
self,
|
|
3773
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ClientCertificateConfigProperty"]],
|
|
3774
|
+
) -> None:
|
|
3775
|
+
if __debug__:
|
|
3776
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ab4978fd026c7ea2fc74d21bd58dee6eadb9b9b060cbafbe372806ed35e195a)
|
|
3777
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3778
|
+
jsii.set(self, "clientCertificateConfig", value) # pyright: ignore[reportArgumentType]
|
|
3779
|
+
|
|
3725
3780
|
@builtins.property
|
|
3726
3781
|
@jsii.member(jsii_name="domainConfigurationName")
|
|
3727
3782
|
def domain_configuration_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -3927,6 +3982,61 @@ class CfnDomainConfiguration(
|
|
|
3927
3982
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3928
3983
|
)
|
|
3929
3984
|
|
|
3985
|
+
@jsii.data_type(
|
|
3986
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnDomainConfiguration.ClientCertificateConfigProperty",
|
|
3987
|
+
jsii_struct_bases=[],
|
|
3988
|
+
name_mapping={
|
|
3989
|
+
"client_certificate_callback_arn": "clientCertificateCallbackArn",
|
|
3990
|
+
},
|
|
3991
|
+
)
|
|
3992
|
+
class ClientCertificateConfigProperty:
|
|
3993
|
+
def __init__(
|
|
3994
|
+
self,
|
|
3995
|
+
*,
|
|
3996
|
+
client_certificate_callback_arn: typing.Optional[builtins.str] = None,
|
|
3997
|
+
) -> None:
|
|
3998
|
+
'''
|
|
3999
|
+
:param client_certificate_callback_arn:
|
|
4000
|
+
|
|
4001
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-clientcertificateconfig.html
|
|
4002
|
+
:exampleMetadata: fixture=_generated
|
|
4003
|
+
|
|
4004
|
+
Example::
|
|
4005
|
+
|
|
4006
|
+
# The code below shows an example of how to instantiate this type.
|
|
4007
|
+
# The values are placeholders you should change.
|
|
4008
|
+
from aws_cdk import aws_iot as iot
|
|
4009
|
+
|
|
4010
|
+
client_certificate_config_property = iot.CfnDomainConfiguration.ClientCertificateConfigProperty(
|
|
4011
|
+
client_certificate_callback_arn="clientCertificateCallbackArn"
|
|
4012
|
+
)
|
|
4013
|
+
'''
|
|
4014
|
+
if __debug__:
|
|
4015
|
+
type_hints = typing.get_type_hints(_typecheckingstub__93b41f5617e6612d5a7947408347bc90f8d10c56bcd62276cae64a634a0fdf23)
|
|
4016
|
+
check_type(argname="argument client_certificate_callback_arn", value=client_certificate_callback_arn, expected_type=type_hints["client_certificate_callback_arn"])
|
|
4017
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4018
|
+
if client_certificate_callback_arn is not None:
|
|
4019
|
+
self._values["client_certificate_callback_arn"] = client_certificate_callback_arn
|
|
4020
|
+
|
|
4021
|
+
@builtins.property
|
|
4022
|
+
def client_certificate_callback_arn(self) -> typing.Optional[builtins.str]:
|
|
4023
|
+
'''
|
|
4024
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-clientcertificateconfig.html#cfn-iot-domainconfiguration-clientcertificateconfig-clientcertificatecallbackarn
|
|
4025
|
+
'''
|
|
4026
|
+
result = self._values.get("client_certificate_callback_arn")
|
|
4027
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4028
|
+
|
|
4029
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4030
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4031
|
+
|
|
4032
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4033
|
+
return not (rhs == self)
|
|
4034
|
+
|
|
4035
|
+
def __repr__(self) -> str:
|
|
4036
|
+
return "ClientCertificateConfigProperty(%s)" % ", ".join(
|
|
4037
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4038
|
+
)
|
|
4039
|
+
|
|
3930
4040
|
@jsii.data_type(
|
|
3931
4041
|
jsii_type="aws-cdk-lib.aws_iot.CfnDomainConfiguration.ServerCertificateConfigProperty",
|
|
3932
4042
|
jsii_struct_bases=[],
|
|
@@ -4139,7 +4249,10 @@ class CfnDomainConfiguration(
|
|
|
4139
4249
|
jsii_type="aws-cdk-lib.aws_iot.CfnDomainConfigurationProps",
|
|
4140
4250
|
jsii_struct_bases=[],
|
|
4141
4251
|
name_mapping={
|
|
4252
|
+
"application_protocol": "applicationProtocol",
|
|
4253
|
+
"authentication_type": "authenticationType",
|
|
4142
4254
|
"authorizer_config": "authorizerConfig",
|
|
4255
|
+
"client_certificate_config": "clientCertificateConfig",
|
|
4143
4256
|
"domain_configuration_name": "domainConfigurationName",
|
|
4144
4257
|
"domain_configuration_status": "domainConfigurationStatus",
|
|
4145
4258
|
"domain_name": "domainName",
|
|
@@ -4155,7 +4268,10 @@ class CfnDomainConfigurationProps:
|
|
|
4155
4268
|
def __init__(
|
|
4156
4269
|
self,
|
|
4157
4270
|
*,
|
|
4271
|
+
application_protocol: typing.Optional[builtins.str] = None,
|
|
4272
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
4158
4273
|
authorizer_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.AuthorizerConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4274
|
+
client_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ClientCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4159
4275
|
domain_configuration_name: typing.Optional[builtins.str] = None,
|
|
4160
4276
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
4161
4277
|
domain_name: typing.Optional[builtins.str] = None,
|
|
@@ -4168,7 +4284,10 @@ class CfnDomainConfigurationProps:
|
|
|
4168
4284
|
) -> None:
|
|
4169
4285
|
'''Properties for defining a ``CfnDomainConfiguration``.
|
|
4170
4286
|
|
|
4287
|
+
:param application_protocol:
|
|
4288
|
+
:param authentication_type:
|
|
4171
4289
|
:param authorizer_config: An object that specifies the authorization service for a domain.
|
|
4290
|
+
:param client_certificate_config:
|
|
4172
4291
|
:param domain_configuration_name: The name of the domain configuration. This value must be unique to a region.
|
|
4173
4292
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
4174
4293
|
:param domain_name: The name of the domain.
|
|
@@ -4189,10 +4308,15 @@ class CfnDomainConfigurationProps:
|
|
|
4189
4308
|
from aws_cdk import aws_iot as iot
|
|
4190
4309
|
|
|
4191
4310
|
cfn_domain_configuration_props = iot.CfnDomainConfigurationProps(
|
|
4311
|
+
application_protocol="applicationProtocol",
|
|
4312
|
+
authentication_type="authenticationType",
|
|
4192
4313
|
authorizer_config=iot.CfnDomainConfiguration.AuthorizerConfigProperty(
|
|
4193
4314
|
allow_authorizer_override=False,
|
|
4194
4315
|
default_authorizer_name="defaultAuthorizerName"
|
|
4195
4316
|
),
|
|
4317
|
+
client_certificate_config=iot.CfnDomainConfiguration.ClientCertificateConfigProperty(
|
|
4318
|
+
client_certificate_callback_arn="clientCertificateCallbackArn"
|
|
4319
|
+
),
|
|
4196
4320
|
domain_configuration_name="domainConfigurationName",
|
|
4197
4321
|
domain_configuration_status="domainConfigurationStatus",
|
|
4198
4322
|
domain_name="domainName",
|
|
@@ -4213,7 +4337,10 @@ class CfnDomainConfigurationProps:
|
|
|
4213
4337
|
'''
|
|
4214
4338
|
if __debug__:
|
|
4215
4339
|
type_hints = typing.get_type_hints(_typecheckingstub__af698e1a1ead0a2d7000837dd712796a150772065ad59ab9baf10a759fd99e3e)
|
|
4340
|
+
check_type(argname="argument application_protocol", value=application_protocol, expected_type=type_hints["application_protocol"])
|
|
4341
|
+
check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
|
|
4216
4342
|
check_type(argname="argument authorizer_config", value=authorizer_config, expected_type=type_hints["authorizer_config"])
|
|
4343
|
+
check_type(argname="argument client_certificate_config", value=client_certificate_config, expected_type=type_hints["client_certificate_config"])
|
|
4217
4344
|
check_type(argname="argument domain_configuration_name", value=domain_configuration_name, expected_type=type_hints["domain_configuration_name"])
|
|
4218
4345
|
check_type(argname="argument domain_configuration_status", value=domain_configuration_status, expected_type=type_hints["domain_configuration_status"])
|
|
4219
4346
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
@@ -4224,8 +4351,14 @@ class CfnDomainConfigurationProps:
|
|
|
4224
4351
|
check_type(argname="argument tls_config", value=tls_config, expected_type=type_hints["tls_config"])
|
|
4225
4352
|
check_type(argname="argument validation_certificate_arn", value=validation_certificate_arn, expected_type=type_hints["validation_certificate_arn"])
|
|
4226
4353
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4354
|
+
if application_protocol is not None:
|
|
4355
|
+
self._values["application_protocol"] = application_protocol
|
|
4356
|
+
if authentication_type is not None:
|
|
4357
|
+
self._values["authentication_type"] = authentication_type
|
|
4227
4358
|
if authorizer_config is not None:
|
|
4228
4359
|
self._values["authorizer_config"] = authorizer_config
|
|
4360
|
+
if client_certificate_config is not None:
|
|
4361
|
+
self._values["client_certificate_config"] = client_certificate_config
|
|
4229
4362
|
if domain_configuration_name is not None:
|
|
4230
4363
|
self._values["domain_configuration_name"] = domain_configuration_name
|
|
4231
4364
|
if domain_configuration_status is not None:
|
|
@@ -4245,6 +4378,22 @@ class CfnDomainConfigurationProps:
|
|
|
4245
4378
|
if validation_certificate_arn is not None:
|
|
4246
4379
|
self._values["validation_certificate_arn"] = validation_certificate_arn
|
|
4247
4380
|
|
|
4381
|
+
@builtins.property
|
|
4382
|
+
def application_protocol(self) -> typing.Optional[builtins.str]:
|
|
4383
|
+
'''
|
|
4384
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-applicationprotocol
|
|
4385
|
+
'''
|
|
4386
|
+
result = self._values.get("application_protocol")
|
|
4387
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4388
|
+
|
|
4389
|
+
@builtins.property
|
|
4390
|
+
def authentication_type(self) -> typing.Optional[builtins.str]:
|
|
4391
|
+
'''
|
|
4392
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-authenticationtype
|
|
4393
|
+
'''
|
|
4394
|
+
result = self._values.get("authentication_type")
|
|
4395
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4396
|
+
|
|
4248
4397
|
@builtins.property
|
|
4249
4398
|
def authorizer_config(
|
|
4250
4399
|
self,
|
|
@@ -4256,6 +4405,16 @@ class CfnDomainConfigurationProps:
|
|
|
4256
4405
|
result = self._values.get("authorizer_config")
|
|
4257
4406
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.AuthorizerConfigProperty]], result)
|
|
4258
4407
|
|
|
4408
|
+
@builtins.property
|
|
4409
|
+
def client_certificate_config(
|
|
4410
|
+
self,
|
|
4411
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ClientCertificateConfigProperty]]:
|
|
4412
|
+
'''
|
|
4413
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-clientcertificateconfig
|
|
4414
|
+
'''
|
|
4415
|
+
result = self._values.get("client_certificate_config")
|
|
4416
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ClientCertificateConfigProperty]], result)
|
|
4417
|
+
|
|
4259
4418
|
@builtins.property
|
|
4260
4419
|
def domain_configuration_name(self) -> typing.Optional[builtins.str]:
|
|
4261
4420
|
'''The name of the domain configuration.
|
|
@@ -19978,7 +20137,10 @@ def _typecheckingstub__58bae527b5502ff5c7ab6b93d68302d8e2cbc6a5632a832f2c6bf436e
|
|
|
19978
20137
|
scope: _constructs_77d1e7e8.Construct,
|
|
19979
20138
|
id: builtins.str,
|
|
19980
20139
|
*,
|
|
20140
|
+
application_protocol: typing.Optional[builtins.str] = None,
|
|
20141
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
19981
20142
|
authorizer_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.AuthorizerConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20143
|
+
client_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ClientCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19982
20144
|
domain_configuration_name: typing.Optional[builtins.str] = None,
|
|
19983
20145
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
19984
20146
|
domain_name: typing.Optional[builtins.str] = None,
|
|
@@ -20004,12 +20166,30 @@ def _typecheckingstub__a521b80b35b3b85d1ffa56350bbe5d3fd57e34432bafd9a0695afd3e6
|
|
|
20004
20166
|
"""Type checking stubs"""
|
|
20005
20167
|
pass
|
|
20006
20168
|
|
|
20169
|
+
def _typecheckingstub__c45224b590b64a416c46a87fc29ac1019904163ddb0b258621e5f6516130ef7b(
|
|
20170
|
+
value: typing.Optional[builtins.str],
|
|
20171
|
+
) -> None:
|
|
20172
|
+
"""Type checking stubs"""
|
|
20173
|
+
pass
|
|
20174
|
+
|
|
20175
|
+
def _typecheckingstub__225c3e9fa9e234db50635139f586f914d1ae8ce19ef4a06b1f7b5945af17949c(
|
|
20176
|
+
value: typing.Optional[builtins.str],
|
|
20177
|
+
) -> None:
|
|
20178
|
+
"""Type checking stubs"""
|
|
20179
|
+
pass
|
|
20180
|
+
|
|
20007
20181
|
def _typecheckingstub__329022c3008fb4066b0011ab5576f6f0f1167a46f7001262c9a1ac8f8be9cab6(
|
|
20008
20182
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.AuthorizerConfigProperty]],
|
|
20009
20183
|
) -> None:
|
|
20010
20184
|
"""Type checking stubs"""
|
|
20011
20185
|
pass
|
|
20012
20186
|
|
|
20187
|
+
def _typecheckingstub__4ab4978fd026c7ea2fc74d21bd58dee6eadb9b9b060cbafbe372806ed35e195a(
|
|
20188
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ClientCertificateConfigProperty]],
|
|
20189
|
+
) -> None:
|
|
20190
|
+
"""Type checking stubs"""
|
|
20191
|
+
pass
|
|
20192
|
+
|
|
20013
20193
|
def _typecheckingstub__690e10eaf515070f65864a88af4e5fa88adb1c3831b9e925734e0491e3d7cbb4(
|
|
20014
20194
|
value: typing.Optional[builtins.str],
|
|
20015
20195
|
) -> None:
|
|
@@ -20072,6 +20252,13 @@ def _typecheckingstub__a0137c885f6ee06843b08b821c9785482f4c15e69984bf435ea564af6
|
|
|
20072
20252
|
"""Type checking stubs"""
|
|
20073
20253
|
pass
|
|
20074
20254
|
|
|
20255
|
+
def _typecheckingstub__93b41f5617e6612d5a7947408347bc90f8d10c56bcd62276cae64a634a0fdf23(
|
|
20256
|
+
*,
|
|
20257
|
+
client_certificate_callback_arn: typing.Optional[builtins.str] = None,
|
|
20258
|
+
) -> None:
|
|
20259
|
+
"""Type checking stubs"""
|
|
20260
|
+
pass
|
|
20261
|
+
|
|
20075
20262
|
def _typecheckingstub__c9e3f7a32bb1f35b034ddd61e39c252e74632db889671f02c46280c93d0573a2(
|
|
20076
20263
|
*,
|
|
20077
20264
|
enable_ocsp_check: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -20097,7 +20284,10 @@ def _typecheckingstub__08eed2b30e1da3e19675726a328ce586ef896b30d6ce5aa7a6322d863
|
|
|
20097
20284
|
|
|
20098
20285
|
def _typecheckingstub__af698e1a1ead0a2d7000837dd712796a150772065ad59ab9baf10a759fd99e3e(
|
|
20099
20286
|
*,
|
|
20287
|
+
application_protocol: typing.Optional[builtins.str] = None,
|
|
20288
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
20100
20289
|
authorizer_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.AuthorizerConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20290
|
+
client_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ClientCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20101
20291
|
domain_configuration_name: typing.Optional[builtins.str] = None,
|
|
20102
20292
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
20103
20293
|
domain_name: typing.Optional[builtins.str] = None,
|
|
@@ -2167,7 +2167,7 @@ class CfnAssetModel(
|
|
|
2167
2167
|
) -> None:
|
|
2168
2168
|
'''Contains information about an asset model property.
|
|
2169
2169
|
|
|
2170
|
-
:param data_type: The data type of the asset model property.
|
|
2170
|
+
:param data_type: The data type of the asset model property. If you specify ``STRUCT`` , you must also specify ``dataTypeSpec`` to identify the type of the structure for this property.
|
|
2171
2171
|
:param name: The name of the asset model property.
|
|
2172
2172
|
:param type: Contains a property type, which can be one of ``attribute`` , ``measurement`` , ``metric`` , or ``transform`` .
|
|
2173
2173
|
:param data_type_spec: The data type of the structure for this property. This parameter exists on properties that have the ``STRUCT`` data type.
|
|
@@ -2277,6 +2277,8 @@ class CfnAssetModel(
|
|
|
2277
2277
|
def data_type(self) -> builtins.str:
|
|
2278
2278
|
'''The data type of the asset model property.
|
|
2279
2279
|
|
|
2280
|
+
If you specify ``STRUCT`` , you must also specify ``dataTypeSpec`` to identify the type of the structure for this property.
|
|
2281
|
+
|
|
2280
2282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatype
|
|
2281
2283
|
'''
|
|
2282
2284
|
result = self._values.get("data_type")
|
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -303,7 +303,7 @@ resource policy.
|
|
|
303
303
|
# fn: lambda.Function
|
|
304
304
|
|
|
305
305
|
service_principal = iam.ServicePrincipal("my-service")
|
|
306
|
-
source_arn = "arn:aws:s3:::
|
|
306
|
+
source_arn = "arn:aws:s3:::amzn-s3-demo-bucket"
|
|
307
307
|
source_account = "111122223333"
|
|
308
308
|
service_principal_with_conditions = service_principal.with_conditions({
|
|
309
309
|
"ArnLike": {
|
|
@@ -18699,6 +18699,12 @@ class LambdaInsightsVersion(
|
|
|
18699
18699
|
'''Version 1.0.317.0.'''
|
|
18700
18700
|
return typing.cast("LambdaInsightsVersion", jsii.sget(cls, "VERSION_1_0_317_0"))
|
|
18701
18701
|
|
|
18702
|
+
@jsii.python.classproperty
|
|
18703
|
+
@jsii.member(jsii_name="VERSION_1_0_333_0")
|
|
18704
|
+
def VERSION_1_0_333_0(cls) -> "LambdaInsightsVersion":
|
|
18705
|
+
'''Version 1.0.333.0.'''
|
|
18706
|
+
return typing.cast("LambdaInsightsVersion", jsii.sget(cls, "VERSION_1_0_333_0"))
|
|
18707
|
+
|
|
18702
18708
|
@jsii.python.classproperty
|
|
18703
18709
|
@jsii.member(jsii_name="VERSION_1_0_54_0")
|
|
18704
18710
|
def VERSION_1_0_54_0(cls) -> "LambdaInsightsVersion":
|
|
@@ -107,7 +107,7 @@ from aws_cdk.aws_lambda_event_sources import S3EventSourceV2
|
|
|
107
107
|
# fn: lambda.Function
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "bucket
|
|
110
|
+
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "amzn-s3-demo-bucket")
|
|
111
111
|
|
|
112
112
|
fn.add_event_source(S3EventSourceV2(bucket,
|
|
113
113
|
events=[s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED],
|
|
@@ -1364,7 +1364,7 @@ class S3EventSourceV2(
|
|
|
1364
1364
|
# fn: lambda.Function
|
|
1365
1365
|
|
|
1366
1366
|
|
|
1367
|
-
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "bucket
|
|
1367
|
+
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "amzn-s3-demo-bucket")
|
|
1368
1368
|
|
|
1369
1369
|
fn.add_event_source(S3EventSourceV2(bucket,
|
|
1370
1370
|
events=[s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED],
|
aws_cdk/aws_logs/__init__.py
CHANGED
|
@@ -430,7 +430,7 @@ bucket = s3.Bucket(self, "audit-bucket")
|
|
|
430
430
|
s3_destination = destinations.S3Bucket(bucket)
|
|
431
431
|
|
|
432
432
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
433
|
-
|
|
433
|
+
destination=s3_destination
|
|
434
434
|
)
|
|
435
435
|
|
|
436
436
|
data_protection_policy = logs.DataProtectionPolicy(
|
|
@@ -4532,7 +4532,7 @@ class DataIdentifier(
|
|
|
4532
4532
|
s3_destination = destinations.S3Bucket(bucket)
|
|
4533
4533
|
|
|
4534
4534
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
4535
|
-
|
|
4535
|
+
destination=s3_destination
|
|
4536
4536
|
)
|
|
4537
4537
|
|
|
4538
4538
|
data_protection_policy = logs.DataProtectionPolicy(
|
|
@@ -5088,7 +5088,7 @@ class DataProtectionPolicy(
|
|
|
5088
5088
|
s3_destination = destinations.S3Bucket(bucket)
|
|
5089
5089
|
|
|
5090
5090
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
5091
|
-
|
|
5091
|
+
destination=s3_destination
|
|
5092
5092
|
)
|
|
5093
5093
|
|
|
5094
5094
|
data_protection_policy = logs.DataProtectionPolicy(
|
|
@@ -5187,7 +5187,7 @@ class DataProtectionPolicyProps:
|
|
|
5187
5187
|
s3_destination = destinations.S3Bucket(bucket)
|
|
5188
5188
|
|
|
5189
5189
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
5190
|
-
|
|
5190
|
+
destination=s3_destination
|
|
5191
5191
|
)
|
|
5192
5192
|
|
|
5193
5193
|
data_protection_policy = logs.DataProtectionPolicy(
|
|
@@ -6818,7 +6818,7 @@ class LogGroupProps:
|
|
|
6818
6818
|
s3_destination = destinations.S3Bucket(bucket)
|
|
6819
6819
|
|
|
6820
6820
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
6821
|
-
|
|
6821
|
+
destination=s3_destination
|
|
6822
6822
|
)
|
|
6823
6823
|
|
|
6824
6824
|
data_protection_policy = logs.DataProtectionPolicy(
|
|
@@ -9201,7 +9201,7 @@ class CustomDataIdentifier(
|
|
|
9201
9201
|
s3_destination = destinations.S3Bucket(bucket)
|
|
9202
9202
|
|
|
9203
9203
|
delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
|
|
9204
|
-
|
|
9204
|
+
destination=s3_destination
|
|
9205
9205
|
)
|
|
9206
9206
|
|
|
9207
9207
|
data_protection_policy = logs.DataProtectionPolicy(
|