AWS SDK for .NET Documentation
WithRequiredProtocols Method (protocols)
AmazonAmazon.CloudFront_2012_03_15.ModelCloudFrontDistributionConfigWithRequiredProtocols(array<Protocol>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the RequiredProtocols property. Defines the protocols required for your distribution. Use this element to restrict access to your distribution solely to HTTPS requests. Without this element, CloudFront can use any available protocol to serve the request. For a list of possible protocol values, refer Protocol.
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public CloudFrontDistributionConfig WithRequiredProtocols(
	params Protocol[] protocols
protocols (array<Protocol>[]()[][])
RequiredProtocols property is set to this value
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (