CloudFront

Implementation details for API cloudfront

Coverage Overview

CloudFront is supported by LocalStack only in the pro version.

AvailabilityTesting*
OperationImplementedEditionInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AssociateAlias
CopyDistribution
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
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
DescribeFunction✔️pro✔️✔️✔️✔️✔️Show Tests
DescribeKeyValueStore
GetCachePolicy✔️pro✔️✔️✔️✔️✔️Show Tests
GetCachePolicyConfig
GetCloudFrontOriginAccessIdentity✔️pro✔️✔️✔️Show Tests
GetCloudFrontOriginAccessIdentityConfig
GetContinuousDeploymentPolicy
GetContinuousDeploymentPolicyConfig
GetDistribution✔️pro✔️✔️✔️✔️✔️Show Tests
GetDistributionConfig
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
ListCachePolicies✔️pro✔️✔️
ListCloudFrontOriginAccessIdentities✔️pro✔️✔️✔️Show Tests
ListConflictingAliases
ListContinuousDeploymentPolicies
ListDistributions✔️pro✔️✔️Show Tests
ListDistributionsByCachePolicyId
ListDistributionsByKeyGroup
ListDistributionsByOriginRequestPolicyId
ListDistributionsByRealtimeLogConfig
ListDistributionsByResponseHeadersPolicyId
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
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

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 exeuction 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_lambda_jwt_authorizer[False-1.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[False-1.0] HTTP Status Code: 201 AWS validated
    • test_lambda_jwt_authorizer[False-2.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[False-2.0] HTTP Status Code: 201 AWS validated
    • test_lambda_jwt_authorizer[True-1.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[True-1.0] HTTP Status Code: 201 AWS validated
    • test_lambda_jwt_authorizer[True-2.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[True-2.0] HTTP Status Code: 201 AWS validated
    • test_apigw_v2_http_jwt_authorizer LocalStack Pro: tests/aws/services/apigateway/test_http_apis.py::TestHttpApis::test_apigw_v2_http_jwt_authorizer HTTP Status Code: 201
    • 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
    • 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
    • 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_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_api_gateway_cognito_pool_authorizer_oauth_client_credentials_token LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_api_gateway_cognito_pool_authorizer_oauth_client_credentials_token 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
    • 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

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

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
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 409 (FunctionAlreadyExists)

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_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_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_lambda_jwt_authorizer[False-1.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[False-1.0] HTTP Status Code: 204 AWS validated
    • test_lambda_jwt_authorizer[False-2.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[False-2.0] HTTP Status Code: 204 AWS validated
    • test_lambda_jwt_authorizer[True-1.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[True-1.0] HTTP Status Code: 204 AWS validated
    • test_lambda_jwt_authorizer[True-2.0] LocalStack Pro: tests/aws/services/apigateway/test_authorizers.py::TestHttpApiAuthorizers::test_lambda_jwt_authorizer[True-2.0] HTTP Status Code: 204 AWS validated
    • test_apigw_v2_http_jwt_authorizer LocalStack Pro: tests/aws/services/apigateway/test_http_apis.py::TestHttpApis::test_apigw_v2_http_jwt_authorizer HTTP Status Code: 204
    • 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
    • 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
    • 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_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_api_gateway_cognito_pool_authorizer_oauth_client_credentials_token LocalStack Pro: tests/aws/services/cognito/test_cognito.py::TestCognito::test_api_gateway_cognito_pool_authorizer_oauth_client_credentials_token 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
    • 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

DeleteOriginAccessControl

Parameters: Id, IfMatch
  • LocalStack Pro
    • 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_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_update_distribution LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_update_distribution HTTP Status Code: 200

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
    • test_create_function LocalStack Pro: tests/aws/services/cloudfront/test_cloudfront.py::TestCloudFront::test_create_function HTTP Status Code: 404 (NoSuchFunctionExists)

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_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_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_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

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

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_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

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


Last modified March 20, 2023: improve Coverage Docs (#505) (46f2fb0c0)