aws-cdk-lib 2.195.0__py3-none-any.whl → 2.196.1__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 +433 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.196.1.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +148 -69
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +620 -14
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +87 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +6 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +91 -12
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +557 -14
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +21 -13
- aws_cdk/aws_dynamodb/__init__.py +20 -8
- aws_cdk/aws_ec2/__init__.py +282 -21
- aws_cdk/aws_ecr/__init__.py +6 -0
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +112 -19
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +6 -0
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +21 -16
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +9 -11
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +9 -11
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_logs/__init__.py +155 -12
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +306 -30
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +723 -25
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_sagemaker/__init__.py +199 -4
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +7 -7
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/METADATA +83 -5
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/RECORD +99 -99
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.1.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
34
34
|
import constructs._jsii
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.196.1", __name__[0:-6], "aws-cdk-lib@2.196.1.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
aws_cdk/aws_acmpca/__init__.py
CHANGED
|
@@ -118,7 +118,7 @@ class CertificateAuthority(
|
|
|
118
118
|
|
|
119
119
|
cluster = msk.Cluster(self, "Cluster",
|
|
120
120
|
cluster_name="myCluster",
|
|
121
|
-
kafka_version=msk.KafkaVersion.
|
|
121
|
+
kafka_version=msk.KafkaVersion.V3_9_X,
|
|
122
122
|
vpc=vpc,
|
|
123
123
|
encryption_in_transit=msk.EncryptionInTransitConfig(
|
|
124
124
|
client_broker=msk.ClientBrokerEncryption.TLS
|
aws_cdk/aws_amazonmq/__init__.py
CHANGED
|
@@ -1382,7 +1382,7 @@ class CfnBroker(
|
|
|
1382
1382
|
:param username: The username of the broker user. For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using guest as a valid usename. This value must be 2-100 characters long. .. epigraph:: Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other AWS services, including CloudWatch Logs . Broker usernames are not intended to be used for private or sensitive data.
|
|
1383
1383
|
:param console_access: Enables access to the ActiveMQ web console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
|
|
1384
1384
|
:param groups: The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.
|
|
1385
|
-
:param jolokia_api_access:
|
|
1385
|
+
:param jolokia_api_access: Enables Jolokia access to the ActiveMQ broker for the ActiveMQ user (Does not apply to RabbitMQ brokers).
|
|
1386
1386
|
:param replication_user: Defines if this user is intended for CRDR replication purposes.
|
|
1387
1387
|
|
|
1388
1388
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html
|
|
@@ -1479,7 +1479,7 @@ class CfnBroker(
|
|
|
1479
1479
|
|
|
1480
1480
|
@builtins.property
|
|
1481
1481
|
def jolokia_api_access(self) -> typing.Optional[builtins.str]:
|
|
1482
|
-
'''
|
|
1482
|
+
'''Enables Jolokia access to the ActiveMQ broker for the ActiveMQ user (Does not apply to RabbitMQ brokers).
|
|
1483
1483
|
|
|
1484
1484
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-jolokiaapiaccess
|
|
1485
1485
|
'''
|
|
@@ -3649,6 +3649,12 @@ class BasePathMapping(
|
|
|
3649
3649
|
|
|
3650
3650
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3651
3651
|
|
|
3652
|
+
@jsii.python.classproperty
|
|
3653
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
3654
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
3655
|
+
'''Uniquely identifies this class.'''
|
|
3656
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
3657
|
+
|
|
3652
3658
|
|
|
3653
3659
|
@jsii.data_type(
|
|
3654
3660
|
jsii_type="aws-cdk-lib.aws_apigateway.BasePathMappingOptions",
|
|
@@ -7866,6 +7872,14 @@ class CfnDomainName(
|
|
|
7866
7872
|
'''
|
|
7867
7873
|
return typing.cast(builtins.str, jsii.get(self, "attrDistributionHostedZoneId"))
|
|
7868
7874
|
|
|
7875
|
+
@builtins.property
|
|
7876
|
+
@jsii.member(jsii_name="attrDomainNameArn")
|
|
7877
|
+
def attr_domain_name_arn(self) -> builtins.str:
|
|
7878
|
+
'''
|
|
7879
|
+
:cloudformationAttribute: DomainNameArn
|
|
7880
|
+
'''
|
|
7881
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDomainNameArn"))
|
|
7882
|
+
|
|
7869
7883
|
@builtins.property
|
|
7870
7884
|
@jsii.member(jsii_name="attrRegionalDomainName")
|
|
7871
7885
|
def attr_regional_domain_name(self) -> builtins.str:
|
|
@@ -8885,7 +8899,7 @@ class CfnDomainNameV2(
|
|
|
8885
8899
|
) -> None:
|
|
8886
8900
|
'''The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.
|
|
8887
8901
|
|
|
8888
|
-
:param ip_address_type:
|
|
8902
|
+
:param ip_address_type: The IP address types that can invoke an API (RestApi) or a DomainName. Use ``ipv4`` to allow only IPv4 addresses to invoke an API or DomainName, or use ``dualstack`` to allow both IPv4 and IPv6 addresses to invoke an API or a DomainName. For the ``PRIVATE`` endpoint type, only ``dualstack`` is supported.
|
|
8889
8903
|
:param types: A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``"EDGE"`` . For a regional API and its custom domain name, the endpoint type is ``REGIONAL`` . For a private API, the endpoint type is ``PRIVATE`` .
|
|
8890
8904
|
|
|
8891
8905
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnamev2-endpointconfiguration.html
|
|
@@ -8914,7 +8928,10 @@ class CfnDomainNameV2(
|
|
|
8914
8928
|
|
|
8915
8929
|
@builtins.property
|
|
8916
8930
|
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
8917
|
-
'''
|
|
8931
|
+
'''The IP address types that can invoke an API (RestApi) or a DomainName.
|
|
8932
|
+
|
|
8933
|
+
Use ``ipv4`` to allow only IPv4 addresses to invoke an API or DomainName, or use ``dualstack`` to allow both IPv4 and IPv6 addresses to invoke an API or a DomainName. For the ``PRIVATE`` endpoint type, only ``dualstack`` is supported.
|
|
8934
|
+
|
|
8918
8935
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnamev2-endpointconfiguration.html#cfn-apigateway-domainnamev2-endpointconfiguration-ipaddresstype
|
|
8919
8936
|
'''
|
|
8920
8937
|
result = self._values.get("ip_address_type")
|
|
@@ -15236,6 +15253,12 @@ class Deployment(
|
|
|
15236
15253
|
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
15237
15254
|
return typing.cast(None, jsii.invoke(self, "addToLogicalId", [data]))
|
|
15238
15255
|
|
|
15256
|
+
@jsii.python.classproperty
|
|
15257
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
15258
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
15259
|
+
'''Uniquely identifies this class.'''
|
|
15260
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
15261
|
+
|
|
15239
15262
|
@builtins.property
|
|
15240
15263
|
@jsii.member(jsii_name="api")
|
|
15241
15264
|
def api(self) -> "IRestApi":
|
|
@@ -20156,6 +20179,12 @@ class Method(
|
|
|
20156
20179
|
|
|
20157
20180
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricServerError", [stage, props]))
|
|
20158
20181
|
|
|
20182
|
+
@jsii.python.classproperty
|
|
20183
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20184
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20185
|
+
'''Uniquely identifies this class.'''
|
|
20186
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20187
|
+
|
|
20159
20188
|
@builtins.property
|
|
20160
20189
|
@jsii.member(jsii_name="api")
|
|
20161
20190
|
def api(self) -> IRestApi:
|
|
@@ -21207,6 +21236,12 @@ class Model(
|
|
|
21207
21236
|
'''
|
|
21208
21237
|
return typing.cast(IModel, jsii.sget(cls, "ERROR_MODEL"))
|
|
21209
21238
|
|
|
21239
|
+
@jsii.python.classproperty
|
|
21240
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
21241
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
21242
|
+
'''Uniquely identifies this class.'''
|
|
21243
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
21244
|
+
|
|
21210
21245
|
@builtins.property
|
|
21211
21246
|
@jsii.member(jsii_name="modelId")
|
|
21212
21247
|
def model_id(self) -> builtins.str:
|
|
@@ -21863,6 +21898,12 @@ class RateLimitedApiKey(
|
|
|
21863
21898
|
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
21864
21899
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantWrite", [grantee]))
|
|
21865
21900
|
|
|
21901
|
+
@jsii.python.classproperty
|
|
21902
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
21903
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
21904
|
+
'''Uniquely identifies this class.'''
|
|
21905
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
21906
|
+
|
|
21866
21907
|
@builtins.property
|
|
21867
21908
|
@jsii.member(jsii_name="keyArn")
|
|
21868
21909
|
def key_arn(self) -> builtins.str:
|
|
@@ -22462,6 +22503,12 @@ class RequestValidator(
|
|
|
22462
22503
|
check_type(argname="argument request_validator_id", value=request_validator_id, expected_type=type_hints["request_validator_id"])
|
|
22463
22504
|
return typing.cast(IRequestValidator, jsii.sinvoke(cls, "fromRequestValidatorId", [scope, id, request_validator_id]))
|
|
22464
22505
|
|
|
22506
|
+
@jsii.python.classproperty
|
|
22507
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
22508
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
22509
|
+
'''Uniquely identifies this class.'''
|
|
22510
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
22511
|
+
|
|
22465
22512
|
@builtins.property
|
|
22466
22513
|
@jsii.member(jsii_name="requestValidatorId")
|
|
22467
22514
|
def request_validator_id(self) -> builtins.str:
|
|
@@ -25855,6 +25902,12 @@ class SpecRestApi(
|
|
|
25855
25902
|
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
25856
25903
|
return typing.cast(_AddToResourcePolicyResult_1d0a53ad, jsii.invoke(self, "addToResourcePolicy", [statement]))
|
|
25857
25904
|
|
|
25905
|
+
@jsii.python.classproperty
|
|
25906
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
25907
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
25908
|
+
'''Uniquely identifies this class.'''
|
|
25909
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
25910
|
+
|
|
25858
25911
|
@builtins.property
|
|
25859
25912
|
@jsii.member(jsii_name="restApiId")
|
|
25860
25913
|
def rest_api_id(self) -> builtins.str:
|
|
@@ -29193,6 +29246,12 @@ class UsagePlan(
|
|
|
29193
29246
|
|
|
29194
29247
|
return typing.cast(None, jsii.invoke(self, "addApiStage", [api_stage]))
|
|
29195
29248
|
|
|
29249
|
+
@jsii.python.classproperty
|
|
29250
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
29251
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
29252
|
+
'''Uniquely identifies this class.'''
|
|
29253
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
29254
|
+
|
|
29196
29255
|
@builtins.property
|
|
29197
29256
|
@jsii.member(jsii_name="usagePlanId")
|
|
29198
29257
|
def usage_plan_id(self) -> builtins.str:
|
|
@@ -29515,6 +29574,12 @@ class VpcLink(
|
|
|
29515
29574
|
check_type(argname="argument targets", value=targets, expected_type=typing.Tuple[type_hints["targets"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
29516
29575
|
return typing.cast(None, jsii.invoke(self, "addTargets", [*targets]))
|
|
29517
29576
|
|
|
29577
|
+
@jsii.python.classproperty
|
|
29578
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
29579
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
29580
|
+
'''Uniquely identifies this class.'''
|
|
29581
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
29582
|
+
|
|
29518
29583
|
@builtins.property
|
|
29519
29584
|
@jsii.member(jsii_name="vpcLinkId")
|
|
29520
29585
|
def vpc_link_id(self) -> builtins.str:
|
|
@@ -29637,11 +29702,14 @@ class ApiKey(
|
|
|
29637
29702
|
An ApiKey can be distributed to API clients that are executing requests
|
|
29638
29703
|
for Method resources that require an Api Key.
|
|
29639
29704
|
|
|
29640
|
-
:exampleMetadata: infused
|
|
29705
|
+
:exampleMetadata: fixture=README-blueprints infused
|
|
29641
29706
|
|
|
29642
29707
|
Example::
|
|
29643
29708
|
|
|
29644
|
-
|
|
29709
|
+
stack = Stack(app, "my-stack")
|
|
29710
|
+
api.ApiKey(stack, "my-api-key",
|
|
29711
|
+
enabled=False
|
|
29712
|
+
)
|
|
29645
29713
|
'''
|
|
29646
29714
|
|
|
29647
29715
|
def __init__(
|
|
@@ -29750,6 +29818,12 @@ class ApiKey(
|
|
|
29750
29818
|
check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
|
|
29751
29819
|
return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantWrite", [grantee]))
|
|
29752
29820
|
|
|
29821
|
+
@jsii.python.classproperty
|
|
29822
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
29823
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
29824
|
+
'''Uniquely identifies this class.'''
|
|
29825
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
29826
|
+
|
|
29753
29827
|
@builtins.property
|
|
29754
29828
|
@jsii.member(jsii_name="keyArn")
|
|
29755
29829
|
def key_arn(self) -> builtins.str:
|
|
@@ -29957,75 +30031,14 @@ class ApiKeyProps(ApiKeyOptions):
|
|
|
29957
30031
|
:param resources: (deprecated) A list of resources this api key is associated with. Default: none
|
|
29958
30032
|
:param stages: A list of Stages this api key is associated with. Default: - the api key is not associated with any stages
|
|
29959
30033
|
|
|
29960
|
-
:exampleMetadata: fixture=
|
|
30034
|
+
:exampleMetadata: fixture=README-blueprints infused
|
|
29961
30035
|
|
|
29962
30036
|
Example::
|
|
29963
30037
|
|
|
29964
|
-
|
|
29965
|
-
|
|
29966
|
-
import aws_cdk as cdk
|
|
29967
|
-
from aws_cdk import aws_apigateway as apigateway
|
|
29968
|
-
|
|
29969
|
-
# authorizer: apigateway.Authorizer
|
|
29970
|
-
# integration: apigateway.Integration
|
|
29971
|
-
# model: apigateway.Model
|
|
29972
|
-
# request_validator: apigateway.RequestValidator
|
|
29973
|
-
# rest_api: apigateway.RestApi
|
|
29974
|
-
# stage: apigateway.Stage
|
|
29975
|
-
|
|
29976
|
-
api_key_props = apigateway.ApiKeyProps(
|
|
29977
|
-
api_key_name="apiKeyName",
|
|
29978
|
-
customer_id="customerId",
|
|
29979
|
-
default_cors_preflight_options=apigateway.CorsOptions(
|
|
29980
|
-
allow_origins=["allowOrigins"],
|
|
29981
|
-
|
|
29982
|
-
# the properties below are optional
|
|
29983
|
-
allow_credentials=False,
|
|
29984
|
-
allow_headers=["allowHeaders"],
|
|
29985
|
-
allow_methods=["allowMethods"],
|
|
29986
|
-
disable_cache=False,
|
|
29987
|
-
expose_headers=["exposeHeaders"],
|
|
29988
|
-
max_age=cdk.Duration.minutes(30),
|
|
29989
|
-
status_code=123
|
|
29990
|
-
),
|
|
29991
|
-
default_integration=integration,
|
|
29992
|
-
default_method_options=apigateway.MethodOptions(
|
|
29993
|
-
api_key_required=False,
|
|
29994
|
-
authorization_scopes=["authorizationScopes"],
|
|
29995
|
-
authorization_type=apigateway.AuthorizationType.NONE,
|
|
29996
|
-
authorizer=authorizer,
|
|
29997
|
-
method_responses=[apigateway.MethodResponse(
|
|
29998
|
-
status_code="statusCode",
|
|
29999
|
-
|
|
30000
|
-
# the properties below are optional
|
|
30001
|
-
response_models={
|
|
30002
|
-
"response_models_key": model
|
|
30003
|
-
},
|
|
30004
|
-
response_parameters={
|
|
30005
|
-
"response_parameters_key": False
|
|
30006
|
-
}
|
|
30007
|
-
)],
|
|
30008
|
-
operation_name="operationName",
|
|
30009
|
-
request_models={
|
|
30010
|
-
"request_models_key": model
|
|
30011
|
-
},
|
|
30012
|
-
request_parameters={
|
|
30013
|
-
"request_parameters_key": False
|
|
30014
|
-
},
|
|
30015
|
-
request_validator=request_validator,
|
|
30016
|
-
request_validator_options=apigateway.RequestValidatorOptions(
|
|
30017
|
-
request_validator_name="requestValidatorName",
|
|
30018
|
-
validate_request_body=False,
|
|
30019
|
-
validate_request_parameters=False
|
|
30020
|
-
)
|
|
30021
|
-
),
|
|
30022
|
-
description="description",
|
|
30023
|
-
enabled=False,
|
|
30024
|
-
generate_distinct_id=False,
|
|
30025
|
-
resources=[rest_api],
|
|
30026
|
-
stages=[stage],
|
|
30027
|
-
value="value"
|
|
30038
|
+
stack = Stack(app, "my-stack",
|
|
30039
|
+
property_injectors=[ApiKeyPropsInjector()]
|
|
30028
30040
|
)
|
|
30041
|
+
api.ApiKey(stack, "my-api-key")
|
|
30029
30042
|
'''
|
|
30030
30043
|
if isinstance(default_cors_preflight_options, dict):
|
|
30031
30044
|
default_cors_preflight_options = CorsOptions(**default_cors_preflight_options)
|
|
@@ -30409,6 +30422,12 @@ class CognitoUserPoolsAuthorizer(
|
|
|
30409
30422
|
|
|
30410
30423
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
30411
30424
|
|
|
30425
|
+
@jsii.python.classproperty
|
|
30426
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
30427
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
30428
|
+
'''Uniquely identifies this class.'''
|
|
30429
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
30430
|
+
|
|
30412
30431
|
@builtins.property
|
|
30413
30432
|
@jsii.member(jsii_name="authorizerArn")
|
|
30414
30433
|
def authorizer_arn(self) -> builtins.str:
|
|
@@ -30585,6 +30604,12 @@ class DomainName(
|
|
|
30585
30604
|
|
|
30586
30605
|
return typing.cast(BasePathMapping, jsii.invoke(self, "addBasePathMapping", [target_api, options]))
|
|
30587
30606
|
|
|
30607
|
+
@jsii.python.classproperty
|
|
30608
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
30609
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
30610
|
+
'''Uniquely identifies this class.'''
|
|
30611
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
30612
|
+
|
|
30588
30613
|
@builtins.property
|
|
30589
30614
|
@jsii.member(jsii_name="domainName")
|
|
30590
30615
|
def domain_name(self) -> builtins.str:
|
|
@@ -30726,6 +30751,12 @@ class GatewayResponse(
|
|
|
30726
30751
|
|
|
30727
30752
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
30728
30753
|
|
|
30754
|
+
@jsii.python.classproperty
|
|
30755
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
30756
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
30757
|
+
'''Uniquely identifies this class.'''
|
|
30758
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
30759
|
+
|
|
30729
30760
|
|
|
30730
30761
|
class HttpIntegration(
|
|
30731
30762
|
Integration,
|
|
@@ -32039,6 +32070,12 @@ class RequestAuthorizer(
|
|
|
32039
32070
|
'''Sets up the permissions necessary for the API Gateway service to invoke the Lambda function.'''
|
|
32040
32071
|
return typing.cast(None, jsii.invoke(self, "setupPermissions", []))
|
|
32041
32072
|
|
|
32073
|
+
@jsii.python.classproperty
|
|
32074
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
32075
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
32076
|
+
'''Uniquely identifies this class.'''
|
|
32077
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
32078
|
+
|
|
32042
32079
|
@builtins.property
|
|
32043
32080
|
@jsii.member(jsii_name="authorizerArn")
|
|
32044
32081
|
def authorizer_arn(self) -> builtins.str:
|
|
@@ -32168,6 +32205,12 @@ class Resource(
|
|
|
32168
32205
|
|
|
32169
32206
|
return typing.cast(IResource, jsii.sinvoke(cls, "fromResourceAttributes", [scope, id, attrs]))
|
|
32170
32207
|
|
|
32208
|
+
@jsii.python.classproperty
|
|
32209
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
32210
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
32211
|
+
'''Uniquely identifies this class.'''
|
|
32212
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
32213
|
+
|
|
32171
32214
|
@builtins.property
|
|
32172
32215
|
@jsii.member(jsii_name="api")
|
|
32173
32216
|
def api(self) -> IRestApi:
|
|
@@ -32471,6 +32514,12 @@ class RestApi(
|
|
|
32471
32514
|
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
32472
32515
|
return typing.cast(_AddToResourcePolicyResult_1d0a53ad, jsii.invoke(self, "addToResourcePolicy", [statement]))
|
|
32473
32516
|
|
|
32517
|
+
@jsii.python.classproperty
|
|
32518
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
32519
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
32520
|
+
'''Uniquely identifies this class.'''
|
|
32521
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
32522
|
+
|
|
32474
32523
|
@builtins.property
|
|
32475
32524
|
@jsii.member(jsii_name="methods")
|
|
32476
32525
|
def methods(self) -> typing.List[Method]:
|
|
@@ -32721,6 +32770,12 @@ class Stage(
|
|
|
32721
32770
|
|
|
32722
32771
|
return typing.cast(IStage, jsii.sinvoke(cls, "fromStageAttributes", [scope, id, attrs]))
|
|
32723
32772
|
|
|
32773
|
+
@jsii.python.classproperty
|
|
32774
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
32775
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
32776
|
+
'''Uniquely identifies this class.'''
|
|
32777
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
32778
|
+
|
|
32724
32779
|
@builtins.property
|
|
32725
32780
|
@jsii.member(jsii_name="restApi")
|
|
32726
32781
|
def rest_api(self) -> IRestApi:
|
|
@@ -32866,6 +32921,12 @@ class StepFunctionsRestApi(
|
|
|
32866
32921
|
|
|
32867
32922
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
32868
32923
|
|
|
32924
|
+
@jsii.python.classproperty
|
|
32925
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
32926
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
32927
|
+
'''Uniquely identifies this class.'''
|
|
32928
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
32929
|
+
|
|
32869
32930
|
|
|
32870
32931
|
@jsii.implements(IAuthorizer)
|
|
32871
32932
|
class TokenAuthorizer(
|
|
@@ -32945,6 +33006,12 @@ class TokenAuthorizer(
|
|
|
32945
33006
|
'''Sets up the permissions necessary for the API Gateway service to invoke the Lambda function.'''
|
|
32946
33007
|
return typing.cast(None, jsii.invoke(self, "setupPermissions", []))
|
|
32947
33008
|
|
|
33009
|
+
@jsii.python.classproperty
|
|
33010
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
33011
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
33012
|
+
'''Uniquely identifies this class.'''
|
|
33013
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
33014
|
+
|
|
32948
33015
|
@builtins.property
|
|
32949
33016
|
@jsii.member(jsii_name="authorizerArn")
|
|
32950
33017
|
def authorizer_arn(self) -> builtins.str:
|
|
@@ -33117,6 +33184,12 @@ class LambdaRestApi(
|
|
|
33117
33184
|
|
|
33118
33185
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
33119
33186
|
|
|
33187
|
+
@jsii.python.classproperty
|
|
33188
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
33189
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
33190
|
+
'''Uniquely identifies this class.'''
|
|
33191
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
33192
|
+
|
|
33120
33193
|
|
|
33121
33194
|
class ProxyResource(
|
|
33122
33195
|
Resource,
|
|
@@ -33226,6 +33299,12 @@ class ProxyResource(
|
|
|
33226
33299
|
|
|
33227
33300
|
return typing.cast(Method, jsii.invoke(self, "addMethod", [http_method, integration, options]))
|
|
33228
33301
|
|
|
33302
|
+
@jsii.python.classproperty
|
|
33303
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
33304
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
33305
|
+
'''Uniquely identifies this class.'''
|
|
33306
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
33307
|
+
|
|
33229
33308
|
@builtins.property
|
|
33230
33309
|
@jsii.member(jsii_name="anyMethod")
|
|
33231
33310
|
def any_method(self) -> typing.Optional[Method]:
|