Sets the OriginAccessIdentity property.
| C# |
[ObsoleteAttribute("This property has been obsoleted in favor of the WithS3Origin method.")] public CloudFrontStreamingDistributionConfig WithOriginAccessIdentity( CloudFrontOriginAccessIdentity identity )
- identity (CloudFrontOriginAccessIdentity)
- OriginAccessIdentity property
this instance