Skip to main content

Aws/cloudfront

@swamp/aws/cloudfrontv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS CLOUDFRONT infrastructure models

02Release Notes
  • Updated: anycast_ip_list, connection_function, distribution, distribution_tenant, field_level_encryption_profile, vpc_origin
03Behaviors21
@swamp/aws/cloudfront/anycast-ip-listv2026.10.25.1anycast_ip_list.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CloudFront AnycastIpList
fn get(identifier: string)
Get a CloudFront AnycastIpList
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront AnycastIpList
fn update()
Update a CloudFront AnycastIpList
fn delete(identifier: string)
Delete a CloudFront AnycastIpList
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront AnycastIpList
fn sync()
Sync CloudFront AnycastIpList state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront AnycastIpList resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
CachePolicyConfigobjectThe cache policy configuration.
fn create()
Create a CloudFront CachePolicy
fn get(identifier: string)
Get a CloudFront CachePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CachePolicy
fn update()
Update a CloudFront CachePolicy
fn delete(identifier: string)
Delete a CloudFront CachePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CachePolicy
fn sync()
Sync CloudFront CachePolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront CachePolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
CloudFrontOriginAccessIdentityConfigobjectThe current configuration information for the identity.
fn create()
Create a CloudFront CloudFrontOriginAccessIdentity
fn get(identifier: string)
Get a CloudFront CloudFrontOriginAccessIdentity
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CloudFrontOriginAccessIdentity
fn update()
Update a CloudFront CloudFrontOriginAccessIdentity
fn delete(identifier: string)
Delete a CloudFront CloudFrontOriginAccessIdentity
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront CloudFrontOriginAccessIdentity
fn sync()
Sync CloudFront CloudFrontOriginAccessIdentity state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront CloudFrontOriginAccessIdentity resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CloudFront ConnectionFunction
fn get(identifier: string)
Get a CloudFront ConnectionFunction
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionFunction
fn update()
Update a CloudFront ConnectionFunction
fn delete(identifier: string)
Delete a CloudFront ConnectionFunction
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionFunction
fn sync()
Sync CloudFront ConnectionFunction state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront ConnectionFunction resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CloudFront ConnectionGroup
fn get(identifier: string)
Get a CloudFront ConnectionGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionGroup
fn update()
Update a CloudFront ConnectionGroup
fn delete(identifier: string)
Delete a CloudFront ConnectionGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ConnectionGroup
fn sync()
Sync CloudFront ConnectionGroup state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront ConnectionGroup resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ContinuousDeploymentPolicyConfigobjectContains the configuration for a continuous deployment policy.
fn create()
Create a CloudFront ContinuousDeploymentPolicy
fn get(identifier: string)
Get a CloudFront ContinuousDeploymentPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ContinuousDeploymentPolicy
fn update()
Update a CloudFront ContinuousDeploymentPolicy
fn delete(identifier: string)
Delete a CloudFront ContinuousDeploymentPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ContinuousDeploymentPolicy
fn sync()
Sync CloudFront ContinuousDeploymentPolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront ContinuousDeploymentPolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
DistributionConfigobjectThe distribution's configuration.
Tags?arrayA complex type that contains zero or more Tag elements.
fn create()
Create a CloudFront Distribution
fn get(identifier: string)
Get a CloudFront Distribution
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Distribution
fn update()
Update a CloudFront Distribution
fn delete(identifier: string)
Delete a CloudFront Distribution
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Distribution
fn sync()
Sync CloudFront Distribution state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront Distribution resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CloudFront DistributionTenant
fn get(identifier: string)
Get a CloudFront DistributionTenant
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront DistributionTenant
fn update()
Update a CloudFront DistributionTenant
fn delete(identifier: string)
Delete a CloudFront DistributionTenant
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront DistributionTenant
fn sync()
Sync CloudFront DistributionTenant state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront DistributionTenant resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CloudFront DistributionTenant resource state
@swamp/aws/cloudfront/field-level-encryption-configv2026.10.23.1field_level_encryption_config.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
CallerReferencestringA unique value that identifies the create request. Any string unique within the account works; CloudFront refuses to change it once set, so supplying a different value replaces the configuration. It is also the only value CloudFront returns that identifies a configuration as this stack's, so cleaning up after a failed create depends on the template keeping it.
Comment?stringAn optional comment describing the field-level encryption configuration. CloudFront stores an omitted comment and an explicitly empty one identically as an empty string, and Read normalizes that empty string back to absent -- so omitting Comment round-trips, while asking for an empty string does not and would report perpetual drift. `minLength: 1` refuses the empty string at template validation; omission is the way to express no comment. The service documents a maximum of 128 characters, and `ma
QueryArgProfileConfigobjectHow CloudFront handles query arguments, including the profile paired with each one.
ContentTypeProfileConfigobjectHow CloudFront handles content types, including the profile paired with each one.
fn create()
Create a CloudFront FieldLevelEncryptionConfig
fn get(identifier: string)
Get a CloudFront FieldLevelEncryptionConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront FieldLevelEncryptionConfig
fn update()
Update a CloudFront FieldLevelEncryptionConfig
fn delete(identifier: string)
Delete a CloudFront FieldLevelEncryptionConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront FieldLevelEncryptionConfig
fn sync()
Sync CloudFront FieldLevelEncryptionConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront FieldLevelEncryptionConfig resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CloudFront FieldLevelEncryptionConfig resource state
@swamp/aws/cloudfront/field-level-encryption-profilev2026.10.25.1field_level_encryption_profile.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
FieldLevelEncryptionProfileConfigobjectThe configuration of a field-level encryption profile.
fn create()
Create a CloudFront FieldLevelEncryptionProfile
fn get(identifier: string)
Get a CloudFront FieldLevelEncryptionProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront FieldLevelEncryptionProfile
fn update()
Update a CloudFront FieldLevelEncryptionProfile
fn delete(identifier: string)
Delete a CloudFront FieldLevelEncryptionProfile
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront FieldLevelEncryptionProfile
fn sync()
Sync CloudFront FieldLevelEncryptionProfile state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront FieldLevelEncryptionProfile resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
Tags?arrayA complex type that contains zero or more Tag elements.
fn create()
Create a CloudFront Function
fn get(identifier: string)
Get a CloudFront Function
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Function
fn update()
Update a CloudFront Function
fn delete(identifier: string)
Delete a CloudFront Function
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront Function
fn sync()
Sync CloudFront Function state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront Function resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
KeyGroupConfigobjectThe key group configuration.
fn create()
Create a CloudFront KeyGroup
fn get(identifier: string)
Get a CloudFront KeyGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyGroup
fn update()
Update a CloudFront KeyGroup
fn delete(identifier: string)
Delete a CloudFront KeyGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyGroup
fn sync()
Sync CloudFront KeyGroup state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront KeyGroup resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
NamestringThe name of the key value store.
Comment?stringA comment to describe the Key Value Store. Omitting Comment from the template during updates will clear the existing comment (set to empty string). To preserve an existing comment, you must explicitly include it in the template.
ImportSource?objectThe import source for the key value store.
Tags?arrayA complex type that contains zero or more Tag elements.
fn create()
Create a CloudFront KeyValueStore
fn get(identifier: string)
Get a CloudFront KeyValueStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyValueStore
fn update()
Update a CloudFront KeyValueStore
fn delete(identifier: string)
Delete a CloudFront KeyValueStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront KeyValueStore
fn sync()
Sync CloudFront KeyValueStore state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront KeyValueStore resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
DistributionIdstringThe ID of the distribution that you are enabling metrics for.
MonitoringSubscriptionobjectA subscription configuration for additional CloudWatch metrics.
fn create()
Create a CloudFront MonitoringSubscription
fn get(identifier: string)
Get a CloudFront MonitoringSubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront MonitoringSubscription
fn delete(identifier: string)
Delete a CloudFront MonitoringSubscription
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront MonitoringSubscription
fn sync()
Sync CloudFront MonitoringSubscription state from AWS

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
OriginAccessControlConfigobjectThe origin access control.
fn create()
Create a CloudFront OriginAccessControl
fn get(identifier: string)
Get a CloudFront OriginAccessControl
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginAccessControl
fn update()
Update a CloudFront OriginAccessControl
fn delete(identifier: string)
Delete a CloudFront OriginAccessControl
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginAccessControl
fn sync()
Sync CloudFront OriginAccessControl state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront OriginAccessControl resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
OriginRequestPolicyConfigobjectThe origin request policy configuration.
fn create()
Create a CloudFront OriginRequestPolicy
fn get(identifier: string)
Get a CloudFront OriginRequestPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginRequestPolicy
fn update()
Update a CloudFront OriginRequestPolicy
fn delete(identifier: string)
Delete a CloudFront OriginRequestPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront OriginRequestPolicy
fn sync()
Sync CloudFront OriginRequestPolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront OriginRequestPolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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).
fn create()
Create a CloudFront PublicKey
fn get(identifier: string)
Get a CloudFront PublicKey
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront PublicKey
fn update()
Update a CloudFront PublicKey
fn delete(identifier: string)
Delete a CloudFront PublicKey
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront PublicKey
fn sync()
Sync CloudFront PublicKey state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront PublicKey resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a CloudFront RealtimeLogConfig
fn get(identifier: string)
Get a CloudFront RealtimeLogConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront RealtimeLogConfig
fn update()
Update a CloudFront RealtimeLogConfig
fn delete(identifier: string)
Delete a CloudFront RealtimeLogConfig
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront RealtimeLogConfig
fn sync()
Sync CloudFront RealtimeLogConfig state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront RealtimeLogConfig resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ResponseHeadersPolicyConfigobjectA response headers policy configuration.
fn create()
Create a CloudFront ResponseHeadersPolicy
fn get(identifier: string)
Get a CloudFront ResponseHeadersPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ResponseHeadersPolicy
fn update()
Update a CloudFront ResponseHeadersPolicy
fn delete(identifier: string)
Delete a CloudFront ResponseHeadersPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront ResponseHeadersPolicy
fn sync()
Sync CloudFront ResponseHeadersPolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront ResponseHeadersPolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
NamestringThe trust store's name.
CaCertificatesBundleSource?objectA CA certificates bundle source.
UseClientCertificateOCSPEndpoint?booleanA boolean. When true, performs real-time certificate revocation checks by querying the OCSP endpoint specified within the client certificate.
Tags?arrayA complex type that contains zero or more Tag elements.
fn create()
Create a CloudFront TrustStore
fn get(identifier: string)
Get a CloudFront TrustStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront TrustStore
fn update()
Update a CloudFront TrustStore
fn delete(identifier: string)
Delete a CloudFront TrustStore
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront TrustStore
fn sync()
Sync CloudFront TrustStore state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront TrustStore resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Tags?arrayA complex type that contains zero or more Tag elements.
VpcOriginEndpointConfigobjectThe VPC origin endpoint configuration.
fn create()
Create a CloudFront VpcOrigin
fn get(identifier: string)
Get a CloudFront VpcOrigin
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront VpcOrigin
fn update()
Update a CloudFront VpcOrigin
fn delete(identifier: string)
Delete a CloudFront VpcOrigin
ArgumentTypeDescription
identifierstringThe primary identifier of the CloudFront VpcOrigin
fn sync()
Sync CloudFront VpcOrigin state from AWS
fn list(maxPages?: number, resourceModel?: string)
List CloudFront VpcOrigin resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— CloudFront VpcOrigin resource state
04Previous Versions19
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later
  • Updated: anycast_ip_list, cache_policy, cloud_front_origin_access_identity, connection_function, connection_group, continuous_deployment_policy, distribution, distribution_tenant, field_level_encryption_config, field_level_encryption_profile, function, key_group, key_value_store, monitoring_subscription, origin_access_control, origin_request_policy, public_key, realtime_log_config, response_headers_policy, trust_store, vpc_origin
2026.10.15.1AGPL-3.0-or-later(was none)
  • Added: field_level_encryption_config

Added 1 behaviors

2026.10.13.1
  • Updated: anycast_ip_list, cache_policy, cloud_front_origin_access_identity, connection_function, connection_group, continuous_deployment_policy, distribution, distribution_tenant, field_level_encryption_profile, function, key_group, key_value_store, monitoring_subscription, origin_access_control, origin_request_policy, public_key, realtime_log_config, response_headers_policy, trust_store, vpc_origin
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
  • Added: field_level_encryption_profile

Added 1 behaviors

2026.09.24.1
2026.09.23.1
  • Updated: origin_access_control
2026.09.21.1
05Stats
A
100 / 100
Downloads
1,027
Archive size
4.2 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels