aws-cdk-lib 2.165.0__py3-none-any.whl → 2.167.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 +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.165.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +2271 -359
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +994 -197
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +60 -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 +316 -11
- aws_cdk/aws_ecs/__init__.py +20 -7
- aws_cdk/aws_elasticache/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +339 -22
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +667 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +18 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +22 -1
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +133 -1
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2348 -54
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +60 -60
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -14121,10 +14121,10 @@ class CfnEIP(
|
|
|
14121
14121
|
'''
|
|
14122
14122
|
:param scope: Scope in which this resource is defined.
|
|
14123
14123
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
14124
|
-
:param address:
|
|
14124
|
+
:param address: An Elastic IP address or a carrier IP address in a Wavelength Zone.
|
|
14125
14125
|
:param domain: The network ( ``vpc`` ). If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ on this resource.
|
|
14126
14126
|
:param instance_id: The ID of the instance. .. epigraph:: Updates to the ``InstanceId`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
14127
|
-
:param ipam_pool_id:
|
|
14127
|
+
:param ipam_pool_id: The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see `Allocate sequential Elastic IP addresses from an IPAM pool <https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
14128
14128
|
:param network_border_group: A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups. Use `DescribeAvailabilityZones <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html>`_ to view the network border groups.
|
|
14129
14129
|
:param public_ipv4_pool: The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. .. epigraph:: Updates to the ``PublicIpv4Pool`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
14130
14130
|
:param tags: Any tags assigned to the Elastic IP address. .. epigraph:: Updates to the ``Tags`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
@@ -14211,6 +14211,7 @@ class CfnEIP(
|
|
|
14211
14211
|
@builtins.property
|
|
14212
14212
|
@jsii.member(jsii_name="address")
|
|
14213
14213
|
def address(self) -> typing.Optional[builtins.str]:
|
|
14214
|
+
'''An Elastic IP address or a carrier IP address in a Wavelength Zone.'''
|
|
14214
14215
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "address"))
|
|
14215
14216
|
|
|
14216
14217
|
@address.setter
|
|
@@ -14249,6 +14250,7 @@ class CfnEIP(
|
|
|
14249
14250
|
@builtins.property
|
|
14250
14251
|
@jsii.member(jsii_name="ipamPoolId")
|
|
14251
14252
|
def ipam_pool_id(self) -> typing.Optional[builtins.str]:
|
|
14253
|
+
'''The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.'''
|
|
14252
14254
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ipamPoolId"))
|
|
14253
14255
|
|
|
14254
14256
|
@ipam_pool_id.setter
|
|
@@ -14653,10 +14655,10 @@ class CfnEIPProps:
|
|
|
14653
14655
|
) -> None:
|
|
14654
14656
|
'''Properties for defining a ``CfnEIP``.
|
|
14655
14657
|
|
|
14656
|
-
:param address:
|
|
14658
|
+
:param address: An Elastic IP address or a carrier IP address in a Wavelength Zone.
|
|
14657
14659
|
:param domain: The network ( ``vpc`` ). If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ on this resource.
|
|
14658
14660
|
:param instance_id: The ID of the instance. .. epigraph:: Updates to the ``InstanceId`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
14659
|
-
:param ipam_pool_id:
|
|
14661
|
+
:param ipam_pool_id: The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see `Allocate sequential Elastic IP addresses from an IPAM pool <https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
14660
14662
|
:param network_border_group: A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups. Use `DescribeAvailabilityZones <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html>`_ to view the network border groups.
|
|
14661
14663
|
:param public_ipv4_pool: The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. .. epigraph:: Updates to the ``PublicIpv4Pool`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
14662
14664
|
:param tags: Any tags assigned to the Elastic IP address. .. epigraph:: Updates to the ``Tags`` property may require *some interruptions* . Updates on an EIP reassociates the address on its associated resource.
|
|
@@ -14711,7 +14713,8 @@ class CfnEIPProps:
|
|
|
14711
14713
|
|
|
14712
14714
|
@builtins.property
|
|
14713
14715
|
def address(self) -> typing.Optional[builtins.str]:
|
|
14714
|
-
'''
|
|
14716
|
+
'''An Elastic IP address or a carrier IP address in a Wavelength Zone.
|
|
14717
|
+
|
|
14715
14718
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-address
|
|
14716
14719
|
'''
|
|
14717
14720
|
result = self._values.get("address")
|
|
@@ -14743,7 +14746,10 @@ class CfnEIPProps:
|
|
|
14743
14746
|
|
|
14744
14747
|
@builtins.property
|
|
14745
14748
|
def ipam_pool_id(self) -> typing.Optional[builtins.str]:
|
|
14746
|
-
'''
|
|
14749
|
+
'''The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.
|
|
14750
|
+
|
|
14751
|
+
For more information, see `Allocate sequential Elastic IP addresses from an IPAM pool <https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html>`_ in the *Amazon VPC IPAM User Guide* .
|
|
14752
|
+
|
|
14747
14753
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-ipampoolid
|
|
14748
14754
|
'''
|
|
14749
14755
|
result = self._values.get("ipam_pool_id")
|
|
@@ -28220,7 +28226,7 @@ class CfnLaunchTemplate(
|
|
|
28220
28226
|
:param device_index: The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.
|
|
28221
28227
|
:param ena_srd_specification: The ENA Express configuration for the network interface.
|
|
28222
28228
|
:param groups: The IDs of one or more security groups.
|
|
28223
|
-
:param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. Valid values: ``interface`` | ``efa``
|
|
28229
|
+
:param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. If you specify ``efa-only`` , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
28224
28230
|
:param ipv4_prefix_count: The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ``Ipv4Prefix`` option.
|
|
28225
28231
|
:param ipv4_prefixes: One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the ``Ipv4PrefixCount`` option.
|
|
28226
28232
|
:param ipv6_address_count: The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
|
|
@@ -28449,11 +28455,13 @@ class CfnLaunchTemplate(
|
|
|
28449
28455
|
def interface_type(self) -> typing.Optional[builtins.str]:
|
|
28450
28456
|
'''The type of network interface.
|
|
28451
28457
|
|
|
28452
|
-
To create an Elastic Fabric Adapter (EFA), specify ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* .
|
|
28458
|
+
To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* .
|
|
28453
28459
|
|
|
28454
28460
|
If you are not creating an EFA, specify ``interface`` or omit this parameter.
|
|
28455
28461
|
|
|
28456
|
-
|
|
28462
|
+
If you specify ``efa-only`` , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses.
|
|
28463
|
+
|
|
28464
|
+
Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
28457
28465
|
|
|
28458
28466
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-interfacetype
|
|
28459
28467
|
'''
|
|
@@ -42873,6 +42881,208 @@ class CfnSecurityGroupProps:
|
|
|
42873
42881
|
)
|
|
42874
42882
|
|
|
42875
42883
|
|
|
42884
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
42885
|
+
class CfnSecurityGroupVpcAssociation(
|
|
42886
|
+
_CfnResource_9df397a6,
|
|
42887
|
+
metaclass=jsii.JSIIMeta,
|
|
42888
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnSecurityGroupVpcAssociation",
|
|
42889
|
+
):
|
|
42890
|
+
'''A security group association with a VPC.
|
|
42891
|
+
|
|
42892
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html
|
|
42893
|
+
:cloudformationResource: AWS::EC2::SecurityGroupVpcAssociation
|
|
42894
|
+
:exampleMetadata: fixture=_generated
|
|
42895
|
+
|
|
42896
|
+
Example::
|
|
42897
|
+
|
|
42898
|
+
# The code below shows an example of how to instantiate this type.
|
|
42899
|
+
# The values are placeholders you should change.
|
|
42900
|
+
from aws_cdk import aws_ec2 as ec2
|
|
42901
|
+
|
|
42902
|
+
cfn_security_group_vpc_association = ec2.CfnSecurityGroupVpcAssociation(self, "MyCfnSecurityGroupVpcAssociation",
|
|
42903
|
+
group_id="groupId",
|
|
42904
|
+
vpc_id="vpcId"
|
|
42905
|
+
)
|
|
42906
|
+
'''
|
|
42907
|
+
|
|
42908
|
+
def __init__(
|
|
42909
|
+
self,
|
|
42910
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
42911
|
+
id: builtins.str,
|
|
42912
|
+
*,
|
|
42913
|
+
group_id: builtins.str,
|
|
42914
|
+
vpc_id: builtins.str,
|
|
42915
|
+
) -> None:
|
|
42916
|
+
'''
|
|
42917
|
+
:param scope: Scope in which this resource is defined.
|
|
42918
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
42919
|
+
:param group_id: The association's security group ID.
|
|
42920
|
+
:param vpc_id: The association's VPC ID.
|
|
42921
|
+
'''
|
|
42922
|
+
if __debug__:
|
|
42923
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8ef924d53acf4952f6e0712b289196e5433c7a379c29292778e606fc67d28d33)
|
|
42924
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
42925
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
42926
|
+
props = CfnSecurityGroupVpcAssociationProps(group_id=group_id, vpc_id=vpc_id)
|
|
42927
|
+
|
|
42928
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
42929
|
+
|
|
42930
|
+
@jsii.member(jsii_name="inspect")
|
|
42931
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
42932
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
42933
|
+
|
|
42934
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
42935
|
+
'''
|
|
42936
|
+
if __debug__:
|
|
42937
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3b795589f9573dd12035364cf54b516679d09c552bd1ec30cda2b8af867c8a38)
|
|
42938
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
42939
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
42940
|
+
|
|
42941
|
+
@jsii.member(jsii_name="renderProperties")
|
|
42942
|
+
def _render_properties(
|
|
42943
|
+
self,
|
|
42944
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
42945
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
42946
|
+
'''
|
|
42947
|
+
:param props: -
|
|
42948
|
+
'''
|
|
42949
|
+
if __debug__:
|
|
42950
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4b10db158649118e3454cff2ebbf5af15bbad50af6e0d2ad16d18c33aaa545eb)
|
|
42951
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
42952
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
42953
|
+
|
|
42954
|
+
@jsii.python.classproperty
|
|
42955
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
42956
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
42957
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
42958
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
42959
|
+
|
|
42960
|
+
@builtins.property
|
|
42961
|
+
@jsii.member(jsii_name="attrState")
|
|
42962
|
+
def attr_state(self) -> builtins.str:
|
|
42963
|
+
'''The association's state.
|
|
42964
|
+
|
|
42965
|
+
:cloudformationAttribute: State
|
|
42966
|
+
'''
|
|
42967
|
+
return typing.cast(builtins.str, jsii.get(self, "attrState"))
|
|
42968
|
+
|
|
42969
|
+
@builtins.property
|
|
42970
|
+
@jsii.member(jsii_name="attrStateReason")
|
|
42971
|
+
def attr_state_reason(self) -> builtins.str:
|
|
42972
|
+
'''The association's state reason.
|
|
42973
|
+
|
|
42974
|
+
:cloudformationAttribute: StateReason
|
|
42975
|
+
'''
|
|
42976
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStateReason"))
|
|
42977
|
+
|
|
42978
|
+
@builtins.property
|
|
42979
|
+
@jsii.member(jsii_name="attrVpcOwnerId")
|
|
42980
|
+
def attr_vpc_owner_id(self) -> builtins.str:
|
|
42981
|
+
'''The AWS account ID of the owner of the VPC.
|
|
42982
|
+
|
|
42983
|
+
:cloudformationAttribute: VpcOwnerId
|
|
42984
|
+
'''
|
|
42985
|
+
return typing.cast(builtins.str, jsii.get(self, "attrVpcOwnerId"))
|
|
42986
|
+
|
|
42987
|
+
@builtins.property
|
|
42988
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
42989
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
42990
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
42991
|
+
|
|
42992
|
+
@builtins.property
|
|
42993
|
+
@jsii.member(jsii_name="groupId")
|
|
42994
|
+
def group_id(self) -> builtins.str:
|
|
42995
|
+
'''The association's security group ID.'''
|
|
42996
|
+
return typing.cast(builtins.str, jsii.get(self, "groupId"))
|
|
42997
|
+
|
|
42998
|
+
@group_id.setter
|
|
42999
|
+
def group_id(self, value: builtins.str) -> None:
|
|
43000
|
+
if __debug__:
|
|
43001
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dbfe370ca161992c0cae87f8e6c8e5335b02d12cdc9c58c298adc37823186981)
|
|
43002
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
43003
|
+
jsii.set(self, "groupId", value) # pyright: ignore[reportArgumentType]
|
|
43004
|
+
|
|
43005
|
+
@builtins.property
|
|
43006
|
+
@jsii.member(jsii_name="vpcId")
|
|
43007
|
+
def vpc_id(self) -> builtins.str:
|
|
43008
|
+
'''The association's VPC ID.'''
|
|
43009
|
+
return typing.cast(builtins.str, jsii.get(self, "vpcId"))
|
|
43010
|
+
|
|
43011
|
+
@vpc_id.setter
|
|
43012
|
+
def vpc_id(self, value: builtins.str) -> None:
|
|
43013
|
+
if __debug__:
|
|
43014
|
+
type_hints = typing.get_type_hints(_typecheckingstub__61cdbe72d309edde5399294ad29626026a3ccb424a9a810c66ac713d99b04a09)
|
|
43015
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
43016
|
+
jsii.set(self, "vpcId", value) # pyright: ignore[reportArgumentType]
|
|
43017
|
+
|
|
43018
|
+
|
|
43019
|
+
@jsii.data_type(
|
|
43020
|
+
jsii_type="aws-cdk-lib.aws_ec2.CfnSecurityGroupVpcAssociationProps",
|
|
43021
|
+
jsii_struct_bases=[],
|
|
43022
|
+
name_mapping={"group_id": "groupId", "vpc_id": "vpcId"},
|
|
43023
|
+
)
|
|
43024
|
+
class CfnSecurityGroupVpcAssociationProps:
|
|
43025
|
+
def __init__(self, *, group_id: builtins.str, vpc_id: builtins.str) -> None:
|
|
43026
|
+
'''Properties for defining a ``CfnSecurityGroupVpcAssociation``.
|
|
43027
|
+
|
|
43028
|
+
:param group_id: The association's security group ID.
|
|
43029
|
+
:param vpc_id: The association's VPC ID.
|
|
43030
|
+
|
|
43031
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html
|
|
43032
|
+
:exampleMetadata: fixture=_generated
|
|
43033
|
+
|
|
43034
|
+
Example::
|
|
43035
|
+
|
|
43036
|
+
# The code below shows an example of how to instantiate this type.
|
|
43037
|
+
# The values are placeholders you should change.
|
|
43038
|
+
from aws_cdk import aws_ec2 as ec2
|
|
43039
|
+
|
|
43040
|
+
cfn_security_group_vpc_association_props = ec2.CfnSecurityGroupVpcAssociationProps(
|
|
43041
|
+
group_id="groupId",
|
|
43042
|
+
vpc_id="vpcId"
|
|
43043
|
+
)
|
|
43044
|
+
'''
|
|
43045
|
+
if __debug__:
|
|
43046
|
+
type_hints = typing.get_type_hints(_typecheckingstub__87ba04fafd179cdc829033f2003bf4578598a141055d5898627ff9a12c5222d9)
|
|
43047
|
+
check_type(argname="argument group_id", value=group_id, expected_type=type_hints["group_id"])
|
|
43048
|
+
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
43049
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
43050
|
+
"group_id": group_id,
|
|
43051
|
+
"vpc_id": vpc_id,
|
|
43052
|
+
}
|
|
43053
|
+
|
|
43054
|
+
@builtins.property
|
|
43055
|
+
def group_id(self) -> builtins.str:
|
|
43056
|
+
'''The association's security group ID.
|
|
43057
|
+
|
|
43058
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-groupid
|
|
43059
|
+
'''
|
|
43060
|
+
result = self._values.get("group_id")
|
|
43061
|
+
assert result is not None, "Required property 'group_id' is missing"
|
|
43062
|
+
return typing.cast(builtins.str, result)
|
|
43063
|
+
|
|
43064
|
+
@builtins.property
|
|
43065
|
+
def vpc_id(self) -> builtins.str:
|
|
43066
|
+
'''The association's VPC ID.
|
|
43067
|
+
|
|
43068
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-vpcid
|
|
43069
|
+
'''
|
|
43070
|
+
result = self._values.get("vpc_id")
|
|
43071
|
+
assert result is not None, "Required property 'vpc_id' is missing"
|
|
43072
|
+
return typing.cast(builtins.str, result)
|
|
43073
|
+
|
|
43074
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
43075
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
43076
|
+
|
|
43077
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
43078
|
+
return not (rhs == self)
|
|
43079
|
+
|
|
43080
|
+
def __repr__(self) -> str:
|
|
43081
|
+
return "CfnSecurityGroupVpcAssociationProps(%s)" % ", ".join(
|
|
43082
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
43083
|
+
)
|
|
43084
|
+
|
|
43085
|
+
|
|
42876
43086
|
@jsii.implements(_IInspectable_c2943556)
|
|
42877
43087
|
class CfnSnapshotBlockPublicAccess(
|
|
42878
43088
|
_CfnResource_9df397a6,
|
|
@@ -72231,6 +72441,7 @@ class InitFile(
|
|
|
72231
72441
|
service_restart_handles: typing.Optional[typing.Sequence["InitServiceRestartHandle"]] = None,
|
|
72232
72442
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
72233
72443
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
72444
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
72234
72445
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
72235
72446
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
72236
72447
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -72251,6 +72462,7 @@ class InitFile(
|
|
|
72251
72462
|
:param service_restart_handles: Restart the given service after this file has been written. Default: - Do not restart any service
|
|
72252
72463
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
72253
72464
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
72465
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
72254
72466
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
72255
72467
|
:param asset_hash_type: Specifies the type of hash to calculate for this asset. If ``assetHash`` is configured, this option must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: - the default is ``AssetHashType.SOURCE``, but if ``assetHash`` is explicitly specified this value defaults to ``AssetHashType.CUSTOM``.
|
|
72256
72468
|
:param bundling: Bundle the asset by executing a command in a Docker container or a custom bundling provider. The asset path will be mounted at ``/asset-input``. The Docker container is responsible for putting content at ``/asset-output``. The content at ``/asset-output`` will be zipped and used as the final asset. Default: - uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise
|
|
@@ -72270,6 +72482,7 @@ class InitFile(
|
|
|
72270
72482
|
service_restart_handles=service_restart_handles,
|
|
72271
72483
|
deploy_time=deploy_time,
|
|
72272
72484
|
readers=readers,
|
|
72485
|
+
source_kms_key=source_kms_key,
|
|
72273
72486
|
asset_hash=asset_hash,
|
|
72274
72487
|
asset_hash_type=asset_hash_type,
|
|
72275
72488
|
bundling=bundling,
|
|
@@ -73392,6 +73605,7 @@ class InitSource(
|
|
|
73392
73605
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
73393
73606
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
73394
73607
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
73608
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
73395
73609
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
73396
73610
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
73397
73611
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -73406,6 +73620,7 @@ class InitSource(
|
|
|
73406
73620
|
:param service_restart_handles: Restart the given services after this archive has been extracted. Default: - Do not restart any service
|
|
73407
73621
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
73408
73622
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
73623
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
73409
73624
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
73410
73625
|
:param asset_hash_type: Specifies the type of hash to calculate for this asset. If ``assetHash`` is configured, this option must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: - the default is ``AssetHashType.SOURCE``, but if ``assetHash`` is explicitly specified this value defaults to ``AssetHashType.CUSTOM``.
|
|
73411
73626
|
:param bundling: Bundle the asset by executing a command in a Docker container or a custom bundling provider. The asset path will be mounted at ``/asset-input``. The Docker container is responsible for putting content at ``/asset-output``. The content at ``/asset-output`` will be zipped and used as the final asset. Default: - uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise
|
|
@@ -73421,6 +73636,7 @@ class InitSource(
|
|
|
73421
73636
|
service_restart_handles=service_restart_handles,
|
|
73422
73637
|
deploy_time=deploy_time,
|
|
73423
73638
|
readers=readers,
|
|
73639
|
+
source_kms_key=source_kms_key,
|
|
73424
73640
|
asset_hash=asset_hash,
|
|
73425
73641
|
asset_hash_type=asset_hash_type,
|
|
73426
73642
|
bundling=bundling,
|
|
@@ -76321,6 +76537,11 @@ class InterfaceVpcEndpointAwsService(
|
|
|
76321
76537
|
def COST_EXPLORER(cls) -> "InterfaceVpcEndpointAwsService":
|
|
76322
76538
|
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "COST_EXPLORER"))
|
|
76323
76539
|
|
|
76540
|
+
@jsii.python.classproperty
|
|
76541
|
+
@jsii.member(jsii_name="COST_OPTIMIZATION_HUB")
|
|
76542
|
+
def COST_OPTIMIZATION_HUB(cls) -> "InterfaceVpcEndpointAwsService":
|
|
76543
|
+
return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "COST_OPTIMIZATION_HUB"))
|
|
76544
|
+
|
|
76324
76545
|
@jsii.python.classproperty
|
|
76325
76546
|
@jsii.member(jsii_name="DATA_EXCHANGE")
|
|
76326
76547
|
def DATA_EXCHANGE(cls) -> "InterfaceVpcEndpointAwsService":
|
|
@@ -93302,6 +93523,7 @@ class InitCommand(
|
|
|
93302
93523
|
"ignore_mode": "ignoreMode",
|
|
93303
93524
|
"deploy_time": "deployTime",
|
|
93304
93525
|
"readers": "readers",
|
|
93526
|
+
"source_kms_key": "sourceKMSKey",
|
|
93305
93527
|
},
|
|
93306
93528
|
)
|
|
93307
93529
|
class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
@@ -93321,6 +93543,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93321
93543
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
93322
93544
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
93323
93545
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
93546
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
93324
93547
|
) -> None:
|
|
93325
93548
|
'''Additional options for creating an InitFile from an asset.
|
|
93326
93549
|
|
|
@@ -93337,6 +93560,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93337
93560
|
:param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
|
|
93338
93561
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
93339
93562
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
93563
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
93340
93564
|
|
|
93341
93565
|
:exampleMetadata: fixture=_generated
|
|
93342
93566
|
|
|
@@ -93347,10 +93571,12 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93347
93571
|
import aws_cdk as cdk
|
|
93348
93572
|
from aws_cdk import aws_ec2 as ec2
|
|
93349
93573
|
from aws_cdk import aws_iam as iam
|
|
93574
|
+
from aws_cdk import aws_kms as kms
|
|
93350
93575
|
|
|
93351
93576
|
# docker_image: cdk.DockerImage
|
|
93352
93577
|
# grantable: iam.IGrantable
|
|
93353
93578
|
# init_service_restart_handle: ec2.InitServiceRestartHandle
|
|
93579
|
+
# key: kms.Key
|
|
93354
93580
|
# local_bundling: cdk.ILocalBundling
|
|
93355
93581
|
|
|
93356
93582
|
init_file_asset_options = ec2.InitFileAssetOptions(
|
|
@@ -93391,7 +93617,8 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93391
93617
|
mode="mode",
|
|
93392
93618
|
owner="owner",
|
|
93393
93619
|
readers=[grantable],
|
|
93394
|
-
service_restart_handles=[init_service_restart_handle]
|
|
93620
|
+
service_restart_handles=[init_service_restart_handle],
|
|
93621
|
+
source_kMSKey=key
|
|
93395
93622
|
)
|
|
93396
93623
|
'''
|
|
93397
93624
|
if isinstance(bundling, dict):
|
|
@@ -93411,6 +93638,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93411
93638
|
check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
|
|
93412
93639
|
check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
|
|
93413
93640
|
check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
|
|
93641
|
+
check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
|
|
93414
93642
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
93415
93643
|
if base64_encoded is not None:
|
|
93416
93644
|
self._values["base64_encoded"] = base64_encoded
|
|
@@ -93438,6 +93666,8 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93438
93666
|
self._values["deploy_time"] = deploy_time
|
|
93439
93667
|
if readers is not None:
|
|
93440
93668
|
self._values["readers"] = readers
|
|
93669
|
+
if source_kms_key is not None:
|
|
93670
|
+
self._values["source_kms_key"] = source_kms_key
|
|
93441
93671
|
|
|
93442
93672
|
@builtins.property
|
|
93443
93673
|
def base64_encoded(self) -> typing.Optional[builtins.bool]:
|
|
@@ -93611,6 +93841,15 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93611
93841
|
result = self._values.get("readers")
|
|
93612
93842
|
return typing.cast(typing.Optional[typing.List[_IGrantable_71c4f5de]], result)
|
|
93613
93843
|
|
|
93844
|
+
@builtins.property
|
|
93845
|
+
def source_kms_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
93846
|
+
'''The ARN of the KMS key used to encrypt the handler code.
|
|
93847
|
+
|
|
93848
|
+
:default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
93849
|
+
'''
|
|
93850
|
+
result = self._values.get("source_kms_key")
|
|
93851
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], result)
|
|
93852
|
+
|
|
93614
93853
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
93615
93854
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
93616
93855
|
|
|
@@ -93636,6 +93875,7 @@ class InitFileAssetOptions(InitFileOptions, _AssetOptions_2aa69621):
|
|
|
93636
93875
|
"ignore_mode": "ignoreMode",
|
|
93637
93876
|
"deploy_time": "deployTime",
|
|
93638
93877
|
"readers": "readers",
|
|
93878
|
+
"source_kms_key": "sourceKMSKey",
|
|
93639
93879
|
},
|
|
93640
93880
|
)
|
|
93641
93881
|
class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
@@ -93651,6 +93891,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93651
93891
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
93652
93892
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
93653
93893
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
93894
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
93654
93895
|
) -> None:
|
|
93655
93896
|
'''Additional options for an InitSource that builds an asset from local files.
|
|
93656
93897
|
|
|
@@ -93663,6 +93904,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93663
93904
|
:param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
|
|
93664
93905
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
93665
93906
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
93907
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
93666
93908
|
|
|
93667
93909
|
:exampleMetadata: fixture=_generated
|
|
93668
93910
|
|
|
@@ -93673,10 +93915,12 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93673
93915
|
import aws_cdk as cdk
|
|
93674
93916
|
from aws_cdk import aws_ec2 as ec2
|
|
93675
93917
|
from aws_cdk import aws_iam as iam
|
|
93918
|
+
from aws_cdk import aws_kms as kms
|
|
93676
93919
|
|
|
93677
93920
|
# docker_image: cdk.DockerImage
|
|
93678
93921
|
# grantable: iam.IGrantable
|
|
93679
93922
|
# init_service_restart_handle: ec2.InitServiceRestartHandle
|
|
93923
|
+
# key: kms.Key
|
|
93680
93924
|
# local_bundling: cdk.ILocalBundling
|
|
93681
93925
|
|
|
93682
93926
|
init_source_asset_options = ec2.InitSourceAssetOptions(
|
|
@@ -93713,7 +93957,8 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93713
93957
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
93714
93958
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
93715
93959
|
readers=[grantable],
|
|
93716
|
-
service_restart_handles=[init_service_restart_handle]
|
|
93960
|
+
service_restart_handles=[init_service_restart_handle],
|
|
93961
|
+
source_kMSKey=key
|
|
93717
93962
|
)
|
|
93718
93963
|
'''
|
|
93719
93964
|
if isinstance(bundling, dict):
|
|
@@ -93729,6 +93974,7 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93729
93974
|
check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
|
|
93730
93975
|
check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
|
|
93731
93976
|
check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
|
|
93977
|
+
check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
|
|
93732
93978
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
93733
93979
|
if service_restart_handles is not None:
|
|
93734
93980
|
self._values["service_restart_handles"] = service_restart_handles
|
|
@@ -93748,6 +93994,8 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93748
93994
|
self._values["deploy_time"] = deploy_time
|
|
93749
93995
|
if readers is not None:
|
|
93750
93996
|
self._values["readers"] = readers
|
|
93997
|
+
if source_kms_key is not None:
|
|
93998
|
+
self._values["source_kms_key"] = source_kms_key
|
|
93751
93999
|
|
|
93752
94000
|
@builtins.property
|
|
93753
94001
|
def service_restart_handles(
|
|
@@ -93872,6 +94120,15 @@ class InitSourceAssetOptions(InitSourceOptions, _AssetOptions_2aa69621):
|
|
|
93872
94120
|
result = self._values.get("readers")
|
|
93873
94121
|
return typing.cast(typing.Optional[typing.List[_IGrantable_71c4f5de]], result)
|
|
93874
94122
|
|
|
94123
|
+
@builtins.property
|
|
94124
|
+
def source_kms_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
94125
|
+
'''The ARN of the KMS key used to encrypt the handler code.
|
|
94126
|
+
|
|
94127
|
+
:default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
94128
|
+
'''
|
|
94129
|
+
result = self._values.get("source_kms_key")
|
|
94130
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], result)
|
|
94131
|
+
|
|
93875
94132
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
93876
94133
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
93877
94134
|
|
|
@@ -96455,6 +96712,8 @@ __all__ = [
|
|
|
96455
96712
|
"CfnSecurityGroupIngress",
|
|
96456
96713
|
"CfnSecurityGroupIngressProps",
|
|
96457
96714
|
"CfnSecurityGroupProps",
|
|
96715
|
+
"CfnSecurityGroupVpcAssociation",
|
|
96716
|
+
"CfnSecurityGroupVpcAssociationProps",
|
|
96458
96717
|
"CfnSnapshotBlockPublicAccess",
|
|
96459
96718
|
"CfnSnapshotBlockPublicAccessProps",
|
|
96460
96719
|
"CfnSpotFleet",
|
|
@@ -102379,6 +102638,48 @@ def _typecheckingstub__a21c9d7bd7156fd2dd5a288945bbf548f4ab7a9ee07ba36ecb2062ab6
|
|
|
102379
102638
|
"""Type checking stubs"""
|
|
102380
102639
|
pass
|
|
102381
102640
|
|
|
102641
|
+
def _typecheckingstub__8ef924d53acf4952f6e0712b289196e5433c7a379c29292778e606fc67d28d33(
|
|
102642
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
102643
|
+
id: builtins.str,
|
|
102644
|
+
*,
|
|
102645
|
+
group_id: builtins.str,
|
|
102646
|
+
vpc_id: builtins.str,
|
|
102647
|
+
) -> None:
|
|
102648
|
+
"""Type checking stubs"""
|
|
102649
|
+
pass
|
|
102650
|
+
|
|
102651
|
+
def _typecheckingstub__3b795589f9573dd12035364cf54b516679d09c552bd1ec30cda2b8af867c8a38(
|
|
102652
|
+
inspector: _TreeInspector_488e0dd5,
|
|
102653
|
+
) -> None:
|
|
102654
|
+
"""Type checking stubs"""
|
|
102655
|
+
pass
|
|
102656
|
+
|
|
102657
|
+
def _typecheckingstub__4b10db158649118e3454cff2ebbf5af15bbad50af6e0d2ad16d18c33aaa545eb(
|
|
102658
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
102659
|
+
) -> None:
|
|
102660
|
+
"""Type checking stubs"""
|
|
102661
|
+
pass
|
|
102662
|
+
|
|
102663
|
+
def _typecheckingstub__dbfe370ca161992c0cae87f8e6c8e5335b02d12cdc9c58c298adc37823186981(
|
|
102664
|
+
value: builtins.str,
|
|
102665
|
+
) -> None:
|
|
102666
|
+
"""Type checking stubs"""
|
|
102667
|
+
pass
|
|
102668
|
+
|
|
102669
|
+
def _typecheckingstub__61cdbe72d309edde5399294ad29626026a3ccb424a9a810c66ac713d99b04a09(
|
|
102670
|
+
value: builtins.str,
|
|
102671
|
+
) -> None:
|
|
102672
|
+
"""Type checking stubs"""
|
|
102673
|
+
pass
|
|
102674
|
+
|
|
102675
|
+
def _typecheckingstub__87ba04fafd179cdc829033f2003bf4578598a141055d5898627ff9a12c5222d9(
|
|
102676
|
+
*,
|
|
102677
|
+
group_id: builtins.str,
|
|
102678
|
+
vpc_id: builtins.str,
|
|
102679
|
+
) -> None:
|
|
102680
|
+
"""Type checking stubs"""
|
|
102681
|
+
pass
|
|
102682
|
+
|
|
102382
102683
|
def _typecheckingstub__995a1a5869d618c24a624831b2ad5e725b73ab6134ba003d66411c58faf1187e(
|
|
102383
102684
|
scope: _constructs_77d1e7e8.Construct,
|
|
102384
102685
|
id: builtins.str,
|
|
@@ -106514,6 +106815,7 @@ def _typecheckingstub__164f7ae4723652c2e5c3189a870d0dbd16f8bec14d0e807d648248a60
|
|
|
106514
106815
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
106515
106816
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
106516
106817
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
106818
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
106517
106819
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
106518
106820
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
106519
106821
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -106761,6 +107063,7 @@ def _typecheckingstub__28af50587b7c2068b2cb49dbac75ce38a6ffdaf070d2c430abde336ae
|
|
|
106761
107063
|
service_restart_handles: typing.Optional[typing.Sequence[InitServiceRestartHandle]] = None,
|
|
106762
107064
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
106763
107065
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
107066
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
106764
107067
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
106765
107068
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
106766
107069
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -108809,6 +109112,7 @@ def _typecheckingstub__6ce391dd6a64744f1d308a93bd2b78efee46c104a775f9153a5171d8a
|
|
|
108809
109112
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
108810
109113
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
108811
109114
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
109115
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
108812
109116
|
) -> None:
|
|
108813
109117
|
"""Type checking stubs"""
|
|
108814
109118
|
pass
|
|
@@ -108824,6 +109128,7 @@ def _typecheckingstub__f3d9778b6f3d55d750d385b361f8381c51ee484d3c8920175605233fb
|
|
|
108824
109128
|
ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
|
|
108825
109129
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
108826
109130
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
109131
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
108827
109132
|
) -> None:
|
|
108828
109133
|
"""Type checking stubs"""
|
|
108829
109134
|
pass
|