def __init__(__self__, *, allow_credentials: Optional[pulumi.Input[bool]]=None, allow_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_origin_regexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, disabled: Optional[pulumi.Input[bool]]=None, expose_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, max_age: Optional[pulumi.Input[int]]=None):
    '\n        The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.\n        :param pulumi.Input[bool] allow_credentials: In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_headers: Specifies the content for the Access-Control-Allow-Headers header.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_methods: Specifies the content for the Access-Control-Allow-Methods header.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origin_regexes: Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origins: Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.\n        :param pulumi.Input[bool] disabled: If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] expose_headers: Specifies the content for the Access-Control-Expose-Headers header.\n        :param pulumi.Input[int] max_age: Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.\n        '
    if (allow_credentials is not None):
        pulumi.set(__self__, 'allow_credentials', allow_credentials)
    if (allow_headers is not None):
        pulumi.set(__self__, 'allow_headers', allow_headers)
    if (allow_methods is not None):
        pulumi.set(__self__, 'allow_methods', allow_methods)
    if (allow_origin_regexes is not None):
        pulumi.set(__self__, 'allow_origin_regexes', allow_origin_regexes)
    if (allow_origins is not None):
        pulumi.set(__self__, 'allow_origins', allow_origins)
    if (disabled is not None):
        pulumi.set(__self__, 'disabled', disabled)
    if (expose_headers is not None):
        pulumi.set(__self__, 'expose_headers', expose_headers)
    if (max_age is not None):
        pulumi.set(__self__, 'max_age', max_age)
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.
:param pulumi.Input[bool] allow_credentials: In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
:param pulumi.Input[Sequence[pulumi.Input[str]]] allow_headers: Specifies the content for the Access-Control-Allow-Headers header.
:param pulumi.Input[Sequence[pulumi.Input[str]]] allow_methods: Specifies the content for the Access-Control-Allow-Methods header.
:param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origin_regexes: Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
:param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origins: Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
:param pulumi.Input[bool] disabled: If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
:param pulumi.Input[Sequence[pulumi.Input[str]]] expose_headers: Specifies the content for the Access-Control-Expose-Headers header.
:param pulumi.Input[int] max_age: Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
def __init__(__self__, *, allow_credentials: Optional[pulumi.Input[bool]]=None, allow_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_origin_regexes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, allow_origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, disabled: Optional[pulumi.Input[bool]]=None, expose_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, max_age: Optional[pulumi.Input[int]]=None):
    '\n        The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.\n        :param pulumi.Input[bool] allow_credentials: In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_headers: Specifies the content for the Access-Control-Allow-Headers header.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_methods: Specifies the content for the Access-Control-Allow-Methods header.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origin_regexes: Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_origins: Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.\n        :param pulumi.Input[bool] disabled: If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] expose_headers: Specifies the content for the Access-Control-Expose-Headers header.\n        :param pulumi.Input[int] max_age: Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.\n        '
    if (allow_credentials is not None):
        pulumi.set(__self__, 'allow_credentials', allow_credentials)
    if (allow_headers is not None):
        pulumi.set(__self__, 'allow_headers', allow_headers)
    if (allow_methods is not None):
        pulumi.set(__self__, 'allow_methods', allow_methods)
    if (allow_origin_regexes is not None):
        pulumi.set(__self__, 'allow_origin_regexes', allow_origin_regexes)
    if (allow_origins is not None):
        pulumi.set(__self__, 'allow_origins', allow_origins)
    if (disabled is not None):
        pulumi.set(__self__, 'disabled', disabled)
    if (expose_headers is not None):
        pulumi.set(__self__, 'expose_headers', expose_headers)
    if (max_age is not None):
        pulumi.set(__self__, 'max_age', max_age)