Header menu logo FsCDK

OriginAccessIdentityConfig Type

High-level CloudFront Origin Access Identity (OAI) builder. **Use Case:** OAI allows CloudFront to access private S3 buckets without making them public. This is a security best practice for serving static content. **Note:** AWS recommends using Origin Access Control (OAC) instead of OAI for new applications. OAI is maintained for backward compatibility. **Escape Hatch:** Access the underlying CDK OriginAccessIdentity via the `Identity` property.

Record fields

Record Field Description

Comment

Full Usage: Comment

Field type: string option
Field type: string option

ConstructId

Full Usage: ConstructId

Field type: string option
Field type: string option

IdentityName

Full Usage: IdentityName

Field type: string
Field type: string

Type something to start searching.