Amazon Web Services, Inc.

Amazon CloudFront

Amazon CloudFront This is the Amazon CloudFront API Reference . This guide is for developers who need detailed information about CloudFront API actions, data…

Developer tools#openapi#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Amazon CloudFront This is the Amazon CloudFront API Reference . This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide .

Endpoints 164

  • PUTAssociate alias/2020-05-31/distribution/:TargetDistributionId/associate-alias?Alias=stringThe AssociateAlias API operation only supports standard distributions. To move domains between distribution tenants and/or standard distributions, we…
  • PUTAssociate distribution tenant web aCL/2020-05-31/distribution-tenant/:Id/associate-web-aclAssociates the WAF web ACL with a distribution tenant.
  • PUTAssociate distribution web aCL/2020-05-31/distribution/:Id/associate-web-aclAssociates the WAF web ACL with a distribution.
  • POSTCopy distribution/2020-05-31/distribution/:PrimaryDistributionId/copyCreates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution…
  • GETList anycast ip lists/2020-05-31/anycast-ip-list?Marker=string&MaxItems=0Lists your Anycast static IP lists.
  • POSTCreate anycast ip list/2020-05-31/anycast-ip-listCreates an Anycast static IP list.
  • GETList cache policies/2020-05-31/cache-policy?Type=string&Marker=string&MaxItems=0Gets a list of cache policies. You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom…
  • POSTCreate cache policy/2020-05-31/cache-policyCreates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache…
  • GETList cloud front origin access identities/2020-05-31/origin-access-identity/cloudfront?Marker=string&MaxItems=0Lists origin access identities.
  • POSTCreate cloud front origin access identity/2020-05-31/origin-access-identity/cloudfrontCreates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content…
  • POSTCreate connection function/2020-05-31/connection-functionCreates a connection function.
  • GETGet connection group by routing endpoint/2020-05-31/connection-group?RoutingEndpoint=stringGets information about a connection group by using the endpoint that you specify.
  • POSTCreate connection group/2020-05-31/connection-groupCreates a connection group.
  • GETList continuous deployment policies/2020-05-31/continuous-deployment-policy?Marker=string&MaxItems=0Gets a list of the continuous deployment policies in your Amazon Web Services account. You can optionally specify the maximum number of items to receive in…
  • POSTCreate continuous deployment policy/2020-05-31/continuous-deployment-policyCreates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions. To use a continuous…
  • GETList distributions/2020-05-31/distribution?Marker=string&MaxItems=0List CloudFront distributions.
  • POSTCreate distribution with tags/2020-05-31/distribution?WithTags=Create a new distribution with tags. This API operation requires the following IAM permissions: CreateDistribution TagResource
  • GETGet distribution tenant by domain/2020-05-31/distribution-tenant?domain=stringGets information about a distribution tenant by the associated domain.
  • POSTCreate distribution tenant/2020-05-31/distribution-tenantCreates a distribution tenant.
  • GETList field level encryption configs/2020-05-31/field-level-encryption?Marker=string&MaxItems=0List all field-level encryption configurations that have been created in CloudFront for this account.
  • POSTCreate field level encryption config/2020-05-31/field-level-encryptionCreate a new field-level encryption configuration.
  • GETList field level encryption profiles/2020-05-31/field-level-encryption-profile?Marker=string&MaxItems=0Request a list of field-level encryption profiles that have been created in CloudFront for this account.
  • POSTCreate field level encryption profile/2020-05-31/field-level-encryption-profileCreate a field-level encryption profile.
  • GETList functions/2020-05-31/function?Marker=string&MaxItems=0&Stage=stringGets a list of all CloudFront functions in your Amazon Web Services account. You can optionally apply a filter to return only the functions that are in the…
  • POSTCreate function/2020-05-31/functionCreates a CloudFront function. To create a function, you provide the function code and some configuration information about the function. The response…
  • GETList invalidations/2020-05-31/distribution/:DistributionId/invalidation?Marker=string&MaxItems=0Lists invalidation batches.
  • POSTCreate invalidation/2020-05-31/distribution/:DistributionId/invalidationCreate a new invalidation. For more information, see Invalidating files in the Amazon CloudFront Developer Guide .
  • GETList invalidations for distribution tenant/2020-05-31/distribution-tenant/:Id/invalidation?Marker=string&MaxItems=0Lists the invalidations for a distribution tenant.
  • POSTCreate invalidation for distribution tenant/2020-05-31/distribution-tenant/:Id/invalidationCreates an invalidation for a distribution tenant. For more information, see Invalidating files in the Amazon CloudFront Developer Guide .
  • GETList key groups/2020-05-31/key-group?Marker=string&MaxItems=0Gets a list of key groups. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds…
  • POSTCreate key group/2020-05-31/key-groupCreates a key group that you can use with CloudFront signed URLs and signed cookies . To create a key group, you must specify at least one public key for the…
  • GETList key value stores/2020-05-31/key-value-store?Marker=string&MaxItems=0&Status=stringSpecifies the key value stores to list.
  • POSTCreate key value store/2020-05-31/key-value-storeSpecifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store…
  • GETGet monitoring subscription/2020-05-31/distributions/:DistributionId/monitoring-subscriptionGets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
  • POSTCreate monitoring subscription/2020-05-31/distributions/:DistributionId/monitoring-subscriptionEnables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost. For more…
  • DELETEDelete monitoring subscription/2020-05-31/distributions/:DistributionId/monitoring-subscriptionDisables additional CloudWatch metrics for the specified CloudFront distribution.
  • GETList origin access controls/2020-05-31/origin-access-control?Marker=string&MaxItems=0Gets the list of CloudFront origin access controls (OACs) in this Amazon Web Services account. You can optionally specify the maximum number of items to…
  • POSTCreate origin access control/2020-05-31/origin-access-controlCreates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that…
  • GETList origin request policies/2020-05-31/origin-request-policy?Type=string&Marker=string&MaxItems=0Gets a list of origin request policies. You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the…
  • POSTCreate origin request policy/2020-05-31/origin-request-policyCreates an origin request policy. After you create an origin request policy, you can attach it to one or more cache behaviors. When it's attached to a cache…
  • GETList public keys/2020-05-31/public-key?Marker=string&MaxItems=0List all public keys that have been added to CloudFront for this account.
  • POSTCreate public key/2020-05-31/public-keyUploads a public key to CloudFront that you can use with signed URLs and signed cookies , or with field-level encryption .
  • GETList realtime log configs/2020-05-31/realtime-log-config?MaxItems=0&Marker=stringGets a list of real-time log configurations. You can optionally specify the maximum number of items to receive in the response. If the total number of items…
  • PUTUpdate realtime log config/2020-05-31/realtime-log-configUpdates a real-time log configuration. When you update a real-time log configuration, all the parameters are updated with the values provided in the request.…
  • POSTCreate realtime log config/2020-05-31/realtime-log-configCreates a real-time log configuration. After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log…
  • GETList response headers policies/2020-05-31/response-headers-policy?Type=string&Marker=string&MaxItems=0Gets a list of response headers policies. You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the…
  • POSTCreate response headers policy/2020-05-31/response-headers-policyCreates a response headers policy. A response headers policy contains information about a set of HTTP headers. To create a response headers policy, you…
  • GETList streaming distributions/2020-05-31/streaming-distribution?Marker=string&MaxItems=0List streaming distributions.
  • POSTCreate streaming distribution with tags/2020-05-31/streaming-distribution?WithTags=This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read…
  • POSTCreate trust store/2020-05-31/trust-storeCreates a trust store.
  • GETList vpc origins/2020-05-31/vpc-origin?Marker=string&MaxItems=0List the CloudFront VPC origins in your account.
  • POSTCreate vpc origin/2020-05-31/vpc-originCreate an Amazon CloudFront VPC origin.
  • GETGet anycast ip list/2020-05-31/anycast-ip-list/:IdGets an Anycast static IP list.
  • PUTUpdate anycast ip list/2020-05-31/anycast-ip-list/:IdUpdates an Anycast static IP list.
  • DELETEDelete anycast ip list/2020-05-31/anycast-ip-list/:IdDeletes an Anycast static IP list.
  • GETGet cache policy/2020-05-31/cache-policy/:IdGets a cache policy, including the following metadata: The policy's identifier. The date and time when the policy was last modified. To get a cache policy,…
  • PUTUpdate cache policy/2020-05-31/cache-policy/:IdUpdates a cache policy configuration. When you update a cache policy configuration, all the fields are updated with the values provided in the request. You…
  • DELETEDelete cache policy/2020-05-31/cache-policy/:IdDeletes a cache policy. You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from…
  • GETGet cloud front origin access identity/2020-05-31/origin-access-identity/cloudfront/:IdGet the information about an origin access identity.
  • DELETEDelete cloud front origin access identity/2020-05-31/origin-access-identity/cloudfront/:IdDelete an origin access identity.
  • PUTUpdate connection function/2020-05-31/connection-function/:IdUpdates a connection function.
  • DELETEDelete connection function/2020-05-31/connection-function/:IdDeletes a connection function.
  • PUTUpdate connection group/2020-05-31/connection-group/:IdUpdates a connection group.
  • DELETEDelete connection group/2020-05-31/connection-group/:IdDeletes a connection group.
  • GETGet continuous deployment policy/2020-05-31/continuous-deployment-policy/:IdGets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
  • PUTUpdate continuous deployment policy/2020-05-31/continuous-deployment-policy/:IdUpdates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it…
  • DELETEDelete continuous deployment policy/2020-05-31/continuous-deployment-policy/:IdDeletes a continuous deployment policy. You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your…
  • GETGet distribution/2020-05-31/distribution/:IdGet the information about a distribution.
  • DELETEDelete distribution/2020-05-31/distribution/:IdDelete a distribution. Before you can delete a distribution, you must disable it, which requires permission to update the distribution. Once deleted, a…
  • PUTUpdate distribution tenant/2020-05-31/distribution-tenant/:IdUpdates a distribution tenant.
  • DELETEDelete distribution tenant/2020-05-31/distribution-tenant/:IdDeletes a distribution tenant. If you use this API operation to delete a distribution tenant that is currently enabled, the request will fail. To delete a…
  • GETGet field level encryption/2020-05-31/field-level-encryption/:IdGet the field-level encryption configuration information.
  • DELETEDelete field level encryption config/2020-05-31/field-level-encryption/:IdRemove a field-level encryption configuration.
  • GETGet field level encryption profile/2020-05-31/field-level-encryption-profile/:IdGet the field-level encryption profile information.
  • DELETEDelete field level encryption profile/2020-05-31/field-level-encryption-profile/:IdRemove a field-level encryption profile.
  • GETGet function/2020-05-31/function/:Name?Stage=stringGets the code of a CloudFront function. To get configuration information and metadata about a function, use DescribeFunction . To get a function's code, you…
  • PUTUpdate function/2020-05-31/function/:NameUpdates a CloudFront function. You can update a function's code or the comment that describes the function. You cannot update a function's name. To update a…
  • DELETEDelete function/2020-05-31/function/:NameDeletes a CloudFront function. You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function…
  • GETGet key group/2020-05-31/key-group/:IdGets a key group, including the date and time when the key group was last modified. To get a key group, you must provide the key group's identifier. If the…
  • PUTUpdate key group/2020-05-31/key-group/:IdUpdates a key group. When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields…
  • DELETEDelete key group/2020-05-31/key-group/:IdDeletes a key group. You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all…
  • GETDescribe key value store/2020-05-31/key-value-store/:NameSpecifies the key value store and its configuration.
  • PUTUpdate key value store/2020-05-31/key-value-store/:NameSpecifies the key value store to update.
  • DELETEDelete key value store/2020-05-31/key-value-store/:NameSpecifies the key value store to delete.
  • GETGet origin access control/2020-05-31/origin-access-control/:IdGets a CloudFront origin access control, including its unique identifier.
  • DELETEDelete origin access control/2020-05-31/origin-access-control/:IdDeletes a CloudFront origin access control. You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin…
  • GETGet origin request policy/2020-05-31/origin-request-policy/:IdGets an origin request policy, including the following metadata: The policy's identifier. The date and time when the policy was last modified. To get an…
  • PUTUpdate origin request policy/2020-05-31/origin-request-policy/:IdUpdates an origin request policy configuration. When you update an origin request policy configuration, all the fields are updated with the values provided in…
  • DELETEDelete origin request policy/2020-05-31/origin-request-policy/:IdDeletes an origin request policy. You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to…
  • GETGet public key/2020-05-31/public-key/:IdGets a public key.
  • DELETEDelete public key/2020-05-31/public-key/:IdRemove a public key you previously added to CloudFront.
  • POSTDelete realtime log config/2020-05-31/delete-realtime-log-configDeletes a real-time log configuration. You cannot delete a real-time log configuration if it's attached to a cache behavior. First update your distributions…
  • POSTDelete resource policy/2020-05-31/delete-resource-policyDeletes the resource policy attached to the CloudFront resource.
  • GETGet response headers policy/2020-05-31/response-headers-policy/:IdGets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified). To get a response…
  • PUTUpdate response headers policy/2020-05-31/response-headers-policy/:IdUpdates a response headers policy. When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent…
  • DELETEDelete response headers policy/2020-05-31/response-headers-policy/:IdDeletes a response headers policy. You cannot delete a response headers policy if it's attached to a cache behavior. First update your distributions to remove…
  • GETGet streaming distribution/2020-05-31/streaming-distribution/:IdGets information about a specified RTMP distribution, including the distribution configuration.
  • DELETEDelete streaming distribution/2020-05-31/streaming-distribution/:IdDelete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps. To delete an RTMP distribution using…
  • PUTUpdate trust store/2020-05-31/trust-store/:IdUpdates a trust store.
  • DELETEDelete trust store/2020-05-31/trust-store/:IdDeletes a trust store.
  • GETGet vpc origin/2020-05-31/vpc-origin/:IdGet the details of an Amazon CloudFront VPC origin.
  • PUTUpdate vpc origin/2020-05-31/vpc-origin/:IdUpdate an Amazon CloudFront VPC origin in your account.
  • DELETEDelete vpc origin/2020-05-31/vpc-origin/:IdDelete an Amazon CloudFront VPC origin.
  • GETDescribe connection function/2020-05-31/connection-function/:Identifier/describe?Stage=stringDescribes a connection function.
  • GETDescribe function/2020-05-31/function/:Name/describe?Stage=stringGets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction . To get…
  • PUTDisassociate distribution tenant web aCL/2020-05-31/distribution-tenant/:Id/disassociate-web-aclDisassociates a distribution tenant from the WAF web ACL.
  • PUTDisassociate distribution web aCL/2020-05-31/distribution/:Id/disassociate-web-aclDisassociates a distribution from the WAF web ACL.
  • GETGet cache policy config/2020-05-31/cache-policy/:Id/configGets a cache policy configuration. To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a…
  • GETGet cloud front origin access identity config/2020-05-31/origin-access-identity/cloudfront/:Id/configGet the configuration information about an origin access identity.
  • PUTUpdate cloud front origin access identity/2020-05-31/origin-access-identity/cloudfront/:Id/configUpdate an origin access identity.
  • GETGet connection function/2020-05-31/connection-function/:Identifier?Stage=stringGets a connection function.
  • GETGet connection group/2020-05-31/connection-group/:IdentifierGets information about a connection group.
  • GETGet continuous deployment policy config/2020-05-31/continuous-deployment-policy/:Id/configGets configuration information about a continuous deployment policy.
  • GETGet distribution config/2020-05-31/distribution/:Id/configGet the configuration information about a distribution.
  • PUTUpdate distribution/2020-05-31/distribution/:Id/configUpdates the configuration for a CloudFront distribution. The update process includes getting the current distribution configuration, updating it to make your…
  • GETGet distribution tenant/2020-05-31/distribution-tenant/:IdentifierGets information about a distribution tenant.
  • GETGet field level encryption config/2020-05-31/field-level-encryption/:Id/configGet the field-level encryption configuration information.
  • PUTUpdate field level encryption config/2020-05-31/field-level-encryption/:Id/configUpdate a field-level encryption configuration.
  • GETGet field level encryption profile config/2020-05-31/field-level-encryption-profile/:Id/configGet the field-level encryption profile configuration information.
  • PUTUpdate field level encryption profile/2020-05-31/field-level-encryption-profile/:Id/configUpdate a field-level encryption profile.
  • GETGet invalidation/2020-05-31/distribution/:DistributionId/invalidation/:IdGet the information about an invalidation.
  • GETGet invalidation for distribution tenant/2020-05-31/distribution-tenant/:DistributionTenantId/invalidation/:IdGets information about a specific invalidation for a distribution tenant.
  • GETGet key group config/2020-05-31/key-group/:Id/configGets a key group configuration. To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a…
  • GETGet managed certificate details/2020-05-31/managed-certificate/:IdentifierGets details about the CloudFront managed ACM certificate.
  • GETGet origin access control config/2020-05-31/origin-access-control/:Id/configGets a CloudFront origin access control configuration.
  • PUTUpdate origin access control/2020-05-31/origin-access-control/:Id/configUpdates a CloudFront origin access control.
  • GETGet origin request policy config/2020-05-31/origin-request-policy/:Id/configGets an origin request policy configuration. To get an origin request policy configuration, you must provide the policy's identifier. If the origin request…
  • GETGet public key config/2020-05-31/public-key/:Id/configGets a public key configuration.
  • PUTUpdate public key/2020-05-31/public-key/:Id/configUpdate public key information. Note that the only value you can change is the comment.
  • POSTGet realtime log config/2020-05-31/get-realtime-log-configGets a real-time log configuration. To get a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must…
  • POSTGet resource policy/2020-05-31/get-resource-policyRetrieves the resource policy for the specified CloudFront resource that you own and have shared.
  • GETGet response headers policy config/2020-05-31/response-headers-policy/:Id/configGets a response headers policy configuration. To get a response headers policy configuration, you must provide the policy's identifier. If the response…
  • GETGet streaming distribution config/2020-05-31/streaming-distribution/:Id/configGet the configuration information about a streaming distribution.
  • PUTUpdate streaming distribution/2020-05-31/streaming-distribution/:Id/configUpdate a streaming distribution.
  • GETGet trust store/2020-05-31/trust-store/:IdentifierGets a trust store.
  • GETList conflicting aliases/2020-05-31/conflicting-alias?DistributionId=string&Alias=string&Marker=string&MaxItems=0The ListConflictingAliases API operation only supports standard distributions. To list domain conflicts for both standard distributions and distribution…
  • POSTList connection functions/2020-05-31/connection-functionsLists connection functions.
  • POSTList connection groups/2020-05-31/connection-groupsLists the connection groups in your Amazon Web Services account.
  • POSTList distribution tenants/2020-05-31/distribution-tenantsLists the distribution tenants in your Amazon Web Services account.
  • POSTList distribution tenants by customization/2020-05-31/distribution-tenants-by-customizationLists distribution tenants by the customization that you specify. You must specify either the CertificateArn parameter or WebACLArn parameter, but not both in…
  • GETList distributions by anycast ip list id/2020-05-31/distributionsByAnycastIpListId/:AnycastIpListId?Marker=string&MaxItems=0Lists the distributions in your account that are associated with the specified AnycastIpListId .
  • GETList distributions by cache policy id/2020-05-31/distributionsByCachePolicyId/:CachePolicyId?Marker=string&MaxItems=0Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy. You can optionally specify the…
  • GETList distributions by connection function/2020-05-31/distributionsByConnectionFunction?Marker=string&MaxItems=0&ConnectionFunctionIdentifier=stringLists distributions by connection function.
  • GETList distributions by connection mode/2020-05-31/distributionsByConnectionMode/:ConnectionMode?Marker=string&MaxItems=0Lists the distributions by the connection mode that you specify.
  • GETList distributions by key group/2020-05-31/distributionsByKeyGroupId/:KeyGroupId?Marker=string&MaxItems=0Gets a list of distribution IDs for distributions that have a cache behavior that references the specified key group. You can optionally specify the maximum…
  • GETList distributions by origin request policy id/2020-05-31/distributionsByOriginRequestPolicyId/:OriginRequestPolicyId?Marker=string&MaxItems=0Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified origin request policy. You can optionally…
  • GETList distributions by owned resource/2020-05-31/distributionsByOwnedResource/:ResourceArn?Marker=string&MaxItems=0Lists the CloudFront distributions that are associated with the specified resource that you own.
  • POSTList distributions by realtime log config/2020-05-31/distributionsByRealtimeLogConfigGets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration. You can specify the real-time log…
  • GETList distributions by response headers policy id/2020-05-31/distributionsByResponseHeadersPolicyId/:ResponseHeadersPolicyId?Marker=string&MaxItems=0Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy. You can optionally…
  • GETList distributions by trust store/2020-05-31/distributionsByTrustStore?TrustStoreIdentifier=string&Marker=string&MaxItems=0Lists distributions by trust store.
  • GETList distributions by vpc origin id/2020-05-31/distributionsByVpcOriginId/:VpcOriginId?Marker=string&MaxItems=0List CloudFront distributions by their VPC origin ID.
  • GETList distributions by web aCL id/2020-05-31/distributionsByWebACLId/:WebACLId?Marker=string&MaxItems=0List the distributions that are associated with a specified WAF web ACL.
  • POSTList domain conflicts/2020-05-31/domain-conflictsWe recommend that you use the ListDomainConflicts API operation to check for domain conflicts, as it supports both standard distributions and distribution…
  • GETList tags for resource/2020-05-31/tagging?Resource=stringList tags for a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide .
  • POSTUntag resource/2020-05-31/tagging?Operation=Untag&Resource=stringRemove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide .
  • POSTList trust stores/2020-05-31/trust-storesLists trust stores.
  • POSTPublish connection function/2020-05-31/connection-function/:Id/publishPublishes a connection function.
  • POSTPublish function/2020-05-31/function/:Name/publishPublishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE . This automatically updates all cache behaviors that are…
  • POSTPut resource policy/2020-05-31/put-resource-policyCreates a resource control policy for a given CloudFront resource.
  • POSTTest connection function/2020-05-31/connection-function/:Id/testTests a connection function.
  • POSTTest function/2020-05-31/function/:Name/testTests a CloudFront function. To test a function, you provide an event object that represents an HTTP request or response that your CloudFront distribution…
  • PUTUpdate distribution with staging config/2020-05-31/distribution/:Id/promote-staging-config?StagingDistributionId=stringCopies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its Aliases (also known as…
  • POSTUpdate domain association/2020-05-31/domain-associationWe recommend that you use the UpdateDomainAssociation API operation to move a domain association, as it supports both standard distributions and distribution…
  • POSTVerify dns configuration/2020-05-31/verify-dns-configurationVerify the DNS configuration for your domain names. This API operation checks whether your domain name points to the correct routing endpoint of the…

API details

Base URL
https://cloudfront.{region}.amazonaws.com
Authentication
AWS Signature Version 4 (requests signed with your AWS access key)
Operations
164 operations on 103 pathsGET 72POST 44PUT 27DELETE 21
Description format
AWS Smithy model, API version 2020-05-31

How to test the Amazon CloudFront in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Amazon CloudFront collection, without the publisher's secrets.
  3. Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Associate alias” (PUT /2020-05-31/distribution/:TargetDistributionId/associate-alias?Alias=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Amazon CloudFront?

Amazon CloudFront This is the Amazon CloudFront API Reference . This guide is for developers who need detailed information about CloudFront API actions, data… It is listed under Developer tools and has 164 endpoints.

Who publishes the Amazon CloudFront?

It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Amazon CloudFront?

Requests go to https://cloudfront.{region}.amazonaws.com. Endpoint paths are added to this base URL.

How do I authenticate with the Amazon CloudFront?

With AWS Signature Version 4 (requests signed with your AWS access key).

How many endpoints does the Amazon CloudFront have?

164 operations on 103 paths (72 GET, 44 POST, 27 PUT, 21 DELETE).

Is forking the Amazon CloudFront free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.