aws-cdk-lib 2.117.0__py3-none-any.whl → 2.119.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 +138 -25
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.117.0.jsii.tgz → aws-cdk-lib@2.119.0.jsii.tgz} +0 -0
- aws_cdk/amzn_sdc/__init__.py +496 -0
- aws_cdk/aws_appsync/__init__.py +94 -22
- aws_cdk/aws_autoscaling/__init__.py +139 -74
- aws_cdk/aws_certificatemanager/__init__.py +164 -3
- aws_cdk/aws_cloud9/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +853 -38
- aws_cdk/aws_cloudtrail/__init__.py +54 -34
- aws_cdk/aws_cloudwatch_actions/__init__.py +105 -0
- aws_cdk/aws_codebuild/__init__.py +46 -5
- aws_cdk/aws_codecommit/__init__.py +9 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +54 -0
- aws_cdk/aws_codetest/__init__.py +788 -0
- aws_cdk/aws_cognito/__init__.py +104 -0
- aws_cdk/aws_connect/__init__.py +626 -78
- aws_cdk/aws_docdb/__init__.py +442 -0
- aws_cdk/aws_dynamodb/__init__.py +14 -0
- aws_cdk/aws_ec2/__init__.py +372 -44
- aws_cdk/aws_ecs/__init__.py +192 -35
- aws_cdk/aws_emrserverless/__init__.py +20 -13
- aws_cdk/aws_events/__init__.py +90 -1
- aws_cdk/aws_fis/__init__.py +12 -32
- aws_cdk/aws_globalaccelerator/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +329 -0
- aws_cdk/aws_iam/__init__.py +50 -24
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotsitewise/__init__.py +4 -4
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +111 -0
- aws_cdk/aws_lambda/__init__.py +180 -407
- aws_cdk/aws_location/__init__.py +1132 -17
- aws_cdk/aws_mediatailor/__init__.py +120 -17
- aws_cdk/aws_networkfirewall/__init__.py +2 -2
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +58 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -6
- aws_cdk/aws_pipes/__init__.py +7 -2
- aws_cdk/aws_rds/__init__.py +247 -16
- aws_cdk/aws_redshift/__init__.py +103 -0
- aws_cdk/aws_route53/__init__.py +68 -20
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_ssm/__init__.py +76 -13
- aws_cdk/aws_stepfunctions/__init__.py +110 -5
- aws_cdk/aws_stepfunctions_tasks/__init__.py +84 -29
- aws_cdk/pipelines/__init__.py +136 -37
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/METADATA +98 -12
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/RECORD +57 -55
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -3545,6 +3545,9 @@ class CfnDomainConfiguration(
|
|
|
3545
3545
|
domain_configuration_status="domainConfigurationStatus",
|
|
3546
3546
|
domain_name="domainName",
|
|
3547
3547
|
server_certificate_arns=["serverCertificateArns"],
|
|
3548
|
+
server_certificate_config=iot.CfnDomainConfiguration.ServerCertificateConfigProperty(
|
|
3549
|
+
enable_ocsp_check=False
|
|
3550
|
+
),
|
|
3548
3551
|
service_type="serviceType",
|
|
3549
3552
|
tags=[CfnTag(
|
|
3550
3553
|
key="key",
|
|
@@ -3567,6 +3570,7 @@ class CfnDomainConfiguration(
|
|
|
3567
3570
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
3568
3571
|
domain_name: typing.Optional[builtins.str] = None,
|
|
3569
3572
|
server_certificate_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3573
|
+
server_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomainConfiguration.ServerCertificateConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3570
3574
|
service_type: typing.Optional[builtins.str] = None,
|
|
3571
3575
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3572
3576
|
tls_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomainConfiguration.TlsConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3580,6 +3584,7 @@ class CfnDomainConfiguration(
|
|
|
3580
3584
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
3581
3585
|
:param domain_name: The name of the domain.
|
|
3582
3586
|
:param server_certificate_arns: The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
|
|
3587
|
+
:param server_certificate_config:
|
|
3583
3588
|
:param service_type: The type of service delivered by the endpoint. .. epigraph:: AWS IoT Core currently supports only the ``DATA`` service type.
|
|
3584
3589
|
:param tags: Metadata which can be used to manage the domain configuration. .. epigraph:: For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
|
|
3585
3590
|
:param tls_config: An object that specifies the TLS configuration for a domain.
|
|
@@ -3595,6 +3600,7 @@ class CfnDomainConfiguration(
|
|
|
3595
3600
|
domain_configuration_status=domain_configuration_status,
|
|
3596
3601
|
domain_name=domain_name,
|
|
3597
3602
|
server_certificate_arns=server_certificate_arns,
|
|
3603
|
+
server_certificate_config=server_certificate_config,
|
|
3598
3604
|
service_type=service_type,
|
|
3599
3605
|
tags=tags,
|
|
3600
3606
|
tls_config=tls_config,
|
|
@@ -3746,6 +3752,23 @@ class CfnDomainConfiguration(
|
|
|
3746
3752
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3747
3753
|
jsii.set(self, "serverCertificateArns", value)
|
|
3748
3754
|
|
|
3755
|
+
@builtins.property
|
|
3756
|
+
@jsii.member(jsii_name="serverCertificateConfig")
|
|
3757
|
+
def server_certificate_config(
|
|
3758
|
+
self,
|
|
3759
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ServerCertificateConfigProperty"]]:
|
|
3760
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ServerCertificateConfigProperty"]], jsii.get(self, "serverCertificateConfig"))
|
|
3761
|
+
|
|
3762
|
+
@server_certificate_config.setter
|
|
3763
|
+
def server_certificate_config(
|
|
3764
|
+
self,
|
|
3765
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomainConfiguration.ServerCertificateConfigProperty"]],
|
|
3766
|
+
) -> None:
|
|
3767
|
+
if __debug__:
|
|
3768
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e961d38604909272268f83e6241e14f8644edf3b972e95582c0126a54e77a342)
|
|
3769
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3770
|
+
jsii.set(self, "serverCertificateConfig", value)
|
|
3771
|
+
|
|
3749
3772
|
@builtins.property
|
|
3750
3773
|
@jsii.member(jsii_name="serviceType")
|
|
3751
3774
|
def service_type(self) -> typing.Optional[builtins.str]:
|
|
@@ -3878,6 +3901,61 @@ class CfnDomainConfiguration(
|
|
|
3878
3901
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3879
3902
|
)
|
|
3880
3903
|
|
|
3904
|
+
@jsii.data_type(
|
|
3905
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnDomainConfiguration.ServerCertificateConfigProperty",
|
|
3906
|
+
jsii_struct_bases=[],
|
|
3907
|
+
name_mapping={"enable_ocsp_check": "enableOcspCheck"},
|
|
3908
|
+
)
|
|
3909
|
+
class ServerCertificateConfigProperty:
|
|
3910
|
+
def __init__(
|
|
3911
|
+
self,
|
|
3912
|
+
*,
|
|
3913
|
+
enable_ocsp_check: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3914
|
+
) -> None:
|
|
3915
|
+
'''
|
|
3916
|
+
:param enable_ocsp_check:
|
|
3917
|
+
|
|
3918
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificateconfig.html
|
|
3919
|
+
:exampleMetadata: fixture=_generated
|
|
3920
|
+
|
|
3921
|
+
Example::
|
|
3922
|
+
|
|
3923
|
+
# The code below shows an example of how to instantiate this type.
|
|
3924
|
+
# The values are placeholders you should change.
|
|
3925
|
+
from aws_cdk import aws_iot as iot
|
|
3926
|
+
|
|
3927
|
+
server_certificate_config_property = iot.CfnDomainConfiguration.ServerCertificateConfigProperty(
|
|
3928
|
+
enable_ocsp_check=False
|
|
3929
|
+
)
|
|
3930
|
+
'''
|
|
3931
|
+
if __debug__:
|
|
3932
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c9e3f7a32bb1f35b034ddd61e39c252e74632db889671f02c46280c93d0573a2)
|
|
3933
|
+
check_type(argname="argument enable_ocsp_check", value=enable_ocsp_check, expected_type=type_hints["enable_ocsp_check"])
|
|
3934
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3935
|
+
if enable_ocsp_check is not None:
|
|
3936
|
+
self._values["enable_ocsp_check"] = enable_ocsp_check
|
|
3937
|
+
|
|
3938
|
+
@builtins.property
|
|
3939
|
+
def enable_ocsp_check(
|
|
3940
|
+
self,
|
|
3941
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3942
|
+
'''
|
|
3943
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificateconfig.html#cfn-iot-domainconfiguration-servercertificateconfig-enableocspcheck
|
|
3944
|
+
'''
|
|
3945
|
+
result = self._values.get("enable_ocsp_check")
|
|
3946
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3947
|
+
|
|
3948
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3949
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3950
|
+
|
|
3951
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3952
|
+
return not (rhs == self)
|
|
3953
|
+
|
|
3954
|
+
def __repr__(self) -> str:
|
|
3955
|
+
return "ServerCertificateConfigProperty(%s)" % ", ".join(
|
|
3956
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3957
|
+
)
|
|
3958
|
+
|
|
3881
3959
|
@jsii.data_type(
|
|
3882
3960
|
jsii_type="aws-cdk-lib.aws_iot.CfnDomainConfiguration.ServerCertificateSummaryProperty",
|
|
3883
3961
|
jsii_struct_bases=[],
|
|
@@ -4034,6 +4112,7 @@ class CfnDomainConfiguration(
|
|
|
4034
4112
|
"domain_configuration_status": "domainConfigurationStatus",
|
|
4035
4113
|
"domain_name": "domainName",
|
|
4036
4114
|
"server_certificate_arns": "serverCertificateArns",
|
|
4115
|
+
"server_certificate_config": "serverCertificateConfig",
|
|
4037
4116
|
"service_type": "serviceType",
|
|
4038
4117
|
"tags": "tags",
|
|
4039
4118
|
"tls_config": "tlsConfig",
|
|
@@ -4049,6 +4128,7 @@ class CfnDomainConfigurationProps:
|
|
|
4049
4128
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
4050
4129
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4051
4130
|
server_certificate_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4131
|
+
server_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ServerCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4052
4132
|
service_type: typing.Optional[builtins.str] = None,
|
|
4053
4133
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4054
4134
|
tls_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.TlsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -4061,6 +4141,7 @@ class CfnDomainConfigurationProps:
|
|
|
4061
4141
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
4062
4142
|
:param domain_name: The name of the domain.
|
|
4063
4143
|
:param server_certificate_arns: The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
|
|
4144
|
+
:param server_certificate_config:
|
|
4064
4145
|
:param service_type: The type of service delivered by the endpoint. .. epigraph:: AWS IoT Core currently supports only the ``DATA`` service type.
|
|
4065
4146
|
:param tags: Metadata which can be used to manage the domain configuration. .. epigraph:: For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
|
|
4066
4147
|
:param tls_config: An object that specifies the TLS configuration for a domain.
|
|
@@ -4084,6 +4165,9 @@ class CfnDomainConfigurationProps:
|
|
|
4084
4165
|
domain_configuration_status="domainConfigurationStatus",
|
|
4085
4166
|
domain_name="domainName",
|
|
4086
4167
|
server_certificate_arns=["serverCertificateArns"],
|
|
4168
|
+
server_certificate_config=iot.CfnDomainConfiguration.ServerCertificateConfigProperty(
|
|
4169
|
+
enable_ocsp_check=False
|
|
4170
|
+
),
|
|
4087
4171
|
service_type="serviceType",
|
|
4088
4172
|
tags=[CfnTag(
|
|
4089
4173
|
key="key",
|
|
@@ -4102,6 +4186,7 @@ class CfnDomainConfigurationProps:
|
|
|
4102
4186
|
check_type(argname="argument domain_configuration_status", value=domain_configuration_status, expected_type=type_hints["domain_configuration_status"])
|
|
4103
4187
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
4104
4188
|
check_type(argname="argument server_certificate_arns", value=server_certificate_arns, expected_type=type_hints["server_certificate_arns"])
|
|
4189
|
+
check_type(argname="argument server_certificate_config", value=server_certificate_config, expected_type=type_hints["server_certificate_config"])
|
|
4105
4190
|
check_type(argname="argument service_type", value=service_type, expected_type=type_hints["service_type"])
|
|
4106
4191
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4107
4192
|
check_type(argname="argument tls_config", value=tls_config, expected_type=type_hints["tls_config"])
|
|
@@ -4117,6 +4202,8 @@ class CfnDomainConfigurationProps:
|
|
|
4117
4202
|
self._values["domain_name"] = domain_name
|
|
4118
4203
|
if server_certificate_arns is not None:
|
|
4119
4204
|
self._values["server_certificate_arns"] = server_certificate_arns
|
|
4205
|
+
if server_certificate_config is not None:
|
|
4206
|
+
self._values["server_certificate_config"] = server_certificate_config
|
|
4120
4207
|
if service_type is not None:
|
|
4121
4208
|
self._values["service_type"] = service_type
|
|
4122
4209
|
if tags is not None:
|
|
@@ -4179,6 +4266,16 @@ class CfnDomainConfigurationProps:
|
|
|
4179
4266
|
result = self._values.get("server_certificate_arns")
|
|
4180
4267
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
4181
4268
|
|
|
4269
|
+
@builtins.property
|
|
4270
|
+
def server_certificate_config(
|
|
4271
|
+
self,
|
|
4272
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ServerCertificateConfigProperty]]:
|
|
4273
|
+
'''
|
|
4274
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-servercertificateconfig
|
|
4275
|
+
'''
|
|
4276
|
+
result = self._values.get("server_certificate_config")
|
|
4277
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ServerCertificateConfigProperty]], result)
|
|
4278
|
+
|
|
4182
4279
|
@builtins.property
|
|
4183
4280
|
def service_type(self) -> typing.Optional[builtins.str]:
|
|
4184
4281
|
'''The type of service delivered by the endpoint.
|
|
@@ -19851,6 +19948,7 @@ def _typecheckingstub__58bae527b5502ff5c7ab6b93d68302d8e2cbc6a5632a832f2c6bf436e
|
|
|
19851
19948
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
19852
19949
|
domain_name: typing.Optional[builtins.str] = None,
|
|
19853
19950
|
server_certificate_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
19951
|
+
server_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ServerCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19854
19952
|
service_type: typing.Optional[builtins.str] = None,
|
|
19855
19953
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19856
19954
|
tls_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.TlsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -19901,6 +19999,12 @@ def _typecheckingstub__4ef4b6ed6999d8d891daa0bf8e467d208eea91e61d9cdcaced2d77c5c
|
|
|
19901
19999
|
"""Type checking stubs"""
|
|
19902
20000
|
pass
|
|
19903
20001
|
|
|
20002
|
+
def _typecheckingstub__e961d38604909272268f83e6241e14f8644edf3b972e95582c0126a54e77a342(
|
|
20003
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ServerCertificateConfigProperty]],
|
|
20004
|
+
) -> None:
|
|
20005
|
+
"""Type checking stubs"""
|
|
20006
|
+
pass
|
|
20007
|
+
|
|
19904
20008
|
def _typecheckingstub__3f604d76719368707bcb524945346fee877b63e531c6c9f797711e29edad34ef(
|
|
19905
20009
|
value: typing.Optional[builtins.str],
|
|
19906
20010
|
) -> None:
|
|
@@ -19933,6 +20037,13 @@ def _typecheckingstub__a0137c885f6ee06843b08b821c9785482f4c15e69984bf435ea564af6
|
|
|
19933
20037
|
"""Type checking stubs"""
|
|
19934
20038
|
pass
|
|
19935
20039
|
|
|
20040
|
+
def _typecheckingstub__c9e3f7a32bb1f35b034ddd61e39c252e74632db889671f02c46280c93d0573a2(
|
|
20041
|
+
*,
|
|
20042
|
+
enable_ocsp_check: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
20043
|
+
) -> None:
|
|
20044
|
+
"""Type checking stubs"""
|
|
20045
|
+
pass
|
|
20046
|
+
|
|
19936
20047
|
def _typecheckingstub__a5a7581965c46613d884dede598616df654c4e0431faf31d853441c77e54a23c(
|
|
19937
20048
|
*,
|
|
19938
20049
|
server_certificate_arn: typing.Optional[builtins.str] = None,
|
|
@@ -19956,6 +20067,7 @@ def _typecheckingstub__af698e1a1ead0a2d7000837dd712796a150772065ad59ab9baf10a759
|
|
|
19956
20067
|
domain_configuration_status: typing.Optional[builtins.str] = None,
|
|
19957
20068
|
domain_name: typing.Optional[builtins.str] = None,
|
|
19958
20069
|
server_certificate_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
20070
|
+
server_certificate_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.ServerCertificateConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19959
20071
|
service_type: typing.Optional[builtins.str] = None,
|
|
19960
20072
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19961
20073
|
tls_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomainConfiguration.TlsConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3816,7 +3816,7 @@ class CfnGateway(
|
|
|
3816
3816
|
'''Contains a gateway's platform information.
|
|
3817
3817
|
|
|
3818
3818
|
:param greengrass: A gateway that runs on AWS IoT Greengrass .
|
|
3819
|
-
:param greengrass_v2: A gateway that runs on AWS IoT Greengrass V2.
|
|
3819
|
+
:param greengrass_v2: A gateway that runs on AWS IoT Greengrass V2 .
|
|
3820
3820
|
|
|
3821
3821
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html
|
|
3822
3822
|
:exampleMetadata: fixture=_generated
|
|
@@ -3861,7 +3861,7 @@ class CfnGateway(
|
|
|
3861
3861
|
def greengrass_v2(
|
|
3862
3862
|
self,
|
|
3863
3863
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.GreengrassV2Property"]]:
|
|
3864
|
-
'''A gateway that runs on AWS IoT Greengrass V2.
|
|
3864
|
+
'''A gateway that runs on AWS IoT Greengrass V2 .
|
|
3865
3865
|
|
|
3866
3866
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html#cfn-iotsitewise-gateway-gatewayplatform-greengrassv2
|
|
3867
3867
|
'''
|
|
@@ -3940,9 +3940,9 @@ class CfnGateway(
|
|
|
3940
3940
|
)
|
|
3941
3941
|
class GreengrassV2Property:
|
|
3942
3942
|
def __init__(self, *, core_device_thing_name: builtins.str) -> None:
|
|
3943
|
-
'''Contains details for a gateway that runs on AWS IoT Greengrass V2.
|
|
3943
|
+
'''Contains details for a gateway that runs on AWS IoT Greengrass V2 .
|
|
3944
3944
|
|
|
3945
|
-
To create a gateway that runs on AWS IoT Greengrass V2, you must deploy the IoT SiteWise Edge component to your gateway device. Your `Greengrass device role <https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html>`_ must use the ``AWSIoTSiteWiseEdgeAccess`` policy. For more information, see `Using AWS IoT SiteWise at the edge <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/sw-gateways.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
3945
|
+
To create a gateway that runs on AWS IoT Greengrass V2 , you must deploy the IoT SiteWise Edge component to your gateway device. Your `Greengrass device role <https://docs.aws.amazon.com/greengrass/v2/developerguide/device-service-role.html>`_ must use the ``AWSIoTSiteWiseEdgeAccess`` policy. For more information, see `Using AWS IoT SiteWise at the edge <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/sw-gateways.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
3946
3946
|
|
|
3947
3947
|
:param core_device_thing_name: The name of the AWS IoT thing for your AWS IoT Greengrass V2 core device.
|
|
3948
3948
|
|
aws_cdk/aws_kendra/__init__.py
CHANGED
|
@@ -4455,7 +4455,7 @@ class CfnDataSource(
|
|
|
4455
4455
|
:param bucket_name: The name of the bucket that contains the documents.
|
|
4456
4456
|
:param access_control_list_configuration: Provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see `Access control for S3 data sources <https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html>`_ .
|
|
4457
4457
|
:param documents_metadata_configuration: Specifies document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document.
|
|
4458
|
-
:param exclusion_patterns: A list of glob patterns for
|
|
4458
|
+
:param exclusion_patterns: A list of glob patterns (patterns that can expand a wildcard pattern into a list of path names that match the given pattern) for file names and file types that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Examples of glob patterns include: - ``/myapp/config/*`` - All files inside config directory - ``/** /*.png`` - All .png files in all directories - ``/** /*.{png,ico,md}`` - All .png, .ico or .md files in all directories - ``/myapp/src/** /*.ts`` - All .ts files inside src directory (and all its subdirectories) - ``** /!(*.module).ts`` - All .ts files but not .module.ts - **.png , *.jpg* will exclude all PNG and JPEG image files in a directory (files with the extensions .png and .jpg). - **internal** will exclude all files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'. - *** /*internal** will exclude all internal-related files in a directory and its subdirectories. For more examples, see `Use of Exclude and Include Filters <https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters>`_ in the AWS CLI Command Reference.
|
|
4459
4459
|
:param inclusion_patterns: A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed. Some `examples <https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters>`_ are: - **.txt* will include all text files in a directory (files with the extension .txt). - *** /*.txt* will include all text files in a directory and its subdirectories. - **tax** will include all files in a directory that contain 'tax' in the file name, such as 'tax', 'taxes', 'income_tax'.
|
|
4460
4460
|
:param inclusion_prefixes: A list of S3 prefixes for the documents that should be included in the index.
|
|
4461
4461
|
|
|
@@ -4543,16 +4543,21 @@ class CfnDataSource(
|
|
|
4543
4543
|
|
|
4544
4544
|
@builtins.property
|
|
4545
4545
|
def exclusion_patterns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4546
|
-
'''A list of glob patterns for
|
|
4546
|
+
'''A list of glob patterns (patterns that can expand a wildcard pattern into a list of path names that match the given pattern) for file names and file types that should not be indexed.
|
|
4547
4547
|
|
|
4548
|
-
If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed.
|
|
4549
|
-
|
|
4550
|
-
Some `examples <https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters>`_ are:
|
|
4548
|
+
If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Examples of glob patterns include:
|
|
4551
4549
|
|
|
4550
|
+
- ``/myapp/config/*`` - All files inside config directory
|
|
4551
|
+
- ``/** /*.png`` - All .png files in all directories
|
|
4552
|
+
- ``/** /*.{png,ico,md}`` - All .png, .ico or .md files in all directories
|
|
4553
|
+
- ``/myapp/src/** /*.ts`` - All .ts files inside src directory (and all its subdirectories)
|
|
4554
|
+
- ``** /!(*.module).ts`` - All .ts files but not .module.ts
|
|
4552
4555
|
- **.png , *.jpg* will exclude all PNG and JPEG image files in a directory (files with the extensions .png and .jpg).
|
|
4553
4556
|
- **internal** will exclude all files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'.
|
|
4554
4557
|
- *** /*internal** will exclude all internal-related files in a directory and its subdirectories.
|
|
4555
4558
|
|
|
4559
|
+
For more examples, see `Use of Exclude and Include Filters <https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters>`_ in the AWS CLI Command Reference.
|
|
4560
|
+
|
|
4556
4561
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-exclusionpatterns
|
|
4557
4562
|
'''
|
|
4558
4563
|
result = self._values.get("exclusion_patterns")
|
|
@@ -5625,6 +5625,85 @@ class CfnDeliveryStream(
|
|
|
5625
5625
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5626
5626
|
)
|
|
5627
5627
|
|
|
5628
|
+
@jsii.data_type(
|
|
5629
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.SplunkBufferingHintsProperty",
|
|
5630
|
+
jsii_struct_bases=[],
|
|
5631
|
+
name_mapping={
|
|
5632
|
+
"interval_in_seconds": "intervalInSeconds",
|
|
5633
|
+
"size_in_m_bs": "sizeInMBs",
|
|
5634
|
+
},
|
|
5635
|
+
)
|
|
5636
|
+
class SplunkBufferingHintsProperty:
|
|
5637
|
+
def __init__(
|
|
5638
|
+
self,
|
|
5639
|
+
*,
|
|
5640
|
+
interval_in_seconds: typing.Optional[jsii.Number] = None,
|
|
5641
|
+
size_in_m_bs: typing.Optional[jsii.Number] = None,
|
|
5642
|
+
) -> None:
|
|
5643
|
+
'''The buffering options.
|
|
5644
|
+
|
|
5645
|
+
If no value is specified, the default values for Splunk are used.
|
|
5646
|
+
|
|
5647
|
+
:param interval_in_seconds: Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 60 (1 minute).
|
|
5648
|
+
:param size_in_m_bs: Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.
|
|
5649
|
+
|
|
5650
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkbufferinghints.html
|
|
5651
|
+
:exampleMetadata: fixture=_generated
|
|
5652
|
+
|
|
5653
|
+
Example::
|
|
5654
|
+
|
|
5655
|
+
# The code below shows an example of how to instantiate this type.
|
|
5656
|
+
# The values are placeholders you should change.
|
|
5657
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
5658
|
+
|
|
5659
|
+
splunk_buffering_hints_property = kinesisfirehose.CfnDeliveryStream.SplunkBufferingHintsProperty(
|
|
5660
|
+
interval_in_seconds=123,
|
|
5661
|
+
size_in_mBs=123
|
|
5662
|
+
)
|
|
5663
|
+
'''
|
|
5664
|
+
if __debug__:
|
|
5665
|
+
type_hints = typing.get_type_hints(_typecheckingstub__60823c61f8aea3242c07551788af8f338bff46b6299ee9aa1d0ff6112c454ecc)
|
|
5666
|
+
check_type(argname="argument interval_in_seconds", value=interval_in_seconds, expected_type=type_hints["interval_in_seconds"])
|
|
5667
|
+
check_type(argname="argument size_in_m_bs", value=size_in_m_bs, expected_type=type_hints["size_in_m_bs"])
|
|
5668
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5669
|
+
if interval_in_seconds is not None:
|
|
5670
|
+
self._values["interval_in_seconds"] = interval_in_seconds
|
|
5671
|
+
if size_in_m_bs is not None:
|
|
5672
|
+
self._values["size_in_m_bs"] = size_in_m_bs
|
|
5673
|
+
|
|
5674
|
+
@builtins.property
|
|
5675
|
+
def interval_in_seconds(self) -> typing.Optional[jsii.Number]:
|
|
5676
|
+
'''Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.
|
|
5677
|
+
|
|
5678
|
+
The default value is 60 (1 minute).
|
|
5679
|
+
|
|
5680
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkbufferinghints.html#cfn-kinesisfirehose-deliverystream-splunkbufferinghints-intervalinseconds
|
|
5681
|
+
'''
|
|
5682
|
+
result = self._values.get("interval_in_seconds")
|
|
5683
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5684
|
+
|
|
5685
|
+
@builtins.property
|
|
5686
|
+
def size_in_m_bs(self) -> typing.Optional[jsii.Number]:
|
|
5687
|
+
'''Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
|
5688
|
+
|
|
5689
|
+
The default value is 5.
|
|
5690
|
+
|
|
5691
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkbufferinghints.html#cfn-kinesisfirehose-deliverystream-splunkbufferinghints-sizeinmbs
|
|
5692
|
+
'''
|
|
5693
|
+
result = self._values.get("size_in_m_bs")
|
|
5694
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5695
|
+
|
|
5696
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5697
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5698
|
+
|
|
5699
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5700
|
+
return not (rhs == self)
|
|
5701
|
+
|
|
5702
|
+
def __repr__(self) -> str:
|
|
5703
|
+
return "SplunkBufferingHintsProperty(%s)" % ", ".join(
|
|
5704
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5705
|
+
)
|
|
5706
|
+
|
|
5628
5707
|
@jsii.data_type(
|
|
5629
5708
|
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.SplunkDestinationConfigurationProperty",
|
|
5630
5709
|
jsii_struct_bases=[],
|
|
@@ -5633,6 +5712,7 @@ class CfnDeliveryStream(
|
|
|
5633
5712
|
"hec_endpoint_type": "hecEndpointType",
|
|
5634
5713
|
"hec_token": "hecToken",
|
|
5635
5714
|
"s3_configuration": "s3Configuration",
|
|
5715
|
+
"buffering_hints": "bufferingHints",
|
|
5636
5716
|
"cloud_watch_logging_options": "cloudWatchLoggingOptions",
|
|
5637
5717
|
"hec_acknowledgment_timeout_in_seconds": "hecAcknowledgmentTimeoutInSeconds",
|
|
5638
5718
|
"processing_configuration": "processingConfiguration",
|
|
@@ -5648,6 +5728,7 @@ class CfnDeliveryStream(
|
|
|
5648
5728
|
hec_endpoint_type: builtins.str,
|
|
5649
5729
|
hec_token: builtins.str,
|
|
5650
5730
|
s3_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.S3DestinationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
5731
|
+
buffering_hints: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.SplunkBufferingHintsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5651
5732
|
cloud_watch_logging_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.CloudWatchLoggingOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5652
5733
|
hec_acknowledgment_timeout_in_seconds: typing.Optional[jsii.Number] = None,
|
|
5653
5734
|
processing_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.ProcessingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -5660,6 +5741,7 @@ class CfnDeliveryStream(
|
|
|
5660
5741
|
:param hec_endpoint_type: This type can be either ``Raw`` or ``Event`` .
|
|
5661
5742
|
:param hec_token: This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
|
|
5662
5743
|
:param s3_configuration: The configuration for the backup Amazon S3 location.
|
|
5744
|
+
:param buffering_hints: The buffering options. If no value is specified, the default values for Splunk are used.
|
|
5663
5745
|
:param cloud_watch_logging_options: The Amazon CloudWatch logging options for your delivery stream.
|
|
5664
5746
|
:param hec_acknowledgment_timeout_in_seconds: The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
|
|
5665
5747
|
:param processing_configuration: The data processing configuration.
|
|
@@ -5705,6 +5787,10 @@ class CfnDeliveryStream(
|
|
|
5705
5787
|
),
|
|
5706
5788
|
|
|
5707
5789
|
# the properties below are optional
|
|
5790
|
+
buffering_hints=kinesisfirehose.CfnDeliveryStream.SplunkBufferingHintsProperty(
|
|
5791
|
+
interval_in_seconds=123,
|
|
5792
|
+
size_in_mBs=123
|
|
5793
|
+
),
|
|
5708
5794
|
cloud_watch_logging_options=kinesisfirehose.CfnDeliveryStream.CloudWatchLoggingOptionsProperty(
|
|
5709
5795
|
enabled=False,
|
|
5710
5796
|
log_group_name="logGroupName",
|
|
@@ -5735,6 +5821,7 @@ class CfnDeliveryStream(
|
|
|
5735
5821
|
check_type(argname="argument hec_endpoint_type", value=hec_endpoint_type, expected_type=type_hints["hec_endpoint_type"])
|
|
5736
5822
|
check_type(argname="argument hec_token", value=hec_token, expected_type=type_hints["hec_token"])
|
|
5737
5823
|
check_type(argname="argument s3_configuration", value=s3_configuration, expected_type=type_hints["s3_configuration"])
|
|
5824
|
+
check_type(argname="argument buffering_hints", value=buffering_hints, expected_type=type_hints["buffering_hints"])
|
|
5738
5825
|
check_type(argname="argument cloud_watch_logging_options", value=cloud_watch_logging_options, expected_type=type_hints["cloud_watch_logging_options"])
|
|
5739
5826
|
check_type(argname="argument hec_acknowledgment_timeout_in_seconds", value=hec_acknowledgment_timeout_in_seconds, expected_type=type_hints["hec_acknowledgment_timeout_in_seconds"])
|
|
5740
5827
|
check_type(argname="argument processing_configuration", value=processing_configuration, expected_type=type_hints["processing_configuration"])
|
|
@@ -5746,6 +5833,8 @@ class CfnDeliveryStream(
|
|
|
5746
5833
|
"hec_token": hec_token,
|
|
5747
5834
|
"s3_configuration": s3_configuration,
|
|
5748
5835
|
}
|
|
5836
|
+
if buffering_hints is not None:
|
|
5837
|
+
self._values["buffering_hints"] = buffering_hints
|
|
5749
5838
|
if cloud_watch_logging_options is not None:
|
|
5750
5839
|
self._values["cloud_watch_logging_options"] = cloud_watch_logging_options
|
|
5751
5840
|
if hec_acknowledgment_timeout_in_seconds is not None:
|
|
@@ -5799,6 +5888,19 @@ class CfnDeliveryStream(
|
|
|
5799
5888
|
assert result is not None, "Required property 's3_configuration' is missing"
|
|
5800
5889
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.S3DestinationConfigurationProperty"], result)
|
|
5801
5890
|
|
|
5891
|
+
@builtins.property
|
|
5892
|
+
def buffering_hints(
|
|
5893
|
+
self,
|
|
5894
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.SplunkBufferingHintsProperty"]]:
|
|
5895
|
+
'''The buffering options.
|
|
5896
|
+
|
|
5897
|
+
If no value is specified, the default values for Splunk are used.
|
|
5898
|
+
|
|
5899
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-bufferinghints
|
|
5900
|
+
'''
|
|
5901
|
+
result = self._values.get("buffering_hints")
|
|
5902
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.SplunkBufferingHintsProperty"]], result)
|
|
5903
|
+
|
|
5802
5904
|
@builtins.property
|
|
5803
5905
|
def cloud_watch_logging_options(
|
|
5804
5906
|
self,
|
|
@@ -6887,12 +6989,21 @@ def _typecheckingstub__706925197a1b663cd9be8234e85ce2780b58d7bf71737c801e0c39310
|
|
|
6887
6989
|
"""Type checking stubs"""
|
|
6888
6990
|
pass
|
|
6889
6991
|
|
|
6992
|
+
def _typecheckingstub__60823c61f8aea3242c07551788af8f338bff46b6299ee9aa1d0ff6112c454ecc(
|
|
6993
|
+
*,
|
|
6994
|
+
interval_in_seconds: typing.Optional[jsii.Number] = None,
|
|
6995
|
+
size_in_m_bs: typing.Optional[jsii.Number] = None,
|
|
6996
|
+
) -> None:
|
|
6997
|
+
"""Type checking stubs"""
|
|
6998
|
+
pass
|
|
6999
|
+
|
|
6890
7000
|
def _typecheckingstub__be9923ea7818bcdc567ae6e06b529c44c6a3c42b59af06768977f4c55fdd20a6(
|
|
6891
7001
|
*,
|
|
6892
7002
|
hec_endpoint: builtins.str,
|
|
6893
7003
|
hec_endpoint_type: builtins.str,
|
|
6894
7004
|
hec_token: builtins.str,
|
|
6895
7005
|
s3_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.S3DestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7006
|
+
buffering_hints: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.SplunkBufferingHintsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6896
7007
|
cloud_watch_logging_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.CloudWatchLoggingOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6897
7008
|
hec_acknowledgment_timeout_in_seconds: typing.Optional[jsii.Number] = None,
|
|
6898
7009
|
processing_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.ProcessingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|