aws-cdk-lib 2.164.1__py3-none-any.whl → 2.166.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 +20 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.164.1.jsii.tgz → aws-cdk-lib@2.166.0.jsii.tgz} +0 -0
- aws_cdk/aws_appsync/__init__.py +2163 -375
- aws_cdk/aws_autoscaling/__init__.py +145 -8
- aws_cdk/aws_backup/__init__.py +627 -3
- aws_cdk/aws_bedrock/__init__.py +982 -191
- aws_cdk/aws_codebuild/__init__.py +88 -33
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +656 -102
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +9 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +134 -35
- aws_cdk/aws_ecs/__init__.py +41 -31
- aws_cdk/aws_eks/__init__.py +10 -12
- aws_cdk/aws_elasticache/__init__.py +52 -6
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_imagebuilder/__init__.py +183 -0
- aws_cdk/aws_iot/__init__.py +37 -43
- aws_cdk/aws_iotwireless/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_memorydb/__init__.py +41 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +23 -14
- aws_cdk/aws_rds/__init__.py +187 -48
- aws_cdk/aws_redshift/__init__.py +23 -23
- aws_cdk/aws_refactorspaces/__init__.py +56 -61
- aws_cdk/aws_resiliencehub/__init__.py +4 -4
- aws_cdk/aws_route53/__init__.py +37 -9
- aws_cdk/aws_s3_deployment/__init__.py +13 -7
- aws_cdk/aws_sagemaker/__init__.py +128 -23
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_ses/__init__.py +19 -0
- aws_cdk/aws_synthetics/__init__.py +121 -0
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2035 -61
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/METADATA +6 -6
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/RECORD +52 -52
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.164.1.dist-info → aws_cdk_lib-2.166.0.dist-info}/top_level.txt +0 -0
|
@@ -6631,6 +6631,12 @@ class CfnInfrastructureConfiguration(
|
|
|
6631
6631
|
s3_key_prefix="s3KeyPrefix"
|
|
6632
6632
|
)
|
|
6633
6633
|
),
|
|
6634
|
+
placement=imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
6635
|
+
availability_zone="availabilityZone",
|
|
6636
|
+
host_id="hostId",
|
|
6637
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
6638
|
+
tenancy="tenancy"
|
|
6639
|
+
),
|
|
6634
6640
|
resource_tags={
|
|
6635
6641
|
"resource_tags_key": "resourceTags"
|
|
6636
6642
|
},
|
|
@@ -6656,6 +6662,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6656
6662
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6657
6663
|
key_pair: typing.Optional[builtins.str] = None,
|
|
6658
6664
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInfrastructureConfiguration.LoggingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6665
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInfrastructureConfiguration.PlacementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6659
6666
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
6660
6667
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6661
6668
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -6673,6 +6680,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6673
6680
|
:param instance_types: The instance types of the infrastructure configuration.
|
|
6674
6681
|
:param key_pair: The Amazon EC2 key pair of the infrastructure configuration.
|
|
6675
6682
|
:param logging: The logging configuration defines where Image Builder uploads your logs.
|
|
6683
|
+
:param placement: The instance placement settings that define where the instances that are launched from your image will run.
|
|
6676
6684
|
:param resource_tags: The tags attached to the resource created by Image Builder.
|
|
6677
6685
|
:param security_group_ids: The security group IDs of the infrastructure configuration.
|
|
6678
6686
|
:param sns_topic_arn: The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
|
@@ -6692,6 +6700,7 @@ class CfnInfrastructureConfiguration(
|
|
|
6692
6700
|
instance_types=instance_types,
|
|
6693
6701
|
key_pair=key_pair,
|
|
6694
6702
|
logging=logging,
|
|
6703
|
+
placement=placement,
|
|
6695
6704
|
resource_tags=resource_tags,
|
|
6696
6705
|
security_group_ids=security_group_ids,
|
|
6697
6706
|
sns_topic_arn=sns_topic_arn,
|
|
@@ -6864,6 +6873,24 @@ class CfnInfrastructureConfiguration(
|
|
|
6864
6873
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6865
6874
|
jsii.set(self, "logging", value) # pyright: ignore[reportArgumentType]
|
|
6866
6875
|
|
|
6876
|
+
@builtins.property
|
|
6877
|
+
@jsii.member(jsii_name="placement")
|
|
6878
|
+
def placement(
|
|
6879
|
+
self,
|
|
6880
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]]:
|
|
6881
|
+
'''The instance placement settings that define where the instances that are launched from your image will run.'''
|
|
6882
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]], jsii.get(self, "placement"))
|
|
6883
|
+
|
|
6884
|
+
@placement.setter
|
|
6885
|
+
def placement(
|
|
6886
|
+
self,
|
|
6887
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInfrastructureConfiguration.PlacementProperty"]],
|
|
6888
|
+
) -> None:
|
|
6889
|
+
if __debug__:
|
|
6890
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ee5273f955052040314d788896b8d38dbd2dcdb1d6dce31f51de7b15342f440c)
|
|
6891
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6892
|
+
jsii.set(self, "placement", value) # pyright: ignore[reportArgumentType]
|
|
6893
|
+
|
|
6867
6894
|
@builtins.property
|
|
6868
6895
|
@jsii.member(jsii_name="resourceTags")
|
|
6869
6896
|
def resource_tags(
|
|
@@ -7102,6 +7129,121 @@ class CfnInfrastructureConfiguration(
|
|
|
7102
7129
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7103
7130
|
)
|
|
7104
7131
|
|
|
7132
|
+
@jsii.data_type(
|
|
7133
|
+
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnInfrastructureConfiguration.PlacementProperty",
|
|
7134
|
+
jsii_struct_bases=[],
|
|
7135
|
+
name_mapping={
|
|
7136
|
+
"availability_zone": "availabilityZone",
|
|
7137
|
+
"host_id": "hostId",
|
|
7138
|
+
"host_resource_group_arn": "hostResourceGroupArn",
|
|
7139
|
+
"tenancy": "tenancy",
|
|
7140
|
+
},
|
|
7141
|
+
)
|
|
7142
|
+
class PlacementProperty:
|
|
7143
|
+
def __init__(
|
|
7144
|
+
self,
|
|
7145
|
+
*,
|
|
7146
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
7147
|
+
host_id: typing.Optional[builtins.str] = None,
|
|
7148
|
+
host_resource_group_arn: typing.Optional[builtins.str] = None,
|
|
7149
|
+
tenancy: typing.Optional[builtins.str] = None,
|
|
7150
|
+
) -> None:
|
|
7151
|
+
'''By default, EC2 instances run on shared tenancy hardware.
|
|
7152
|
+
|
|
7153
|
+
This means that multiple AWS accounts might share the same physical hardware. When you use dedicated hardware, the physical server that hosts your instances is dedicated to your AWS account . Instance placement settings contain the details for the physical hardware where instances that Image Builder launches during image creation will run.
|
|
7154
|
+
|
|
7155
|
+
:param availability_zone: The Availability Zone where your build and test instances will launch.
|
|
7156
|
+
:param host_id: The ID of the Dedicated Host on which build and test instances run. This only applies if ``tenancy`` is ``host`` . If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.
|
|
7157
|
+
:param host_resource_group_arn: The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances. This only applies if ``tenancy`` is ``host`` . If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.
|
|
7158
|
+
:param tenancy: The tenancy of the instance. An instance with a tenancy of ``dedicated`` runs on single-tenant hardware. An instance with a tenancy of ``host`` runs on a Dedicated Host. If tenancy is set to ``host`` , then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.
|
|
7159
|
+
|
|
7160
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html
|
|
7161
|
+
:exampleMetadata: fixture=_generated
|
|
7162
|
+
|
|
7163
|
+
Example::
|
|
7164
|
+
|
|
7165
|
+
# The code below shows an example of how to instantiate this type.
|
|
7166
|
+
# The values are placeholders you should change.
|
|
7167
|
+
from aws_cdk import aws_imagebuilder as imagebuilder
|
|
7168
|
+
|
|
7169
|
+
placement_property = imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
7170
|
+
availability_zone="availabilityZone",
|
|
7171
|
+
host_id="hostId",
|
|
7172
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
7173
|
+
tenancy="tenancy"
|
|
7174
|
+
)
|
|
7175
|
+
'''
|
|
7176
|
+
if __debug__:
|
|
7177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e142e2a5ec61c299dba94282ce12cdd18fa97880bf5932f7227dc7c6f70e9cc)
|
|
7178
|
+
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
7179
|
+
check_type(argname="argument host_id", value=host_id, expected_type=type_hints["host_id"])
|
|
7180
|
+
check_type(argname="argument host_resource_group_arn", value=host_resource_group_arn, expected_type=type_hints["host_resource_group_arn"])
|
|
7181
|
+
check_type(argname="argument tenancy", value=tenancy, expected_type=type_hints["tenancy"])
|
|
7182
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7183
|
+
if availability_zone is not None:
|
|
7184
|
+
self._values["availability_zone"] = availability_zone
|
|
7185
|
+
if host_id is not None:
|
|
7186
|
+
self._values["host_id"] = host_id
|
|
7187
|
+
if host_resource_group_arn is not None:
|
|
7188
|
+
self._values["host_resource_group_arn"] = host_resource_group_arn
|
|
7189
|
+
if tenancy is not None:
|
|
7190
|
+
self._values["tenancy"] = tenancy
|
|
7191
|
+
|
|
7192
|
+
@builtins.property
|
|
7193
|
+
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
7194
|
+
'''The Availability Zone where your build and test instances will launch.
|
|
7195
|
+
|
|
7196
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-availabilityzone
|
|
7197
|
+
'''
|
|
7198
|
+
result = self._values.get("availability_zone")
|
|
7199
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7200
|
+
|
|
7201
|
+
@builtins.property
|
|
7202
|
+
def host_id(self) -> typing.Optional[builtins.str]:
|
|
7203
|
+
'''The ID of the Dedicated Host on which build and test instances run.
|
|
7204
|
+
|
|
7205
|
+
This only applies if ``tenancy`` is ``host`` . If you specify the host ID, you must not specify the resource group ARN. If you specify both, Image Builder returns an error.
|
|
7206
|
+
|
|
7207
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-hostid
|
|
7208
|
+
'''
|
|
7209
|
+
result = self._values.get("host_id")
|
|
7210
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7211
|
+
|
|
7212
|
+
@builtins.property
|
|
7213
|
+
def host_resource_group_arn(self) -> typing.Optional[builtins.str]:
|
|
7214
|
+
'''The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances.
|
|
7215
|
+
|
|
7216
|
+
This only applies if ``tenancy`` is ``host`` . If you specify the resource group ARN, you must not specify the host ID. If you specify both, Image Builder returns an error.
|
|
7217
|
+
|
|
7218
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-hostresourcegrouparn
|
|
7219
|
+
'''
|
|
7220
|
+
result = self._values.get("host_resource_group_arn")
|
|
7221
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7222
|
+
|
|
7223
|
+
@builtins.property
|
|
7224
|
+
def tenancy(self) -> typing.Optional[builtins.str]:
|
|
7225
|
+
'''The tenancy of the instance.
|
|
7226
|
+
|
|
7227
|
+
An instance with a tenancy of ``dedicated`` runs on single-tenant hardware. An instance with a tenancy of ``host`` runs on a Dedicated Host.
|
|
7228
|
+
|
|
7229
|
+
If tenancy is set to ``host`` , then you can optionally specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your build and test instances.
|
|
7230
|
+
|
|
7231
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-placement.html#cfn-imagebuilder-infrastructureconfiguration-placement-tenancy
|
|
7232
|
+
'''
|
|
7233
|
+
result = self._values.get("tenancy")
|
|
7234
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7235
|
+
|
|
7236
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7237
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7238
|
+
|
|
7239
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7240
|
+
return not (rhs == self)
|
|
7241
|
+
|
|
7242
|
+
def __repr__(self) -> str:
|
|
7243
|
+
return "PlacementProperty(%s)" % ", ".join(
|
|
7244
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7245
|
+
)
|
|
7246
|
+
|
|
7105
7247
|
@jsii.data_type(
|
|
7106
7248
|
jsii_type="aws-cdk-lib.aws_imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty",
|
|
7107
7249
|
jsii_struct_bases=[],
|
|
@@ -7187,6 +7329,7 @@ class CfnInfrastructureConfiguration(
|
|
|
7187
7329
|
"instance_types": "instanceTypes",
|
|
7188
7330
|
"key_pair": "keyPair",
|
|
7189
7331
|
"logging": "logging",
|
|
7332
|
+
"placement": "placement",
|
|
7190
7333
|
"resource_tags": "resourceTags",
|
|
7191
7334
|
"security_group_ids": "securityGroupIds",
|
|
7192
7335
|
"sns_topic_arn": "snsTopicArn",
|
|
@@ -7206,6 +7349,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7206
7349
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7207
7350
|
key_pair: typing.Optional[builtins.str] = None,
|
|
7208
7351
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7352
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7209
7353
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
7210
7354
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7211
7355
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -7222,6 +7366,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7222
7366
|
:param instance_types: The instance types of the infrastructure configuration.
|
|
7223
7367
|
:param key_pair: The Amazon EC2 key pair of the infrastructure configuration.
|
|
7224
7368
|
:param logging: The logging configuration defines where Image Builder uploads your logs.
|
|
7369
|
+
:param placement: The instance placement settings that define where the instances that are launched from your image will run.
|
|
7225
7370
|
:param resource_tags: The tags attached to the resource created by Image Builder.
|
|
7226
7371
|
:param security_group_ids: The security group IDs of the infrastructure configuration.
|
|
7227
7372
|
:param sns_topic_arn: The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
|
@@ -7256,6 +7401,12 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7256
7401
|
s3_key_prefix="s3KeyPrefix"
|
|
7257
7402
|
)
|
|
7258
7403
|
),
|
|
7404
|
+
placement=imagebuilder.CfnInfrastructureConfiguration.PlacementProperty(
|
|
7405
|
+
availability_zone="availabilityZone",
|
|
7406
|
+
host_id="hostId",
|
|
7407
|
+
host_resource_group_arn="hostResourceGroupArn",
|
|
7408
|
+
tenancy="tenancy"
|
|
7409
|
+
),
|
|
7259
7410
|
resource_tags={
|
|
7260
7411
|
"resource_tags_key": "resourceTags"
|
|
7261
7412
|
},
|
|
@@ -7277,6 +7428,7 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7277
7428
|
check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
|
|
7278
7429
|
check_type(argname="argument key_pair", value=key_pair, expected_type=type_hints["key_pair"])
|
|
7279
7430
|
check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
|
|
7431
|
+
check_type(argname="argument placement", value=placement, expected_type=type_hints["placement"])
|
|
7280
7432
|
check_type(argname="argument resource_tags", value=resource_tags, expected_type=type_hints["resource_tags"])
|
|
7281
7433
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
7282
7434
|
check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
|
|
@@ -7297,6 +7449,8 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7297
7449
|
self._values["key_pair"] = key_pair
|
|
7298
7450
|
if logging is not None:
|
|
7299
7451
|
self._values["logging"] = logging
|
|
7452
|
+
if placement is not None:
|
|
7453
|
+
self._values["placement"] = placement
|
|
7300
7454
|
if resource_tags is not None:
|
|
7301
7455
|
self._values["resource_tags"] = resource_tags
|
|
7302
7456
|
if security_group_ids is not None:
|
|
@@ -7379,6 +7533,17 @@ class CfnInfrastructureConfigurationProps:
|
|
|
7379
7533
|
result = self._values.get("logging")
|
|
7380
7534
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.LoggingProperty]], result)
|
|
7381
7535
|
|
|
7536
|
+
@builtins.property
|
|
7537
|
+
def placement(
|
|
7538
|
+
self,
|
|
7539
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]]:
|
|
7540
|
+
'''The instance placement settings that define where the instances that are launched from your image will run.
|
|
7541
|
+
|
|
7542
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-placement
|
|
7543
|
+
'''
|
|
7544
|
+
result = self._values.get("placement")
|
|
7545
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]], result)
|
|
7546
|
+
|
|
7382
7547
|
@builtins.property
|
|
7383
7548
|
def resource_tags(
|
|
7384
7549
|
self,
|
|
@@ -10249,6 +10414,7 @@ def _typecheckingstub__8df8a03094d1fe92963a315a657a78657df102ba9fbe66eda2c26bb8e
|
|
|
10249
10414
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10250
10415
|
key_pair: typing.Optional[builtins.str] = None,
|
|
10251
10416
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10417
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10252
10418
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
10253
10419
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10254
10420
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
@@ -10313,6 +10479,12 @@ def _typecheckingstub__d17651b37e2f4aa5ce6c6076a887fc7270cae14e1f7330e9b48dc5412
|
|
|
10313
10479
|
"""Type checking stubs"""
|
|
10314
10480
|
pass
|
|
10315
10481
|
|
|
10482
|
+
def _typecheckingstub__ee5273f955052040314d788896b8d38dbd2dcdb1d6dce31f51de7b15342f440c(
|
|
10483
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInfrastructureConfiguration.PlacementProperty]],
|
|
10484
|
+
) -> None:
|
|
10485
|
+
"""Type checking stubs"""
|
|
10486
|
+
pass
|
|
10487
|
+
|
|
10316
10488
|
def _typecheckingstub__b4e6c2bbdd440425ebe7067a9a03bf4079bbfef4001b7877cb6ce3dcd44c4cb0(
|
|
10317
10489
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
|
|
10318
10490
|
) -> None:
|
|
@@ -10364,6 +10536,16 @@ def _typecheckingstub__d7c7b472c2127725031940b44ae4cf826450bdc016814ad2356cca673
|
|
|
10364
10536
|
"""Type checking stubs"""
|
|
10365
10537
|
pass
|
|
10366
10538
|
|
|
10539
|
+
def _typecheckingstub__9e142e2a5ec61c299dba94282ce12cdd18fa97880bf5932f7227dc7c6f70e9cc(
|
|
10540
|
+
*,
|
|
10541
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
10542
|
+
host_id: typing.Optional[builtins.str] = None,
|
|
10543
|
+
host_resource_group_arn: typing.Optional[builtins.str] = None,
|
|
10544
|
+
tenancy: typing.Optional[builtins.str] = None,
|
|
10545
|
+
) -> None:
|
|
10546
|
+
"""Type checking stubs"""
|
|
10547
|
+
pass
|
|
10548
|
+
|
|
10367
10549
|
def _typecheckingstub__606aaff62e915101e470a1274dc963d43831117f9a85493e01f09a1eebe8e6b6(
|
|
10368
10550
|
*,
|
|
10369
10551
|
s3_bucket_name: typing.Optional[builtins.str] = None,
|
|
@@ -10381,6 +10563,7 @@ def _typecheckingstub__cf8c493013f64742391c2bf93c7050f371ffeff0d9a35a3791f0b9fbb
|
|
|
10381
10563
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10382
10564
|
key_pair: typing.Optional[builtins.str] = None,
|
|
10383
10565
|
logging: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.LoggingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10566
|
+
placement: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInfrastructureConfiguration.PlacementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10384
10567
|
resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
10385
10568
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10386
10569
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -3612,10 +3612,10 @@ class CfnDomainConfiguration(
|
|
|
3612
3612
|
'''
|
|
3613
3613
|
:param scope: Scope in which this resource is defined.
|
|
3614
3614
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3615
|
-
:param application_protocol: An enumerated string that specifies the application-layer protocol.
|
|
3616
|
-
:param authentication_type: An enumerated string that specifies the authentication type.
|
|
3615
|
+
:param application_protocol: An enumerated string that specifies the application-layer protocol.
|
|
3616
|
+
:param authentication_type: An enumerated string that specifies the authentication type.
|
|
3617
3617
|
:param authorizer_config: An object that specifies the authorization service for a domain.
|
|
3618
|
-
:param client_certificate_config: An object that specifies the client certificate configuration for a domain.
|
|
3618
|
+
:param client_certificate_config: An object that specifies the client certificate configuration for a domain.
|
|
3619
3619
|
:param domain_configuration_name: The name of the domain configuration. This value must be unique to a region.
|
|
3620
3620
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
3621
3621
|
:param domain_name: The name of the domain.
|
|
@@ -4000,11 +4000,7 @@ class CfnDomainConfiguration(
|
|
|
4000
4000
|
) -> None:
|
|
4001
4001
|
'''An object that specifies the client certificate configuration for a domain.
|
|
4002
4002
|
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
This property isn't available in China.
|
|
4006
|
-
|
|
4007
|
-
:param client_certificate_callback_arn: The ARN of the Lambda function that IoT invokes after mutual TLS authentication during the connection. .. epigraph:: This property isn't available in China.
|
|
4003
|
+
:param client_certificate_callback_arn: The ARN of the Lambda function that IoT invokes after mutual TLS authentication during the connection.
|
|
4008
4004
|
|
|
4009
4005
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-clientcertificateconfig.html
|
|
4010
4006
|
:exampleMetadata: fixture=_generated
|
|
@@ -4030,10 +4026,6 @@ class CfnDomainConfiguration(
|
|
|
4030
4026
|
def client_certificate_callback_arn(self) -> typing.Optional[builtins.str]:
|
|
4031
4027
|
'''The ARN of the Lambda function that IoT invokes after mutual TLS authentication during the connection.
|
|
4032
4028
|
|
|
4033
|
-
.. epigraph::
|
|
4034
|
-
|
|
4035
|
-
This property isn't available in China.
|
|
4036
|
-
|
|
4037
4029
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-clientcertificateconfig.html#cfn-iot-domainconfiguration-clientcertificateconfig-clientcertificatecallbackarn
|
|
4038
4030
|
'''
|
|
4039
4031
|
result = self._values.get("client_certificate_callback_arn")
|
|
@@ -4297,10 +4289,10 @@ class CfnDomainConfigurationProps:
|
|
|
4297
4289
|
) -> None:
|
|
4298
4290
|
'''Properties for defining a ``CfnDomainConfiguration``.
|
|
4299
4291
|
|
|
4300
|
-
:param application_protocol: An enumerated string that specifies the application-layer protocol.
|
|
4301
|
-
:param authentication_type: An enumerated string that specifies the authentication type.
|
|
4292
|
+
:param application_protocol: An enumerated string that specifies the application-layer protocol.
|
|
4293
|
+
:param authentication_type: An enumerated string that specifies the authentication type.
|
|
4302
4294
|
:param authorizer_config: An object that specifies the authorization service for a domain.
|
|
4303
|
-
:param client_certificate_config: An object that specifies the client certificate configuration for a domain.
|
|
4295
|
+
:param client_certificate_config: An object that specifies the client certificate configuration for a domain.
|
|
4304
4296
|
:param domain_configuration_name: The name of the domain configuration. This value must be unique to a region.
|
|
4305
4297
|
:param domain_configuration_status: The status to which the domain configuration should be updated. Valid values: ``ENABLED`` | ``DISABLED``
|
|
4306
4298
|
:param domain_name: The name of the domain.
|
|
@@ -4395,10 +4387,6 @@ class CfnDomainConfigurationProps:
|
|
|
4395
4387
|
def application_protocol(self) -> typing.Optional[builtins.str]:
|
|
4396
4388
|
'''An enumerated string that specifies the application-layer protocol.
|
|
4397
4389
|
|
|
4398
|
-
.. epigraph::
|
|
4399
|
-
|
|
4400
|
-
This property isn't available in China.
|
|
4401
|
-
|
|
4402
4390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-applicationprotocol
|
|
4403
4391
|
'''
|
|
4404
4392
|
result = self._values.get("application_protocol")
|
|
@@ -4408,10 +4396,6 @@ class CfnDomainConfigurationProps:
|
|
|
4408
4396
|
def authentication_type(self) -> typing.Optional[builtins.str]:
|
|
4409
4397
|
'''An enumerated string that specifies the authentication type.
|
|
4410
4398
|
|
|
4411
|
-
.. epigraph::
|
|
4412
|
-
|
|
4413
|
-
This property isn't available in China.
|
|
4414
|
-
|
|
4415
4399
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-authenticationtype
|
|
4416
4400
|
'''
|
|
4417
4401
|
result = self._values.get("authentication_type")
|
|
@@ -4434,10 +4418,6 @@ class CfnDomainConfigurationProps:
|
|
|
4434
4418
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomainConfiguration.ClientCertificateConfigProperty]]:
|
|
4435
4419
|
'''An object that specifies the client certificate configuration for a domain.
|
|
4436
4420
|
|
|
4437
|
-
.. epigraph::
|
|
4438
|
-
|
|
4439
|
-
This property isn't available in China.
|
|
4440
|
-
|
|
4441
4421
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-clientcertificateconfig
|
|
4442
4422
|
'''
|
|
4443
4423
|
result = self._values.get("client_certificate_config")
|
|
@@ -11253,11 +11233,11 @@ class CfnSoftwarePackageVersion(
|
|
|
11253
11233
|
'''
|
|
11254
11234
|
:param scope: Scope in which this resource is defined.
|
|
11255
11235
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
11256
|
-
:param package_name:
|
|
11257
|
-
:param attributes:
|
|
11258
|
-
:param description:
|
|
11259
|
-
:param tags:
|
|
11260
|
-
:param version_name:
|
|
11236
|
+
:param package_name: The name of the associated software package.
|
|
11237
|
+
:param attributes: Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet. The combined size of all the attributes on a package version is limited to 3KB.
|
|
11238
|
+
:param description: A summary of the package version being created. This can be used to outline the package's contents or purpose.
|
|
11239
|
+
:param tags: Metadata that can be used to manage the package version.
|
|
11240
|
+
:param version_name: The name of the new package version.
|
|
11261
11241
|
'''
|
|
11262
11242
|
if __debug__:
|
|
11263
11243
|
type_hints = typing.get_type_hints(_typecheckingstub__ae40d4286b1921a68172d1449478b0327292b57cc2637b8b975f200e0276e088)
|
|
@@ -11346,6 +11326,7 @@ class CfnSoftwarePackageVersion(
|
|
|
11346
11326
|
@builtins.property
|
|
11347
11327
|
@jsii.member(jsii_name="packageName")
|
|
11348
11328
|
def package_name(self) -> builtins.str:
|
|
11329
|
+
'''The name of the associated software package.'''
|
|
11349
11330
|
return typing.cast(builtins.str, jsii.get(self, "packageName"))
|
|
11350
11331
|
|
|
11351
11332
|
@package_name.setter
|
|
@@ -11360,6 +11341,7 @@ class CfnSoftwarePackageVersion(
|
|
|
11360
11341
|
def attributes(
|
|
11361
11342
|
self,
|
|
11362
11343
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
11344
|
+
'''Metadata that can be used to define a package version’s configuration.'''
|
|
11363
11345
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], jsii.get(self, "attributes"))
|
|
11364
11346
|
|
|
11365
11347
|
@attributes.setter
|
|
@@ -11375,6 +11357,7 @@ class CfnSoftwarePackageVersion(
|
|
|
11375
11357
|
@builtins.property
|
|
11376
11358
|
@jsii.member(jsii_name="description")
|
|
11377
11359
|
def description(self) -> typing.Optional[builtins.str]:
|
|
11360
|
+
'''A summary of the package version being created.'''
|
|
11378
11361
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
11379
11362
|
|
|
11380
11363
|
@description.setter
|
|
@@ -11387,7 +11370,7 @@ class CfnSoftwarePackageVersion(
|
|
|
11387
11370
|
@builtins.property
|
|
11388
11371
|
@jsii.member(jsii_name="tags")
|
|
11389
11372
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11390
|
-
'''
|
|
11373
|
+
'''Metadata that can be used to manage the package version.'''
|
|
11391
11374
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
11392
11375
|
|
|
11393
11376
|
@tags.setter
|
|
@@ -11400,6 +11383,7 @@ class CfnSoftwarePackageVersion(
|
|
|
11400
11383
|
@builtins.property
|
|
11401
11384
|
@jsii.member(jsii_name="versionName")
|
|
11402
11385
|
def version_name(self) -> typing.Optional[builtins.str]:
|
|
11386
|
+
'''The name of the new package version.'''
|
|
11403
11387
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "versionName"))
|
|
11404
11388
|
|
|
11405
11389
|
@version_name.setter
|
|
@@ -11433,11 +11417,11 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11433
11417
|
) -> None:
|
|
11434
11418
|
'''Properties for defining a ``CfnSoftwarePackageVersion``.
|
|
11435
11419
|
|
|
11436
|
-
:param package_name:
|
|
11437
|
-
:param attributes:
|
|
11438
|
-
:param description:
|
|
11439
|
-
:param tags:
|
|
11440
|
-
:param version_name:
|
|
11420
|
+
:param package_name: The name of the associated software package.
|
|
11421
|
+
:param attributes: Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet. The combined size of all the attributes on a package version is limited to 3KB.
|
|
11422
|
+
:param description: A summary of the package version being created. This can be used to outline the package's contents or purpose.
|
|
11423
|
+
:param tags: Metadata that can be used to manage the package version.
|
|
11424
|
+
:param version_name: The name of the new package version.
|
|
11441
11425
|
|
|
11442
11426
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html
|
|
11443
11427
|
:exampleMetadata: fixture=_generated
|
|
@@ -11484,7 +11468,8 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11484
11468
|
|
|
11485
11469
|
@builtins.property
|
|
11486
11470
|
def package_name(self) -> builtins.str:
|
|
11487
|
-
'''
|
|
11471
|
+
'''The name of the associated software package.
|
|
11472
|
+
|
|
11488
11473
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html#cfn-iot-softwarepackageversion-packagename
|
|
11489
11474
|
'''
|
|
11490
11475
|
result = self._values.get("package_name")
|
|
@@ -11495,7 +11480,12 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11495
11480
|
def attributes(
|
|
11496
11481
|
self,
|
|
11497
11482
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
11498
|
-
'''
|
|
11483
|
+
'''Metadata that can be used to define a package version’s configuration.
|
|
11484
|
+
|
|
11485
|
+
For example, the S3 file location, configuration options that are being sent to the device or fleet.
|
|
11486
|
+
|
|
11487
|
+
The combined size of all the attributes on a package version is limited to 3KB.
|
|
11488
|
+
|
|
11499
11489
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html#cfn-iot-softwarepackageversion-attributes
|
|
11500
11490
|
'''
|
|
11501
11491
|
result = self._values.get("attributes")
|
|
@@ -11503,7 +11493,10 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11503
11493
|
|
|
11504
11494
|
@builtins.property
|
|
11505
11495
|
def description(self) -> typing.Optional[builtins.str]:
|
|
11506
|
-
'''
|
|
11496
|
+
'''A summary of the package version being created.
|
|
11497
|
+
|
|
11498
|
+
This can be used to outline the package's contents or purpose.
|
|
11499
|
+
|
|
11507
11500
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html#cfn-iot-softwarepackageversion-description
|
|
11508
11501
|
'''
|
|
11509
11502
|
result = self._values.get("description")
|
|
@@ -11511,7 +11504,7 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11511
11504
|
|
|
11512
11505
|
@builtins.property
|
|
11513
11506
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
11514
|
-
'''
|
|
11507
|
+
'''Metadata that can be used to manage the package version.
|
|
11515
11508
|
|
|
11516
11509
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html#cfn-iot-softwarepackageversion-tags
|
|
11517
11510
|
'''
|
|
@@ -11520,7 +11513,8 @@ class CfnSoftwarePackageVersionProps:
|
|
|
11520
11513
|
|
|
11521
11514
|
@builtins.property
|
|
11522
11515
|
def version_name(self) -> typing.Optional[builtins.str]:
|
|
11523
|
-
'''
|
|
11516
|
+
'''The name of the new package version.
|
|
11517
|
+
|
|
11524
11518
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-softwarepackageversion.html#cfn-iot-softwarepackageversion-versionname
|
|
11525
11519
|
'''
|
|
11526
11520
|
result = self._values.get("version_name")
|
|
@@ -6319,7 +6319,7 @@ class CfnWirelessDeviceImportTask(
|
|
|
6319
6319
|
|
|
6320
6320
|
:param device_creation_file: The CSV file contained in an S3 bucket that's used for adding devices to an import task.
|
|
6321
6321
|
:param device_creation_file_list: List of Sidewalk devices that are added to the import task.
|
|
6322
|
-
:param role: The IAM role that allows
|
|
6322
|
+
:param role: The IAM role that allows to access the CSV file in the S3 bucket.
|
|
6323
6323
|
:param sidewalk_manufacturing_sn: The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.
|
|
6324
6324
|
|
|
6325
6325
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html
|
|
@@ -6376,7 +6376,7 @@ class CfnWirelessDeviceImportTask(
|
|
|
6376
6376
|
|
|
6377
6377
|
@builtins.property
|
|
6378
6378
|
def role(self) -> typing.Optional[builtins.str]:
|
|
6379
|
-
'''The IAM role that allows
|
|
6379
|
+
'''The IAM role that allows to access the CSV file in the S3 bucket.
|
|
6380
6380
|
|
|
6381
6381
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html#cfn-iotwireless-wirelessdeviceimporttask-sidewalk-role
|
|
6382
6382
|
'''
|