AWS SDK for .NET Documentation
WithAllowedOrigins Method (args)
AmazonAmazon.S3.ModelCORSRuleWithAllowedOrigins(array<String>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets one or more response headers that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public CORSRule WithAllowedOrigins(
	params string[] args
)
Parameters
args (array<String>[]()[][])
AllowedOrigins property
Return Value
this instance
Remarks
Each CORSRule must have at least one AllowedOrigin element. The string value can include at most one '*' wildcard character, for example, http://*.example.com". You can also specify only "*" to allow cross-origin access for all domains/origins.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)