Skip to main content

@swamp/aws/cloudfront

v2026.04.23.3

AWS CLOUDFRONT infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awscloudfrontcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/cloudfront

@swamp/aws/cloudfront/anycast-ip-listv2026.04.23.2anycast_ip_list.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
AnycastIpList?object
IpCountnumberThe number of IP addresses in the Anycast static IP list.
IpAddressType?enumThe IP address type for the Anycast static IP list.
IpamCidrConfigs?arrayA list of IPAM CIDR configurations that define the IP address ranges, IPAM pools, and associated Anycast IP addresses.
NamestringThe name of the Anycast static IP list.
Tags?objectA complex type that contains zero or more Tag elements.
createCreate a CloudFront AnycastIpList
getGet a CloudFront AnycastIpList
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront AnycastIpList
updateUpdate a CloudFront AnycastIpList
deleteDelete a CloudFront AnycastIpList
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront AnycastIpList
syncSync CloudFront AnycastIpList state from AWS

Resources

state(infinite)— CloudFront AnycastIpList resource state
@swamp/aws/cloudfront/cache-policyv2026.04.23.2cache_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
CachePolicyConfigobjectThe cache policy configuration.
createCreate a CloudFront CachePolicy
getGet a CloudFront CachePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CachePolicy
updateUpdate a CloudFront CachePolicy
deleteDelete a CloudFront CachePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CachePolicy
syncSync CloudFront CachePolicy state from AWS

Resources

state(infinite)— CloudFront CachePolicy resource state
@swamp/aws/cloudfront/cloud-front-origin-access-identityv2026.04.23.2cloud_front_origin_access_identity.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
CloudFrontOriginAccessIdentityConfigobjectThe current configuration information for the identity.
createCreate a CloudFront CloudFrontOriginAccessIdentity
getGet a CloudFront CloudFrontOriginAccessIdentity
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CloudFrontOriginAccessIdentity
updateUpdate a CloudFront CloudFrontOriginAccessIdentity
deleteDelete a CloudFront CloudFrontOriginAccessIdentity
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CloudFrontOriginAccessIdentity
syncSync CloudFront CloudFrontOriginAccessIdentity state from AWS

Resources

state(infinite)— CloudFront CloudFrontOriginAccessIdentity resource state
@swamp/aws/cloudfront/connection-functionv2026.04.23.2connection_function.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
NamestringThe connection function name.
ConnectionFunctionCodestringThe code for the connection function.
ConnectionFunctionConfigobjectContains configuration information about a CloudFront function.
AutoPublish?booleanA flag that determines whether to automatically publish the function to the LIVE stage when it’s created. To automatically publish to the LIVE stage, set this property to true.
Tags?arrayA complex type that contains zero or more Tag elements.
createCreate a CloudFront ConnectionFunction
getGet a CloudFront ConnectionFunction
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionFunction
updateUpdate a CloudFront ConnectionFunction
deleteDelete a CloudFront ConnectionFunction
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionFunction
syncSync CloudFront ConnectionFunction state from AWS

Resources

state(infinite)— CloudFront ConnectionFunction resource state
@swamp/aws/cloudfront/connection-groupv2026.04.23.2connection_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
NamestringThe name of the connection group.
Tags?arrayA complex type that contains zero or more Tag elements.
Ipv6Enabled?booleanIPv6 is enabled for the connection group.
AnycastIpListId?stringThe ID of the Anycast static IP list.
Enabled?booleanWhether the connection group is enabled.
createCreate a CloudFront ConnectionGroup
getGet a CloudFront ConnectionGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionGroup
updateUpdate a CloudFront ConnectionGroup
deleteDelete a CloudFront ConnectionGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionGroup
syncSync CloudFront ConnectionGroup state from AWS

Resources

state(infinite)— CloudFront ConnectionGroup resource state
@swamp/aws/cloudfront/continuous-deployment-policyv2026.04.23.2continuous_deployment_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ContinuousDeploymentPolicyConfigobjectContains the configuration for a continuous deployment policy.
createCreate a CloudFront ContinuousDeploymentPolicy
getGet a CloudFront ContinuousDeploymentPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ContinuousDeploymentPolicy
updateUpdate a CloudFront ContinuousDeploymentPolicy
deleteDelete a CloudFront ContinuousDeploymentPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ContinuousDeploymentPolicy
syncSync CloudFront ContinuousDeploymentPolicy state from AWS

