aws-cdk-lib 2.73.0__py3-none-any.whl → 2.76.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 +245 -259
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
- aws_cdk/aws_apigateway/__init__.py +95 -148
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_appflow/__init__.py +27 -52
- aws_cdk/aws_appmesh/__init__.py +91 -200
- aws_cdk/aws_apprunner/__init__.py +4 -16
- aws_cdk/aws_appstream/__init__.py +18 -82
- aws_cdk/aws_athena/__init__.py +18 -32
- aws_cdk/aws_backup/__init__.py +48 -86
- aws_cdk/aws_batch/__init__.py +9 -2
- aws_cdk/aws_billingconductor/__init__.py +12 -7
- aws_cdk/aws_budgets/__init__.py +8 -17
- aws_cdk/aws_certificatemanager/__init__.py +7 -4
- aws_cdk/aws_cloudfront/__init__.py +14 -11
- aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
- aws_cdk/aws_cloudtrail/__init__.py +7 -14
- aws_cdk/aws_cloudwatch/__init__.py +63 -35
- aws_cdk/aws_codebuild/__init__.py +10 -13
- aws_cdk/aws_codecommit/__init__.py +0 -1
- aws_cdk/aws_codedeploy/__init__.py +165 -162
- aws_cdk/aws_codegurureviewer/__init__.py +4 -4
- aws_cdk/aws_codepipeline/__init__.py +0 -4
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
- aws_cdk/aws_cognito/__init__.py +195 -100
- aws_cdk/aws_config/__init__.py +28 -51
- aws_cdk/aws_connectcampaigns/__init__.py +5 -6
- aws_cdk/aws_databrew/__init__.py +5 -6
- aws_cdk/aws_dlm/__init__.py +33 -71
- aws_cdk/aws_docdb/__init__.py +20 -76
- aws_cdk/aws_dynamodb/__init__.py +29 -22
- aws_cdk/aws_ec2/__init__.py +2414 -603
- aws_cdk/aws_ecr/__init__.py +1 -2
- aws_cdk/aws_ecr_assets/__init__.py +27 -14
- aws_cdk/aws_ecs/__init__.py +458 -163
- aws_cdk/aws_ecs_patterns/__init__.py +13 -11
- aws_cdk/aws_eks/__init__.py +13 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
- aws_cdk/aws_elasticsearch/__init__.py +0 -7
- aws_cdk/aws_emr/__init__.py +7 -16
- aws_cdk/aws_emrserverless/__init__.py +14 -18
- aws_cdk/aws_events/__init__.py +33 -29
- aws_cdk/aws_events_targets/__init__.py +248 -89
- aws_cdk/aws_frauddetector/__init__.py +3 -4
- aws_cdk/aws_fsx/__init__.py +13 -7
- aws_cdk/aws_gamelift/__init__.py +11 -20
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_iam/__init__.py +21 -25
- aws_cdk/aws_imagebuilder/__init__.py +58 -80
- aws_cdk/aws_internetmonitor/__init__.py +18 -10
- aws_cdk/aws_iot/__init__.py +16 -10
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
- aws_cdk/aws_iotevents/__init__.py +6 -4
- aws_cdk/aws_iotfleetwise/__init__.py +27 -40
- aws_cdk/aws_iotsitewise/__init__.py +8 -5
- aws_cdk/aws_iotwireless/__init__.py +14 -9
- aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
- aws_cdk/aws_lambda/__init__.py +76 -53
- aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
- aws_cdk/aws_logs/__init__.py +5 -7
- aws_cdk/aws_macie/__init__.py +28 -23
- aws_cdk/aws_mediaconnect/__init__.py +5 -8
- aws_cdk/aws_mediaconvert/__init__.py +2 -2
- aws_cdk/aws_medialive/__init__.py +2 -4
- aws_cdk/aws_mediapackage/__init__.py +9 -18
- aws_cdk/aws_memorydb/__init__.py +5 -10
- aws_cdk/aws_mwaa/__init__.py +8 -4
- aws_cdk/aws_neptune/__init__.py +4 -4
- aws_cdk/aws_networkfirewall/__init__.py +8 -4
- aws_cdk/aws_networkmanager/__init__.py +4 -4
- aws_cdk/aws_nimblestudio/__init__.py +25 -45
- aws_cdk/aws_opensearchservice/__init__.py +0 -1
- aws_cdk/aws_panorama/__init__.py +11 -12
- aws_cdk/aws_personalize/__init__.py +46 -72
- aws_cdk/aws_pinpoint/__init__.py +36 -65
- aws_cdk/aws_quicksight/__init__.py +9972 -13374
- aws_cdk/aws_rds/__init__.py +53 -22
- aws_cdk/aws_route53/__init__.py +8 -16
- aws_cdk/aws_route53_targets/__init__.py +2 -4
- aws_cdk/aws_s3/__init__.py +41 -90
- aws_cdk/aws_s3_notifications/__init__.py +0 -3
- aws_cdk/aws_sagemaker/__init__.py +16 -10
- aws_cdk/aws_secretsmanager/__init__.py +17 -14
- aws_cdk/aws_servicecatalog/__init__.py +60 -83
- aws_cdk/aws_servicediscovery/__init__.py +4 -6
- aws_cdk/aws_ses/__init__.py +734 -28
- aws_cdk/aws_sns/__init__.py +4 -8
- aws_cdk/aws_ssm/__init__.py +19 -23
- aws_cdk/aws_ssmcontacts/__init__.py +10 -6
- aws_cdk/aws_ssmincidents/__init__.py +2 -1
- aws_cdk/aws_sso/__init__.py +4 -4
- aws_cdk/aws_stepfunctions/__init__.py +6 -15
- aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
- aws_cdk/aws_timestream/__init__.py +22 -28
- aws_cdk/aws_transfer/__init__.py +188 -86
- aws_cdk/aws_wafv2/__init__.py +54 -38
- aws_cdk/aws_xray/__init__.py +15 -22
- aws_cdk/cloud_assembly_schema/__init__.py +14 -6
- aws_cdk/custom_resources/__init__.py +2 -3
- aws_cdk/pipelines/__init__.py +104 -134
- aws_cdk/triggers/__init__.py +46 -61
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
|
@@ -854,47 +854,41 @@ books.add_method("GET", apigateway.HttpIntegration("http://amazon.com"),
|
|
|
854
854
|
A full working example is shown below.
|
|
855
855
|
|
|
856
856
|
```python
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
from aws_cdk import App, Stack
|
|
861
|
-
from ......lib import MockIntegration, PassthroughBehavior, RestApi, TokenAuthorizer, Cors
|
|
857
|
+
class MyStack(Stack):
|
|
858
|
+
def __init__(self, scope, id):
|
|
859
|
+
super().__init__(scope, id)
|
|
862
860
|
|
|
861
|
+
authorizer_fn = lambda_.Function(self, "MyAuthorizerFunction",
|
|
862
|
+
runtime=lambda_.Runtime.NODEJS_14_X,
|
|
863
|
+
handler="index.handler",
|
|
864
|
+
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.token-authorizer.handler"))
|
|
865
|
+
)
|
|
863
866
|
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
868
|
-
runtime=lambda_.Runtime.NODEJS_14_X,
|
|
869
|
-
handler="index.handler",
|
|
870
|
-
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.token-authorizer.handler"))
|
|
871
|
-
)
|
|
872
|
-
|
|
873
|
-
authorizer = TokenAuthorizer(stack, "MyAuthorizer",
|
|
874
|
-
handler=authorizer_fn
|
|
875
|
-
)
|
|
867
|
+
authorizer = TokenAuthorizer(self, "MyAuthorizer",
|
|
868
|
+
handler=authorizer_fn
|
|
869
|
+
)
|
|
876
870
|
|
|
877
|
-
restapi = RestApi(
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
)
|
|
871
|
+
restapi = RestApi(self, "MyRestApi",
|
|
872
|
+
cloud_watch_role=True,
|
|
873
|
+
default_method_options=MethodOptions(
|
|
874
|
+
authorizer=authorizer
|
|
875
|
+
),
|
|
876
|
+
default_cors_preflight_options=CorsOptions(
|
|
877
|
+
allow_origins=Cors.ALL_ORIGINS
|
|
878
|
+
)
|
|
879
|
+
)
|
|
886
880
|
|
|
887
|
-
restapi.root.add_method("ANY", MockIntegration(
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
),
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
)
|
|
881
|
+
restapi.root.add_method("ANY", MockIntegration(
|
|
882
|
+
integration_responses=[IntegrationResponse(status_code="200")
|
|
883
|
+
],
|
|
884
|
+
passthrough_behavior=PassthroughBehavior.NEVER,
|
|
885
|
+
request_templates={
|
|
886
|
+
"application/json": "{ \"statusCode\": 200 }"
|
|
887
|
+
}
|
|
888
|
+
),
|
|
889
|
+
method_responses=[MethodResponse(status_code="200")
|
|
890
|
+
]
|
|
891
|
+
)
|
|
898
892
|
```
|
|
899
893
|
|
|
900
894
|
By default, the `TokenAuthorizer` looks for the authorization token in the request header with the key 'Authorization'. This can,
|
|
@@ -10556,7 +10550,7 @@ class CfnRestApi(
|
|
|
10556
10550
|
:param endpoint_configuration: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property.
|
|
10557
10551
|
:param fail_on_warnings: A query parameter to indicate whether to rollback the API update ( ``true`` ) or not ( ``false`` ) when a warning is encountered. The default value is ``false`` .
|
|
10558
10552
|
:param minimum_compression_size: A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
|
|
10559
|
-
:param mode: This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge`` . For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge`` , the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use
|
|
10553
|
+
:param mode: This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge`` . For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge`` , the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite`` . For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
|
|
10560
10554
|
:param name: The name of the RestApi.
|
|
10561
10555
|
:param parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`` .
|
|
10562
10556
|
:param policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"`` .
|
|
@@ -10876,9 +10870,11 @@ class CfnRestApi(
|
|
|
10876
10870
|
|
|
10877
10871
|
For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged.
|
|
10878
10872
|
|
|
10879
|
-
For ``merge`` , the new API definition
|
|
10873
|
+
For ``merge`` , the new API definition is merged with the existing API.
|
|
10874
|
+
|
|
10875
|
+
If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite`` . For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API.
|
|
10880
10876
|
|
|
10881
|
-
|
|
10877
|
+
Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
|
|
10882
10878
|
|
|
10883
10879
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-mode
|
|
10884
10880
|
'''
|
|
@@ -11171,7 +11167,7 @@ class CfnRestApiProps:
|
|
|
11171
11167
|
:param endpoint_configuration: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property.
|
|
11172
11168
|
:param fail_on_warnings: A query parameter to indicate whether to rollback the API update ( ``true`` ) or not ( ``false`` ) when a warning is encountered. The default value is ``false`` .
|
|
11173
11169
|
:param minimum_compression_size: A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
|
|
11174
|
-
:param mode: This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge`` . For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge`` , the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use
|
|
11170
|
+
:param mode: This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates. Valid values are ``overwrite`` or ``merge`` . For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged. For ``merge`` , the new API definition is merged with the existing API. If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite`` . For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
|
|
11175
11171
|
:param name: The name of the RestApi.
|
|
11176
11172
|
:param parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`` .
|
|
11177
11173
|
:param policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"`` .
|
|
@@ -11391,9 +11387,11 @@ class CfnRestApiProps:
|
|
|
11391
11387
|
|
|
11392
11388
|
For ``overwrite`` , the new API definition replaces the existing one. The existing API identifier remains unchanged.
|
|
11393
11389
|
|
|
11394
|
-
For ``merge`` , the new API definition
|
|
11390
|
+
For ``merge`` , the new API definition is merged with the existing API.
|
|
11395
11391
|
|
|
11396
|
-
If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite`` .
|
|
11392
|
+
If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite`` . For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API.
|
|
11393
|
+
|
|
11394
|
+
Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties.
|
|
11397
11395
|
|
|
11398
11396
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-mode
|
|
11399
11397
|
'''
|
|
@@ -14024,12 +14022,11 @@ class CorsOptions:
|
|
|
14024
14022
|
|
|
14025
14023
|
Example::
|
|
14026
14024
|
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
allow_methods=["GET", "PUT"]
|
|
14025
|
+
apigateway.RestApi(self, "api",
|
|
14026
|
+
default_cors_preflight_options=apigateway.CorsOptions(
|
|
14027
|
+
allow_origins=apigateway.Cors.ALL_ORIGINS,
|
|
14028
|
+
allow_methods=apigateway.Cors.ALL_METHODS
|
|
14029
|
+
)
|
|
14033
14030
|
)
|
|
14034
14031
|
'''
|
|
14035
14032
|
if __debug__:
|
|
@@ -19857,117 +19854,67 @@ class MockIntegration(
|
|
|
19857
19854
|
integrates the OPTIONS method to support CORS with a mock integration.
|
|
19858
19855
|
Gateway responses are other examples of mock integrations.
|
|
19859
19856
|
|
|
19860
|
-
:exampleMetadata: lit=aws-apigateway/test/integ.
|
|
19857
|
+
:exampleMetadata: lit=aws-apigateway/test/authorizers/integ.request-authorizer.lit.ts infused
|
|
19861
19858
|
|
|
19862
19859
|
Example::
|
|
19863
19860
|
|
|
19864
19861
|
from aws_cdk.aws_apigateway import IntegrationResponse, MethodResponse, IntegrationResponse, MethodResponse
|
|
19865
|
-
|
|
19866
|
-
|
|
19867
|
-
from aws_cdk
|
|
19868
|
-
|
|
19869
|
-
#
|
|
19870
|
-
# This file showcases how to split up a RestApi's Resources and Methods across nested stacks.
|
|
19871
|
-
#
|
|
19872
|
-
# The root stack 'RootStack' first defines a RestApi.
|
|
19873
|
-
# Two nested stacks BooksStack and PetsStack, create corresponding Resources '/books' and '/pets'.
|
|
19874
|
-
# They are then deployed to a 'prod' Stage via a third nested stack - DeployStack.
|
|
19875
|
-
#
|
|
19876
|
-
# To verify this worked, go to the APIGateway
|
|
19877
|
-
#
|
|
19878
|
-
|
|
19879
|
-
class RootStack(Stack):
|
|
19880
|
-
def __init__(self, scope):
|
|
19881
|
-
super().__init__(scope, "integ-restapi-import-RootStack")
|
|
19882
|
-
|
|
19883
|
-
rest_api = RestApi(self, "RestApi",
|
|
19884
|
-
cloud_watch_role=True,
|
|
19885
|
-
deploy=False
|
|
19886
|
-
)
|
|
19887
|
-
rest_api.root.add_method("ANY")
|
|
19888
|
-
|
|
19889
|
-
pets_stack = PetsStack(self,
|
|
19890
|
-
rest_api_id=rest_api.rest_api_id,
|
|
19891
|
-
root_resource_id=rest_api.rest_api_root_resource_id
|
|
19892
|
-
)
|
|
19893
|
-
books_stack = BooksStack(self,
|
|
19894
|
-
rest_api_id=rest_api.rest_api_id,
|
|
19895
|
-
root_resource_id=rest_api.rest_api_root_resource_id
|
|
19896
|
-
)
|
|
19897
|
-
DeployStack(self,
|
|
19898
|
-
rest_api_id=rest_api.rest_api_id,
|
|
19899
|
-
methods=pets_stack.methods.concat(books_stack.methods)
|
|
19900
|
-
)
|
|
19901
|
-
|
|
19902
|
-
CfnOutput(self, "PetsURL",
|
|
19903
|
-
value=f"https://{restApi.restApiId}.execute-api.{this.region}.amazonaws.com/prod/pets"
|
|
19904
|
-
)
|
|
19905
|
-
|
|
19906
|
-
CfnOutput(self, "BooksURL",
|
|
19907
|
-
value=f"https://{restApi.restApiId}.execute-api.{this.region}.amazonaws.com/prod/books"
|
|
19908
|
-
)
|
|
19909
|
-
|
|
19910
|
-
class PetsStack(NestedStack):
|
|
19911
|
-
|
|
19912
|
-
def __init__(self, scope, *, restApiId, rootResourceId, parameters=None, timeout=None, notificationArns=None, removalPolicy=None, description=None):
|
|
19913
|
-
super().__init__(scope, "integ-restapi-import-PetsStack", restApiId=restApiId, rootResourceId=rootResourceId, parameters=parameters, timeout=timeout, notificationArns=notificationArns, removalPolicy=removalPolicy, description=description)
|
|
19914
|
-
|
|
19915
|
-
api = RestApi.from_rest_api_attributes(self, "RestApi",
|
|
19916
|
-
rest_api_id=rest_api_id,
|
|
19917
|
-
root_resource_id=root_resource_id
|
|
19918
|
-
)
|
|
19919
|
-
|
|
19920
|
-
method = api.root.add_resource("pets").add_method("GET", MockIntegration(
|
|
19921
|
-
integration_responses=[IntegrationResponse(
|
|
19922
|
-
status_code="200"
|
|
19923
|
-
)],
|
|
19924
|
-
passthrough_behavior=PassthroughBehavior.NEVER,
|
|
19925
|
-
request_templates={
|
|
19926
|
-
"application/json": "{ \"statusCode\": 200 }"
|
|
19927
|
-
}
|
|
19928
|
-
),
|
|
19929
|
-
method_responses=[MethodResponse(status_code="200")]
|
|
19930
|
-
)
|
|
19931
|
-
|
|
19932
|
-
self.methods.push(method)
|
|
19862
|
+
import path as path
|
|
19863
|
+
import aws_cdk.aws_lambda as lambda_
|
|
19864
|
+
from aws_cdk import App, Stack
|
|
19865
|
+
from aws_cdk.aws_apigateway import MockIntegration, PassthroughBehavior, RestApi, RequestAuthorizer, IdentitySource
|
|
19933
19866
|
|
|
19934
|
-
|
|
19867
|
+
# Against the RestApi endpoint from the stack output, run
|
|
19868
|
+
# `curl -s -o /dev/null -w "%{http_code}" <url>` should return 401
|
|
19869
|
+
# `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: deny' <url>?allow=yes` should return 403
|
|
19870
|
+
# `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>?allow=yes` should return 200
|
|
19935
19871
|
|
|
19936
|
-
|
|
19937
|
-
|
|
19872
|
+
app = App()
|
|
19873
|
+
stack = Stack(app, "RequestAuthorizerInteg")
|
|
19938
19874
|
|
|
19939
|
-
|
|
19940
|
-
|
|
19941
|
-
|
|
19942
|
-
|
|
19875
|
+
authorizer_fn = lambda_.Function(stack, "MyAuthorizerFunction",
|
|
19876
|
+
runtime=lambda_.Runtime.NODEJS_14_X,
|
|
19877
|
+
handler="index.handler",
|
|
19878
|
+
code=lambda_.AssetCode.from_asset(path.join(__dirname, "integ.request-authorizer.handler"))
|
|
19879
|
+
)
|
|
19943
19880
|
|
|
19944
|
-
|
|
19945
|
-
integration_responses=[IntegrationResponse(
|
|
19946
|
-
status_code="200"
|
|
19947
|
-
)],
|
|
19948
|
-
passthrough_behavior=PassthroughBehavior.NEVER,
|
|
19949
|
-
request_templates={
|
|
19950
|
-
"application/json": "{ \"statusCode\": 200 }"
|
|
19951
|
-
}
|
|
19952
|
-
),
|
|
19953
|
-
method_responses=[MethodResponse(status_code="200")]
|
|
19954
|
-
)
|
|
19881
|
+
restapi = RestApi(stack, "MyRestApi", cloud_watch_role=True)
|
|
19955
19882
|
|
|
19956
|
-
|
|
19883
|
+
authorizer = RequestAuthorizer(stack, "MyAuthorizer",
|
|
19884
|
+
handler=authorizer_fn,
|
|
19885
|
+
identity_sources=[IdentitySource.header("Authorization"), IdentitySource.query_string("allow")]
|
|
19886
|
+
)
|
|
19957
19887
|
|
|
19958
|
-
|
|
19959
|
-
|
|
19960
|
-
|
|
19888
|
+
second_authorizer = RequestAuthorizer(stack, "MySecondAuthorizer",
|
|
19889
|
+
handler=authorizer_fn,
|
|
19890
|
+
identity_sources=[IdentitySource.header("Authorization"), IdentitySource.query_string("allow")]
|
|
19891
|
+
)
|
|
19961
19892
|
|
|
19962
|
-
|
|
19963
|
-
|
|
19964
|
-
|
|
19965
|
-
|
|
19966
|
-
|
|
19967
|
-
|
|
19968
|
-
|
|
19893
|
+
restapi.root.add_method("ANY", MockIntegration(
|
|
19894
|
+
integration_responses=[IntegrationResponse(status_code="200")
|
|
19895
|
+
],
|
|
19896
|
+
passthrough_behavior=PassthroughBehavior.NEVER,
|
|
19897
|
+
request_templates={
|
|
19898
|
+
"application/json": "{ \"statusCode\": 200 }"
|
|
19899
|
+
}
|
|
19900
|
+
),
|
|
19901
|
+
method_responses=[MethodResponse(status_code="200")
|
|
19902
|
+
],
|
|
19903
|
+
authorizer=authorizer
|
|
19904
|
+
)
|
|
19969
19905
|
|
|
19970
|
-
|
|
19906
|
+
restapi.root.resource_for_path("auth").add_method("ANY", MockIntegration(
|
|
19907
|
+
integration_responses=[IntegrationResponse(status_code="200")
|
|
19908
|
+
],
|
|
19909
|
+
passthrough_behavior=PassthroughBehavior.NEVER,
|
|
19910
|
+
request_templates={
|
|
19911
|
+
"application/json": "{ \"statusCode\": 200 }"
|
|
19912
|
+
}
|
|
19913
|
+
),
|
|
19914
|
+
method_responses=[MethodResponse(status_code="200")
|
|
19915
|
+
],
|
|
19916
|
+
authorizer=second_authorizer
|
|
19917
|
+
)
|
|
19971
19918
|
'''
|
|
19972
19919
|
|
|
19973
19920
|
def __init__(
|
|
@@ -1084,7 +1084,7 @@ class CfnDeployment(
|
|
|
1084
1084
|
:param deployment_strategy_id: The deployment strategy ID.
|
|
1085
1085
|
:param environment_id: The environment ID.
|
|
1086
1086
|
:param description: A description of the deployment.
|
|
1087
|
-
:param kms_key_identifier:
|
|
1087
|
+
:param kms_key_identifier: The AWS KMS key identifier (key ID, key alias, or key ARN). AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
|
|
1088
1088
|
:param tags: Metadata to assign to the deployment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
|
|
1089
1089
|
'''
|
|
1090
1090
|
if __debug__:
|
|
@@ -1240,7 +1240,9 @@ class CfnDeployment(
|
|
|
1240
1240
|
@builtins.property
|
|
1241
1241
|
@jsii.member(jsii_name="kmsKeyIdentifier")
|
|
1242
1242
|
def kms_key_identifier(self) -> typing.Optional[builtins.str]:
|
|
1243
|
-
'''
|
|
1243
|
+
'''The AWS KMS key identifier (key ID, key alias, or key ARN).
|
|
1244
|
+
|
|
1245
|
+
AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
|
|
1244
1246
|
|
|
1245
1247
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-kmskeyidentifier
|
|
1246
1248
|
'''
|
|
@@ -1384,7 +1386,7 @@ class CfnDeploymentProps:
|
|
|
1384
1386
|
:param deployment_strategy_id: The deployment strategy ID.
|
|
1385
1387
|
:param environment_id: The environment ID.
|
|
1386
1388
|
:param description: A description of the deployment.
|
|
1387
|
-
:param kms_key_identifier:
|
|
1389
|
+
:param kms_key_identifier: The AWS KMS key identifier (key ID, key alias, or key ARN). AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
|
|
1388
1390
|
:param tags: Metadata to assign to the deployment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
|
|
1389
1391
|
|
|
1390
1392
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html
|
|
@@ -1499,7 +1501,9 @@ class CfnDeploymentProps:
|
|
|
1499
1501
|
|
|
1500
1502
|
@builtins.property
|
|
1501
1503
|
def kms_key_identifier(self) -> typing.Optional[builtins.str]:
|
|
1502
|
-
'''
|
|
1504
|
+
'''The AWS KMS key identifier (key ID, key alias, or key ARN).
|
|
1505
|
+
|
|
1506
|
+
AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
|
|
1503
1507
|
|
|
1504
1508
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-kmskeyidentifier
|
|
1505
1509
|
'''
|
aws_cdk/aws_appflow/__init__.py
CHANGED
|
@@ -1458,7 +1458,7 @@ class CfnConnectorProfile(
|
|
|
1458
1458
|
:param google_analytics: The connector-specific credentials required when using Google Analytics.
|
|
1459
1459
|
:param infor_nexus: The connector-specific credentials required when using Infor Nexus.
|
|
1460
1460
|
:param marketo: The connector-specific credentials required when using Marketo.
|
|
1461
|
-
:param pardot:
|
|
1461
|
+
:param pardot: ``CfnConnectorProfile.ConnectorProfileCredentialsProperty.Pardot``.
|
|
1462
1462
|
:param redshift: The connector-specific credentials required when using Amazon Redshift.
|
|
1463
1463
|
:param salesforce: The connector-specific credentials required when using Salesforce.
|
|
1464
1464
|
:param sapo_data: The connector-specific profile credentials required when using SAPOData.
|
|
@@ -1772,7 +1772,7 @@ class CfnConnectorProfile(
|
|
|
1772
1772
|
def pardot(
|
|
1773
1773
|
self,
|
|
1774
1774
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnectorProfile.PardotConnectorProfileCredentialsProperty"]]:
|
|
1775
|
-
'''
|
|
1775
|
+
'''``CfnConnectorProfile.ConnectorProfileCredentialsProperty.Pardot``.
|
|
1776
1776
|
|
|
1777
1777
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-pardot
|
|
1778
1778
|
'''
|
|
@@ -1946,7 +1946,7 @@ class CfnConnectorProfile(
|
|
|
1946
1946
|
:param dynatrace: The connector-specific properties required by Dynatrace.
|
|
1947
1947
|
:param infor_nexus: The connector-specific properties required by Infor Nexus.
|
|
1948
1948
|
:param marketo: The connector-specific properties required by Marketo.
|
|
1949
|
-
:param pardot:
|
|
1949
|
+
:param pardot: ``CfnConnectorProfile.ConnectorProfilePropertiesProperty.Pardot``.
|
|
1950
1950
|
:param redshift: The connector-specific properties required by Amazon Redshift.
|
|
1951
1951
|
:param salesforce: The connector-specific properties required by Salesforce.
|
|
1952
1952
|
:param sapo_data: The connector-specific profile properties required when using SAPOData.
|
|
@@ -2158,7 +2158,7 @@ class CfnConnectorProfile(
|
|
|
2158
2158
|
def pardot(
|
|
2159
2159
|
self,
|
|
2160
2160
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnectorProfile.PardotConnectorProfilePropertiesProperty"]]:
|
|
2161
|
-
'''
|
|
2161
|
+
'''``CfnConnectorProfile.ConnectorProfilePropertiesProperty.Pardot``.
|
|
2162
2162
|
|
|
2163
2163
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-pardot
|
|
2164
2164
|
'''
|
|
@@ -3723,12 +3723,11 @@ class CfnConnectorProfile(
|
|
|
3723
3723
|
connector_o_auth_request: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnectorProfile.ConnectorOAuthRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3724
3724
|
refresh_token: typing.Optional[builtins.str] = None,
|
|
3725
3725
|
) -> None:
|
|
3726
|
-
'''
|
|
3727
|
-
|
|
3728
|
-
:param
|
|
3729
|
-
:param client_credentials_arn: The secret manager ARN, which contains the client ID and client secret of the connected app.
|
|
3726
|
+
'''
|
|
3727
|
+
:param access_token: ``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.AccessToken``.
|
|
3728
|
+
:param client_credentials_arn: ``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ClientCredentialsArn``.
|
|
3730
3729
|
:param connector_o_auth_request: ``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ConnectorOAuthRequest``.
|
|
3731
|
-
:param refresh_token:
|
|
3730
|
+
:param refresh_token: ``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.RefreshToken``.
|
|
3732
3731
|
|
|
3733
3732
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofilecredentials.html
|
|
3734
3733
|
:exampleMetadata: fixture=_generated
|
|
@@ -3767,7 +3766,7 @@ class CfnConnectorProfile(
|
|
|
3767
3766
|
|
|
3768
3767
|
@builtins.property
|
|
3769
3768
|
def access_token(self) -> typing.Optional[builtins.str]:
|
|
3770
|
-
'''
|
|
3769
|
+
'''``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.AccessToken``.
|
|
3771
3770
|
|
|
3772
3771
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofilecredentials.html#cfn-appflow-connectorprofile-pardotconnectorprofilecredentials-accesstoken
|
|
3773
3772
|
'''
|
|
@@ -3776,7 +3775,7 @@ class CfnConnectorProfile(
|
|
|
3776
3775
|
|
|
3777
3776
|
@builtins.property
|
|
3778
3777
|
def client_credentials_arn(self) -> typing.Optional[builtins.str]:
|
|
3779
|
-
'''
|
|
3778
|
+
'''``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.ClientCredentialsArn``.
|
|
3780
3779
|
|
|
3781
3780
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofilecredentials.html#cfn-appflow-connectorprofile-pardotconnectorprofilecredentials-clientcredentialsarn
|
|
3782
3781
|
'''
|
|
@@ -3796,7 +3795,7 @@ class CfnConnectorProfile(
|
|
|
3796
3795
|
|
|
3797
3796
|
@builtins.property
|
|
3798
3797
|
def refresh_token(self) -> typing.Optional[builtins.str]:
|
|
3799
|
-
'''
|
|
3798
|
+
'''``CfnConnectorProfile.PardotConnectorProfileCredentialsProperty.RefreshToken``.
|
|
3800
3799
|
|
|
3801
3800
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofilecredentials.html#cfn-appflow-connectorprofile-pardotconnectorprofilecredentials-refreshtoken
|
|
3802
3801
|
'''
|
|
@@ -3831,11 +3830,10 @@ class CfnConnectorProfile(
|
|
|
3831
3830
|
instance_url: typing.Optional[builtins.str] = None,
|
|
3832
3831
|
is_sandbox_environment: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3833
3832
|
) -> None:
|
|
3834
|
-
'''
|
|
3835
|
-
|
|
3836
|
-
:param
|
|
3837
|
-
:param
|
|
3838
|
-
:param is_sandbox_environment: Indicates whether the connector profile applies to a sandbox or production environment.
|
|
3833
|
+
'''
|
|
3834
|
+
:param business_unit_id: ``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.BusinessUnitId``.
|
|
3835
|
+
:param instance_url: ``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.InstanceUrl``.
|
|
3836
|
+
:param is_sandbox_environment: ``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.IsSandboxEnvironment``.
|
|
3839
3837
|
|
|
3840
3838
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofileproperties.html
|
|
3841
3839
|
:exampleMetadata: fixture=_generated
|
|
@@ -3869,7 +3867,7 @@ class CfnConnectorProfile(
|
|
|
3869
3867
|
|
|
3870
3868
|
@builtins.property
|
|
3871
3869
|
def business_unit_id(self) -> builtins.str:
|
|
3872
|
-
'''
|
|
3870
|
+
'''``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.BusinessUnitId``.
|
|
3873
3871
|
|
|
3874
3872
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofileproperties.html#cfn-appflow-connectorprofile-pardotconnectorprofileproperties-businessunitid
|
|
3875
3873
|
'''
|
|
@@ -3879,7 +3877,7 @@ class CfnConnectorProfile(
|
|
|
3879
3877
|
|
|
3880
3878
|
@builtins.property
|
|
3881
3879
|
def instance_url(self) -> typing.Optional[builtins.str]:
|
|
3882
|
-
'''
|
|
3880
|
+
'''``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.InstanceUrl``.
|
|
3883
3881
|
|
|
3884
3882
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofileproperties.html#cfn-appflow-connectorprofile-pardotconnectorprofileproperties-instanceurl
|
|
3885
3883
|
'''
|
|
@@ -3890,7 +3888,7 @@ class CfnConnectorProfile(
|
|
|
3890
3888
|
def is_sandbox_environment(
|
|
3891
3889
|
self,
|
|
3892
3890
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3893
|
-
'''
|
|
3891
|
+
'''``CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.IsSandboxEnvironment``.
|
|
3894
3892
|
|
|
3895
3893
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-pardotconnectorprofileproperties.html#cfn-appflow-connectorprofile-pardotconnectorprofileproperties-issandboxenvironment
|
|
3896
3894
|
'''
|
|
@@ -4549,7 +4547,7 @@ class CfnConnectorProfile(
|
|
|
4549
4547
|
|
|
4550
4548
|
:param instance_url: The location of the Salesforce resource.
|
|
4551
4549
|
:param is_sandbox_environment: Indicates whether the connector profile applies to a sandbox or production environment.
|
|
4552
|
-
:param use_private_link_for_metadata_and_authorization:
|
|
4550
|
+
:param use_private_link_for_metadata_and_authorization: ``CfnConnectorProfile.SalesforceConnectorProfilePropertiesProperty.usePrivateLinkForMetadataAndAuthorization``.
|
|
4553
4551
|
|
|
4554
4552
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofileproperties.html
|
|
4555
4553
|
:exampleMetadata: fixture=_generated
|
|
@@ -4603,29 +4601,7 @@ class CfnConnectorProfile(
|
|
|
4603
4601
|
def use_private_link_for_metadata_and_authorization(
|
|
4604
4602
|
self,
|
|
4605
4603
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4606
|
-
'''
|
|
4607
|
-
|
|
4608
|
-
Amazon AppFlow sends private calls through AWS PrivateLink . These calls travel through AWS infrastructure without being exposed to the public internet.
|
|
4609
|
-
|
|
4610
|
-
Set either of the following values:
|
|
4611
|
-
|
|
4612
|
-
- **true** - Amazon AppFlow sends all calls to Salesforce over the private network.
|
|
4613
|
-
|
|
4614
|
-
These private calls are:
|
|
4615
|
-
|
|
4616
|
-
- Calls to get metadata about your Salesforce records. This metadata describes your Salesforce objects and their fields.
|
|
4617
|
-
- Calls to get or refresh access tokens that allow Amazon AppFlow to access your Salesforce records.
|
|
4618
|
-
- Calls to transfer your Salesforce records as part of a flow run.
|
|
4619
|
-
- **false** - The default value. Amazon AppFlow sends some calls to Salesforce privately and other calls over the public internet.
|
|
4620
|
-
|
|
4621
|
-
The public calls are:
|
|
4622
|
-
|
|
4623
|
-
- Calls to get metadata about your Salesforce records.
|
|
4624
|
-
- Calls to get or refresh access tokens.
|
|
4625
|
-
|
|
4626
|
-
The private calls are:
|
|
4627
|
-
|
|
4628
|
-
- Calls to transfer your Salesforce records as part of a flow run.
|
|
4604
|
+
'''``CfnConnectorProfile.SalesforceConnectorProfilePropertiesProperty.usePrivateLinkForMetadataAndAuthorization``.
|
|
4629
4605
|
|
|
4630
4606
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofileproperties.html#cfn-appflow-connectorprofile-salesforceconnectorprofileproperties-useprivatelinkformetadataandauthorization
|
|
4631
4607
|
'''
|
|
@@ -6804,7 +6780,7 @@ class CfnFlow(
|
|
|
6804
6780
|
:param google_analytics: The operation to be performed on the provided Google Analytics source fields.
|
|
6805
6781
|
:param infor_nexus: The operation to be performed on the provided Infor Nexus source fields.
|
|
6806
6782
|
:param marketo: The operation to be performed on the provided Marketo source fields.
|
|
6807
|
-
:param pardot:
|
|
6783
|
+
:param pardot: ``CfnFlow.ConnectorOperatorProperty.Pardot``.
|
|
6808
6784
|
:param s3: The operation to be performed on the provided Amazon S3 source fields.
|
|
6809
6785
|
:param salesforce: The operation to be performed on the provided Salesforce source fields.
|
|
6810
6786
|
:param sapo_data: The operation to be performed on the provided SAPOData source fields.
|
|
@@ -6964,7 +6940,7 @@ class CfnFlow(
|
|
|
6964
6940
|
|
|
6965
6941
|
@builtins.property
|
|
6966
6942
|
def pardot(self) -> typing.Optional[builtins.str]:
|
|
6967
|
-
'''
|
|
6943
|
+
'''``CfnFlow.ConnectorOperatorProperty.Pardot``.
|
|
6968
6944
|
|
|
6969
6945
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-pardot
|
|
6970
6946
|
'''
|
|
@@ -8685,9 +8661,8 @@ class CfnFlow(
|
|
|
8685
8661
|
)
|
|
8686
8662
|
class PardotSourcePropertiesProperty:
|
|
8687
8663
|
def __init__(self, *, object: builtins.str) -> None:
|
|
8688
|
-
'''
|
|
8689
|
-
|
|
8690
|
-
:param object: The object specified in the Salesforce Pardot flow source.
|
|
8664
|
+
'''
|
|
8665
|
+
:param object: ``CfnFlow.PardotSourcePropertiesProperty.Object``.
|
|
8691
8666
|
|
|
8692
8667
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-pardotsourceproperties.html
|
|
8693
8668
|
:exampleMetadata: fixture=_generated
|
|
@@ -8711,7 +8686,7 @@ class CfnFlow(
|
|
|
8711
8686
|
|
|
8712
8687
|
@builtins.property
|
|
8713
8688
|
def object(self) -> builtins.str:
|
|
8714
|
-
'''
|
|
8689
|
+
'''``CfnFlow.PardotSourcePropertiesProperty.Object``.
|
|
8715
8690
|
|
|
8716
8691
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-pardotsourceproperties.html#cfn-appflow-flow-pardotsourceproperties-object
|
|
8717
8692
|
'''
|
|
@@ -10283,7 +10258,7 @@ class CfnFlow(
|
|
|
10283
10258
|
:param google_analytics: Specifies the information that is required for querying Google Analytics.
|
|
10284
10259
|
:param infor_nexus: Specifies the information that is required for querying Infor Nexus.
|
|
10285
10260
|
:param marketo: Specifies the information that is required for querying Marketo.
|
|
10286
|
-
:param pardot:
|
|
10261
|
+
:param pardot: ``CfnFlow.SourceConnectorPropertiesProperty.Pardot``.
|
|
10287
10262
|
:param s3: Specifies the information that is required for querying Amazon S3.
|
|
10288
10263
|
:param salesforce: Specifies the information that is required for querying Salesforce.
|
|
10289
10264
|
:param sapo_data: The properties that are applied when using SAPOData as a flow source.
|
|
@@ -10515,7 +10490,7 @@ class CfnFlow(
|
|
|
10515
10490
|
def pardot(
|
|
10516
10491
|
self,
|
|
10517
10492
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.PardotSourcePropertiesProperty"]]:
|
|
10518
|
-
'''
|
|
10493
|
+
'''``CfnFlow.SourceConnectorPropertiesProperty.Pardot``.
|
|
10519
10494
|
|
|
10520
10495
|
:link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-pardot
|
|
10521
10496
|
'''
|