data class DistributionLegacyS3OriginArgs(val dnsName: Output<String>, val originAccessIdentity: Output<String>? = null) : ConvertibleToJava<DistributionLegacyS3OriginArgs>
The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront .