CloudFront

Implementation details for API cloudfront

Coverage Overview

CloudFront is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AssociateAlias
CopyDistribution
CreateAnycastIpList
CreateCachePolicy✔️pro✔️✔️✔️Show Tests
CreateCloudFrontOriginAccessIdentity✔️pro✔️✔️✔️Show Tests
CreateContinuousDeploymentPolicy
CreateDistribution✔️pro✔️✔️✔️✔️Show Tests
CreateDistributionWithTags✔️pro✔️✔️✔️✔️Show Tests
CreateFieldLevelEncryptionConfig
CreateFieldLevelEncryptionProfile
CreateFunction✔️pro✔️✔️✔️Show Tests
CreateInvalidation✔️pro✔️✔️Show Tests
CreateKeyGroup
CreateKeyValueStore
CreateMonitoringSubscription
CreateOriginAccessControl✔️pro✔️✔️✔️Show Tests
CreateOriginRequestPolicy✔️pro✔️✔️✔️Show Tests
CreatePublicKey
CreateRealtimeLogConfig
CreateResponseHeadersPolicy✔️pro✔️✔️✔️Show Tests
CreateStreamingDistribution
CreateStreamingDistributionWithTags
CreateVpcOrigin
DeleteAnycastIpList
DeleteCachePolicy✔️pro✔️✔️✔️Show Tests
DeleteCloudFrontOriginAccessIdentity✔️pro✔️✔️✔️Show Tests
DeleteContinuousDeploymentPolicy
DeleteDistribution✔️pro✔️✔️✔️✔️Show Tests
DeleteFieldLevelEncryptionConfig
DeleteFieldLevelEncryptionProfile
DeleteFunction✔️pro✔️✔️✔️Show Tests
DeleteKeyGroup
DeleteKeyValueStore
DeleteMonitoringSubscription
DeleteOriginAccessControl✔️pro✔️✔️✔️Show Tests
DeleteOriginRequestPolicy✔️pro✔️✔️✔️Show Tests
DeletePublicKey
DeleteRealtimeLogConfig
DeleteResponseHeadersPolicy✔️pro✔️✔️✔️Show Tests
DeleteStreamingDistribution
DeleteVpcOrigin
DescribeFunction✔️pro✔️✔️✔️Show Tests
DescribeKeyValueStore
GetAnycastIpList
GetCachePolicy✔️pro✔️✔️✔️Show Tests
GetCachePolicyConfig
GetCloudFrontOriginAccessIdentity✔️pro✔️Show Tests
GetCloudFrontOriginAccessIdentityConfig
GetContinuousDeploymentPolicy
GetContinuousDeploymentPolicyConfig
GetDistribution✔️pro✔️✔️✔️✔️Show Tests
GetDistributionConfig✔️pro✔️✔️✔️✔️Show Tests
GetFieldLevelEncryption
GetFieldLevelEncryptionConfig
GetFieldLevelEncryptionProfile
GetFieldLevelEncryptionProfileConfig
GetFunction✔️pro✔️✔️✔️Show Tests
GetInvalidation✔️pro✔️✔️Show Tests
GetKeyGroup
GetKeyGroupConfig
GetMonitoringSubscription
GetOriginAccessControl✔️pro✔️✔️✔️Show Tests
GetOriginAccessControlConfig✔️pro✔️✔️✔️Show Tests
GetOriginRequestPolicy✔️pro✔️✔️✔️Show Tests
GetOriginRequestPolicyConfig
GetPublicKey
GetPublicKeyConfig
GetRealtimeLogConfig
GetResponseHeadersPolicy✔️pro✔️✔️✔️Show Tests
GetResponseHeadersPolicyConfig
GetStreamingDistribution
GetStreamingDistributionConfig
GetVpcOrigin
ListAnycastIpLists
ListCachePolicies✔️pro
ListCloudFrontOriginAccessIdentities✔️pro✔️Show Tests
ListConflictingAliases
ListContinuousDeploymentPolicies
ListDistributions✔️pro✔️✔️Show Tests
ListDistributionsByAnycastIpListId
ListDistributionsByCachePolicyId
ListDistributionsByKeyGroup
ListDistributionsByOriginRequestPolicyId
ListDistributionsByRealtimeLogConfig
ListDistributionsByResponseHeadersPolicyId
ListDistributionsByVpcOriginId
ListDistributionsByWebACLId
ListFieldLevelEncryptionConfigs
ListFieldLevelEncryptionProfiles
ListFunctions✔️pro✔️✔️✔️Show Tests
ListInvalidations✔️pro✔️Show Tests
ListKeyGroups
ListKeyValueStores
ListOriginAccessControls
ListOriginRequestPolicies✔️pro✔️Show Tests
ListPublicKeys
ListRealtimeLogConfigs
ListResponseHeadersPolicies✔️pro✔️✔️✔️Show Tests
ListStreamingDistributions
ListTagsForResource✔️pro✔️✔️Show Tests
ListVpcOrigins
PublishFunction
TagResource✔️pro
TestFunction
UntagResource✔️pro✔️Show Tests
UpdateCachePolicy✔️pro
UpdateCloudFrontOriginAccessIdentity
UpdateContinuousDeploymentPolicy
UpdateDistribution✔️pro✔️✔️✔️✔️Show Tests
UpdateDistributionWithStagingConfig
UpdateFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionProfile
UpdateFunction✔️pro✔️✔️✔️Show Tests
UpdateKeyGroup
UpdateKeyValueStore
UpdateOriginAccessControl✔️pro✔️✔️✔️Show Tests
UpdateOriginRequestPolicy✔️pro✔️Show Tests
UpdatePublicKey
UpdateRealtimeLogConfig
UpdateResponseHeadersPolicy✔️pro✔️✔️✔️Show Tests
UpdateStreamingDistribution
UpdateVpcOrigin

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateCachePolicy

Parameters: CachePolicyConfig
  • LocalStack Pro
    • test_cache_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cache_policies HTTP Status Code: 201 AWS validated Snapshot Tested

CreateCloudFrontOriginAccessIdentity

Parameters: CloudFrontOriginAccessIdentityConfig
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_origin_access_identity LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_access_identity HTTP Status Code: 201
    • test_lambda_redirect LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_lambda_redirect HTTP Status Code: 201 AWS validated

CreateDistribution

Parameters: DistributionConfig
  • LocalStack Pro
    • test_authorizer_cognito_client_credentials LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestRestApiAuthorizers::test_authorizer_cognito_client_credentials HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_authorizer_cognito_scopes LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestRestApiAuthorizers::test_authorizer_cognito_scopes HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_cognito_authorizer_token_types[client_credentials] LocalStack Pro: tests/aws/services/apigateway/test_rest_apis.py::TestRestAPIs::test_cognito_authorizer_token_types[client_credentials] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_cognito_authorizer_token_types[username] LocalStack Pro: tests/aws/services/apigateway/test_rest_apis.py::TestRestAPIs::test_cognito_authorizer_token_types[username] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_jwt_authorizer_failure LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_failure HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_jwt_authorizer_lambda_target[1.0] LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_lambda_target[1.0] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_jwt_authorizer_lambda_target[2.0] LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_lambda_target[2.0] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_apigateway_authorizer_client_credentials LocalStack Pro: tests/aws/services/cloudformation/resources/test_apigatewayv2.py::TestApiGwV2Authorizers::test_create_apigateway_authorizer_client_credentials HTTP Status Code: 201
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 201 AWS validated
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 201
    • test_custom_errors[False] LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_custom_errors[False] HTTP Status Code: 201
    • test_custom_errors[True] LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_custom_errors[True] HTTP Status Code: 201
    • test_get_distributions LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_get_distributions HTTP Status Code: 201
    • test_invalidation_waiter LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_invalidation_waiter HTTP Status Code: 201
    • test_invoke_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_invoke_distribution HTTP Status Code: 201
    • test_update_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_update_distribution HTTP Status Code: 201
    • test_authorize_redirects_to_login LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_authorize_redirects_to_login HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_cognito_authorizer_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_cognito_authorizer_scopes HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_custom_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_custom_scopes HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_login_via_web_form LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_login_via_web_form HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_login_via_web_form_with_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_login_via_web_form_with_scopes HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_revoke_token[False] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_revoke_token[False] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_revoke_token[True] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_revoke_token[True] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_saml_auth_flow LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_saml_auth_flow HTTP Status Code: 201
    • test_token_endpoint[client_credentials-body] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[client_credentials-body] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_token_endpoint[client_credentials-query_params] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[client_credentials-query_params] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_token_endpoint[code-body] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[code-body] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_token_endpoint[code-query_params] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[code-query_params] HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_cloudfront LocalStack Pro: tests/aws/test_network_configuration.py::test_cloudfront HTTP Status Code: 201
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 409 (CNAMEAlreadyExists) AWS validated Snapshot Tested