Resources

state(infinite)— CloudFront ContinuousDeploymentPolicy resource state
@swamp/aws/cloudfront/distributionv2026.04.23.2distribution.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DistributionConfigobjectThe distribution's configuration.
Tags?arrayA complex type that contains zero or more Tag elements.
createCreate a CloudFront Distribution
getGet a CloudFront Distribution
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Distribution
updateUpdate a CloudFront Distribution
deleteDelete a CloudFront Distribution
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Distribution
syncSync CloudFront Distribution state from AWS

Resources

state(infinite)— CloudFront Distribution resource state
@swamp/aws/cloudfront/distribution-tenantv2026.04.23.2distribution_tenant.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
DistributionIdstringThe ID of the multi-tenant distribution.
NamestringThe name of the distribution tenant.
Tags?arrayA complex type that contains zero or more Tag elements.
Customizations?objectCustomizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
Parameters?arrayA list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
ConnectionGroupId?stringThe ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
Enabled?booleanIndicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
DomainsarrayThe domains associated with the distribution tenant.
ManagedCertificateRequest?objectAn object that represents the request for the Amazon CloudFront managed ACM certificate.
createCreate a CloudFront DistributionTenant
getGet a CloudFront DistributionTenant
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront DistributionTenant
updateUpdate a CloudFront DistributionTenant
deleteDelete a CloudFront DistributionTenant
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront DistributionTenant
syncSync CloudFront DistributionTenant state from AWS

Resources

state(infinite)— CloudFront DistributionTenant resource state
@swamp/aws/cloudfront/functionv2026.04.23.2function.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
AutoPublish?booleanA flag that determines whether to automatically publish the function to the LIVE stage when it’s created. To automatically publish to the LIVE stage, set this property to true.
FunctionCodestringThe function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) in the *Amazon CloudFront Developer Guide*.
FunctionConfigobjectContains configuration information about a CloudFront function.
NamestringA name to identify the function.
createCreate a CloudFront Function
getGet a CloudFront Function
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Function
updateUpdate a CloudFront Function
deleteDelete a CloudFront Function
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Function
syncSync CloudFront Function state from AWS

Resources

state(infinite)— CloudFront Function resource state
@swamp/aws/cloudfront/key-groupv2026.04.23.2key_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
KeyGroupConfigobjectThe key group configuration.
createCreate a CloudFront KeyGroup
getGet a CloudFront KeyGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyGroup
updateUpdate a CloudFront KeyGroup
deleteDelete a CloudFront KeyGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyGroup
syncSync CloudFront KeyGroup state from AWS

Resources

state(infinite)— CloudFront KeyGroup resource state
@swamp/aws/cloudfront/key-value-storev2026.04.23.2key_value_store.ts

Global Arguments

ArgumentTypeDescription
NamestringThe name of the key value store.
Comment?stringA comment for the key value store.
ImportSource?objectThe import source for the key value store.
Tags?array
createCreate a CloudFront KeyValueStore
getGet a CloudFront KeyValueStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyValueStore
updateUpdate a CloudFront KeyValueStore
deleteDelete a CloudFront KeyValueStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyValueStore
syncSync CloudFront KeyValueStore state from AWS

Resources

state(infinite)— CloudFront KeyValueStore resource state
@swamp/aws/cloudfront/monitoring-subscriptionv2026.04.23.2monitoring_subscription.ts

Global Arguments

ArgumentTypeDescription
DistributionIdstringThe ID of the distribution that you are enabling metrics for.
MonitoringSubscriptionobjectA subscription configuration for additional CloudWatch metrics.
createCreate a CloudFront MonitoringSubscription
getGet a CloudFront MonitoringSubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront MonitoringSubscription
deleteDelete a CloudFront MonitoringSubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront MonitoringSubscription
syncSync CloudFront MonitoringSubscription state from AWS

