DistributionOriginCustomOriginConfig constructor

const DistributionOriginCustomOriginConfig({
  1. required Input<int> httpPort,
  2. required Input<int> httpsPort,
  3. Input<String?>? ipAddressType,
  4. Input<int?>? originKeepaliveTimeout,
  5. Input<DistributionOriginCustomOriginConfigOriginMtlsConfig?>? originMtlsConfig,
  6. required Input<String> originProtocolPolicy,
  7. Input<int?>? originReadTimeout,
  8. required Input<List<String>> originSslProtocols,
})

Creates a new DistributionOriginCustomOriginConfig. httpPort HTTP port the custom origin listens on. httpsPort HTTPS port the custom origin listens on. ipAddressType IP protocol CloudFront uses when connecting to your origin. Valid values: ipv4, ipv6, dualstack. originKeepaliveTimeout Optional. originMtlsConfig The origin mTLS configuration for mutual TLS authentication between CloudFront and your origin. originProtocolPolicy Origin protocol policy to apply to your origin. One of http-only, https-only, or match-viewer. originReadTimeout Optional. originSslProtocols List of SSL/TLS protocols that CloudFront can use when connecting to your origin over HTTPS. Valid values: SSLv3, TLSv1, TLSv1.1, TLSv1.2. For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Implementation

const DistributionOriginCustomOriginConfig({
  required this.httpPort,
  required this.httpsPort,
  this.ipAddressType,
  this.originKeepaliveTimeout,
  this.originMtlsConfig,
  required this.originProtocolPolicy,
  this.originReadTimeout,
  required this.originSslProtocols,
});