CreateDistributionWithTags

Parameters: DistributionConfigWithTags
  • LocalStack Pro
    • test_cloudfront_distribution_with_logging LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cloudfront_distribution_with_logging HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_from_cloudformation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_from_cloudformation HTTP Status Code: 201
    • test_distribution_with_tags LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_distribution_with_tags HTTP Status Code: 201
    • test_lambda_redirect LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_lambda_redirect HTTP Status Code: 201 AWS validated
    • test_auth_headers_and_non_title_case_of_headers LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFrontRestApiOrigin::test_auth_headers_and_non_title_case_of_headers HTTP Status Code: 201 AWS validated Snapshot Tested

CreateFunction

Parameters: FunctionCode, FunctionConfig, Name
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 409 (FunctionAlreadyExists) AWS validated Snapshot Tested

CreateInvalidation

Parameters: DistributionId, InvalidationBatch
  • LocalStack Pro
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 201
    • test_invalidation_waiter LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_invalidation_waiter HTTP Status Code: 201
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 404 (NoSuchDistribution)

CreateOriginAccessControl

Parameters: OriginAccessControlConfig
  • LocalStack Pro
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_access_control HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 201 AWS validated
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_origin_access_control HTTP Status Code: 201 AWS validated Snapshot Tested

CreateOriginRequestPolicy

Parameters: OriginRequestPolicyConfig
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_origin_request_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_request_policies HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 201
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 409 (OriginRequestPolicyAlreadyExists)

CreateResponseHeadersPolicy

Parameters: ResponseHeadersPolicyConfig
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 201 AWS validated Snapshot Tested
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 400 (InvalidArgument) AWS validated Snapshot Tested

DeleteCachePolicy

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_cache_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cache_policies HTTP Status Code: 204 AWS validated Snapshot Tested

DeleteCloudFrontOriginAccessIdentity

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_origin_access_identity LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_access_identity HTTP Status Code: 204
    • test_lambda_redirect LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_lambda_redirect HTTP Status Code: 204 AWS validated

