Esempio n. 1
0
        public CloudFrontStreamingDistributionConfig WithOriginAccessIdentity(CloudFrontOriginAccessIdentity identity)
        {
#pragma warning disable 0618
            OriginAccessIdentity = identity;
#pragma warning restore 0618
            return(this);
        }
 public CloudFrontStreamingDistributionConfig WithOriginAccessIdentity(CloudFrontOriginAccessIdentity identity)
 {
     #pragma warning disable 0618
     OriginAccessIdentity = identity;
     #pragma warning restore 0618
     return this;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the S3Origin class.
 /// </summary>
 /// <param name="dnsName">The DNS name of your Amazon S3 bucket.</param>
 /// <param name="originAccessIdentity">The origin access identity.</param>
 public S3Origin(string dnsName, CloudFrontOriginAccessIdentity originAccessIdentity)
 {
     this.DNSName = dnsName;
     this.OriginAccessIdentity = originAccessIdentity;
 }
Esempio n. 4
0
 public S3Origin WithOriginAccessIdentity(CloudFrontOriginAccessIdentity originAccessIdentity)
 {
     this.OriginAccessIdentity = originAccessIdentity;
     return this;
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the S3Origin class.
 /// </summary>
 /// <param name="dnsName">The DNS name of your Amazon S3 bucket.</param>
 /// <param name="originAccessIdentity">The origin access identity.</param>
 public S3Origin(string dnsName, CloudFrontOriginAccessIdentity originAccessIdentity)
 {
     this.DNSName = dnsName;
     this.OriginAccessIdentity = originAccessIdentity;
 }
Esempio n. 6
0
 public S3Origin WithOriginAccessIdentity(CloudFrontOriginAccessIdentity originAccessIdentity)
 {
     this.OriginAccessIdentity = originAccessIdentity;
     return(this);
 }