pulumi-alicloud 3.69.0a1733375908__py3-none-any.whl → 3.69.0a1733740345__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +56 -0
- pulumi_alicloud/adb/db_cluster.py +7 -0
- pulumi_alicloud/arms/__init__.py +2 -0
- pulumi_alicloud/arms/_inputs.py +42 -4
- pulumi_alicloud/arms/alert_robot.py +421 -0
- pulumi_alicloud/arms/dispatch_rule.py +4 -0
- pulumi_alicloud/arms/get_alert_robots.py +230 -0
- pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
- pulumi_alicloud/arms/outputs.py +154 -13
- pulumi_alicloud/cfg/rule.py +4 -4
- pulumi_alicloud/cs/autoscaling_config.py +51 -0
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +95 -0
- pulumi_alicloud/dataworks/data_source.py +686 -0
- pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
- pulumi_alicloud/dataworks/outputs.py +44 -0
- pulumi_alicloud/dataworks/project.py +294 -140
- pulumi_alicloud/dataworks/project_member.py +380 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +34 -0
- pulumi_alicloud/ecs/disk.py +156 -14
- pulumi_alicloud/ecs/ecs_disk.py +308 -97
- pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
- pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
- pulumi_alicloud/ecs/instance.py +145 -0
- pulumi_alicloud/ecs/key_pair.py +27 -7
- pulumi_alicloud/ecs/outputs.py +37 -0
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +1750 -0
- pulumi_alicloud/oss/bucket_website.py +416 -0
- pulumi_alicloud/oss/outputs.py +1338 -0
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/polardb/get_clusters.py +1 -1
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +63 -30
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/slb/attachment.py +2 -6
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +484 -0
- pulumi_alicloud/sls/oss_export_sink.py +428 -0
- pulumi_alicloud/sls/outputs.py +346 -0
- pulumi_alicloud/vpc/network.py +7 -7
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
pulumi_alicloud/oss/_inputs.py
CHANGED
|
@@ -65,6 +65,40 @@ __all__ = [
|
|
|
65
65
|
'BucketVersioningArgsDict',
|
|
66
66
|
'BucketWebsiteArgs',
|
|
67
67
|
'BucketWebsiteArgsDict',
|
|
68
|
+
'BucketWebsiteErrorDocumentArgs',
|
|
69
|
+
'BucketWebsiteErrorDocumentArgsDict',
|
|
70
|
+
'BucketWebsiteIndexDocumentArgs',
|
|
71
|
+
'BucketWebsiteIndexDocumentArgsDict',
|
|
72
|
+
'BucketWebsiteRoutingRulesArgs',
|
|
73
|
+
'BucketWebsiteRoutingRulesArgsDict',
|
|
74
|
+
'BucketWebsiteRoutingRulesRoutingRuleArgs',
|
|
75
|
+
'BucketWebsiteRoutingRulesRoutingRuleArgsDict',
|
|
76
|
+
'BucketWebsiteRoutingRulesRoutingRuleConditionArgs',
|
|
77
|
+
'BucketWebsiteRoutingRulesRoutingRuleConditionArgsDict',
|
|
78
|
+
'BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs',
|
|
79
|
+
'BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgsDict',
|
|
80
|
+
'BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs',
|
|
81
|
+
'BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgsDict',
|
|
82
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectArgs',
|
|
83
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectArgsDict',
|
|
84
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs',
|
|
85
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgsDict',
|
|
86
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs',
|
|
87
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgsDict',
|
|
88
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs',
|
|
89
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgsDict',
|
|
90
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs',
|
|
91
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgsDict',
|
|
92
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs',
|
|
93
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgsDict',
|
|
94
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs',
|
|
95
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgsDict',
|
|
96
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs',
|
|
97
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgsDict',
|
|
98
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs',
|
|
99
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgsDict',
|
|
100
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs',
|
|
101
|
+
'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgsDict',
|
|
68
102
|
]
|
|
69
103
|
|
|
70
104
|
MYPY = False
|
|
@@ -1819,3 +1853,1719 @@ class BucketWebsiteArgs:
|
|
|
1819
1853
|
pulumi.set(self, "error_document", value)
|
|
1820
1854
|
|
|
1821
1855
|
|
|
1856
|
+
if not MYPY:
|
|
1857
|
+
class BucketWebsiteErrorDocumentArgsDict(TypedDict):
|
|
1858
|
+
http_status: NotRequired[pulumi.Input[int]]
|
|
1859
|
+
"""
|
|
1860
|
+
The HTTP status code when the error page is returned. The default 404.
|
|
1861
|
+
"""
|
|
1862
|
+
key: NotRequired[pulumi.Input[str]]
|
|
1863
|
+
"""
|
|
1864
|
+
The error page file. If the Object accessed does not exist, this error page is returned.
|
|
1865
|
+
"""
|
|
1866
|
+
elif False:
|
|
1867
|
+
BucketWebsiteErrorDocumentArgsDict: TypeAlias = Mapping[str, Any]
|
|
1868
|
+
|
|
1869
|
+
@pulumi.input_type
|
|
1870
|
+
class BucketWebsiteErrorDocumentArgs:
|
|
1871
|
+
def __init__(__self__, *,
|
|
1872
|
+
http_status: Optional[pulumi.Input[int]] = None,
|
|
1873
|
+
key: Optional[pulumi.Input[str]] = None):
|
|
1874
|
+
"""
|
|
1875
|
+
:param pulumi.Input[int] http_status: The HTTP status code when the error page is returned. The default 404.
|
|
1876
|
+
:param pulumi.Input[str] key: The error page file. If the Object accessed does not exist, this error page is returned.
|
|
1877
|
+
"""
|
|
1878
|
+
if http_status is not None:
|
|
1879
|
+
pulumi.set(__self__, "http_status", http_status)
|
|
1880
|
+
if key is not None:
|
|
1881
|
+
pulumi.set(__self__, "key", key)
|
|
1882
|
+
|
|
1883
|
+
@property
|
|
1884
|
+
@pulumi.getter(name="httpStatus")
|
|
1885
|
+
def http_status(self) -> Optional[pulumi.Input[int]]:
|
|
1886
|
+
"""
|
|
1887
|
+
The HTTP status code when the error page is returned. The default 404.
|
|
1888
|
+
"""
|
|
1889
|
+
return pulumi.get(self, "http_status")
|
|
1890
|
+
|
|
1891
|
+
@http_status.setter
|
|
1892
|
+
def http_status(self, value: Optional[pulumi.Input[int]]):
|
|
1893
|
+
pulumi.set(self, "http_status", value)
|
|
1894
|
+
|
|
1895
|
+
@property
|
|
1896
|
+
@pulumi.getter
|
|
1897
|
+
def key(self) -> Optional[pulumi.Input[str]]:
|
|
1898
|
+
"""
|
|
1899
|
+
The error page file. If the Object accessed does not exist, this error page is returned.
|
|
1900
|
+
"""
|
|
1901
|
+
return pulumi.get(self, "key")
|
|
1902
|
+
|
|
1903
|
+
@key.setter
|
|
1904
|
+
def key(self, value: Optional[pulumi.Input[str]]):
|
|
1905
|
+
pulumi.set(self, "key", value)
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
if not MYPY:
|
|
1909
|
+
class BucketWebsiteIndexDocumentArgsDict(TypedDict):
|
|
1910
|
+
suffix: NotRequired[pulumi.Input[str]]
|
|
1911
|
+
"""
|
|
1912
|
+
The default home page.
|
|
1913
|
+
"""
|
|
1914
|
+
support_sub_dir: NotRequired[pulumi.Input[bool]]
|
|
1915
|
+
"""
|
|
1916
|
+
Whether to jump to the default home page of a subdirectory when accessing a subdirectory.
|
|
1917
|
+
"""
|
|
1918
|
+
type: NotRequired[pulumi.Input[str]]
|
|
1919
|
+
"""
|
|
1920
|
+
After the default homepage is set, the behavior when an Object that ends with a non-forward slash (/) is accessed and the Object does not exist.
|
|
1921
|
+
"""
|
|
1922
|
+
elif False:
|
|
1923
|
+
BucketWebsiteIndexDocumentArgsDict: TypeAlias = Mapping[str, Any]
|
|
1924
|
+
|
|
1925
|
+
@pulumi.input_type
|
|
1926
|
+
class BucketWebsiteIndexDocumentArgs:
|
|
1927
|
+
def __init__(__self__, *,
|
|
1928
|
+
suffix: Optional[pulumi.Input[str]] = None,
|
|
1929
|
+
support_sub_dir: Optional[pulumi.Input[bool]] = None,
|
|
1930
|
+
type: Optional[pulumi.Input[str]] = None):
|
|
1931
|
+
"""
|
|
1932
|
+
:param pulumi.Input[str] suffix: The default home page.
|
|
1933
|
+
:param pulumi.Input[bool] support_sub_dir: Whether to jump to the default home page of a subdirectory when accessing a subdirectory.
|
|
1934
|
+
:param pulumi.Input[str] type: After the default homepage is set, the behavior when an Object that ends with a non-forward slash (/) is accessed and the Object does not exist.
|
|
1935
|
+
"""
|
|
1936
|
+
if suffix is not None:
|
|
1937
|
+
pulumi.set(__self__, "suffix", suffix)
|
|
1938
|
+
if support_sub_dir is not None:
|
|
1939
|
+
pulumi.set(__self__, "support_sub_dir", support_sub_dir)
|
|
1940
|
+
if type is not None:
|
|
1941
|
+
pulumi.set(__self__, "type", type)
|
|
1942
|
+
|
|
1943
|
+
@property
|
|
1944
|
+
@pulumi.getter
|
|
1945
|
+
def suffix(self) -> Optional[pulumi.Input[str]]:
|
|
1946
|
+
"""
|
|
1947
|
+
The default home page.
|
|
1948
|
+
"""
|
|
1949
|
+
return pulumi.get(self, "suffix")
|
|
1950
|
+
|
|
1951
|
+
@suffix.setter
|
|
1952
|
+
def suffix(self, value: Optional[pulumi.Input[str]]):
|
|
1953
|
+
pulumi.set(self, "suffix", value)
|
|
1954
|
+
|
|
1955
|
+
@property
|
|
1956
|
+
@pulumi.getter(name="supportSubDir")
|
|
1957
|
+
def support_sub_dir(self) -> Optional[pulumi.Input[bool]]:
|
|
1958
|
+
"""
|
|
1959
|
+
Whether to jump to the default home page of a subdirectory when accessing a subdirectory.
|
|
1960
|
+
"""
|
|
1961
|
+
return pulumi.get(self, "support_sub_dir")
|
|
1962
|
+
|
|
1963
|
+
@support_sub_dir.setter
|
|
1964
|
+
def support_sub_dir(self, value: Optional[pulumi.Input[bool]]):
|
|
1965
|
+
pulumi.set(self, "support_sub_dir", value)
|
|
1966
|
+
|
|
1967
|
+
@property
|
|
1968
|
+
@pulumi.getter
|
|
1969
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1970
|
+
"""
|
|
1971
|
+
After the default homepage is set, the behavior when an Object that ends with a non-forward slash (/) is accessed and the Object does not exist.
|
|
1972
|
+
"""
|
|
1973
|
+
return pulumi.get(self, "type")
|
|
1974
|
+
|
|
1975
|
+
@type.setter
|
|
1976
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1977
|
+
pulumi.set(self, "type", value)
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
if not MYPY:
|
|
1981
|
+
class BucketWebsiteRoutingRulesArgsDict(TypedDict):
|
|
1982
|
+
routing_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleArgsDict']]]]
|
|
1983
|
+
"""
|
|
1984
|
+
Specify a jump rule or a mirroring back-to-origin rule, with a maximum of 20 routing rules. See `routing_rule` below.
|
|
1985
|
+
"""
|
|
1986
|
+
elif False:
|
|
1987
|
+
BucketWebsiteRoutingRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
1988
|
+
|
|
1989
|
+
@pulumi.input_type
|
|
1990
|
+
class BucketWebsiteRoutingRulesArgs:
|
|
1991
|
+
def __init__(__self__, *,
|
|
1992
|
+
routing_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleArgs']]]] = None):
|
|
1993
|
+
"""
|
|
1994
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleArgs']]] routing_rules: Specify a jump rule or a mirroring back-to-origin rule, with a maximum of 20 routing rules. See `routing_rule` below.
|
|
1995
|
+
"""
|
|
1996
|
+
if routing_rules is not None:
|
|
1997
|
+
pulumi.set(__self__, "routing_rules", routing_rules)
|
|
1998
|
+
|
|
1999
|
+
@property
|
|
2000
|
+
@pulumi.getter(name="routingRules")
|
|
2001
|
+
def routing_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleArgs']]]]:
|
|
2002
|
+
"""
|
|
2003
|
+
Specify a jump rule or a mirroring back-to-origin rule, with a maximum of 20 routing rules. See `routing_rule` below.
|
|
2004
|
+
"""
|
|
2005
|
+
return pulumi.get(self, "routing_rules")
|
|
2006
|
+
|
|
2007
|
+
@routing_rules.setter
|
|
2008
|
+
def routing_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleArgs']]]]):
|
|
2009
|
+
pulumi.set(self, "routing_rules", value)
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
if not MYPY:
|
|
2013
|
+
class BucketWebsiteRoutingRulesRoutingRuleArgsDict(TypedDict):
|
|
2014
|
+
condition: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionArgsDict']]
|
|
2015
|
+
"""
|
|
2016
|
+
Save the criteria that the rule needs to match. See `condition` below.
|
|
2017
|
+
"""
|
|
2018
|
+
lua_config: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgsDict']]
|
|
2019
|
+
"""
|
|
2020
|
+
The Lua script configuration to be executed. See `lua_config` below.
|
|
2021
|
+
"""
|
|
2022
|
+
redirect: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectArgsDict']]
|
|
2023
|
+
"""
|
|
2024
|
+
Specifies the action to perform after this rule is matched. See `redirect` below.
|
|
2025
|
+
"""
|
|
2026
|
+
rule_number: NotRequired[pulumi.Input[int]]
|
|
2027
|
+
"""
|
|
2028
|
+
The sequence number of the matching and executing jump rules. OSS matches rules according to this sequence number. If the match is successful, the rule is executed and subsequent rules are not executed.
|
|
2029
|
+
"""
|
|
2030
|
+
elif False:
|
|
2031
|
+
BucketWebsiteRoutingRulesRoutingRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
2032
|
+
|
|
2033
|
+
@pulumi.input_type
|
|
2034
|
+
class BucketWebsiteRoutingRulesRoutingRuleArgs:
|
|
2035
|
+
def __init__(__self__, *,
|
|
2036
|
+
condition: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionArgs']] = None,
|
|
2037
|
+
lua_config: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs']] = None,
|
|
2038
|
+
redirect: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectArgs']] = None,
|
|
2039
|
+
rule_number: Optional[pulumi.Input[int]] = None):
|
|
2040
|
+
"""
|
|
2041
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionArgs'] condition: Save the criteria that the rule needs to match. See `condition` below.
|
|
2042
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs'] lua_config: The Lua script configuration to be executed. See `lua_config` below.
|
|
2043
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectArgs'] redirect: Specifies the action to perform after this rule is matched. See `redirect` below.
|
|
2044
|
+
:param pulumi.Input[int] rule_number: The sequence number of the matching and executing jump rules. OSS matches rules according to this sequence number. If the match is successful, the rule is executed and subsequent rules are not executed.
|
|
2045
|
+
"""
|
|
2046
|
+
if condition is not None:
|
|
2047
|
+
pulumi.set(__self__, "condition", condition)
|
|
2048
|
+
if lua_config is not None:
|
|
2049
|
+
pulumi.set(__self__, "lua_config", lua_config)
|
|
2050
|
+
if redirect is not None:
|
|
2051
|
+
pulumi.set(__self__, "redirect", redirect)
|
|
2052
|
+
if rule_number is not None:
|
|
2053
|
+
pulumi.set(__self__, "rule_number", rule_number)
|
|
2054
|
+
|
|
2055
|
+
@property
|
|
2056
|
+
@pulumi.getter
|
|
2057
|
+
def condition(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionArgs']]:
|
|
2058
|
+
"""
|
|
2059
|
+
Save the criteria that the rule needs to match. See `condition` below.
|
|
2060
|
+
"""
|
|
2061
|
+
return pulumi.get(self, "condition")
|
|
2062
|
+
|
|
2063
|
+
@condition.setter
|
|
2064
|
+
def condition(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionArgs']]):
|
|
2065
|
+
pulumi.set(self, "condition", value)
|
|
2066
|
+
|
|
2067
|
+
@property
|
|
2068
|
+
@pulumi.getter(name="luaConfig")
|
|
2069
|
+
def lua_config(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs']]:
|
|
2070
|
+
"""
|
|
2071
|
+
The Lua script configuration to be executed. See `lua_config` below.
|
|
2072
|
+
"""
|
|
2073
|
+
return pulumi.get(self, "lua_config")
|
|
2074
|
+
|
|
2075
|
+
@lua_config.setter
|
|
2076
|
+
def lua_config(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs']]):
|
|
2077
|
+
pulumi.set(self, "lua_config", value)
|
|
2078
|
+
|
|
2079
|
+
@property
|
|
2080
|
+
@pulumi.getter
|
|
2081
|
+
def redirect(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectArgs']]:
|
|
2082
|
+
"""
|
|
2083
|
+
Specifies the action to perform after this rule is matched. See `redirect` below.
|
|
2084
|
+
"""
|
|
2085
|
+
return pulumi.get(self, "redirect")
|
|
2086
|
+
|
|
2087
|
+
@redirect.setter
|
|
2088
|
+
def redirect(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectArgs']]):
|
|
2089
|
+
pulumi.set(self, "redirect", value)
|
|
2090
|
+
|
|
2091
|
+
@property
|
|
2092
|
+
@pulumi.getter(name="ruleNumber")
|
|
2093
|
+
def rule_number(self) -> Optional[pulumi.Input[int]]:
|
|
2094
|
+
"""
|
|
2095
|
+
The sequence number of the matching and executing jump rules. OSS matches rules according to this sequence number. If the match is successful, the rule is executed and subsequent rules are not executed.
|
|
2096
|
+
"""
|
|
2097
|
+
return pulumi.get(self, "rule_number")
|
|
2098
|
+
|
|
2099
|
+
@rule_number.setter
|
|
2100
|
+
def rule_number(self, value: Optional[pulumi.Input[int]]):
|
|
2101
|
+
pulumi.set(self, "rule_number", value)
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
if not MYPY:
|
|
2105
|
+
class BucketWebsiteRoutingRulesRoutingRuleConditionArgsDict(TypedDict):
|
|
2106
|
+
http_error_code_returned_equals: NotRequired[pulumi.Input[str]]
|
|
2107
|
+
"""
|
|
2108
|
+
When the specified Object is accessed, this status is returned to match this rule. This field must be 404 when the jump rule is mirrored back to the source.
|
|
2109
|
+
"""
|
|
2110
|
+
include_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgsDict']]]]
|
|
2111
|
+
"""
|
|
2112
|
+
This rule can only be matched if the request contains the specified Header and the value is the specified value. You can specify up to 10 containers. See `include_headers` below.
|
|
2113
|
+
"""
|
|
2114
|
+
key_prefix_equals: NotRequired[pulumi.Input[str]]
|
|
2115
|
+
"""
|
|
2116
|
+
Only objects that match this prefix can match this rule.
|
|
2117
|
+
"""
|
|
2118
|
+
key_suffix_equals: NotRequired[pulumi.Input[str]]
|
|
2119
|
+
"""
|
|
2120
|
+
Only objects that match this suffix can match this rule.
|
|
2121
|
+
"""
|
|
2122
|
+
elif False:
|
|
2123
|
+
BucketWebsiteRoutingRulesRoutingRuleConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
2124
|
+
|
|
2125
|
+
@pulumi.input_type
|
|
2126
|
+
class BucketWebsiteRoutingRulesRoutingRuleConditionArgs:
|
|
2127
|
+
def __init__(__self__, *,
|
|
2128
|
+
http_error_code_returned_equals: Optional[pulumi.Input[str]] = None,
|
|
2129
|
+
include_headers: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs']]]] = None,
|
|
2130
|
+
key_prefix_equals: Optional[pulumi.Input[str]] = None,
|
|
2131
|
+
key_suffix_equals: Optional[pulumi.Input[str]] = None):
|
|
2132
|
+
"""
|
|
2133
|
+
:param pulumi.Input[str] http_error_code_returned_equals: When the specified Object is accessed, this status is returned to match this rule. This field must be 404 when the jump rule is mirrored back to the source.
|
|
2134
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs']]] include_headers: This rule can only be matched if the request contains the specified Header and the value is the specified value. You can specify up to 10 containers. See `include_headers` below.
|
|
2135
|
+
:param pulumi.Input[str] key_prefix_equals: Only objects that match this prefix can match this rule.
|
|
2136
|
+
:param pulumi.Input[str] key_suffix_equals: Only objects that match this suffix can match this rule.
|
|
2137
|
+
"""
|
|
2138
|
+
if http_error_code_returned_equals is not None:
|
|
2139
|
+
pulumi.set(__self__, "http_error_code_returned_equals", http_error_code_returned_equals)
|
|
2140
|
+
if include_headers is not None:
|
|
2141
|
+
pulumi.set(__self__, "include_headers", include_headers)
|
|
2142
|
+
if key_prefix_equals is not None:
|
|
2143
|
+
pulumi.set(__self__, "key_prefix_equals", key_prefix_equals)
|
|
2144
|
+
if key_suffix_equals is not None:
|
|
2145
|
+
pulumi.set(__self__, "key_suffix_equals", key_suffix_equals)
|
|
2146
|
+
|
|
2147
|
+
@property
|
|
2148
|
+
@pulumi.getter(name="httpErrorCodeReturnedEquals")
|
|
2149
|
+
def http_error_code_returned_equals(self) -> Optional[pulumi.Input[str]]:
|
|
2150
|
+
"""
|
|
2151
|
+
When the specified Object is accessed, this status is returned to match this rule. This field must be 404 when the jump rule is mirrored back to the source.
|
|
2152
|
+
"""
|
|
2153
|
+
return pulumi.get(self, "http_error_code_returned_equals")
|
|
2154
|
+
|
|
2155
|
+
@http_error_code_returned_equals.setter
|
|
2156
|
+
def http_error_code_returned_equals(self, value: Optional[pulumi.Input[str]]):
|
|
2157
|
+
pulumi.set(self, "http_error_code_returned_equals", value)
|
|
2158
|
+
|
|
2159
|
+
@property
|
|
2160
|
+
@pulumi.getter(name="includeHeaders")
|
|
2161
|
+
def include_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs']]]]:
|
|
2162
|
+
"""
|
|
2163
|
+
This rule can only be matched if the request contains the specified Header and the value is the specified value. You can specify up to 10 containers. See `include_headers` below.
|
|
2164
|
+
"""
|
|
2165
|
+
return pulumi.get(self, "include_headers")
|
|
2166
|
+
|
|
2167
|
+
@include_headers.setter
|
|
2168
|
+
def include_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs']]]]):
|
|
2169
|
+
pulumi.set(self, "include_headers", value)
|
|
2170
|
+
|
|
2171
|
+
@property
|
|
2172
|
+
@pulumi.getter(name="keyPrefixEquals")
|
|
2173
|
+
def key_prefix_equals(self) -> Optional[pulumi.Input[str]]:
|
|
2174
|
+
"""
|
|
2175
|
+
Only objects that match this prefix can match this rule.
|
|
2176
|
+
"""
|
|
2177
|
+
return pulumi.get(self, "key_prefix_equals")
|
|
2178
|
+
|
|
2179
|
+
@key_prefix_equals.setter
|
|
2180
|
+
def key_prefix_equals(self, value: Optional[pulumi.Input[str]]):
|
|
2181
|
+
pulumi.set(self, "key_prefix_equals", value)
|
|
2182
|
+
|
|
2183
|
+
@property
|
|
2184
|
+
@pulumi.getter(name="keySuffixEquals")
|
|
2185
|
+
def key_suffix_equals(self) -> Optional[pulumi.Input[str]]:
|
|
2186
|
+
"""
|
|
2187
|
+
Only objects that match this suffix can match this rule.
|
|
2188
|
+
"""
|
|
2189
|
+
return pulumi.get(self, "key_suffix_equals")
|
|
2190
|
+
|
|
2191
|
+
@key_suffix_equals.setter
|
|
2192
|
+
def key_suffix_equals(self, value: Optional[pulumi.Input[str]]):
|
|
2193
|
+
pulumi.set(self, "key_suffix_equals", value)
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
if not MYPY:
|
|
2197
|
+
class BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgsDict(TypedDict):
|
|
2198
|
+
ends_with: NotRequired[pulumi.Input[str]]
|
|
2199
|
+
"""
|
|
2200
|
+
This rule can only be matched if the request contains the Header specified by Key and the value ends with this value.
|
|
2201
|
+
"""
|
|
2202
|
+
equals: NotRequired[pulumi.Input[str]]
|
|
2203
|
+
"""
|
|
2204
|
+
This rule can only be matched if the request contains the Header specified by Key and the value is the specified value.
|
|
2205
|
+
"""
|
|
2206
|
+
key: NotRequired[pulumi.Input[str]]
|
|
2207
|
+
starts_with: NotRequired[pulumi.Input[str]]
|
|
2208
|
+
"""
|
|
2209
|
+
This rule can only be matched if the request contains the Header specified by Key and the value starts with this value.
|
|
2210
|
+
"""
|
|
2211
|
+
elif False:
|
|
2212
|
+
BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
|
2213
|
+
|
|
2214
|
+
@pulumi.input_type
|
|
2215
|
+
class BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs:
|
|
2216
|
+
def __init__(__self__, *,
|
|
2217
|
+
ends_with: Optional[pulumi.Input[str]] = None,
|
|
2218
|
+
equals: Optional[pulumi.Input[str]] = None,
|
|
2219
|
+
key: Optional[pulumi.Input[str]] = None,
|
|
2220
|
+
starts_with: Optional[pulumi.Input[str]] = None):
|
|
2221
|
+
"""
|
|
2222
|
+
:param pulumi.Input[str] ends_with: This rule can only be matched if the request contains the Header specified by Key and the value ends with this value.
|
|
2223
|
+
:param pulumi.Input[str] equals: This rule can only be matched if the request contains the Header specified by Key and the value is the specified value.
|
|
2224
|
+
:param pulumi.Input[str] starts_with: This rule can only be matched if the request contains the Header specified by Key and the value starts with this value.
|
|
2225
|
+
"""
|
|
2226
|
+
if ends_with is not None:
|
|
2227
|
+
pulumi.set(__self__, "ends_with", ends_with)
|
|
2228
|
+
if equals is not None:
|
|
2229
|
+
pulumi.set(__self__, "equals", equals)
|
|
2230
|
+
if key is not None:
|
|
2231
|
+
pulumi.set(__self__, "key", key)
|
|
2232
|
+
if starts_with is not None:
|
|
2233
|
+
pulumi.set(__self__, "starts_with", starts_with)
|
|
2234
|
+
|
|
2235
|
+
@property
|
|
2236
|
+
@pulumi.getter(name="endsWith")
|
|
2237
|
+
def ends_with(self) -> Optional[pulumi.Input[str]]:
|
|
2238
|
+
"""
|
|
2239
|
+
This rule can only be matched if the request contains the Header specified by Key and the value ends with this value.
|
|
2240
|
+
"""
|
|
2241
|
+
return pulumi.get(self, "ends_with")
|
|
2242
|
+
|
|
2243
|
+
@ends_with.setter
|
|
2244
|
+
def ends_with(self, value: Optional[pulumi.Input[str]]):
|
|
2245
|
+
pulumi.set(self, "ends_with", value)
|
|
2246
|
+
|
|
2247
|
+
@property
|
|
2248
|
+
@pulumi.getter
|
|
2249
|
+
def equals(self) -> Optional[pulumi.Input[str]]:
|
|
2250
|
+
"""
|
|
2251
|
+
This rule can only be matched if the request contains the Header specified by Key and the value is the specified value.
|
|
2252
|
+
"""
|
|
2253
|
+
return pulumi.get(self, "equals")
|
|
2254
|
+
|
|
2255
|
+
@equals.setter
|
|
2256
|
+
def equals(self, value: Optional[pulumi.Input[str]]):
|
|
2257
|
+
pulumi.set(self, "equals", value)
|
|
2258
|
+
|
|
2259
|
+
@property
|
|
2260
|
+
@pulumi.getter
|
|
2261
|
+
def key(self) -> Optional[pulumi.Input[str]]:
|
|
2262
|
+
return pulumi.get(self, "key")
|
|
2263
|
+
|
|
2264
|
+
@key.setter
|
|
2265
|
+
def key(self, value: Optional[pulumi.Input[str]]):
|
|
2266
|
+
pulumi.set(self, "key", value)
|
|
2267
|
+
|
|
2268
|
+
@property
|
|
2269
|
+
@pulumi.getter(name="startsWith")
|
|
2270
|
+
def starts_with(self) -> Optional[pulumi.Input[str]]:
|
|
2271
|
+
"""
|
|
2272
|
+
This rule can only be matched if the request contains the Header specified by Key and the value starts with this value.
|
|
2273
|
+
"""
|
|
2274
|
+
return pulumi.get(self, "starts_with")
|
|
2275
|
+
|
|
2276
|
+
@starts_with.setter
|
|
2277
|
+
def starts_with(self, value: Optional[pulumi.Input[str]]):
|
|
2278
|
+
pulumi.set(self, "starts_with", value)
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
if not MYPY:
|
|
2282
|
+
class BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgsDict(TypedDict):
|
|
2283
|
+
script: NotRequired[pulumi.Input[str]]
|
|
2284
|
+
"""
|
|
2285
|
+
The Lua script name.
|
|
2286
|
+
"""
|
|
2287
|
+
elif False:
|
|
2288
|
+
BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
2289
|
+
|
|
2290
|
+
@pulumi.input_type
|
|
2291
|
+
class BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs:
|
|
2292
|
+
def __init__(__self__, *,
|
|
2293
|
+
script: Optional[pulumi.Input[str]] = None):
|
|
2294
|
+
"""
|
|
2295
|
+
:param pulumi.Input[str] script: The Lua script name.
|
|
2296
|
+
"""
|
|
2297
|
+
if script is not None:
|
|
2298
|
+
pulumi.set(__self__, "script", script)
|
|
2299
|
+
|
|
2300
|
+
@property
|
|
2301
|
+
@pulumi.getter
|
|
2302
|
+
def script(self) -> Optional[pulumi.Input[str]]:
|
|
2303
|
+
"""
|
|
2304
|
+
The Lua script name.
|
|
2305
|
+
"""
|
|
2306
|
+
return pulumi.get(self, "script")
|
|
2307
|
+
|
|
2308
|
+
@script.setter
|
|
2309
|
+
def script(self, value: Optional[pulumi.Input[str]]):
|
|
2310
|
+
pulumi.set(self, "script", value)
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
if not MYPY:
|
|
2314
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectArgsDict(TypedDict):
|
|
2315
|
+
enable_replace_prefix: NotRequired[pulumi.Input[bool]]
|
|
2316
|
+
"""
|
|
2317
|
+
If this field is set to true, the prefix of Object is replaced with the value specified by ReplaceKeyPrefixWith. If this field is not specified or is blank, the Object prefix is truncated.
|
|
2318
|
+
"""
|
|
2319
|
+
host_name: NotRequired[pulumi.Input[str]]
|
|
2320
|
+
"""
|
|
2321
|
+
The domain name during the jump. The domain name must comply with the domain name specification.
|
|
2322
|
+
"""
|
|
2323
|
+
http_redirect_code: NotRequired[pulumi.Input[str]]
|
|
2324
|
+
"""
|
|
2325
|
+
The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
2326
|
+
"""
|
|
2327
|
+
mirror_allow_get_image_info: NotRequired[pulumi.Input[bool]]
|
|
2328
|
+
"""
|
|
2329
|
+
Image back-to-source allows getting Image information
|
|
2330
|
+
"""
|
|
2331
|
+
mirror_allow_head_object: NotRequired[pulumi.Input[bool]]
|
|
2332
|
+
"""
|
|
2333
|
+
Whether to allow HeadObject in image back-to-source
|
|
2334
|
+
"""
|
|
2335
|
+
mirror_allow_video_snapshot: NotRequired[pulumi.Input[bool]]
|
|
2336
|
+
"""
|
|
2337
|
+
Mirror back-to-source allows support for video frame truncation
|
|
2338
|
+
"""
|
|
2339
|
+
mirror_async_status: NotRequired[pulumi.Input[int]]
|
|
2340
|
+
"""
|
|
2341
|
+
The status code of the mirror back-to-source trigger asynchronous pull mode.
|
|
2342
|
+
"""
|
|
2343
|
+
mirror_auth: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgsDict']]
|
|
2344
|
+
"""
|
|
2345
|
+
Image back Source station authentication information See `mirror_auth` below.
|
|
2346
|
+
"""
|
|
2347
|
+
mirror_check_md5: NotRequired[pulumi.Input[bool]]
|
|
2348
|
+
"""
|
|
2349
|
+
Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
|
|
2350
|
+
"""
|
|
2351
|
+
mirror_dst_region: NotRequired[pulumi.Input[str]]
|
|
2352
|
+
"""
|
|
2353
|
+
Mirrored back-to-source high-speed Channel vpregion
|
|
2354
|
+
"""
|
|
2355
|
+
mirror_dst_slave_vpc_id: NotRequired[pulumi.Input[str]]
|
|
2356
|
+
"""
|
|
2357
|
+
Mirroring back-to-source high-speed Channel standby station VpcId
|
|
2358
|
+
"""
|
|
2359
|
+
mirror_dst_vpc_id: NotRequired[pulumi.Input[str]]
|
|
2360
|
+
"""
|
|
2361
|
+
Mirror back-to-source high-speed Channel VpcId
|
|
2362
|
+
"""
|
|
2363
|
+
mirror_follow_redirect: NotRequired[pulumi.Input[bool]]
|
|
2364
|
+
"""
|
|
2365
|
+
If the result of the image back-to-source acquisition is 3xx, whether to continue to jump to the specified Location to obtain data. It takes effect only when the RedirectType is set to Mirror.
|
|
2366
|
+
"""
|
|
2367
|
+
mirror_headers: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgsDict']]
|
|
2368
|
+
"""
|
|
2369
|
+
Specifies the Header carried when the image returns to the source. It takes effect only when the RedirectType is set to Mirror. See `mirror_headers` below.
|
|
2370
|
+
"""
|
|
2371
|
+
mirror_is_express_tunnel: NotRequired[pulumi.Input[bool]]
|
|
2372
|
+
"""
|
|
2373
|
+
Whether it is a mirror back-to-source high-speed Channel
|
|
2374
|
+
"""
|
|
2375
|
+
mirror_multi_alternates: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgsDict']]
|
|
2376
|
+
"""
|
|
2377
|
+
Mirror back-to-source multi-source station configuration container. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_multi_alternates` below.
|
|
2378
|
+
"""
|
|
2379
|
+
mirror_pass_original_slashes: NotRequired[pulumi.Input[bool]]
|
|
2380
|
+
"""
|
|
2381
|
+
Transparent transmission/to source Station
|
|
2382
|
+
"""
|
|
2383
|
+
mirror_pass_query_string: NotRequired[pulumi.Input[bool]]
|
|
2384
|
+
"""
|
|
2385
|
+
Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
|
|
2386
|
+
"""
|
|
2387
|
+
mirror_proxy_pass: NotRequired[pulumi.Input[bool]]
|
|
2388
|
+
"""
|
|
2389
|
+
Whether mirroring back to source does not save data
|
|
2390
|
+
"""
|
|
2391
|
+
mirror_return_headers: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgsDict']]
|
|
2392
|
+
"""
|
|
2393
|
+
The container that saves the image back to the source and returns the response header rule. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_return_headers` below.
|
|
2394
|
+
"""
|
|
2395
|
+
mirror_role: NotRequired[pulumi.Input[str]]
|
|
2396
|
+
"""
|
|
2397
|
+
Roles used when mirroring back-to-source
|
|
2398
|
+
"""
|
|
2399
|
+
mirror_save_oss_meta: NotRequired[pulumi.Input[bool]]
|
|
2400
|
+
"""
|
|
2401
|
+
Mirror back-to-source back-to-source OSS automatically saves user metadata
|
|
2402
|
+
"""
|
|
2403
|
+
mirror_sni: NotRequired[pulumi.Input[bool]]
|
|
2404
|
+
"""
|
|
2405
|
+
Transparent transmission of SNI
|
|
2406
|
+
"""
|
|
2407
|
+
mirror_switch_all_errors: NotRequired[pulumi.Input[bool]]
|
|
2408
|
+
"""
|
|
2409
|
+
It is used to judge the status of active-standby switching. The judgment logic of active-standby switching is that the source station returns an error. If MirrorSwitchAllErrors is true, it is considered a failure except the following status code: 200,206,301,302,303,307,404; If false, only the source Station Returns 5xx or times out is considered a failure.
|
|
2410
|
+
"""
|
|
2411
|
+
mirror_taggings: NotRequired[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgsDict']]
|
|
2412
|
+
"""
|
|
2413
|
+
Save the label according to the parameters when saving the file from the mirror back to the source. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_taggings` below.
|
|
2414
|
+
"""
|
|
2415
|
+
mirror_tunnel_id: NotRequired[pulumi.Input[str]]
|
|
2416
|
+
"""
|
|
2417
|
+
Mirror back-to-source leased line back-to-source tunnel ID
|
|
2418
|
+
"""
|
|
2419
|
+
mirror_url: NotRequired[pulumi.Input[str]]
|
|
2420
|
+
"""
|
|
2421
|
+
The address of the origin of the image. It takes effect only when the RedirectType is set to Mirror. The origin address must start with http:// or https:// and end with a forward slash (/). OSS takes the Object name after the Origin address to form the origin URL.
|
|
2422
|
+
"""
|
|
2423
|
+
mirror_url_probe: NotRequired[pulumi.Input[str]]
|
|
2424
|
+
"""
|
|
2425
|
+
Mirror back-to-source Master-backup back-to-source switching decision URL
|
|
2426
|
+
"""
|
|
2427
|
+
mirror_url_slave: NotRequired[pulumi.Input[str]]
|
|
2428
|
+
"""
|
|
2429
|
+
Mirror back-to-source primary backup back-to-source backup station URL
|
|
2430
|
+
"""
|
|
2431
|
+
mirror_user_last_modified: NotRequired[pulumi.Input[bool]]
|
|
2432
|
+
"""
|
|
2433
|
+
Whether the source station LastModifiedTime is used for the image back-to-source save file.
|
|
2434
|
+
"""
|
|
2435
|
+
mirror_using_role: NotRequired[pulumi.Input[bool]]
|
|
2436
|
+
"""
|
|
2437
|
+
Whether to use role for mirroring back to source
|
|
2438
|
+
"""
|
|
2439
|
+
pass_query_string: NotRequired[pulumi.Input[bool]]
|
|
2440
|
+
"""
|
|
2441
|
+
Whether to carry the request parameters when executing the jump or mirror back-to-source rule. Did the user carry the request parameters when requesting OSS? a = B & c = d, and set PassQueryString to true. If the rule is a 302 jump, this request parameter is added to the Location header of the jump. For example Location:example.com? a = B & c = d, and the jump type is mirrored back-to-origin, this request parameter is also carried in the back-to-origin request initiated. Values: true, false (default)
|
|
2442
|
+
"""
|
|
2443
|
+
protocol: NotRequired[pulumi.Input[str]]
|
|
2444
|
+
"""
|
|
2445
|
+
The protocol at the time of the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
2446
|
+
"""
|
|
2447
|
+
redirect_type: NotRequired[pulumi.Input[str]]
|
|
2448
|
+
"""
|
|
2449
|
+
Specifies the type of jump. The value range is as follows: Mirror: Mirror back to the source. External: External redirects, that is, OSS returns a 3xx request to redirect to another address. AliCDN: Alibaba Cloud CDN jump, mainly used for Alibaba Cloud CDN. Unlike External, OSS adds an additional Header. After recognizing this Header, Alibaba Cloud CDN redirects the data to the specified address and returns the obtained data to the user instead of returning the 3xx Redirection request to the user.
|
|
2450
|
+
"""
|
|
2451
|
+
replace_key_prefix_with: NotRequired[pulumi.Input[str]]
|
|
2452
|
+
"""
|
|
2453
|
+
The prefix of the Object name will be replaced with this value during Redirect. If the prefix is empty, this string is inserted in front of the Object name.
|
|
2454
|
+
"""
|
|
2455
|
+
replace_key_with: NotRequired[pulumi.Input[str]]
|
|
2456
|
+
"""
|
|
2457
|
+
During redirection, the Object name is replaced with the value specified by ReplaceKeyWith. You can set variables in ReplaceKeyWith. Currently, the supported variable is ${key}, which indicates the name of the Object in the request.
|
|
2458
|
+
"""
|
|
2459
|
+
transparent_mirror_response_codes: NotRequired[pulumi.Input[str]]
|
|
2460
|
+
"""
|
|
2461
|
+
Mirror back-to-source transparent source station response code list
|
|
2462
|
+
"""
|
|
2463
|
+
elif False:
|
|
2464
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectArgsDict: TypeAlias = Mapping[str, Any]
|
|
2465
|
+
|
|
2466
|
+
@pulumi.input_type
|
|
2467
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectArgs:
|
|
2468
|
+
def __init__(__self__, *,
|
|
2469
|
+
enable_replace_prefix: Optional[pulumi.Input[bool]] = None,
|
|
2470
|
+
host_name: Optional[pulumi.Input[str]] = None,
|
|
2471
|
+
http_redirect_code: Optional[pulumi.Input[str]] = None,
|
|
2472
|
+
mirror_allow_get_image_info: Optional[pulumi.Input[bool]] = None,
|
|
2473
|
+
mirror_allow_head_object: Optional[pulumi.Input[bool]] = None,
|
|
2474
|
+
mirror_allow_video_snapshot: Optional[pulumi.Input[bool]] = None,
|
|
2475
|
+
mirror_async_status: Optional[pulumi.Input[int]] = None,
|
|
2476
|
+
mirror_auth: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs']] = None,
|
|
2477
|
+
mirror_check_md5: Optional[pulumi.Input[bool]] = None,
|
|
2478
|
+
mirror_dst_region: Optional[pulumi.Input[str]] = None,
|
|
2479
|
+
mirror_dst_slave_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
2480
|
+
mirror_dst_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
2481
|
+
mirror_follow_redirect: Optional[pulumi.Input[bool]] = None,
|
|
2482
|
+
mirror_headers: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs']] = None,
|
|
2483
|
+
mirror_is_express_tunnel: Optional[pulumi.Input[bool]] = None,
|
|
2484
|
+
mirror_multi_alternates: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs']] = None,
|
|
2485
|
+
mirror_pass_original_slashes: Optional[pulumi.Input[bool]] = None,
|
|
2486
|
+
mirror_pass_query_string: Optional[pulumi.Input[bool]] = None,
|
|
2487
|
+
mirror_proxy_pass: Optional[pulumi.Input[bool]] = None,
|
|
2488
|
+
mirror_return_headers: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs']] = None,
|
|
2489
|
+
mirror_role: Optional[pulumi.Input[str]] = None,
|
|
2490
|
+
mirror_save_oss_meta: Optional[pulumi.Input[bool]] = None,
|
|
2491
|
+
mirror_sni: Optional[pulumi.Input[bool]] = None,
|
|
2492
|
+
mirror_switch_all_errors: Optional[pulumi.Input[bool]] = None,
|
|
2493
|
+
mirror_taggings: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs']] = None,
|
|
2494
|
+
mirror_tunnel_id: Optional[pulumi.Input[str]] = None,
|
|
2495
|
+
mirror_url: Optional[pulumi.Input[str]] = None,
|
|
2496
|
+
mirror_url_probe: Optional[pulumi.Input[str]] = None,
|
|
2497
|
+
mirror_url_slave: Optional[pulumi.Input[str]] = None,
|
|
2498
|
+
mirror_user_last_modified: Optional[pulumi.Input[bool]] = None,
|
|
2499
|
+
mirror_using_role: Optional[pulumi.Input[bool]] = None,
|
|
2500
|
+
pass_query_string: Optional[pulumi.Input[bool]] = None,
|
|
2501
|
+
protocol: Optional[pulumi.Input[str]] = None,
|
|
2502
|
+
redirect_type: Optional[pulumi.Input[str]] = None,
|
|
2503
|
+
replace_key_prefix_with: Optional[pulumi.Input[str]] = None,
|
|
2504
|
+
replace_key_with: Optional[pulumi.Input[str]] = None,
|
|
2505
|
+
transparent_mirror_response_codes: Optional[pulumi.Input[str]] = None):
|
|
2506
|
+
"""
|
|
2507
|
+
:param pulumi.Input[bool] enable_replace_prefix: If this field is set to true, the prefix of Object is replaced with the value specified by ReplaceKeyPrefixWith. If this field is not specified or is blank, the Object prefix is truncated.
|
|
2508
|
+
:param pulumi.Input[str] host_name: The domain name during the jump. The domain name must comply with the domain name specification.
|
|
2509
|
+
:param pulumi.Input[str] http_redirect_code: The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
2510
|
+
:param pulumi.Input[bool] mirror_allow_get_image_info: Image back-to-source allows getting Image information
|
|
2511
|
+
:param pulumi.Input[bool] mirror_allow_head_object: Whether to allow HeadObject in image back-to-source
|
|
2512
|
+
:param pulumi.Input[bool] mirror_allow_video_snapshot: Mirror back-to-source allows support for video frame truncation
|
|
2513
|
+
:param pulumi.Input[int] mirror_async_status: The status code of the mirror back-to-source trigger asynchronous pull mode.
|
|
2514
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs'] mirror_auth: Image back Source station authentication information See `mirror_auth` below.
|
|
2515
|
+
:param pulumi.Input[bool] mirror_check_md5: Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
|
|
2516
|
+
:param pulumi.Input[str] mirror_dst_region: Mirrored back-to-source high-speed Channel vpregion
|
|
2517
|
+
:param pulumi.Input[str] mirror_dst_slave_vpc_id: Mirroring back-to-source high-speed Channel standby station VpcId
|
|
2518
|
+
:param pulumi.Input[str] mirror_dst_vpc_id: Mirror back-to-source high-speed Channel VpcId
|
|
2519
|
+
:param pulumi.Input[bool] mirror_follow_redirect: If the result of the image back-to-source acquisition is 3xx, whether to continue to jump to the specified Location to obtain data. It takes effect only when the RedirectType is set to Mirror.
|
|
2520
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs'] mirror_headers: Specifies the Header carried when the image returns to the source. It takes effect only when the RedirectType is set to Mirror. See `mirror_headers` below.
|
|
2521
|
+
:param pulumi.Input[bool] mirror_is_express_tunnel: Whether it is a mirror back-to-source high-speed Channel
|
|
2522
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs'] mirror_multi_alternates: Mirror back-to-source multi-source station configuration container. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_multi_alternates` below.
|
|
2523
|
+
:param pulumi.Input[bool] mirror_pass_original_slashes: Transparent transmission/to source Station
|
|
2524
|
+
:param pulumi.Input[bool] mirror_pass_query_string: Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
|
|
2525
|
+
:param pulumi.Input[bool] mirror_proxy_pass: Whether mirroring back to source does not save data
|
|
2526
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs'] mirror_return_headers: The container that saves the image back to the source and returns the response header rule. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_return_headers` below.
|
|
2527
|
+
:param pulumi.Input[str] mirror_role: Roles used when mirroring back-to-source
|
|
2528
|
+
:param pulumi.Input[bool] mirror_save_oss_meta: Mirror back-to-source back-to-source OSS automatically saves user metadata
|
|
2529
|
+
:param pulumi.Input[bool] mirror_sni: Transparent transmission of SNI
|
|
2530
|
+
:param pulumi.Input[bool] mirror_switch_all_errors: It is used to judge the status of active-standby switching. The judgment logic of active-standby switching is that the source station returns an error. If MirrorSwitchAllErrors is true, it is considered a failure except the following status code: 200,206,301,302,303,307,404; If false, only the source Station Returns 5xx or times out is considered a failure.
|
|
2531
|
+
:param pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs'] mirror_taggings: Save the label according to the parameters when saving the file from the mirror back to the source. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_taggings` below.
|
|
2532
|
+
:param pulumi.Input[str] mirror_tunnel_id: Mirror back-to-source leased line back-to-source tunnel ID
|
|
2533
|
+
:param pulumi.Input[str] mirror_url: The address of the origin of the image. It takes effect only when the RedirectType is set to Mirror. The origin address must start with http:// or https:// and end with a forward slash (/). OSS takes the Object name after the Origin address to form the origin URL.
|
|
2534
|
+
:param pulumi.Input[str] mirror_url_probe: Mirror back-to-source Master-backup back-to-source switching decision URL
|
|
2535
|
+
:param pulumi.Input[str] mirror_url_slave: Mirror back-to-source primary backup back-to-source backup station URL
|
|
2536
|
+
:param pulumi.Input[bool] mirror_user_last_modified: Whether the source station LastModifiedTime is used for the image back-to-source save file.
|
|
2537
|
+
:param pulumi.Input[bool] mirror_using_role: Whether to use role for mirroring back to source
|
|
2538
|
+
:param pulumi.Input[bool] pass_query_string: Whether to carry the request parameters when executing the jump or mirror back-to-source rule. Did the user carry the request parameters when requesting OSS? a = B & c = d, and set PassQueryString to true. If the rule is a 302 jump, this request parameter is added to the Location header of the jump. For example Location:example.com? a = B & c = d, and the jump type is mirrored back-to-origin, this request parameter is also carried in the back-to-origin request initiated. Values: true, false (default)
|
|
2539
|
+
:param pulumi.Input[str] protocol: The protocol at the time of the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
2540
|
+
:param pulumi.Input[str] redirect_type: Specifies the type of jump. The value range is as follows: Mirror: Mirror back to the source. External: External redirects, that is, OSS returns a 3xx request to redirect to another address. AliCDN: Alibaba Cloud CDN jump, mainly used for Alibaba Cloud CDN. Unlike External, OSS adds an additional Header. After recognizing this Header, Alibaba Cloud CDN redirects the data to the specified address and returns the obtained data to the user instead of returning the 3xx Redirection request to the user.
|
|
2541
|
+
:param pulumi.Input[str] replace_key_prefix_with: The prefix of the Object name will be replaced with this value during Redirect. If the prefix is empty, this string is inserted in front of the Object name.
|
|
2542
|
+
:param pulumi.Input[str] replace_key_with: During redirection, the Object name is replaced with the value specified by ReplaceKeyWith. You can set variables in ReplaceKeyWith. Currently, the supported variable is ${key}, which indicates the name of the Object in the request.
|
|
2543
|
+
:param pulumi.Input[str] transparent_mirror_response_codes: Mirror back-to-source transparent source station response code list
|
|
2544
|
+
"""
|
|
2545
|
+
if enable_replace_prefix is not None:
|
|
2546
|
+
pulumi.set(__self__, "enable_replace_prefix", enable_replace_prefix)
|
|
2547
|
+
if host_name is not None:
|
|
2548
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
2549
|
+
if http_redirect_code is not None:
|
|
2550
|
+
pulumi.set(__self__, "http_redirect_code", http_redirect_code)
|
|
2551
|
+
if mirror_allow_get_image_info is not None:
|
|
2552
|
+
pulumi.set(__self__, "mirror_allow_get_image_info", mirror_allow_get_image_info)
|
|
2553
|
+
if mirror_allow_head_object is not None:
|
|
2554
|
+
pulumi.set(__self__, "mirror_allow_head_object", mirror_allow_head_object)
|
|
2555
|
+
if mirror_allow_video_snapshot is not None:
|
|
2556
|
+
pulumi.set(__self__, "mirror_allow_video_snapshot", mirror_allow_video_snapshot)
|
|
2557
|
+
if mirror_async_status is not None:
|
|
2558
|
+
pulumi.set(__self__, "mirror_async_status", mirror_async_status)
|
|
2559
|
+
if mirror_auth is not None:
|
|
2560
|
+
pulumi.set(__self__, "mirror_auth", mirror_auth)
|
|
2561
|
+
if mirror_check_md5 is not None:
|
|
2562
|
+
pulumi.set(__self__, "mirror_check_md5", mirror_check_md5)
|
|
2563
|
+
if mirror_dst_region is not None:
|
|
2564
|
+
pulumi.set(__self__, "mirror_dst_region", mirror_dst_region)
|
|
2565
|
+
if mirror_dst_slave_vpc_id is not None:
|
|
2566
|
+
pulumi.set(__self__, "mirror_dst_slave_vpc_id", mirror_dst_slave_vpc_id)
|
|
2567
|
+
if mirror_dst_vpc_id is not None:
|
|
2568
|
+
pulumi.set(__self__, "mirror_dst_vpc_id", mirror_dst_vpc_id)
|
|
2569
|
+
if mirror_follow_redirect is not None:
|
|
2570
|
+
pulumi.set(__self__, "mirror_follow_redirect", mirror_follow_redirect)
|
|
2571
|
+
if mirror_headers is not None:
|
|
2572
|
+
pulumi.set(__self__, "mirror_headers", mirror_headers)
|
|
2573
|
+
if mirror_is_express_tunnel is not None:
|
|
2574
|
+
pulumi.set(__self__, "mirror_is_express_tunnel", mirror_is_express_tunnel)
|
|
2575
|
+
if mirror_multi_alternates is not None:
|
|
2576
|
+
pulumi.set(__self__, "mirror_multi_alternates", mirror_multi_alternates)
|
|
2577
|
+
if mirror_pass_original_slashes is not None:
|
|
2578
|
+
pulumi.set(__self__, "mirror_pass_original_slashes", mirror_pass_original_slashes)
|
|
2579
|
+
if mirror_pass_query_string is not None:
|
|
2580
|
+
pulumi.set(__self__, "mirror_pass_query_string", mirror_pass_query_string)
|
|
2581
|
+
if mirror_proxy_pass is not None:
|
|
2582
|
+
pulumi.set(__self__, "mirror_proxy_pass", mirror_proxy_pass)
|
|
2583
|
+
if mirror_return_headers is not None:
|
|
2584
|
+
pulumi.set(__self__, "mirror_return_headers", mirror_return_headers)
|
|
2585
|
+
if mirror_role is not None:
|
|
2586
|
+
pulumi.set(__self__, "mirror_role", mirror_role)
|
|
2587
|
+
if mirror_save_oss_meta is not None:
|
|
2588
|
+
pulumi.set(__self__, "mirror_save_oss_meta", mirror_save_oss_meta)
|
|
2589
|
+
if mirror_sni is not None:
|
|
2590
|
+
pulumi.set(__self__, "mirror_sni", mirror_sni)
|
|
2591
|
+
if mirror_switch_all_errors is not None:
|
|
2592
|
+
pulumi.set(__self__, "mirror_switch_all_errors", mirror_switch_all_errors)
|
|
2593
|
+
if mirror_taggings is not None:
|
|
2594
|
+
pulumi.set(__self__, "mirror_taggings", mirror_taggings)
|
|
2595
|
+
if mirror_tunnel_id is not None:
|
|
2596
|
+
pulumi.set(__self__, "mirror_tunnel_id", mirror_tunnel_id)
|
|
2597
|
+
if mirror_url is not None:
|
|
2598
|
+
pulumi.set(__self__, "mirror_url", mirror_url)
|
|
2599
|
+
if mirror_url_probe is not None:
|
|
2600
|
+
pulumi.set(__self__, "mirror_url_probe", mirror_url_probe)
|
|
2601
|
+
if mirror_url_slave is not None:
|
|
2602
|
+
pulumi.set(__self__, "mirror_url_slave", mirror_url_slave)
|
|
2603
|
+
if mirror_user_last_modified is not None:
|
|
2604
|
+
pulumi.set(__self__, "mirror_user_last_modified", mirror_user_last_modified)
|
|
2605
|
+
if mirror_using_role is not None:
|
|
2606
|
+
pulumi.set(__self__, "mirror_using_role", mirror_using_role)
|
|
2607
|
+
if pass_query_string is not None:
|
|
2608
|
+
pulumi.set(__self__, "pass_query_string", pass_query_string)
|
|
2609
|
+
if protocol is not None:
|
|
2610
|
+
pulumi.set(__self__, "protocol", protocol)
|
|
2611
|
+
if redirect_type is not None:
|
|
2612
|
+
pulumi.set(__self__, "redirect_type", redirect_type)
|
|
2613
|
+
if replace_key_prefix_with is not None:
|
|
2614
|
+
pulumi.set(__self__, "replace_key_prefix_with", replace_key_prefix_with)
|
|
2615
|
+
if replace_key_with is not None:
|
|
2616
|
+
pulumi.set(__self__, "replace_key_with", replace_key_with)
|
|
2617
|
+
if transparent_mirror_response_codes is not None:
|
|
2618
|
+
pulumi.set(__self__, "transparent_mirror_response_codes", transparent_mirror_response_codes)
|
|
2619
|
+
|
|
2620
|
+
@property
|
|
2621
|
+
@pulumi.getter(name="enableReplacePrefix")
|
|
2622
|
+
def enable_replace_prefix(self) -> Optional[pulumi.Input[bool]]:
|
|
2623
|
+
"""
|
|
2624
|
+
If this field is set to true, the prefix of Object is replaced with the value specified by ReplaceKeyPrefixWith. If this field is not specified or is blank, the Object prefix is truncated.
|
|
2625
|
+
"""
|
|
2626
|
+
return pulumi.get(self, "enable_replace_prefix")
|
|
2627
|
+
|
|
2628
|
+
@enable_replace_prefix.setter
|
|
2629
|
+
def enable_replace_prefix(self, value: Optional[pulumi.Input[bool]]):
|
|
2630
|
+
pulumi.set(self, "enable_replace_prefix", value)
|
|
2631
|
+
|
|
2632
|
+
@property
|
|
2633
|
+
@pulumi.getter(name="hostName")
|
|
2634
|
+
def host_name(self) -> Optional[pulumi.Input[str]]:
|
|
2635
|
+
"""
|
|
2636
|
+
The domain name during the jump. The domain name must comply with the domain name specification.
|
|
2637
|
+
"""
|
|
2638
|
+
return pulumi.get(self, "host_name")
|
|
2639
|
+
|
|
2640
|
+
@host_name.setter
|
|
2641
|
+
def host_name(self, value: Optional[pulumi.Input[str]]):
|
|
2642
|
+
pulumi.set(self, "host_name", value)
|
|
2643
|
+
|
|
2644
|
+
@property
|
|
2645
|
+
@pulumi.getter(name="httpRedirectCode")
|
|
2646
|
+
def http_redirect_code(self) -> Optional[pulumi.Input[str]]:
|
|
2647
|
+
"""
|
|
2648
|
+
The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
2649
|
+
"""
|
|
2650
|
+
return pulumi.get(self, "http_redirect_code")
|
|
2651
|
+
|
|
2652
|
+
@http_redirect_code.setter
|
|
2653
|
+
def http_redirect_code(self, value: Optional[pulumi.Input[str]]):
|
|
2654
|
+
pulumi.set(self, "http_redirect_code", value)
|
|
2655
|
+
|
|
2656
|
+
@property
|
|
2657
|
+
@pulumi.getter(name="mirrorAllowGetImageInfo")
|
|
2658
|
+
def mirror_allow_get_image_info(self) -> Optional[pulumi.Input[bool]]:
|
|
2659
|
+
"""
|
|
2660
|
+
Image back-to-source allows getting Image information
|
|
2661
|
+
"""
|
|
2662
|
+
return pulumi.get(self, "mirror_allow_get_image_info")
|
|
2663
|
+
|
|
2664
|
+
@mirror_allow_get_image_info.setter
|
|
2665
|
+
def mirror_allow_get_image_info(self, value: Optional[pulumi.Input[bool]]):
|
|
2666
|
+
pulumi.set(self, "mirror_allow_get_image_info", value)
|
|
2667
|
+
|
|
2668
|
+
@property
|
|
2669
|
+
@pulumi.getter(name="mirrorAllowHeadObject")
|
|
2670
|
+
def mirror_allow_head_object(self) -> Optional[pulumi.Input[bool]]:
|
|
2671
|
+
"""
|
|
2672
|
+
Whether to allow HeadObject in image back-to-source
|
|
2673
|
+
"""
|
|
2674
|
+
return pulumi.get(self, "mirror_allow_head_object")
|
|
2675
|
+
|
|
2676
|
+
@mirror_allow_head_object.setter
|
|
2677
|
+
def mirror_allow_head_object(self, value: Optional[pulumi.Input[bool]]):
|
|
2678
|
+
pulumi.set(self, "mirror_allow_head_object", value)
|
|
2679
|
+
|
|
2680
|
+
@property
|
|
2681
|
+
@pulumi.getter(name="mirrorAllowVideoSnapshot")
|
|
2682
|
+
def mirror_allow_video_snapshot(self) -> Optional[pulumi.Input[bool]]:
|
|
2683
|
+
"""
|
|
2684
|
+
Mirror back-to-source allows support for video frame truncation
|
|
2685
|
+
"""
|
|
2686
|
+
return pulumi.get(self, "mirror_allow_video_snapshot")
|
|
2687
|
+
|
|
2688
|
+
@mirror_allow_video_snapshot.setter
|
|
2689
|
+
def mirror_allow_video_snapshot(self, value: Optional[pulumi.Input[bool]]):
|
|
2690
|
+
pulumi.set(self, "mirror_allow_video_snapshot", value)
|
|
2691
|
+
|
|
2692
|
+
@property
|
|
2693
|
+
@pulumi.getter(name="mirrorAsyncStatus")
|
|
2694
|
+
def mirror_async_status(self) -> Optional[pulumi.Input[int]]:
|
|
2695
|
+
"""
|
|
2696
|
+
The status code of the mirror back-to-source trigger asynchronous pull mode.
|
|
2697
|
+
"""
|
|
2698
|
+
return pulumi.get(self, "mirror_async_status")
|
|
2699
|
+
|
|
2700
|
+
@mirror_async_status.setter
|
|
2701
|
+
def mirror_async_status(self, value: Optional[pulumi.Input[int]]):
|
|
2702
|
+
pulumi.set(self, "mirror_async_status", value)
|
|
2703
|
+
|
|
2704
|
+
@property
|
|
2705
|
+
@pulumi.getter(name="mirrorAuth")
|
|
2706
|
+
def mirror_auth(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs']]:
|
|
2707
|
+
"""
|
|
2708
|
+
Image back Source station authentication information See `mirror_auth` below.
|
|
2709
|
+
"""
|
|
2710
|
+
return pulumi.get(self, "mirror_auth")
|
|
2711
|
+
|
|
2712
|
+
@mirror_auth.setter
|
|
2713
|
+
def mirror_auth(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs']]):
|
|
2714
|
+
pulumi.set(self, "mirror_auth", value)
|
|
2715
|
+
|
|
2716
|
+
@property
|
|
2717
|
+
@pulumi.getter(name="mirrorCheckMd5")
|
|
2718
|
+
def mirror_check_md5(self) -> Optional[pulumi.Input[bool]]:
|
|
2719
|
+
"""
|
|
2720
|
+
Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
|
|
2721
|
+
"""
|
|
2722
|
+
return pulumi.get(self, "mirror_check_md5")
|
|
2723
|
+
|
|
2724
|
+
@mirror_check_md5.setter
|
|
2725
|
+
def mirror_check_md5(self, value: Optional[pulumi.Input[bool]]):
|
|
2726
|
+
pulumi.set(self, "mirror_check_md5", value)
|
|
2727
|
+
|
|
2728
|
+
@property
|
|
2729
|
+
@pulumi.getter(name="mirrorDstRegion")
|
|
2730
|
+
def mirror_dst_region(self) -> Optional[pulumi.Input[str]]:
|
|
2731
|
+
"""
|
|
2732
|
+
Mirrored back-to-source high-speed Channel vpregion
|
|
2733
|
+
"""
|
|
2734
|
+
return pulumi.get(self, "mirror_dst_region")
|
|
2735
|
+
|
|
2736
|
+
@mirror_dst_region.setter
|
|
2737
|
+
def mirror_dst_region(self, value: Optional[pulumi.Input[str]]):
|
|
2738
|
+
pulumi.set(self, "mirror_dst_region", value)
|
|
2739
|
+
|
|
2740
|
+
@property
|
|
2741
|
+
@pulumi.getter(name="mirrorDstSlaveVpcId")
|
|
2742
|
+
def mirror_dst_slave_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
2743
|
+
"""
|
|
2744
|
+
Mirroring back-to-source high-speed Channel standby station VpcId
|
|
2745
|
+
"""
|
|
2746
|
+
return pulumi.get(self, "mirror_dst_slave_vpc_id")
|
|
2747
|
+
|
|
2748
|
+
@mirror_dst_slave_vpc_id.setter
|
|
2749
|
+
def mirror_dst_slave_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
2750
|
+
pulumi.set(self, "mirror_dst_slave_vpc_id", value)
|
|
2751
|
+
|
|
2752
|
+
@property
|
|
2753
|
+
@pulumi.getter(name="mirrorDstVpcId")
|
|
2754
|
+
def mirror_dst_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
2755
|
+
"""
|
|
2756
|
+
Mirror back-to-source high-speed Channel VpcId
|
|
2757
|
+
"""
|
|
2758
|
+
return pulumi.get(self, "mirror_dst_vpc_id")
|
|
2759
|
+
|
|
2760
|
+
@mirror_dst_vpc_id.setter
|
|
2761
|
+
def mirror_dst_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
2762
|
+
pulumi.set(self, "mirror_dst_vpc_id", value)
|
|
2763
|
+
|
|
2764
|
+
@property
|
|
2765
|
+
@pulumi.getter(name="mirrorFollowRedirect")
|
|
2766
|
+
def mirror_follow_redirect(self) -> Optional[pulumi.Input[bool]]:
|
|
2767
|
+
"""
|
|
2768
|
+
If the result of the image back-to-source acquisition is 3xx, whether to continue to jump to the specified Location to obtain data. It takes effect only when the RedirectType is set to Mirror.
|
|
2769
|
+
"""
|
|
2770
|
+
return pulumi.get(self, "mirror_follow_redirect")
|
|
2771
|
+
|
|
2772
|
+
@mirror_follow_redirect.setter
|
|
2773
|
+
def mirror_follow_redirect(self, value: Optional[pulumi.Input[bool]]):
|
|
2774
|
+
pulumi.set(self, "mirror_follow_redirect", value)
|
|
2775
|
+
|
|
2776
|
+
@property
|
|
2777
|
+
@pulumi.getter(name="mirrorHeaders")
|
|
2778
|
+
def mirror_headers(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs']]:
|
|
2779
|
+
"""
|
|
2780
|
+
Specifies the Header carried when the image returns to the source. It takes effect only when the RedirectType is set to Mirror. See `mirror_headers` below.
|
|
2781
|
+
"""
|
|
2782
|
+
return pulumi.get(self, "mirror_headers")
|
|
2783
|
+
|
|
2784
|
+
@mirror_headers.setter
|
|
2785
|
+
def mirror_headers(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs']]):
|
|
2786
|
+
pulumi.set(self, "mirror_headers", value)
|
|
2787
|
+
|
|
2788
|
+
@property
|
|
2789
|
+
@pulumi.getter(name="mirrorIsExpressTunnel")
|
|
2790
|
+
def mirror_is_express_tunnel(self) -> Optional[pulumi.Input[bool]]:
|
|
2791
|
+
"""
|
|
2792
|
+
Whether it is a mirror back-to-source high-speed Channel
|
|
2793
|
+
"""
|
|
2794
|
+
return pulumi.get(self, "mirror_is_express_tunnel")
|
|
2795
|
+
|
|
2796
|
+
@mirror_is_express_tunnel.setter
|
|
2797
|
+
def mirror_is_express_tunnel(self, value: Optional[pulumi.Input[bool]]):
|
|
2798
|
+
pulumi.set(self, "mirror_is_express_tunnel", value)
|
|
2799
|
+
|
|
2800
|
+
@property
|
|
2801
|
+
@pulumi.getter(name="mirrorMultiAlternates")
|
|
2802
|
+
def mirror_multi_alternates(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs']]:
|
|
2803
|
+
"""
|
|
2804
|
+
Mirror back-to-source multi-source station configuration container. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_multi_alternates` below.
|
|
2805
|
+
"""
|
|
2806
|
+
return pulumi.get(self, "mirror_multi_alternates")
|
|
2807
|
+
|
|
2808
|
+
@mirror_multi_alternates.setter
|
|
2809
|
+
def mirror_multi_alternates(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs']]):
|
|
2810
|
+
pulumi.set(self, "mirror_multi_alternates", value)
|
|
2811
|
+
|
|
2812
|
+
@property
|
|
2813
|
+
@pulumi.getter(name="mirrorPassOriginalSlashes")
|
|
2814
|
+
def mirror_pass_original_slashes(self) -> Optional[pulumi.Input[bool]]:
|
|
2815
|
+
"""
|
|
2816
|
+
Transparent transmission/to source Station
|
|
2817
|
+
"""
|
|
2818
|
+
return pulumi.get(self, "mirror_pass_original_slashes")
|
|
2819
|
+
|
|
2820
|
+
@mirror_pass_original_slashes.setter
|
|
2821
|
+
def mirror_pass_original_slashes(self, value: Optional[pulumi.Input[bool]]):
|
|
2822
|
+
pulumi.set(self, "mirror_pass_original_slashes", value)
|
|
2823
|
+
|
|
2824
|
+
@property
|
|
2825
|
+
@pulumi.getter(name="mirrorPassQueryString")
|
|
2826
|
+
def mirror_pass_query_string(self) -> Optional[pulumi.Input[bool]]:
|
|
2827
|
+
"""
|
|
2828
|
+
Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
|
|
2829
|
+
"""
|
|
2830
|
+
return pulumi.get(self, "mirror_pass_query_string")
|
|
2831
|
+
|
|
2832
|
+
@mirror_pass_query_string.setter
|
|
2833
|
+
def mirror_pass_query_string(self, value: Optional[pulumi.Input[bool]]):
|
|
2834
|
+
pulumi.set(self, "mirror_pass_query_string", value)
|
|
2835
|
+
|
|
2836
|
+
@property
|
|
2837
|
+
@pulumi.getter(name="mirrorProxyPass")
|
|
2838
|
+
def mirror_proxy_pass(self) -> Optional[pulumi.Input[bool]]:
|
|
2839
|
+
"""
|
|
2840
|
+
Whether mirroring back to source does not save data
|
|
2841
|
+
"""
|
|
2842
|
+
return pulumi.get(self, "mirror_proxy_pass")
|
|
2843
|
+
|
|
2844
|
+
@mirror_proxy_pass.setter
|
|
2845
|
+
def mirror_proxy_pass(self, value: Optional[pulumi.Input[bool]]):
|
|
2846
|
+
pulumi.set(self, "mirror_proxy_pass", value)
|
|
2847
|
+
|
|
2848
|
+
@property
|
|
2849
|
+
@pulumi.getter(name="mirrorReturnHeaders")
|
|
2850
|
+
def mirror_return_headers(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs']]:
|
|
2851
|
+
"""
|
|
2852
|
+
The container that saves the image back to the source and returns the response header rule. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_return_headers` below.
|
|
2853
|
+
"""
|
|
2854
|
+
return pulumi.get(self, "mirror_return_headers")
|
|
2855
|
+
|
|
2856
|
+
@mirror_return_headers.setter
|
|
2857
|
+
def mirror_return_headers(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs']]):
|
|
2858
|
+
pulumi.set(self, "mirror_return_headers", value)
|
|
2859
|
+
|
|
2860
|
+
@property
|
|
2861
|
+
@pulumi.getter(name="mirrorRole")
|
|
2862
|
+
def mirror_role(self) -> Optional[pulumi.Input[str]]:
|
|
2863
|
+
"""
|
|
2864
|
+
Roles used when mirroring back-to-source
|
|
2865
|
+
"""
|
|
2866
|
+
return pulumi.get(self, "mirror_role")
|
|
2867
|
+
|
|
2868
|
+
@mirror_role.setter
|
|
2869
|
+
def mirror_role(self, value: Optional[pulumi.Input[str]]):
|
|
2870
|
+
pulumi.set(self, "mirror_role", value)
|
|
2871
|
+
|
|
2872
|
+
@property
|
|
2873
|
+
@pulumi.getter(name="mirrorSaveOssMeta")
|
|
2874
|
+
def mirror_save_oss_meta(self) -> Optional[pulumi.Input[bool]]:
|
|
2875
|
+
"""
|
|
2876
|
+
Mirror back-to-source back-to-source OSS automatically saves user metadata
|
|
2877
|
+
"""
|
|
2878
|
+
return pulumi.get(self, "mirror_save_oss_meta")
|
|
2879
|
+
|
|
2880
|
+
@mirror_save_oss_meta.setter
|
|
2881
|
+
def mirror_save_oss_meta(self, value: Optional[pulumi.Input[bool]]):
|
|
2882
|
+
pulumi.set(self, "mirror_save_oss_meta", value)
|
|
2883
|
+
|
|
2884
|
+
@property
|
|
2885
|
+
@pulumi.getter(name="mirrorSni")
|
|
2886
|
+
def mirror_sni(self) -> Optional[pulumi.Input[bool]]:
|
|
2887
|
+
"""
|
|
2888
|
+
Transparent transmission of SNI
|
|
2889
|
+
"""
|
|
2890
|
+
return pulumi.get(self, "mirror_sni")
|
|
2891
|
+
|
|
2892
|
+
@mirror_sni.setter
|
|
2893
|
+
def mirror_sni(self, value: Optional[pulumi.Input[bool]]):
|
|
2894
|
+
pulumi.set(self, "mirror_sni", value)
|
|
2895
|
+
|
|
2896
|
+
@property
|
|
2897
|
+
@pulumi.getter(name="mirrorSwitchAllErrors")
|
|
2898
|
+
def mirror_switch_all_errors(self) -> Optional[pulumi.Input[bool]]:
|
|
2899
|
+
"""
|
|
2900
|
+
It is used to judge the status of active-standby switching. The judgment logic of active-standby switching is that the source station returns an error. If MirrorSwitchAllErrors is true, it is considered a failure except the following status code: 200,206,301,302,303,307,404; If false, only the source Station Returns 5xx or times out is considered a failure.
|
|
2901
|
+
"""
|
|
2902
|
+
return pulumi.get(self, "mirror_switch_all_errors")
|
|
2903
|
+
|
|
2904
|
+
@mirror_switch_all_errors.setter
|
|
2905
|
+
def mirror_switch_all_errors(self, value: Optional[pulumi.Input[bool]]):
|
|
2906
|
+
pulumi.set(self, "mirror_switch_all_errors", value)
|
|
2907
|
+
|
|
2908
|
+
@property
|
|
2909
|
+
@pulumi.getter(name="mirrorTaggings")
|
|
2910
|
+
def mirror_taggings(self) -> Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs']]:
|
|
2911
|
+
"""
|
|
2912
|
+
Save the label according to the parameters when saving the file from the mirror back to the source. **NOTE:**: If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. See `mirror_taggings` below.
|
|
2913
|
+
"""
|
|
2914
|
+
return pulumi.get(self, "mirror_taggings")
|
|
2915
|
+
|
|
2916
|
+
@mirror_taggings.setter
|
|
2917
|
+
def mirror_taggings(self, value: Optional[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs']]):
|
|
2918
|
+
pulumi.set(self, "mirror_taggings", value)
|
|
2919
|
+
|
|
2920
|
+
@property
|
|
2921
|
+
@pulumi.getter(name="mirrorTunnelId")
|
|
2922
|
+
def mirror_tunnel_id(self) -> Optional[pulumi.Input[str]]:
|
|
2923
|
+
"""
|
|
2924
|
+
Mirror back-to-source leased line back-to-source tunnel ID
|
|
2925
|
+
"""
|
|
2926
|
+
return pulumi.get(self, "mirror_tunnel_id")
|
|
2927
|
+
|
|
2928
|
+
@mirror_tunnel_id.setter
|
|
2929
|
+
def mirror_tunnel_id(self, value: Optional[pulumi.Input[str]]):
|
|
2930
|
+
pulumi.set(self, "mirror_tunnel_id", value)
|
|
2931
|
+
|
|
2932
|
+
@property
|
|
2933
|
+
@pulumi.getter(name="mirrorUrl")
|
|
2934
|
+
def mirror_url(self) -> Optional[pulumi.Input[str]]:
|
|
2935
|
+
"""
|
|
2936
|
+
The address of the origin of the image. It takes effect only when the RedirectType is set to Mirror. The origin address must start with http:// or https:// and end with a forward slash (/). OSS takes the Object name after the Origin address to form the origin URL.
|
|
2937
|
+
"""
|
|
2938
|
+
return pulumi.get(self, "mirror_url")
|
|
2939
|
+
|
|
2940
|
+
@mirror_url.setter
|
|
2941
|
+
def mirror_url(self, value: Optional[pulumi.Input[str]]):
|
|
2942
|
+
pulumi.set(self, "mirror_url", value)
|
|
2943
|
+
|
|
2944
|
+
@property
|
|
2945
|
+
@pulumi.getter(name="mirrorUrlProbe")
|
|
2946
|
+
def mirror_url_probe(self) -> Optional[pulumi.Input[str]]:
|
|
2947
|
+
"""
|
|
2948
|
+
Mirror back-to-source Master-backup back-to-source switching decision URL
|
|
2949
|
+
"""
|
|
2950
|
+
return pulumi.get(self, "mirror_url_probe")
|
|
2951
|
+
|
|
2952
|
+
@mirror_url_probe.setter
|
|
2953
|
+
def mirror_url_probe(self, value: Optional[pulumi.Input[str]]):
|
|
2954
|
+
pulumi.set(self, "mirror_url_probe", value)
|
|
2955
|
+
|
|
2956
|
+
@property
|
|
2957
|
+
@pulumi.getter(name="mirrorUrlSlave")
|
|
2958
|
+
def mirror_url_slave(self) -> Optional[pulumi.Input[str]]:
|
|
2959
|
+
"""
|
|
2960
|
+
Mirror back-to-source primary backup back-to-source backup station URL
|
|
2961
|
+
"""
|
|
2962
|
+
return pulumi.get(self, "mirror_url_slave")
|
|
2963
|
+
|
|
2964
|
+
@mirror_url_slave.setter
|
|
2965
|
+
def mirror_url_slave(self, value: Optional[pulumi.Input[str]]):
|
|
2966
|
+
pulumi.set(self, "mirror_url_slave", value)
|
|
2967
|
+
|
|
2968
|
+
@property
|
|
2969
|
+
@pulumi.getter(name="mirrorUserLastModified")
|
|
2970
|
+
def mirror_user_last_modified(self) -> Optional[pulumi.Input[bool]]:
|
|
2971
|
+
"""
|
|
2972
|
+
Whether the source station LastModifiedTime is used for the image back-to-source save file.
|
|
2973
|
+
"""
|
|
2974
|
+
return pulumi.get(self, "mirror_user_last_modified")
|
|
2975
|
+
|
|
2976
|
+
@mirror_user_last_modified.setter
|
|
2977
|
+
def mirror_user_last_modified(self, value: Optional[pulumi.Input[bool]]):
|
|
2978
|
+
pulumi.set(self, "mirror_user_last_modified", value)
|
|
2979
|
+
|
|
2980
|
+
@property
|
|
2981
|
+
@pulumi.getter(name="mirrorUsingRole")
|
|
2982
|
+
def mirror_using_role(self) -> Optional[pulumi.Input[bool]]:
|
|
2983
|
+
"""
|
|
2984
|
+
Whether to use role for mirroring back to source
|
|
2985
|
+
"""
|
|
2986
|
+
return pulumi.get(self, "mirror_using_role")
|
|
2987
|
+
|
|
2988
|
+
@mirror_using_role.setter
|
|
2989
|
+
def mirror_using_role(self, value: Optional[pulumi.Input[bool]]):
|
|
2990
|
+
pulumi.set(self, "mirror_using_role", value)
|
|
2991
|
+
|
|
2992
|
+
@property
|
|
2993
|
+
@pulumi.getter(name="passQueryString")
|
|
2994
|
+
def pass_query_string(self) -> Optional[pulumi.Input[bool]]:
|
|
2995
|
+
"""
|
|
2996
|
+
Whether to carry the request parameters when executing the jump or mirror back-to-source rule. Did the user carry the request parameters when requesting OSS? a = B & c = d, and set PassQueryString to true. If the rule is a 302 jump, this request parameter is added to the Location header of the jump. For example Location:example.com? a = B & c = d, and the jump type is mirrored back-to-origin, this request parameter is also carried in the back-to-origin request initiated. Values: true, false (default)
|
|
2997
|
+
"""
|
|
2998
|
+
return pulumi.get(self, "pass_query_string")
|
|
2999
|
+
|
|
3000
|
+
@pass_query_string.setter
|
|
3001
|
+
def pass_query_string(self, value: Optional[pulumi.Input[bool]]):
|
|
3002
|
+
pulumi.set(self, "pass_query_string", value)
|
|
3003
|
+
|
|
3004
|
+
@property
|
|
3005
|
+
@pulumi.getter
|
|
3006
|
+
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
3007
|
+
"""
|
|
3008
|
+
The protocol at the time of the jump. It takes effect only when the RedirectType is set to External or AliCDN.
|
|
3009
|
+
"""
|
|
3010
|
+
return pulumi.get(self, "protocol")
|
|
3011
|
+
|
|
3012
|
+
@protocol.setter
|
|
3013
|
+
def protocol(self, value: Optional[pulumi.Input[str]]):
|
|
3014
|
+
pulumi.set(self, "protocol", value)
|
|
3015
|
+
|
|
3016
|
+
@property
|
|
3017
|
+
@pulumi.getter(name="redirectType")
|
|
3018
|
+
def redirect_type(self) -> Optional[pulumi.Input[str]]:
|
|
3019
|
+
"""
|
|
3020
|
+
Specifies the type of jump. The value range is as follows: Mirror: Mirror back to the source. External: External redirects, that is, OSS returns a 3xx request to redirect to another address. AliCDN: Alibaba Cloud CDN jump, mainly used for Alibaba Cloud CDN. Unlike External, OSS adds an additional Header. After recognizing this Header, Alibaba Cloud CDN redirects the data to the specified address and returns the obtained data to the user instead of returning the 3xx Redirection request to the user.
|
|
3021
|
+
"""
|
|
3022
|
+
return pulumi.get(self, "redirect_type")
|
|
3023
|
+
|
|
3024
|
+
@redirect_type.setter
|
|
3025
|
+
def redirect_type(self, value: Optional[pulumi.Input[str]]):
|
|
3026
|
+
pulumi.set(self, "redirect_type", value)
|
|
3027
|
+
|
|
3028
|
+
@property
|
|
3029
|
+
@pulumi.getter(name="replaceKeyPrefixWith")
|
|
3030
|
+
def replace_key_prefix_with(self) -> Optional[pulumi.Input[str]]:
|
|
3031
|
+
"""
|
|
3032
|
+
The prefix of the Object name will be replaced with this value during Redirect. If the prefix is empty, this string is inserted in front of the Object name.
|
|
3033
|
+
"""
|
|
3034
|
+
return pulumi.get(self, "replace_key_prefix_with")
|
|
3035
|
+
|
|
3036
|
+
@replace_key_prefix_with.setter
|
|
3037
|
+
def replace_key_prefix_with(self, value: Optional[pulumi.Input[str]]):
|
|
3038
|
+
pulumi.set(self, "replace_key_prefix_with", value)
|
|
3039
|
+
|
|
3040
|
+
@property
|
|
3041
|
+
@pulumi.getter(name="replaceKeyWith")
|
|
3042
|
+
def replace_key_with(self) -> Optional[pulumi.Input[str]]:
|
|
3043
|
+
"""
|
|
3044
|
+
During redirection, the Object name is replaced with the value specified by ReplaceKeyWith. You can set variables in ReplaceKeyWith. Currently, the supported variable is ${key}, which indicates the name of the Object in the request.
|
|
3045
|
+
"""
|
|
3046
|
+
return pulumi.get(self, "replace_key_with")
|
|
3047
|
+
|
|
3048
|
+
@replace_key_with.setter
|
|
3049
|
+
def replace_key_with(self, value: Optional[pulumi.Input[str]]):
|
|
3050
|
+
pulumi.set(self, "replace_key_with", value)
|
|
3051
|
+
|
|
3052
|
+
@property
|
|
3053
|
+
@pulumi.getter(name="transparentMirrorResponseCodes")
|
|
3054
|
+
def transparent_mirror_response_codes(self) -> Optional[pulumi.Input[str]]:
|
|
3055
|
+
"""
|
|
3056
|
+
Mirror back-to-source transparent source station response code list
|
|
3057
|
+
"""
|
|
3058
|
+
return pulumi.get(self, "transparent_mirror_response_codes")
|
|
3059
|
+
|
|
3060
|
+
@transparent_mirror_response_codes.setter
|
|
3061
|
+
def transparent_mirror_response_codes(self, value: Optional[pulumi.Input[str]]):
|
|
3062
|
+
pulumi.set(self, "transparent_mirror_response_codes", value)
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
if not MYPY:
|
|
3066
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgsDict(TypedDict):
|
|
3067
|
+
access_key_id: NotRequired[pulumi.Input[str]]
|
|
3068
|
+
"""
|
|
3069
|
+
Mirror back-to-source source Station back-to-source AK
|
|
3070
|
+
"""
|
|
3071
|
+
access_key_secret: NotRequired[pulumi.Input[str]]
|
|
3072
|
+
"""
|
|
3073
|
+
Mirroring back to the source station back to the source SK will be automatically desensitized when obtaining the configuration.
|
|
3074
|
+
"""
|
|
3075
|
+
auth_type: NotRequired[pulumi.Input[str]]
|
|
3076
|
+
"""
|
|
3077
|
+
Authentication type of mirror return Source
|
|
3078
|
+
"""
|
|
3079
|
+
region: NotRequired[pulumi.Input[str]]
|
|
3080
|
+
"""
|
|
3081
|
+
Signature Region
|
|
3082
|
+
"""
|
|
3083
|
+
elif False:
|
|
3084
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgsDict: TypeAlias = Mapping[str, Any]
|
|
3085
|
+
|
|
3086
|
+
@pulumi.input_type
|
|
3087
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs:
|
|
3088
|
+
def __init__(__self__, *,
|
|
3089
|
+
access_key_id: Optional[pulumi.Input[str]] = None,
|
|
3090
|
+
access_key_secret: Optional[pulumi.Input[str]] = None,
|
|
3091
|
+
auth_type: Optional[pulumi.Input[str]] = None,
|
|
3092
|
+
region: Optional[pulumi.Input[str]] = None):
|
|
3093
|
+
"""
|
|
3094
|
+
:param pulumi.Input[str] access_key_id: Mirror back-to-source source Station back-to-source AK
|
|
3095
|
+
:param pulumi.Input[str] access_key_secret: Mirroring back to the source station back to the source SK will be automatically desensitized when obtaining the configuration.
|
|
3096
|
+
:param pulumi.Input[str] auth_type: Authentication type of mirror return Source
|
|
3097
|
+
:param pulumi.Input[str] region: Signature Region
|
|
3098
|
+
"""
|
|
3099
|
+
if access_key_id is not None:
|
|
3100
|
+
pulumi.set(__self__, "access_key_id", access_key_id)
|
|
3101
|
+
if access_key_secret is not None:
|
|
3102
|
+
pulumi.set(__self__, "access_key_secret", access_key_secret)
|
|
3103
|
+
if auth_type is not None:
|
|
3104
|
+
pulumi.set(__self__, "auth_type", auth_type)
|
|
3105
|
+
if region is not None:
|
|
3106
|
+
pulumi.set(__self__, "region", region)
|
|
3107
|
+
|
|
3108
|
+
@property
|
|
3109
|
+
@pulumi.getter(name="accessKeyId")
|
|
3110
|
+
def access_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
3111
|
+
"""
|
|
3112
|
+
Mirror back-to-source source Station back-to-source AK
|
|
3113
|
+
"""
|
|
3114
|
+
return pulumi.get(self, "access_key_id")
|
|
3115
|
+
|
|
3116
|
+
@access_key_id.setter
|
|
3117
|
+
def access_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
3118
|
+
pulumi.set(self, "access_key_id", value)
|
|
3119
|
+
|
|
3120
|
+
@property
|
|
3121
|
+
@pulumi.getter(name="accessKeySecret")
|
|
3122
|
+
def access_key_secret(self) -> Optional[pulumi.Input[str]]:
|
|
3123
|
+
"""
|
|
3124
|
+
Mirroring back to the source station back to the source SK will be automatically desensitized when obtaining the configuration.
|
|
3125
|
+
"""
|
|
3126
|
+
return pulumi.get(self, "access_key_secret")
|
|
3127
|
+
|
|
3128
|
+
@access_key_secret.setter
|
|
3129
|
+
def access_key_secret(self, value: Optional[pulumi.Input[str]]):
|
|
3130
|
+
pulumi.set(self, "access_key_secret", value)
|
|
3131
|
+
|
|
3132
|
+
@property
|
|
3133
|
+
@pulumi.getter(name="authType")
|
|
3134
|
+
def auth_type(self) -> Optional[pulumi.Input[str]]:
|
|
3135
|
+
"""
|
|
3136
|
+
Authentication type of mirror return Source
|
|
3137
|
+
"""
|
|
3138
|
+
return pulumi.get(self, "auth_type")
|
|
3139
|
+
|
|
3140
|
+
@auth_type.setter
|
|
3141
|
+
def auth_type(self, value: Optional[pulumi.Input[str]]):
|
|
3142
|
+
pulumi.set(self, "auth_type", value)
|
|
3143
|
+
|
|
3144
|
+
@property
|
|
3145
|
+
@pulumi.getter
|
|
3146
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
3147
|
+
"""
|
|
3148
|
+
Signature Region
|
|
3149
|
+
"""
|
|
3150
|
+
return pulumi.get(self, "region")
|
|
3151
|
+
|
|
3152
|
+
@region.setter
|
|
3153
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
3154
|
+
pulumi.set(self, "region", value)
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
if not MYPY:
|
|
3158
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgsDict(TypedDict):
|
|
3159
|
+
pass_all: NotRequired[pulumi.Input[bool]]
|
|
3160
|
+
"""
|
|
3161
|
+
Indicates whether other headers except the following headers are transmitted to the source site. It takes effect only when the RedirectType is set to Mirror. content-length, authorization2, authorization, range, date, and other headers Headers whose names start with oss-/x-oss-/x-drs-
|
|
3162
|
+
"""
|
|
3163
|
+
passes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3164
|
+
"""
|
|
3165
|
+
Pass through the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3166
|
+
"""
|
|
3167
|
+
removes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
3168
|
+
"""
|
|
3169
|
+
Do not pass the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3170
|
+
"""
|
|
3171
|
+
sets: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgsDict']]]]
|
|
3172
|
+
"""
|
|
3173
|
+
Set a Header to send to the source site. Regardless of whether the request contains the specified Header, these headers will be set when returning to the source site. It takes effect only when the RedirectType is set to Mirror. See `set` below.
|
|
3174
|
+
"""
|
|
3175
|
+
elif False:
|
|
3176
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgsDict: TypeAlias = Mapping[str, Any]
|
|
3177
|
+
|
|
3178
|
+
@pulumi.input_type
|
|
3179
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersArgs:
|
|
3180
|
+
def __init__(__self__, *,
|
|
3181
|
+
pass_all: Optional[pulumi.Input[bool]] = None,
|
|
3182
|
+
passes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3183
|
+
removes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3184
|
+
sets: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs']]]] = None):
|
|
3185
|
+
"""
|
|
3186
|
+
:param pulumi.Input[bool] pass_all: Indicates whether other headers except the following headers are transmitted to the source site. It takes effect only when the RedirectType is set to Mirror. content-length, authorization2, authorization, range, date, and other headers Headers whose names start with oss-/x-oss-/x-drs-
|
|
3187
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] passes: Pass through the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3188
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] removes: Do not pass the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3189
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs']]] sets: Set a Header to send to the source site. Regardless of whether the request contains the specified Header, these headers will be set when returning to the source site. It takes effect only when the RedirectType is set to Mirror. See `set` below.
|
|
3190
|
+
"""
|
|
3191
|
+
if pass_all is not None:
|
|
3192
|
+
pulumi.set(__self__, "pass_all", pass_all)
|
|
3193
|
+
if passes is not None:
|
|
3194
|
+
pulumi.set(__self__, "passes", passes)
|
|
3195
|
+
if removes is not None:
|
|
3196
|
+
pulumi.set(__self__, "removes", removes)
|
|
3197
|
+
if sets is not None:
|
|
3198
|
+
pulumi.set(__self__, "sets", sets)
|
|
3199
|
+
|
|
3200
|
+
@property
|
|
3201
|
+
@pulumi.getter(name="passAll")
|
|
3202
|
+
def pass_all(self) -> Optional[pulumi.Input[bool]]:
|
|
3203
|
+
"""
|
|
3204
|
+
Indicates whether other headers except the following headers are transmitted to the source site. It takes effect only when the RedirectType is set to Mirror. content-length, authorization2, authorization, range, date, and other headers Headers whose names start with oss-/x-oss-/x-drs-
|
|
3205
|
+
"""
|
|
3206
|
+
return pulumi.get(self, "pass_all")
|
|
3207
|
+
|
|
3208
|
+
@pass_all.setter
|
|
3209
|
+
def pass_all(self, value: Optional[pulumi.Input[bool]]):
|
|
3210
|
+
pulumi.set(self, "pass_all", value)
|
|
3211
|
+
|
|
3212
|
+
@property
|
|
3213
|
+
@pulumi.getter
|
|
3214
|
+
def passes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3215
|
+
"""
|
|
3216
|
+
Pass through the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3217
|
+
"""
|
|
3218
|
+
return pulumi.get(self, "passes")
|
|
3219
|
+
|
|
3220
|
+
@passes.setter
|
|
3221
|
+
def passes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3222
|
+
pulumi.set(self, "passes", value)
|
|
3223
|
+
|
|
3224
|
+
@property
|
|
3225
|
+
@pulumi.getter
|
|
3226
|
+
def removes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3227
|
+
"""
|
|
3228
|
+
Do not pass the specified Header to the source site. It takes effect only when the RedirectType is set to Mirror. Each Header is up to 1024 bytes in length and has A character set of 0 to 9, a to Z, A to z, and dashes (-).
|
|
3229
|
+
"""
|
|
3230
|
+
return pulumi.get(self, "removes")
|
|
3231
|
+
|
|
3232
|
+
@removes.setter
|
|
3233
|
+
def removes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
3234
|
+
pulumi.set(self, "removes", value)
|
|
3235
|
+
|
|
3236
|
+
@property
|
|
3237
|
+
@pulumi.getter
|
|
3238
|
+
def sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs']]]]:
|
|
3239
|
+
"""
|
|
3240
|
+
Set a Header to send to the source site. Regardless of whether the request contains the specified Header, these headers will be set when returning to the source site. It takes effect only when the RedirectType is set to Mirror. See `set` below.
|
|
3241
|
+
"""
|
|
3242
|
+
return pulumi.get(self, "sets")
|
|
3243
|
+
|
|
3244
|
+
@sets.setter
|
|
3245
|
+
def sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs']]]]):
|
|
3246
|
+
pulumi.set(self, "sets", value)
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
if not MYPY:
|
|
3250
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgsDict(TypedDict):
|
|
3251
|
+
key: NotRequired[pulumi.Input[str]]
|
|
3252
|
+
value: NotRequired[pulumi.Input[str]]
|
|
3253
|
+
"""
|
|
3254
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3255
|
+
"""
|
|
3256
|
+
elif False:
|
|
3257
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgsDict: TypeAlias = Mapping[str, Any]
|
|
3258
|
+
|
|
3259
|
+
@pulumi.input_type
|
|
3260
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSetArgs:
|
|
3261
|
+
def __init__(__self__, *,
|
|
3262
|
+
key: Optional[pulumi.Input[str]] = None,
|
|
3263
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
3264
|
+
"""
|
|
3265
|
+
:param pulumi.Input[str] value: Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3266
|
+
"""
|
|
3267
|
+
if key is not None:
|
|
3268
|
+
pulumi.set(__self__, "key", key)
|
|
3269
|
+
if value is not None:
|
|
3270
|
+
pulumi.set(__self__, "value", value)
|
|
3271
|
+
|
|
3272
|
+
@property
|
|
3273
|
+
@pulumi.getter
|
|
3274
|
+
def key(self) -> Optional[pulumi.Input[str]]:
|
|
3275
|
+
return pulumi.get(self, "key")
|
|
3276
|
+
|
|
3277
|
+
@key.setter
|
|
3278
|
+
def key(self, value: Optional[pulumi.Input[str]]):
|
|
3279
|
+
pulumi.set(self, "key", value)
|
|
3280
|
+
|
|
3281
|
+
@property
|
|
3282
|
+
@pulumi.getter
|
|
3283
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
3284
|
+
"""
|
|
3285
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3286
|
+
"""
|
|
3287
|
+
return pulumi.get(self, "value")
|
|
3288
|
+
|
|
3289
|
+
@value.setter
|
|
3290
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
3291
|
+
pulumi.set(self, "value", value)
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
if not MYPY:
|
|
3295
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgsDict(TypedDict):
|
|
3296
|
+
mirror_multi_alternates: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgsDict']]]]
|
|
3297
|
+
"""
|
|
3298
|
+
Mirror back-to-source multi-source station configuration list See `mirror_multi_alternate` below.
|
|
3299
|
+
"""
|
|
3300
|
+
elif False:
|
|
3301
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgsDict: TypeAlias = Mapping[str, Any]
|
|
3302
|
+
|
|
3303
|
+
@pulumi.input_type
|
|
3304
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesArgs:
|
|
3305
|
+
def __init__(__self__, *,
|
|
3306
|
+
mirror_multi_alternates: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs']]]] = None):
|
|
3307
|
+
"""
|
|
3308
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs']]] mirror_multi_alternates: Mirror back-to-source multi-source station configuration list See `mirror_multi_alternate` below.
|
|
3309
|
+
"""
|
|
3310
|
+
if mirror_multi_alternates is not None:
|
|
3311
|
+
pulumi.set(__self__, "mirror_multi_alternates", mirror_multi_alternates)
|
|
3312
|
+
|
|
3313
|
+
@property
|
|
3314
|
+
@pulumi.getter(name="mirrorMultiAlternates")
|
|
3315
|
+
def mirror_multi_alternates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs']]]]:
|
|
3316
|
+
"""
|
|
3317
|
+
Mirror back-to-source multi-source station configuration list See `mirror_multi_alternate` below.
|
|
3318
|
+
"""
|
|
3319
|
+
return pulumi.get(self, "mirror_multi_alternates")
|
|
3320
|
+
|
|
3321
|
+
@mirror_multi_alternates.setter
|
|
3322
|
+
def mirror_multi_alternates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs']]]]):
|
|
3323
|
+
pulumi.set(self, "mirror_multi_alternates", value)
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
if not MYPY:
|
|
3327
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgsDict(TypedDict):
|
|
3328
|
+
mirror_multi_alternate_dst_region: NotRequired[pulumi.Input[str]]
|
|
3329
|
+
"""
|
|
3330
|
+
Mirroring back-to-source multi-station Region
|
|
3331
|
+
"""
|
|
3332
|
+
mirror_multi_alternate_number: NotRequired[pulumi.Input[int]]
|
|
3333
|
+
"""
|
|
3334
|
+
Image back-to-source multi-source station serial number
|
|
3335
|
+
"""
|
|
3336
|
+
mirror_multi_alternate_url: NotRequired[pulumi.Input[str]]
|
|
3337
|
+
"""
|
|
3338
|
+
Mirroring back-to-source multi-source site URL
|
|
3339
|
+
"""
|
|
3340
|
+
mirror_multi_alternate_vpc_id: NotRequired[pulumi.Input[str]]
|
|
3341
|
+
"""
|
|
3342
|
+
Mirroring back-to-source multi-source VpcId
|
|
3343
|
+
"""
|
|
3344
|
+
elif False:
|
|
3345
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgsDict: TypeAlias = Mapping[str, Any]
|
|
3346
|
+
|
|
3347
|
+
@pulumi.input_type
|
|
3348
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs:
|
|
3349
|
+
def __init__(__self__, *,
|
|
3350
|
+
mirror_multi_alternate_dst_region: Optional[pulumi.Input[str]] = None,
|
|
3351
|
+
mirror_multi_alternate_number: Optional[pulumi.Input[int]] = None,
|
|
3352
|
+
mirror_multi_alternate_url: Optional[pulumi.Input[str]] = None,
|
|
3353
|
+
mirror_multi_alternate_vpc_id: Optional[pulumi.Input[str]] = None):
|
|
3354
|
+
"""
|
|
3355
|
+
:param pulumi.Input[str] mirror_multi_alternate_dst_region: Mirroring back-to-source multi-station Region
|
|
3356
|
+
:param pulumi.Input[int] mirror_multi_alternate_number: Image back-to-source multi-source station serial number
|
|
3357
|
+
:param pulumi.Input[str] mirror_multi_alternate_url: Mirroring back-to-source multi-source site URL
|
|
3358
|
+
:param pulumi.Input[str] mirror_multi_alternate_vpc_id: Mirroring back-to-source multi-source VpcId
|
|
3359
|
+
"""
|
|
3360
|
+
if mirror_multi_alternate_dst_region is not None:
|
|
3361
|
+
pulumi.set(__self__, "mirror_multi_alternate_dst_region", mirror_multi_alternate_dst_region)
|
|
3362
|
+
if mirror_multi_alternate_number is not None:
|
|
3363
|
+
pulumi.set(__self__, "mirror_multi_alternate_number", mirror_multi_alternate_number)
|
|
3364
|
+
if mirror_multi_alternate_url is not None:
|
|
3365
|
+
pulumi.set(__self__, "mirror_multi_alternate_url", mirror_multi_alternate_url)
|
|
3366
|
+
if mirror_multi_alternate_vpc_id is not None:
|
|
3367
|
+
pulumi.set(__self__, "mirror_multi_alternate_vpc_id", mirror_multi_alternate_vpc_id)
|
|
3368
|
+
|
|
3369
|
+
@property
|
|
3370
|
+
@pulumi.getter(name="mirrorMultiAlternateDstRegion")
|
|
3371
|
+
def mirror_multi_alternate_dst_region(self) -> Optional[pulumi.Input[str]]:
|
|
3372
|
+
"""
|
|
3373
|
+
Mirroring back-to-source multi-station Region
|
|
3374
|
+
"""
|
|
3375
|
+
return pulumi.get(self, "mirror_multi_alternate_dst_region")
|
|
3376
|
+
|
|
3377
|
+
@mirror_multi_alternate_dst_region.setter
|
|
3378
|
+
def mirror_multi_alternate_dst_region(self, value: Optional[pulumi.Input[str]]):
|
|
3379
|
+
pulumi.set(self, "mirror_multi_alternate_dst_region", value)
|
|
3380
|
+
|
|
3381
|
+
@property
|
|
3382
|
+
@pulumi.getter(name="mirrorMultiAlternateNumber")
|
|
3383
|
+
def mirror_multi_alternate_number(self) -> Optional[pulumi.Input[int]]:
|
|
3384
|
+
"""
|
|
3385
|
+
Image back-to-source multi-source station serial number
|
|
3386
|
+
"""
|
|
3387
|
+
return pulumi.get(self, "mirror_multi_alternate_number")
|
|
3388
|
+
|
|
3389
|
+
@mirror_multi_alternate_number.setter
|
|
3390
|
+
def mirror_multi_alternate_number(self, value: Optional[pulumi.Input[int]]):
|
|
3391
|
+
pulumi.set(self, "mirror_multi_alternate_number", value)
|
|
3392
|
+
|
|
3393
|
+
@property
|
|
3394
|
+
@pulumi.getter(name="mirrorMultiAlternateUrl")
|
|
3395
|
+
def mirror_multi_alternate_url(self) -> Optional[pulumi.Input[str]]:
|
|
3396
|
+
"""
|
|
3397
|
+
Mirroring back-to-source multi-source site URL
|
|
3398
|
+
"""
|
|
3399
|
+
return pulumi.get(self, "mirror_multi_alternate_url")
|
|
3400
|
+
|
|
3401
|
+
@mirror_multi_alternate_url.setter
|
|
3402
|
+
def mirror_multi_alternate_url(self, value: Optional[pulumi.Input[str]]):
|
|
3403
|
+
pulumi.set(self, "mirror_multi_alternate_url", value)
|
|
3404
|
+
|
|
3405
|
+
@property
|
|
3406
|
+
@pulumi.getter(name="mirrorMultiAlternateVpcId")
|
|
3407
|
+
def mirror_multi_alternate_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
3408
|
+
"""
|
|
3409
|
+
Mirroring back-to-source multi-source VpcId
|
|
3410
|
+
"""
|
|
3411
|
+
return pulumi.get(self, "mirror_multi_alternate_vpc_id")
|
|
3412
|
+
|
|
3413
|
+
@mirror_multi_alternate_vpc_id.setter
|
|
3414
|
+
def mirror_multi_alternate_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
3415
|
+
pulumi.set(self, "mirror_multi_alternate_vpc_id", value)
|
|
3416
|
+
|
|
3417
|
+
|
|
3418
|
+
if not MYPY:
|
|
3419
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgsDict(TypedDict):
|
|
3420
|
+
return_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgsDict']]]]
|
|
3421
|
+
"""
|
|
3422
|
+
The list of response header rules for mirroring back-to-source return. See `return_header` below.
|
|
3423
|
+
"""
|
|
3424
|
+
elif False:
|
|
3425
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgsDict: TypeAlias = Mapping[str, Any]
|
|
3426
|
+
|
|
3427
|
+
@pulumi.input_type
|
|
3428
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersArgs:
|
|
3429
|
+
def __init__(__self__, *,
|
|
3430
|
+
return_headers: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs']]]] = None):
|
|
3431
|
+
"""
|
|
3432
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs']]] return_headers: The list of response header rules for mirroring back-to-source return. See `return_header` below.
|
|
3433
|
+
"""
|
|
3434
|
+
if return_headers is not None:
|
|
3435
|
+
pulumi.set(__self__, "return_headers", return_headers)
|
|
3436
|
+
|
|
3437
|
+
@property
|
|
3438
|
+
@pulumi.getter(name="returnHeaders")
|
|
3439
|
+
def return_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs']]]]:
|
|
3440
|
+
"""
|
|
3441
|
+
The list of response header rules for mirroring back-to-source return. See `return_header` below.
|
|
3442
|
+
"""
|
|
3443
|
+
return pulumi.get(self, "return_headers")
|
|
3444
|
+
|
|
3445
|
+
@return_headers.setter
|
|
3446
|
+
def return_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs']]]]):
|
|
3447
|
+
pulumi.set(self, "return_headers", value)
|
|
3448
|
+
|
|
3449
|
+
|
|
3450
|
+
if not MYPY:
|
|
3451
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgsDict(TypedDict):
|
|
3452
|
+
key: NotRequired[pulumi.Input[str]]
|
|
3453
|
+
value: NotRequired[pulumi.Input[str]]
|
|
3454
|
+
"""
|
|
3455
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3456
|
+
"""
|
|
3457
|
+
elif False:
|
|
3458
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgsDict: TypeAlias = Mapping[str, Any]
|
|
3459
|
+
|
|
3460
|
+
@pulumi.input_type
|
|
3461
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs:
|
|
3462
|
+
def __init__(__self__, *,
|
|
3463
|
+
key: Optional[pulumi.Input[str]] = None,
|
|
3464
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
3465
|
+
"""
|
|
3466
|
+
:param pulumi.Input[str] value: Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3467
|
+
"""
|
|
3468
|
+
if key is not None:
|
|
3469
|
+
pulumi.set(__self__, "key", key)
|
|
3470
|
+
if value is not None:
|
|
3471
|
+
pulumi.set(__self__, "value", value)
|
|
3472
|
+
|
|
3473
|
+
@property
|
|
3474
|
+
@pulumi.getter
|
|
3475
|
+
def key(self) -> Optional[pulumi.Input[str]]:
|
|
3476
|
+
return pulumi.get(self, "key")
|
|
3477
|
+
|
|
3478
|
+
@key.setter
|
|
3479
|
+
def key(self, value: Optional[pulumi.Input[str]]):
|
|
3480
|
+
pulumi.set(self, "key", value)
|
|
3481
|
+
|
|
3482
|
+
@property
|
|
3483
|
+
@pulumi.getter
|
|
3484
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
3485
|
+
"""
|
|
3486
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3487
|
+
"""
|
|
3488
|
+
return pulumi.get(self, "value")
|
|
3489
|
+
|
|
3490
|
+
@value.setter
|
|
3491
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
3492
|
+
pulumi.set(self, "value", value)
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
if not MYPY:
|
|
3496
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgsDict(TypedDict):
|
|
3497
|
+
taggings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgsDict']]]]
|
|
3498
|
+
"""
|
|
3499
|
+
Image back-to-source save label rule list See `taggings` below.
|
|
3500
|
+
"""
|
|
3501
|
+
elif False:
|
|
3502
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgsDict: TypeAlias = Mapping[str, Any]
|
|
3503
|
+
|
|
3504
|
+
@pulumi.input_type
|
|
3505
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsArgs:
|
|
3506
|
+
def __init__(__self__, *,
|
|
3507
|
+
taggings: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs']]]] = None):
|
|
3508
|
+
"""
|
|
3509
|
+
:param pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs']]] taggings: Image back-to-source save label rule list See `taggings` below.
|
|
3510
|
+
"""
|
|
3511
|
+
if taggings is not None:
|
|
3512
|
+
pulumi.set(__self__, "taggings", taggings)
|
|
3513
|
+
|
|
3514
|
+
@property
|
|
3515
|
+
@pulumi.getter
|
|
3516
|
+
def taggings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs']]]]:
|
|
3517
|
+
"""
|
|
3518
|
+
Image back-to-source save label rule list See `taggings` below.
|
|
3519
|
+
"""
|
|
3520
|
+
return pulumi.get(self, "taggings")
|
|
3521
|
+
|
|
3522
|
+
@taggings.setter
|
|
3523
|
+
def taggings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs']]]]):
|
|
3524
|
+
pulumi.set(self, "taggings", value)
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
if not MYPY:
|
|
3528
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgsDict(TypedDict):
|
|
3529
|
+
key: NotRequired[pulumi.Input[str]]
|
|
3530
|
+
value: NotRequired[pulumi.Input[str]]
|
|
3531
|
+
"""
|
|
3532
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3533
|
+
"""
|
|
3534
|
+
elif False:
|
|
3535
|
+
BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgsDict: TypeAlias = Mapping[str, Any]
|
|
3536
|
+
|
|
3537
|
+
@pulumi.input_type
|
|
3538
|
+
class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs:
|
|
3539
|
+
def __init__(__self__, *,
|
|
3540
|
+
key: Optional[pulumi.Input[str]] = None,
|
|
3541
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
3542
|
+
"""
|
|
3543
|
+
:param pulumi.Input[str] value: Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3544
|
+
"""
|
|
3545
|
+
if key is not None:
|
|
3546
|
+
pulumi.set(__self__, "key", key)
|
|
3547
|
+
if value is not None:
|
|
3548
|
+
pulumi.set(__self__, "value", value)
|
|
3549
|
+
|
|
3550
|
+
@property
|
|
3551
|
+
@pulumi.getter
|
|
3552
|
+
def key(self) -> Optional[pulumi.Input[str]]:
|
|
3553
|
+
return pulumi.get(self, "key")
|
|
3554
|
+
|
|
3555
|
+
@key.setter
|
|
3556
|
+
def key(self, value: Optional[pulumi.Input[str]]):
|
|
3557
|
+
pulumi.set(self, "key", value)
|
|
3558
|
+
|
|
3559
|
+
@property
|
|
3560
|
+
@pulumi.getter
|
|
3561
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
3562
|
+
"""
|
|
3563
|
+
Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
|
|
3564
|
+
"""
|
|
3565
|
+
return pulumi.get(self, "value")
|
|
3566
|
+
|
|
3567
|
+
@value.setter
|
|
3568
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
3569
|
+
pulumi.set(self, "value", value)
|
|
3570
|
+
|
|
3571
|
+
|