DeleteDistribution

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_authorizer_cognito_client_credentials LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestRestApiAuthorizers::test_authorizer_cognito_client_credentials HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_authorizer_cognito_scopes LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestRestApiAuthorizers::test_authorizer_cognito_scopes HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_cognito_authorizer_token_types[client_credentials] LocalStack Pro: tests/aws/services/apigateway/test_rest_apis.py::TestRestAPIs::test_cognito_authorizer_token_types[client_credentials] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_cognito_authorizer_token_types[username] LocalStack Pro: tests/aws/services/apigateway/test_rest_apis.py::TestRestAPIs::test_cognito_authorizer_token_types[username] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_jwt_authorizer_failure LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_failure HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_jwt_authorizer_lambda_target[1.0] LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_lambda_target[1.0] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_jwt_authorizer_lambda_target[2.0] LocalStack Pro: tests/aws/services/apigatewayv2/test_apigatewayv2_authorizers.py::TestHttpApiJwtAuthorizer::test_jwt_authorizer_lambda_target[2.0] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_apigateway_authorizer_client_credentials LocalStack Pro: tests/aws/services/cloudformation/resources/test_apigatewayv2.py::TestApiGwV2Authorizers::test_create_apigateway_authorizer_client_credentials HTTP Status Code: 204
    • test_cloudfront_distribution_with_logging LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cloudfront_distribution_with_logging HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 204 AWS validated
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_from_cloudformation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_from_cloudformation HTTP Status Code: 204
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 204
    • test_custom_errors[False] LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_custom_errors[False] HTTP Status Code: 204
    • test_custom_errors[True] LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_custom_errors[True] HTTP Status Code: 204
    • test_distribution_with_tags LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_distribution_with_tags HTTP Status Code: 204
    • test_get_distributions LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_get_distributions HTTP Status Code: 204
    • test_invalidation_waiter LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_invalidation_waiter HTTP Status Code: 204
    • test_lambda_redirect LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_lambda_redirect HTTP Status Code: 204 AWS validated
    • test_update_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_update_distribution HTTP Status Code: 204
    • test_query_string_parameters_forward LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFrontRestApiOrigin::test_query_string_parameters_forward HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_authorize_redirects_to_login LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_authorize_redirects_to_login HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_cognito_authorizer_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_cognito_authorizer_scopes HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_custom_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_custom_scopes HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_login_via_web_form LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_login_via_web_form HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_login_via_web_form_with_scopes LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_login_via_web_form_with_scopes HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_revoke_token[False] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_revoke_token[False] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_revoke_token[True] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_revoke_token[True] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_saml_auth_flow LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_saml_auth_flow HTTP Status Code: 204
    • test_token_endpoint[client_credentials-body] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[client_credentials-body] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_token_endpoint[client_credentials-query_params] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[client_credentials-query_params] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_token_endpoint[code-body] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[code-body] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_token_endpoint[code-query_params] LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_token_endpoint[code-query_params] HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_cloudfront LocalStack Pro: tests/aws/test_network_configuration.py::test_cloudfront HTTP Status Code: 204

DeleteFunction

Parameters: IfMatch, Name
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 204 AWS validated Snapshot Tested

DeleteOriginAccessControl

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 204 AWS validated
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_origin_access_control HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_access_control HTTP Status Code: 400 (InvalidIfMatchVersion) AWS validated Snapshot Tested

DeleteOriginRequestPolicy

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_origin_request_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_request_policies HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 204

DeleteResponseHeadersPolicy

Parameters: Id, IfMatch
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 204 AWS validated Snapshot Tested
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 204 AWS validated Snapshot Tested

DescribeFunction

Parameters: Name, Stage
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 200 AWS validated Snapshot Tested

GetCachePolicy

Parameters: Id
  • LocalStack Pro
    • test_cache_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cache_policies HTTP Status Code: 200 AWS validated Snapshot Tested

GetCloudFrontOriginAccessIdentity

Parameters: Id
  • LocalStack Pro
    • test_create_origin_access_identity LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_access_identity HTTP Status Code: 200
    • test_create_origin_access_identity LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_access_identity HTTP Status Code: 404 (NoSuchCloudFrontOriginAccessIdentity)

GetDistribution

Parameters: Id
  • LocalStack Pro
    • test_cloudfront_distribution_with_logging LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_cloudfront_distribution_with_logging HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 200 AWS validated
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_update_distribution HTTP Status Code: 200

GetDistributionConfig

Parameters: Id
  • LocalStack Pro
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 200 AWS validated
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 200 AWS validated Snapshot Tested

GetFunction

Parameters: Name, Stage
  • LocalStack Pro
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 404 (NoSuchFunctionExists) AWS validated Snapshot Tested

GetInvalidation

Parameters: DistributionId, Id
  • LocalStack Pro
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 200
    • test_invalidation_waiter LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_invalidation_waiter HTTP Status Code: 200

GetOriginAccessControl

Parameters: Id
  • LocalStack Pro
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_origin_access_control HTTP Status Code: 200 AWS validated Snapshot Tested

GetOriginAccessControlConfig

Parameters: Id
  • LocalStack Pro
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 200 AWS validated
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_origin_access_control HTTP Status Code: 200 AWS validated Snapshot Tested

GetOriginRequestPolicy

Parameters: Id
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_origin_request_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_request_policies HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_origin_request_policies LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_origin_request_policies HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 200
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 404 (NoSuchOriginRequestPolicy)

GetResponseHeadersPolicy

Parameters: Id
  • LocalStack Pro
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_stack_cloudfront LocalStack Pro: tests/aws/services/cloudformation/resources/test_cloudfront.py::test_create_stack_cloudfront HTTP Status Code: 404 (NoSuchResponseHeadersPolicy) AWS validated Snapshot Tested
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 404 (NoSuchResponseHeadersPolicy) AWS validated Snapshot Tested

ListCloudFrontOriginAccessIdentities

Parameters: Marker, MaxItems
  • LocalStack Pro
    • test_create_origin_access_identity LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_access_identity HTTP Status Code: 200

ListDistributions

Parameters: Marker, MaxItems
  • LocalStack Pro
    • test_create_from_cloudformation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_from_cloudformation HTTP Status Code: 200
    • test_get_distributions LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_get_distributions HTTP Status Code: 200
    • test_get_global_resource LocalStack Pro: tests/integration/services/internal/resources/test_resources.py::TestResourcesEndpoint::test_get_global_resource HTTP Status Code: 200
    • test_get_resource LocalStack Pro: tests/integration/services/internal/resources/test_resources.py::TestResourcesEndpoint::test_get_resource HTTP Status Code: 200

ListFunctions

Parameters: Marker, MaxItems, Stage
  • LocalStack Pro
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 200 AWS validated Snapshot Tested

ListInvalidations

Parameters: DistributionId, Marker, MaxItems
  • LocalStack Pro
    • test_create_invalidation LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_invalidation HTTP Status Code: 200

ListOriginRequestPolicies

Parameters: Marker, MaxItems, Type
  • LocalStack Pro
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 200

ListResponseHeadersPolicies

Parameters: Marker, MaxItems, Type
  • LocalStack Pro
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 200 AWS validated Snapshot Tested

ListTagsForResource

Parameters: Resource
  • LocalStack Pro
    • test_distribution_with_tags LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_distribution_with_tags HTTP Status Code: 200

UntagResource

Parameters: Resource, TagKeys
  • LocalStack Pro
    • test_distribution_with_tags LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_distribution_with_tags HTTP Status Code: 204

UpdateDistribution

Parameters: DistributionConfig, Id, IfMatch
  • LocalStack Pro
    • test_cloudflare_alias_with_s3_backend LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_alias_with_s3_backend HTTP Status Code: 200 AWS validated
    • test_cloudflare_cname_reuse LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_cloudflare_cname_reuse HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_update_distribution HTTP Status Code: 200

UpdateFunction

Parameters: FunctionCode, FunctionConfig, IfMatch, Name
  • LocalStack Pro
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateOriginAccessControl

Parameters: Id, IfMatch, OriginAccessControlConfig
  • LocalStack Pro
    • test_origin_access_control LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_origin_access_control HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateOriginRequestPolicy

Parameters: Id, IfMatch, OriginRequestPolicyConfig
  • LocalStack Pro
    • test_create_origin_request_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_origin_request_policy HTTP Status Code: 200

UpdateResponseHeadersPolicy

Parameters: Id, IfMatch, ResponseHeadersPolicyConfig
  • LocalStack Pro
    • test_create_response_headers_policy LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_response_headers_policy HTTP Status Code: 200 AWS validated Snapshot Tested