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