Resources

state(infinite)— CloudFront MonitoringSubscription resource state
@swamp/aws/cloudfront/origin-access-controlv2026.04.23.2origin_access_control.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
OriginAccessControlConfigobjectThe origin access control.
createCreate a CloudFront OriginAccessControl
getGet a CloudFront OriginAccessControl
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginAccessControl
updateUpdate a CloudFront OriginAccessControl
deleteDelete a CloudFront OriginAccessControl
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginAccessControl
syncSync CloudFront OriginAccessControl state from AWS

Resources

state(infinite)— CloudFront OriginAccessControl resource state
@swamp/aws/cloudfront/origin-request-policyv2026.04.23.2origin_request_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
OriginRequestPolicyConfigobjectThe origin request policy configuration.
createCreate a CloudFront OriginRequestPolicy
getGet a CloudFront OriginRequestPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginRequestPolicy
updateUpdate a CloudFront OriginRequestPolicy
deleteDelete a CloudFront OriginRequestPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginRequestPolicy
syncSync CloudFront OriginRequestPolicy state from AWS

Resources

state(infinite)— CloudFront OriginRequestPolicy resource state
@swamp/aws/cloudfront/public-keyv2026.04.23.2public_key.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
PublicKeyConfigobjectConfiguration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html).
createCreate a CloudFront PublicKey
getGet a CloudFront PublicKey
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront PublicKey
updateUpdate a CloudFront PublicKey
deleteDelete a CloudFront PublicKey
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront PublicKey
syncSync CloudFront PublicKey state from AWS

Resources

state(infinite)— CloudFront PublicKey resource state
@swamp/aws/cloudfront/realtime-log-configv2026.04.23.2realtime_log_config.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
EndPointsarrayContains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
FieldsarrayA list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see [Real-time log configuration fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.
NamestringThe unique name of this real-time log configuration.
SamplingRatenumberThe sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
createCreate a CloudFront RealtimeLogConfig
getGet a CloudFront RealtimeLogConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront RealtimeLogConfig
updateUpdate a CloudFront RealtimeLogConfig
deleteDelete a CloudFront RealtimeLogConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront RealtimeLogConfig
syncSync CloudFront RealtimeLogConfig state from AWS

Resources

state(infinite)— CloudFront RealtimeLogConfig resource state
@swamp/aws/cloudfront/response-headers-policyv2026.04.23.2response_headers_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ResponseHeadersPolicyConfigobjectA response headers policy configuration.
createCreate a CloudFront ResponseHeadersPolicy
getGet a CloudFront ResponseHeadersPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ResponseHeadersPolicy
updateUpdate a CloudFront ResponseHeadersPolicy
deleteDelete a CloudFront ResponseHeadersPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ResponseHeadersPolicy
syncSync CloudFront ResponseHeadersPolicy state from AWS

Resources

state(infinite)— CloudFront ResponseHeadersPolicy resource state
@swamp/aws/cloudfront/trust-storev2026.04.23.2trust_store.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
NamestringThe trust store's name.
CaCertificatesBundleSource?objectA CA certificates bundle source.
Tags?arrayA complex type that contains zero or more Tag elements.
createCreate a CloudFront TrustStore
getGet a CloudFront TrustStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront TrustStore
updateUpdate a CloudFront TrustStore
deleteDelete a CloudFront TrustStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront TrustStore
syncSync CloudFront TrustStore state from AWS

Resources

state(infinite)— CloudFront TrustStore resource state
@swamp/aws/cloudfront/vpc-originv2026.04.23.2vpc_origin.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Tags?arrayA complex type that contains zero or more Tag elements.
VpcOriginEndpointConfigobjectThe VPC origin endpoint configuration.
createCreate a CloudFront VpcOrigin
getGet a CloudFront VpcOrigin
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront VpcOrigin
updateUpdate a CloudFront VpcOrigin
deleteDelete a CloudFront VpcOrigin
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront VpcOrigin
syncSync CloudFront VpcOrigin state from AWS

Resources

state(infinite)— CloudFront VpcOrigin resource state