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.

Files changed (47) hide show
  1. pulumi_alicloud/__init__.py +56 -0
  2. pulumi_alicloud/adb/db_cluster.py +7 -0
  3. pulumi_alicloud/arms/__init__.py +2 -0
  4. pulumi_alicloud/arms/_inputs.py +42 -4
  5. pulumi_alicloud/arms/alert_robot.py +421 -0
  6. pulumi_alicloud/arms/dispatch_rule.py +4 -0
  7. pulumi_alicloud/arms/get_alert_robots.py +230 -0
  8. pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
  9. pulumi_alicloud/arms/outputs.py +154 -13
  10. pulumi_alicloud/cfg/rule.py +4 -4
  11. pulumi_alicloud/cs/autoscaling_config.py +51 -0
  12. pulumi_alicloud/dataworks/__init__.py +4 -0
  13. pulumi_alicloud/dataworks/_inputs.py +95 -0
  14. pulumi_alicloud/dataworks/data_source.py +686 -0
  15. pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
  16. pulumi_alicloud/dataworks/outputs.py +44 -0
  17. pulumi_alicloud/dataworks/project.py +294 -140
  18. pulumi_alicloud/dataworks/project_member.py +380 -0
  19. pulumi_alicloud/ecs/__init__.py +1 -0
  20. pulumi_alicloud/ecs/_inputs.py +34 -0
  21. pulumi_alicloud/ecs/disk.py +156 -14
  22. pulumi_alicloud/ecs/ecs_disk.py +308 -97
  23. pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
  24. pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
  25. pulumi_alicloud/ecs/instance.py +145 -0
  26. pulumi_alicloud/ecs/key_pair.py +27 -7
  27. pulumi_alicloud/ecs/outputs.py +37 -0
  28. pulumi_alicloud/oss/__init__.py +1 -0
  29. pulumi_alicloud/oss/_inputs.py +1750 -0
  30. pulumi_alicloud/oss/bucket_website.py +416 -0
  31. pulumi_alicloud/oss/outputs.py +1338 -0
  32. pulumi_alicloud/polardb/cluster.py +7 -7
  33. pulumi_alicloud/polardb/get_clusters.py +1 -1
  34. pulumi_alicloud/polardb/outputs.py +2 -2
  35. pulumi_alicloud/pulumi-plugin.json +1 -1
  36. pulumi_alicloud/redis/tair_instance.py +63 -30
  37. pulumi_alicloud/sae/application.py +1 -1
  38. pulumi_alicloud/slb/attachment.py +2 -6
  39. pulumi_alicloud/sls/__init__.py +1 -0
  40. pulumi_alicloud/sls/_inputs.py +484 -0
  41. pulumi_alicloud/sls/oss_export_sink.py +428 -0
  42. pulumi_alicloud/sls/outputs.py +346 -0
  43. pulumi_alicloud/vpc/network.py +7 -7
  44. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
  45. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
  46. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
@@ -41,6 +41,23 @@ __all__ = [
41
41
  'BucketTransferAcceleration',
42
42
  'BucketVersioning',
43
43
  'BucketWebsite',
44
+ 'BucketWebsiteErrorDocument',
45
+ 'BucketWebsiteIndexDocument',
46
+ 'BucketWebsiteRoutingRules',
47
+ 'BucketWebsiteRoutingRulesRoutingRule',
48
+ 'BucketWebsiteRoutingRulesRoutingRuleCondition',
49
+ 'BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader',
50
+ 'BucketWebsiteRoutingRulesRoutingRuleLuaConfig',
51
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirect',
52
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth',
53
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders',
54
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet',
55
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates',
56
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate',
57
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders',
58
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeader',
59
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggings',
60
+ 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTagging',
44
61
  'GetBucketObjectsObjectResult',
45
62
  'GetBucketsBucketResult',
46
63
  'GetBucketsBucketCorsRuleResult',
@@ -1438,6 +1455,1327 @@ class BucketWebsite(dict):
1438
1455
  return pulumi.get(self, "error_document")
1439
1456
 
1440
1457
 
1458
+ @pulumi.output_type
1459
+ class BucketWebsiteErrorDocument(dict):
1460
+ @staticmethod
1461
+ def __key_warning(key: str):
1462
+ suggest = None
1463
+ if key == "httpStatus":
1464
+ suggest = "http_status"
1465
+
1466
+ if suggest:
1467
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteErrorDocument. Access the value via the '{suggest}' property getter instead.")
1468
+
1469
+ def __getitem__(self, key: str) -> Any:
1470
+ BucketWebsiteErrorDocument.__key_warning(key)
1471
+ return super().__getitem__(key)
1472
+
1473
+ def get(self, key: str, default = None) -> Any:
1474
+ BucketWebsiteErrorDocument.__key_warning(key)
1475
+ return super().get(key, default)
1476
+
1477
+ def __init__(__self__, *,
1478
+ http_status: Optional[int] = None,
1479
+ key: Optional[str] = None):
1480
+ """
1481
+ :param int http_status: The HTTP status code when the error page is returned. The default 404.
1482
+ :param str key: The error page file. If the Object accessed does not exist, this error page is returned.
1483
+ """
1484
+ if http_status is not None:
1485
+ pulumi.set(__self__, "http_status", http_status)
1486
+ if key is not None:
1487
+ pulumi.set(__self__, "key", key)
1488
+
1489
+ @property
1490
+ @pulumi.getter(name="httpStatus")
1491
+ def http_status(self) -> Optional[int]:
1492
+ """
1493
+ The HTTP status code when the error page is returned. The default 404.
1494
+ """
1495
+ return pulumi.get(self, "http_status")
1496
+
1497
+ @property
1498
+ @pulumi.getter
1499
+ def key(self) -> Optional[str]:
1500
+ """
1501
+ The error page file. If the Object accessed does not exist, this error page is returned.
1502
+ """
1503
+ return pulumi.get(self, "key")
1504
+
1505
+
1506
+ @pulumi.output_type
1507
+ class BucketWebsiteIndexDocument(dict):
1508
+ @staticmethod
1509
+ def __key_warning(key: str):
1510
+ suggest = None
1511
+ if key == "supportSubDir":
1512
+ suggest = "support_sub_dir"
1513
+
1514
+ if suggest:
1515
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteIndexDocument. Access the value via the '{suggest}' property getter instead.")
1516
+
1517
+ def __getitem__(self, key: str) -> Any:
1518
+ BucketWebsiteIndexDocument.__key_warning(key)
1519
+ return super().__getitem__(key)
1520
+
1521
+ def get(self, key: str, default = None) -> Any:
1522
+ BucketWebsiteIndexDocument.__key_warning(key)
1523
+ return super().get(key, default)
1524
+
1525
+ def __init__(__self__, *,
1526
+ suffix: Optional[str] = None,
1527
+ support_sub_dir: Optional[bool] = None,
1528
+ type: Optional[str] = None):
1529
+ """
1530
+ :param str suffix: The default home page.
1531
+ :param bool support_sub_dir: Whether to jump to the default home page of a subdirectory when accessing a subdirectory.
1532
+ :param 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.
1533
+ """
1534
+ if suffix is not None:
1535
+ pulumi.set(__self__, "suffix", suffix)
1536
+ if support_sub_dir is not None:
1537
+ pulumi.set(__self__, "support_sub_dir", support_sub_dir)
1538
+ if type is not None:
1539
+ pulumi.set(__self__, "type", type)
1540
+
1541
+ @property
1542
+ @pulumi.getter
1543
+ def suffix(self) -> Optional[str]:
1544
+ """
1545
+ The default home page.
1546
+ """
1547
+ return pulumi.get(self, "suffix")
1548
+
1549
+ @property
1550
+ @pulumi.getter(name="supportSubDir")
1551
+ def support_sub_dir(self) -> Optional[bool]:
1552
+ """
1553
+ Whether to jump to the default home page of a subdirectory when accessing a subdirectory.
1554
+ """
1555
+ return pulumi.get(self, "support_sub_dir")
1556
+
1557
+ @property
1558
+ @pulumi.getter
1559
+ def type(self) -> Optional[str]:
1560
+ """
1561
+ 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.
1562
+ """
1563
+ return pulumi.get(self, "type")
1564
+
1565
+
1566
+ @pulumi.output_type
1567
+ class BucketWebsiteRoutingRules(dict):
1568
+ @staticmethod
1569
+ def __key_warning(key: str):
1570
+ suggest = None
1571
+ if key == "routingRules":
1572
+ suggest = "routing_rules"
1573
+
1574
+ if suggest:
1575
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRules. Access the value via the '{suggest}' property getter instead.")
1576
+
1577
+ def __getitem__(self, key: str) -> Any:
1578
+ BucketWebsiteRoutingRules.__key_warning(key)
1579
+ return super().__getitem__(key)
1580
+
1581
+ def get(self, key: str, default = None) -> Any:
1582
+ BucketWebsiteRoutingRules.__key_warning(key)
1583
+ return super().get(key, default)
1584
+
1585
+ def __init__(__self__, *,
1586
+ routing_rules: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRule']] = None):
1587
+ """
1588
+ :param Sequence['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.
1589
+ """
1590
+ if routing_rules is not None:
1591
+ pulumi.set(__self__, "routing_rules", routing_rules)
1592
+
1593
+ @property
1594
+ @pulumi.getter(name="routingRules")
1595
+ def routing_rules(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRule']]:
1596
+ """
1597
+ Specify a jump rule or a mirroring back-to-origin rule, with a maximum of 20 routing rules. See `routing_rule` below.
1598
+ """
1599
+ return pulumi.get(self, "routing_rules")
1600
+
1601
+
1602
+ @pulumi.output_type
1603
+ class BucketWebsiteRoutingRulesRoutingRule(dict):
1604
+ @staticmethod
1605
+ def __key_warning(key: str):
1606
+ suggest = None
1607
+ if key == "luaConfig":
1608
+ suggest = "lua_config"
1609
+ elif key == "ruleNumber":
1610
+ suggest = "rule_number"
1611
+
1612
+ if suggest:
1613
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRule. Access the value via the '{suggest}' property getter instead.")
1614
+
1615
+ def __getitem__(self, key: str) -> Any:
1616
+ BucketWebsiteRoutingRulesRoutingRule.__key_warning(key)
1617
+ return super().__getitem__(key)
1618
+
1619
+ def get(self, key: str, default = None) -> Any:
1620
+ BucketWebsiteRoutingRulesRoutingRule.__key_warning(key)
1621
+ return super().get(key, default)
1622
+
1623
+ def __init__(__self__, *,
1624
+ condition: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleCondition'] = None,
1625
+ lua_config: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleLuaConfig'] = None,
1626
+ redirect: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirect'] = None,
1627
+ rule_number: Optional[int] = None):
1628
+ """
1629
+ :param 'BucketWebsiteRoutingRulesRoutingRuleConditionArgs' condition: Save the criteria that the rule needs to match. See `condition` below.
1630
+ :param 'BucketWebsiteRoutingRulesRoutingRuleLuaConfigArgs' lua_config: The Lua script configuration to be executed. See `lua_config` below.
1631
+ :param 'BucketWebsiteRoutingRulesRoutingRuleRedirectArgs' redirect: Specifies the action to perform after this rule is matched. See `redirect` below.
1632
+ :param 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.
1633
+ """
1634
+ if condition is not None:
1635
+ pulumi.set(__self__, "condition", condition)
1636
+ if lua_config is not None:
1637
+ pulumi.set(__self__, "lua_config", lua_config)
1638
+ if redirect is not None:
1639
+ pulumi.set(__self__, "redirect", redirect)
1640
+ if rule_number is not None:
1641
+ pulumi.set(__self__, "rule_number", rule_number)
1642
+
1643
+ @property
1644
+ @pulumi.getter
1645
+ def condition(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleCondition']:
1646
+ """
1647
+ Save the criteria that the rule needs to match. See `condition` below.
1648
+ """
1649
+ return pulumi.get(self, "condition")
1650
+
1651
+ @property
1652
+ @pulumi.getter(name="luaConfig")
1653
+ def lua_config(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleLuaConfig']:
1654
+ """
1655
+ The Lua script configuration to be executed. See `lua_config` below.
1656
+ """
1657
+ return pulumi.get(self, "lua_config")
1658
+
1659
+ @property
1660
+ @pulumi.getter
1661
+ def redirect(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirect']:
1662
+ """
1663
+ Specifies the action to perform after this rule is matched. See `redirect` below.
1664
+ """
1665
+ return pulumi.get(self, "redirect")
1666
+
1667
+ @property
1668
+ @pulumi.getter(name="ruleNumber")
1669
+ def rule_number(self) -> Optional[int]:
1670
+ """
1671
+ 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.
1672
+ """
1673
+ return pulumi.get(self, "rule_number")
1674
+
1675
+
1676
+ @pulumi.output_type
1677
+ class BucketWebsiteRoutingRulesRoutingRuleCondition(dict):
1678
+ @staticmethod
1679
+ def __key_warning(key: str):
1680
+ suggest = None
1681
+ if key == "httpErrorCodeReturnedEquals":
1682
+ suggest = "http_error_code_returned_equals"
1683
+ elif key == "includeHeaders":
1684
+ suggest = "include_headers"
1685
+ elif key == "keyPrefixEquals":
1686
+ suggest = "key_prefix_equals"
1687
+ elif key == "keySuffixEquals":
1688
+ suggest = "key_suffix_equals"
1689
+
1690
+ if suggest:
1691
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleCondition. Access the value via the '{suggest}' property getter instead.")
1692
+
1693
+ def __getitem__(self, key: str) -> Any:
1694
+ BucketWebsiteRoutingRulesRoutingRuleCondition.__key_warning(key)
1695
+ return super().__getitem__(key)
1696
+
1697
+ def get(self, key: str, default = None) -> Any:
1698
+ BucketWebsiteRoutingRulesRoutingRuleCondition.__key_warning(key)
1699
+ return super().get(key, default)
1700
+
1701
+ def __init__(__self__, *,
1702
+ http_error_code_returned_equals: Optional[str] = None,
1703
+ include_headers: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader']] = None,
1704
+ key_prefix_equals: Optional[str] = None,
1705
+ key_suffix_equals: Optional[str] = None):
1706
+ """
1707
+ :param 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.
1708
+ :param Sequence['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.
1709
+ :param str key_prefix_equals: Only objects that match this prefix can match this rule.
1710
+ :param str key_suffix_equals: Only objects that match this suffix can match this rule.
1711
+ """
1712
+ if http_error_code_returned_equals is not None:
1713
+ pulumi.set(__self__, "http_error_code_returned_equals", http_error_code_returned_equals)
1714
+ if include_headers is not None:
1715
+ pulumi.set(__self__, "include_headers", include_headers)
1716
+ if key_prefix_equals is not None:
1717
+ pulumi.set(__self__, "key_prefix_equals", key_prefix_equals)
1718
+ if key_suffix_equals is not None:
1719
+ pulumi.set(__self__, "key_suffix_equals", key_suffix_equals)
1720
+
1721
+ @property
1722
+ @pulumi.getter(name="httpErrorCodeReturnedEquals")
1723
+ def http_error_code_returned_equals(self) -> Optional[str]:
1724
+ """
1725
+ 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.
1726
+ """
1727
+ return pulumi.get(self, "http_error_code_returned_equals")
1728
+
1729
+ @property
1730
+ @pulumi.getter(name="includeHeaders")
1731
+ def include_headers(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader']]:
1732
+ """
1733
+ 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.
1734
+ """
1735
+ return pulumi.get(self, "include_headers")
1736
+
1737
+ @property
1738
+ @pulumi.getter(name="keyPrefixEquals")
1739
+ def key_prefix_equals(self) -> Optional[str]:
1740
+ """
1741
+ Only objects that match this prefix can match this rule.
1742
+ """
1743
+ return pulumi.get(self, "key_prefix_equals")
1744
+
1745
+ @property
1746
+ @pulumi.getter(name="keySuffixEquals")
1747
+ def key_suffix_equals(self) -> Optional[str]:
1748
+ """
1749
+ Only objects that match this suffix can match this rule.
1750
+ """
1751
+ return pulumi.get(self, "key_suffix_equals")
1752
+
1753
+
1754
+ @pulumi.output_type
1755
+ class BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader(dict):
1756
+ @staticmethod
1757
+ def __key_warning(key: str):
1758
+ suggest = None
1759
+ if key == "endsWith":
1760
+ suggest = "ends_with"
1761
+ elif key == "startsWith":
1762
+ suggest = "starts_with"
1763
+
1764
+ if suggest:
1765
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader. Access the value via the '{suggest}' property getter instead.")
1766
+
1767
+ def __getitem__(self, key: str) -> Any:
1768
+ BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader.__key_warning(key)
1769
+ return super().__getitem__(key)
1770
+
1771
+ def get(self, key: str, default = None) -> Any:
1772
+ BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeader.__key_warning(key)
1773
+ return super().get(key, default)
1774
+
1775
+ def __init__(__self__, *,
1776
+ ends_with: Optional[str] = None,
1777
+ equals: Optional[str] = None,
1778
+ key: Optional[str] = None,
1779
+ starts_with: Optional[str] = None):
1780
+ """
1781
+ :param 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.
1782
+ :param str equals: This rule can only be matched if the request contains the Header specified by Key and the value is the specified value.
1783
+ :param 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.
1784
+ """
1785
+ if ends_with is not None:
1786
+ pulumi.set(__self__, "ends_with", ends_with)
1787
+ if equals is not None:
1788
+ pulumi.set(__self__, "equals", equals)
1789
+ if key is not None:
1790
+ pulumi.set(__self__, "key", key)
1791
+ if starts_with is not None:
1792
+ pulumi.set(__self__, "starts_with", starts_with)
1793
+
1794
+ @property
1795
+ @pulumi.getter(name="endsWith")
1796
+ def ends_with(self) -> Optional[str]:
1797
+ """
1798
+ This rule can only be matched if the request contains the Header specified by Key and the value ends with this value.
1799
+ """
1800
+ return pulumi.get(self, "ends_with")
1801
+
1802
+ @property
1803
+ @pulumi.getter
1804
+ def equals(self) -> Optional[str]:
1805
+ """
1806
+ This rule can only be matched if the request contains the Header specified by Key and the value is the specified value.
1807
+ """
1808
+ return pulumi.get(self, "equals")
1809
+
1810
+ @property
1811
+ @pulumi.getter
1812
+ def key(self) -> Optional[str]:
1813
+ return pulumi.get(self, "key")
1814
+
1815
+ @property
1816
+ @pulumi.getter(name="startsWith")
1817
+ def starts_with(self) -> Optional[str]:
1818
+ """
1819
+ This rule can only be matched if the request contains the Header specified by Key and the value starts with this value.
1820
+ """
1821
+ return pulumi.get(self, "starts_with")
1822
+
1823
+
1824
+ @pulumi.output_type
1825
+ class BucketWebsiteRoutingRulesRoutingRuleLuaConfig(dict):
1826
+ def __init__(__self__, *,
1827
+ script: Optional[str] = None):
1828
+ """
1829
+ :param str script: The Lua script name.
1830
+ """
1831
+ if script is not None:
1832
+ pulumi.set(__self__, "script", script)
1833
+
1834
+ @property
1835
+ @pulumi.getter
1836
+ def script(self) -> Optional[str]:
1837
+ """
1838
+ The Lua script name.
1839
+ """
1840
+ return pulumi.get(self, "script")
1841
+
1842
+
1843
+ @pulumi.output_type
1844
+ class BucketWebsiteRoutingRulesRoutingRuleRedirect(dict):
1845
+ @staticmethod
1846
+ def __key_warning(key: str):
1847
+ suggest = None
1848
+ if key == "enableReplacePrefix":
1849
+ suggest = "enable_replace_prefix"
1850
+ elif key == "hostName":
1851
+ suggest = "host_name"
1852
+ elif key == "httpRedirectCode":
1853
+ suggest = "http_redirect_code"
1854
+ elif key == "mirrorAllowGetImageInfo":
1855
+ suggest = "mirror_allow_get_image_info"
1856
+ elif key == "mirrorAllowHeadObject":
1857
+ suggest = "mirror_allow_head_object"
1858
+ elif key == "mirrorAllowVideoSnapshot":
1859
+ suggest = "mirror_allow_video_snapshot"
1860
+ elif key == "mirrorAsyncStatus":
1861
+ suggest = "mirror_async_status"
1862
+ elif key == "mirrorAuth":
1863
+ suggest = "mirror_auth"
1864
+ elif key == "mirrorCheckMd5":
1865
+ suggest = "mirror_check_md5"
1866
+ elif key == "mirrorDstRegion":
1867
+ suggest = "mirror_dst_region"
1868
+ elif key == "mirrorDstSlaveVpcId":
1869
+ suggest = "mirror_dst_slave_vpc_id"
1870
+ elif key == "mirrorDstVpcId":
1871
+ suggest = "mirror_dst_vpc_id"
1872
+ elif key == "mirrorFollowRedirect":
1873
+ suggest = "mirror_follow_redirect"
1874
+ elif key == "mirrorHeaders":
1875
+ suggest = "mirror_headers"
1876
+ elif key == "mirrorIsExpressTunnel":
1877
+ suggest = "mirror_is_express_tunnel"
1878
+ elif key == "mirrorMultiAlternates":
1879
+ suggest = "mirror_multi_alternates"
1880
+ elif key == "mirrorPassOriginalSlashes":
1881
+ suggest = "mirror_pass_original_slashes"
1882
+ elif key == "mirrorPassQueryString":
1883
+ suggest = "mirror_pass_query_string"
1884
+ elif key == "mirrorProxyPass":
1885
+ suggest = "mirror_proxy_pass"
1886
+ elif key == "mirrorReturnHeaders":
1887
+ suggest = "mirror_return_headers"
1888
+ elif key == "mirrorRole":
1889
+ suggest = "mirror_role"
1890
+ elif key == "mirrorSaveOssMeta":
1891
+ suggest = "mirror_save_oss_meta"
1892
+ elif key == "mirrorSni":
1893
+ suggest = "mirror_sni"
1894
+ elif key == "mirrorSwitchAllErrors":
1895
+ suggest = "mirror_switch_all_errors"
1896
+ elif key == "mirrorTaggings":
1897
+ suggest = "mirror_taggings"
1898
+ elif key == "mirrorTunnelId":
1899
+ suggest = "mirror_tunnel_id"
1900
+ elif key == "mirrorUrl":
1901
+ suggest = "mirror_url"
1902
+ elif key == "mirrorUrlProbe":
1903
+ suggest = "mirror_url_probe"
1904
+ elif key == "mirrorUrlSlave":
1905
+ suggest = "mirror_url_slave"
1906
+ elif key == "mirrorUserLastModified":
1907
+ suggest = "mirror_user_last_modified"
1908
+ elif key == "mirrorUsingRole":
1909
+ suggest = "mirror_using_role"
1910
+ elif key == "passQueryString":
1911
+ suggest = "pass_query_string"
1912
+ elif key == "redirectType":
1913
+ suggest = "redirect_type"
1914
+ elif key == "replaceKeyPrefixWith":
1915
+ suggest = "replace_key_prefix_with"
1916
+ elif key == "replaceKeyWith":
1917
+ suggest = "replace_key_with"
1918
+ elif key == "transparentMirrorResponseCodes":
1919
+ suggest = "transparent_mirror_response_codes"
1920
+
1921
+ if suggest:
1922
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirect. Access the value via the '{suggest}' property getter instead.")
1923
+
1924
+ def __getitem__(self, key: str) -> Any:
1925
+ BucketWebsiteRoutingRulesRoutingRuleRedirect.__key_warning(key)
1926
+ return super().__getitem__(key)
1927
+
1928
+ def get(self, key: str, default = None) -> Any:
1929
+ BucketWebsiteRoutingRulesRoutingRuleRedirect.__key_warning(key)
1930
+ return super().get(key, default)
1931
+
1932
+ def __init__(__self__, *,
1933
+ enable_replace_prefix: Optional[bool] = None,
1934
+ host_name: Optional[str] = None,
1935
+ http_redirect_code: Optional[str] = None,
1936
+ mirror_allow_get_image_info: Optional[bool] = None,
1937
+ mirror_allow_head_object: Optional[bool] = None,
1938
+ mirror_allow_video_snapshot: Optional[bool] = None,
1939
+ mirror_async_status: Optional[int] = None,
1940
+ mirror_auth: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth'] = None,
1941
+ mirror_check_md5: Optional[bool] = None,
1942
+ mirror_dst_region: Optional[str] = None,
1943
+ mirror_dst_slave_vpc_id: Optional[str] = None,
1944
+ mirror_dst_vpc_id: Optional[str] = None,
1945
+ mirror_follow_redirect: Optional[bool] = None,
1946
+ mirror_headers: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders'] = None,
1947
+ mirror_is_express_tunnel: Optional[bool] = None,
1948
+ mirror_multi_alternates: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates'] = None,
1949
+ mirror_pass_original_slashes: Optional[bool] = None,
1950
+ mirror_pass_query_string: Optional[bool] = None,
1951
+ mirror_proxy_pass: Optional[bool] = None,
1952
+ mirror_return_headers: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders'] = None,
1953
+ mirror_role: Optional[str] = None,
1954
+ mirror_save_oss_meta: Optional[bool] = None,
1955
+ mirror_sni: Optional[bool] = None,
1956
+ mirror_switch_all_errors: Optional[bool] = None,
1957
+ mirror_taggings: Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggings'] = None,
1958
+ mirror_tunnel_id: Optional[str] = None,
1959
+ mirror_url: Optional[str] = None,
1960
+ mirror_url_probe: Optional[str] = None,
1961
+ mirror_url_slave: Optional[str] = None,
1962
+ mirror_user_last_modified: Optional[bool] = None,
1963
+ mirror_using_role: Optional[bool] = None,
1964
+ pass_query_string: Optional[bool] = None,
1965
+ protocol: Optional[str] = None,
1966
+ redirect_type: Optional[str] = None,
1967
+ replace_key_prefix_with: Optional[str] = None,
1968
+ replace_key_with: Optional[str] = None,
1969
+ transparent_mirror_response_codes: Optional[str] = None):
1970
+ """
1971
+ :param 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.
1972
+ :param str host_name: The domain name during the jump. The domain name must comply with the domain name specification.
1973
+ :param str http_redirect_code: The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
1974
+ :param bool mirror_allow_get_image_info: Image back-to-source allows getting Image information
1975
+ :param bool mirror_allow_head_object: Whether to allow HeadObject in image back-to-source
1976
+ :param bool mirror_allow_video_snapshot: Mirror back-to-source allows support for video frame truncation
1977
+ :param int mirror_async_status: The status code of the mirror back-to-source trigger asynchronous pull mode.
1978
+ :param 'BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuthArgs' mirror_auth: Image back Source station authentication information See `mirror_auth` below.
1979
+ :param bool mirror_check_md5: Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
1980
+ :param str mirror_dst_region: Mirrored back-to-source high-speed Channel vpregion
1981
+ :param str mirror_dst_slave_vpc_id: Mirroring back-to-source high-speed Channel standby station VpcId
1982
+ :param str mirror_dst_vpc_id: Mirror back-to-source high-speed Channel VpcId
1983
+ :param 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.
1984
+ :param '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.
1985
+ :param bool mirror_is_express_tunnel: Whether it is a mirror back-to-source high-speed Channel
1986
+ :param '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.
1987
+ :param bool mirror_pass_original_slashes: Transparent transmission/to source Station
1988
+ :param bool mirror_pass_query_string: Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
1989
+ :param bool mirror_proxy_pass: Whether mirroring back to source does not save data
1990
+ :param '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.
1991
+ :param str mirror_role: Roles used when mirroring back-to-source
1992
+ :param bool mirror_save_oss_meta: Mirror back-to-source back-to-source OSS automatically saves user metadata
1993
+ :param bool mirror_sni: Transparent transmission of SNI
1994
+ :param 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.
1995
+ :param '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.
1996
+ :param str mirror_tunnel_id: Mirror back-to-source leased line back-to-source tunnel ID
1997
+ :param 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.
1998
+ :param str mirror_url_probe: Mirror back-to-source Master-backup back-to-source switching decision URL
1999
+ :param str mirror_url_slave: Mirror back-to-source primary backup back-to-source backup station URL
2000
+ :param bool mirror_user_last_modified: Whether the source station LastModifiedTime is used for the image back-to-source save file.
2001
+ :param bool mirror_using_role: Whether to use role for mirroring back to source
2002
+ :param 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)
2003
+ :param str protocol: The protocol at the time of the jump. It takes effect only when the RedirectType is set to External or AliCDN.
2004
+ :param 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.
2005
+ :param 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.
2006
+ :param 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.
2007
+ :param str transparent_mirror_response_codes: Mirror back-to-source transparent source station response code list
2008
+ """
2009
+ if enable_replace_prefix is not None:
2010
+ pulumi.set(__self__, "enable_replace_prefix", enable_replace_prefix)
2011
+ if host_name is not None:
2012
+ pulumi.set(__self__, "host_name", host_name)
2013
+ if http_redirect_code is not None:
2014
+ pulumi.set(__self__, "http_redirect_code", http_redirect_code)
2015
+ if mirror_allow_get_image_info is not None:
2016
+ pulumi.set(__self__, "mirror_allow_get_image_info", mirror_allow_get_image_info)
2017
+ if mirror_allow_head_object is not None:
2018
+ pulumi.set(__self__, "mirror_allow_head_object", mirror_allow_head_object)
2019
+ if mirror_allow_video_snapshot is not None:
2020
+ pulumi.set(__self__, "mirror_allow_video_snapshot", mirror_allow_video_snapshot)
2021
+ if mirror_async_status is not None:
2022
+ pulumi.set(__self__, "mirror_async_status", mirror_async_status)
2023
+ if mirror_auth is not None:
2024
+ pulumi.set(__self__, "mirror_auth", mirror_auth)
2025
+ if mirror_check_md5 is not None:
2026
+ pulumi.set(__self__, "mirror_check_md5", mirror_check_md5)
2027
+ if mirror_dst_region is not None:
2028
+ pulumi.set(__self__, "mirror_dst_region", mirror_dst_region)
2029
+ if mirror_dst_slave_vpc_id is not None:
2030
+ pulumi.set(__self__, "mirror_dst_slave_vpc_id", mirror_dst_slave_vpc_id)
2031
+ if mirror_dst_vpc_id is not None:
2032
+ pulumi.set(__self__, "mirror_dst_vpc_id", mirror_dst_vpc_id)
2033
+ if mirror_follow_redirect is not None:
2034
+ pulumi.set(__self__, "mirror_follow_redirect", mirror_follow_redirect)
2035
+ if mirror_headers is not None:
2036
+ pulumi.set(__self__, "mirror_headers", mirror_headers)
2037
+ if mirror_is_express_tunnel is not None:
2038
+ pulumi.set(__self__, "mirror_is_express_tunnel", mirror_is_express_tunnel)
2039
+ if mirror_multi_alternates is not None:
2040
+ pulumi.set(__self__, "mirror_multi_alternates", mirror_multi_alternates)
2041
+ if mirror_pass_original_slashes is not None:
2042
+ pulumi.set(__self__, "mirror_pass_original_slashes", mirror_pass_original_slashes)
2043
+ if mirror_pass_query_string is not None:
2044
+ pulumi.set(__self__, "mirror_pass_query_string", mirror_pass_query_string)
2045
+ if mirror_proxy_pass is not None:
2046
+ pulumi.set(__self__, "mirror_proxy_pass", mirror_proxy_pass)
2047
+ if mirror_return_headers is not None:
2048
+ pulumi.set(__self__, "mirror_return_headers", mirror_return_headers)
2049
+ if mirror_role is not None:
2050
+ pulumi.set(__self__, "mirror_role", mirror_role)
2051
+ if mirror_save_oss_meta is not None:
2052
+ pulumi.set(__self__, "mirror_save_oss_meta", mirror_save_oss_meta)
2053
+ if mirror_sni is not None:
2054
+ pulumi.set(__self__, "mirror_sni", mirror_sni)
2055
+ if mirror_switch_all_errors is not None:
2056
+ pulumi.set(__self__, "mirror_switch_all_errors", mirror_switch_all_errors)
2057
+ if mirror_taggings is not None:
2058
+ pulumi.set(__self__, "mirror_taggings", mirror_taggings)
2059
+ if mirror_tunnel_id is not None:
2060
+ pulumi.set(__self__, "mirror_tunnel_id", mirror_tunnel_id)
2061
+ if mirror_url is not None:
2062
+ pulumi.set(__self__, "mirror_url", mirror_url)
2063
+ if mirror_url_probe is not None:
2064
+ pulumi.set(__self__, "mirror_url_probe", mirror_url_probe)
2065
+ if mirror_url_slave is not None:
2066
+ pulumi.set(__self__, "mirror_url_slave", mirror_url_slave)
2067
+ if mirror_user_last_modified is not None:
2068
+ pulumi.set(__self__, "mirror_user_last_modified", mirror_user_last_modified)
2069
+ if mirror_using_role is not None:
2070
+ pulumi.set(__self__, "mirror_using_role", mirror_using_role)
2071
+ if pass_query_string is not None:
2072
+ pulumi.set(__self__, "pass_query_string", pass_query_string)
2073
+ if protocol is not None:
2074
+ pulumi.set(__self__, "protocol", protocol)
2075
+ if redirect_type is not None:
2076
+ pulumi.set(__self__, "redirect_type", redirect_type)
2077
+ if replace_key_prefix_with is not None:
2078
+ pulumi.set(__self__, "replace_key_prefix_with", replace_key_prefix_with)
2079
+ if replace_key_with is not None:
2080
+ pulumi.set(__self__, "replace_key_with", replace_key_with)
2081
+ if transparent_mirror_response_codes is not None:
2082
+ pulumi.set(__self__, "transparent_mirror_response_codes", transparent_mirror_response_codes)
2083
+
2084
+ @property
2085
+ @pulumi.getter(name="enableReplacePrefix")
2086
+ def enable_replace_prefix(self) -> Optional[bool]:
2087
+ """
2088
+ 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.
2089
+ """
2090
+ return pulumi.get(self, "enable_replace_prefix")
2091
+
2092
+ @property
2093
+ @pulumi.getter(name="hostName")
2094
+ def host_name(self) -> Optional[str]:
2095
+ """
2096
+ The domain name during the jump. The domain name must comply with the domain name specification.
2097
+ """
2098
+ return pulumi.get(self, "host_name")
2099
+
2100
+ @property
2101
+ @pulumi.getter(name="httpRedirectCode")
2102
+ def http_redirect_code(self) -> Optional[str]:
2103
+ """
2104
+ The status code returned during the jump. It takes effect only when the RedirectType is set to External or AliCDN.
2105
+ """
2106
+ return pulumi.get(self, "http_redirect_code")
2107
+
2108
+ @property
2109
+ @pulumi.getter(name="mirrorAllowGetImageInfo")
2110
+ def mirror_allow_get_image_info(self) -> Optional[bool]:
2111
+ """
2112
+ Image back-to-source allows getting Image information
2113
+ """
2114
+ return pulumi.get(self, "mirror_allow_get_image_info")
2115
+
2116
+ @property
2117
+ @pulumi.getter(name="mirrorAllowHeadObject")
2118
+ def mirror_allow_head_object(self) -> Optional[bool]:
2119
+ """
2120
+ Whether to allow HeadObject in image back-to-source
2121
+ """
2122
+ return pulumi.get(self, "mirror_allow_head_object")
2123
+
2124
+ @property
2125
+ @pulumi.getter(name="mirrorAllowVideoSnapshot")
2126
+ def mirror_allow_video_snapshot(self) -> Optional[bool]:
2127
+ """
2128
+ Mirror back-to-source allows support for video frame truncation
2129
+ """
2130
+ return pulumi.get(self, "mirror_allow_video_snapshot")
2131
+
2132
+ @property
2133
+ @pulumi.getter(name="mirrorAsyncStatus")
2134
+ def mirror_async_status(self) -> Optional[int]:
2135
+ """
2136
+ The status code of the mirror back-to-source trigger asynchronous pull mode.
2137
+ """
2138
+ return pulumi.get(self, "mirror_async_status")
2139
+
2140
+ @property
2141
+ @pulumi.getter(name="mirrorAuth")
2142
+ def mirror_auth(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth']:
2143
+ """
2144
+ Image back Source station authentication information See `mirror_auth` below.
2145
+ """
2146
+ return pulumi.get(self, "mirror_auth")
2147
+
2148
+ @property
2149
+ @pulumi.getter(name="mirrorCheckMd5")
2150
+ def mirror_check_md5(self) -> Optional[bool]:
2151
+ """
2152
+ Whether to check the MD5 of the source body. It takes effect only when the RedirectType is set to Mirror.
2153
+ """
2154
+ return pulumi.get(self, "mirror_check_md5")
2155
+
2156
+ @property
2157
+ @pulumi.getter(name="mirrorDstRegion")
2158
+ def mirror_dst_region(self) -> Optional[str]:
2159
+ """
2160
+ Mirrored back-to-source high-speed Channel vpregion
2161
+ """
2162
+ return pulumi.get(self, "mirror_dst_region")
2163
+
2164
+ @property
2165
+ @pulumi.getter(name="mirrorDstSlaveVpcId")
2166
+ def mirror_dst_slave_vpc_id(self) -> Optional[str]:
2167
+ """
2168
+ Mirroring back-to-source high-speed Channel standby station VpcId
2169
+ """
2170
+ return pulumi.get(self, "mirror_dst_slave_vpc_id")
2171
+
2172
+ @property
2173
+ @pulumi.getter(name="mirrorDstVpcId")
2174
+ def mirror_dst_vpc_id(self) -> Optional[str]:
2175
+ """
2176
+ Mirror back-to-source high-speed Channel VpcId
2177
+ """
2178
+ return pulumi.get(self, "mirror_dst_vpc_id")
2179
+
2180
+ @property
2181
+ @pulumi.getter(name="mirrorFollowRedirect")
2182
+ def mirror_follow_redirect(self) -> Optional[bool]:
2183
+ """
2184
+ 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.
2185
+ """
2186
+ return pulumi.get(self, "mirror_follow_redirect")
2187
+
2188
+ @property
2189
+ @pulumi.getter(name="mirrorHeaders")
2190
+ def mirror_headers(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders']:
2191
+ """
2192
+ 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.
2193
+ """
2194
+ return pulumi.get(self, "mirror_headers")
2195
+
2196
+ @property
2197
+ @pulumi.getter(name="mirrorIsExpressTunnel")
2198
+ def mirror_is_express_tunnel(self) -> Optional[bool]:
2199
+ """
2200
+ Whether it is a mirror back-to-source high-speed Channel
2201
+ """
2202
+ return pulumi.get(self, "mirror_is_express_tunnel")
2203
+
2204
+ @property
2205
+ @pulumi.getter(name="mirrorMultiAlternates")
2206
+ def mirror_multi_alternates(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates']:
2207
+ """
2208
+ 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.
2209
+ """
2210
+ return pulumi.get(self, "mirror_multi_alternates")
2211
+
2212
+ @property
2213
+ @pulumi.getter(name="mirrorPassOriginalSlashes")
2214
+ def mirror_pass_original_slashes(self) -> Optional[bool]:
2215
+ """
2216
+ Transparent transmission/to source Station
2217
+ """
2218
+ return pulumi.get(self, "mirror_pass_original_slashes")
2219
+
2220
+ @property
2221
+ @pulumi.getter(name="mirrorPassQueryString")
2222
+ def mirror_pass_query_string(self) -> Optional[bool]:
2223
+ """
2224
+ Same as PassQueryString and takes precedence over PassQueryString. It takes effect only when the RedirectType is set to Mirror.
2225
+ """
2226
+ return pulumi.get(self, "mirror_pass_query_string")
2227
+
2228
+ @property
2229
+ @pulumi.getter(name="mirrorProxyPass")
2230
+ def mirror_proxy_pass(self) -> Optional[bool]:
2231
+ """
2232
+ Whether mirroring back to source does not save data
2233
+ """
2234
+ return pulumi.get(self, "mirror_proxy_pass")
2235
+
2236
+ @property
2237
+ @pulumi.getter(name="mirrorReturnHeaders")
2238
+ def mirror_return_headers(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders']:
2239
+ """
2240
+ 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.
2241
+ """
2242
+ return pulumi.get(self, "mirror_return_headers")
2243
+
2244
+ @property
2245
+ @pulumi.getter(name="mirrorRole")
2246
+ def mirror_role(self) -> Optional[str]:
2247
+ """
2248
+ Roles used when mirroring back-to-source
2249
+ """
2250
+ return pulumi.get(self, "mirror_role")
2251
+
2252
+ @property
2253
+ @pulumi.getter(name="mirrorSaveOssMeta")
2254
+ def mirror_save_oss_meta(self) -> Optional[bool]:
2255
+ """
2256
+ Mirror back-to-source back-to-source OSS automatically saves user metadata
2257
+ """
2258
+ return pulumi.get(self, "mirror_save_oss_meta")
2259
+
2260
+ @property
2261
+ @pulumi.getter(name="mirrorSni")
2262
+ def mirror_sni(self) -> Optional[bool]:
2263
+ """
2264
+ Transparent transmission of SNI
2265
+ """
2266
+ return pulumi.get(self, "mirror_sni")
2267
+
2268
+ @property
2269
+ @pulumi.getter(name="mirrorSwitchAllErrors")
2270
+ def mirror_switch_all_errors(self) -> Optional[bool]:
2271
+ """
2272
+ 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.
2273
+ """
2274
+ return pulumi.get(self, "mirror_switch_all_errors")
2275
+
2276
+ @property
2277
+ @pulumi.getter(name="mirrorTaggings")
2278
+ def mirror_taggings(self) -> Optional['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggings']:
2279
+ """
2280
+ 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.
2281
+ """
2282
+ return pulumi.get(self, "mirror_taggings")
2283
+
2284
+ @property
2285
+ @pulumi.getter(name="mirrorTunnelId")
2286
+ def mirror_tunnel_id(self) -> Optional[str]:
2287
+ """
2288
+ Mirror back-to-source leased line back-to-source tunnel ID
2289
+ """
2290
+ return pulumi.get(self, "mirror_tunnel_id")
2291
+
2292
+ @property
2293
+ @pulumi.getter(name="mirrorUrl")
2294
+ def mirror_url(self) -> Optional[str]:
2295
+ """
2296
+ 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.
2297
+ """
2298
+ return pulumi.get(self, "mirror_url")
2299
+
2300
+ @property
2301
+ @pulumi.getter(name="mirrorUrlProbe")
2302
+ def mirror_url_probe(self) -> Optional[str]:
2303
+ """
2304
+ Mirror back-to-source Master-backup back-to-source switching decision URL
2305
+ """
2306
+ return pulumi.get(self, "mirror_url_probe")
2307
+
2308
+ @property
2309
+ @pulumi.getter(name="mirrorUrlSlave")
2310
+ def mirror_url_slave(self) -> Optional[str]:
2311
+ """
2312
+ Mirror back-to-source primary backup back-to-source backup station URL
2313
+ """
2314
+ return pulumi.get(self, "mirror_url_slave")
2315
+
2316
+ @property
2317
+ @pulumi.getter(name="mirrorUserLastModified")
2318
+ def mirror_user_last_modified(self) -> Optional[bool]:
2319
+ """
2320
+ Whether the source station LastModifiedTime is used for the image back-to-source save file.
2321
+ """
2322
+ return pulumi.get(self, "mirror_user_last_modified")
2323
+
2324
+ @property
2325
+ @pulumi.getter(name="mirrorUsingRole")
2326
+ def mirror_using_role(self) -> Optional[bool]:
2327
+ """
2328
+ Whether to use role for mirroring back to source
2329
+ """
2330
+ return pulumi.get(self, "mirror_using_role")
2331
+
2332
+ @property
2333
+ @pulumi.getter(name="passQueryString")
2334
+ def pass_query_string(self) -> Optional[bool]:
2335
+ """
2336
+ 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)
2337
+ """
2338
+ return pulumi.get(self, "pass_query_string")
2339
+
2340
+ @property
2341
+ @pulumi.getter
2342
+ def protocol(self) -> Optional[str]:
2343
+ """
2344
+ The protocol at the time of the jump. It takes effect only when the RedirectType is set to External or AliCDN.
2345
+ """
2346
+ return pulumi.get(self, "protocol")
2347
+
2348
+ @property
2349
+ @pulumi.getter(name="redirectType")
2350
+ def redirect_type(self) -> Optional[str]:
2351
+ """
2352
+ 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.
2353
+ """
2354
+ return pulumi.get(self, "redirect_type")
2355
+
2356
+ @property
2357
+ @pulumi.getter(name="replaceKeyPrefixWith")
2358
+ def replace_key_prefix_with(self) -> Optional[str]:
2359
+ """
2360
+ 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.
2361
+ """
2362
+ return pulumi.get(self, "replace_key_prefix_with")
2363
+
2364
+ @property
2365
+ @pulumi.getter(name="replaceKeyWith")
2366
+ def replace_key_with(self) -> Optional[str]:
2367
+ """
2368
+ 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.
2369
+ """
2370
+ return pulumi.get(self, "replace_key_with")
2371
+
2372
+ @property
2373
+ @pulumi.getter(name="transparentMirrorResponseCodes")
2374
+ def transparent_mirror_response_codes(self) -> Optional[str]:
2375
+ """
2376
+ Mirror back-to-source transparent source station response code list
2377
+ """
2378
+ return pulumi.get(self, "transparent_mirror_response_codes")
2379
+
2380
+
2381
+ @pulumi.output_type
2382
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth(dict):
2383
+ @staticmethod
2384
+ def __key_warning(key: str):
2385
+ suggest = None
2386
+ if key == "accessKeyId":
2387
+ suggest = "access_key_id"
2388
+ elif key == "accessKeySecret":
2389
+ suggest = "access_key_secret"
2390
+ elif key == "authType":
2391
+ suggest = "auth_type"
2392
+
2393
+ if suggest:
2394
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth. Access the value via the '{suggest}' property getter instead.")
2395
+
2396
+ def __getitem__(self, key: str) -> Any:
2397
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth.__key_warning(key)
2398
+ return super().__getitem__(key)
2399
+
2400
+ def get(self, key: str, default = None) -> Any:
2401
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorAuth.__key_warning(key)
2402
+ return super().get(key, default)
2403
+
2404
+ def __init__(__self__, *,
2405
+ access_key_id: Optional[str] = None,
2406
+ access_key_secret: Optional[str] = None,
2407
+ auth_type: Optional[str] = None,
2408
+ region: Optional[str] = None):
2409
+ """
2410
+ :param str access_key_id: Mirror back-to-source source Station back-to-source AK
2411
+ :param str access_key_secret: Mirroring back to the source station back to the source SK will be automatically desensitized when obtaining the configuration.
2412
+ :param str auth_type: Authentication type of mirror return Source
2413
+ :param str region: Signature Region
2414
+ """
2415
+ if access_key_id is not None:
2416
+ pulumi.set(__self__, "access_key_id", access_key_id)
2417
+ if access_key_secret is not None:
2418
+ pulumi.set(__self__, "access_key_secret", access_key_secret)
2419
+ if auth_type is not None:
2420
+ pulumi.set(__self__, "auth_type", auth_type)
2421
+ if region is not None:
2422
+ pulumi.set(__self__, "region", region)
2423
+
2424
+ @property
2425
+ @pulumi.getter(name="accessKeyId")
2426
+ def access_key_id(self) -> Optional[str]:
2427
+ """
2428
+ Mirror back-to-source source Station back-to-source AK
2429
+ """
2430
+ return pulumi.get(self, "access_key_id")
2431
+
2432
+ @property
2433
+ @pulumi.getter(name="accessKeySecret")
2434
+ def access_key_secret(self) -> Optional[str]:
2435
+ """
2436
+ Mirroring back to the source station back to the source SK will be automatically desensitized when obtaining the configuration.
2437
+ """
2438
+ return pulumi.get(self, "access_key_secret")
2439
+
2440
+ @property
2441
+ @pulumi.getter(name="authType")
2442
+ def auth_type(self) -> Optional[str]:
2443
+ """
2444
+ Authentication type of mirror return Source
2445
+ """
2446
+ return pulumi.get(self, "auth_type")
2447
+
2448
+ @property
2449
+ @pulumi.getter
2450
+ def region(self) -> Optional[str]:
2451
+ """
2452
+ Signature Region
2453
+ """
2454
+ return pulumi.get(self, "region")
2455
+
2456
+
2457
+ @pulumi.output_type
2458
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders(dict):
2459
+ @staticmethod
2460
+ def __key_warning(key: str):
2461
+ suggest = None
2462
+ if key == "passAll":
2463
+ suggest = "pass_all"
2464
+
2465
+ if suggest:
2466
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders. Access the value via the '{suggest}' property getter instead.")
2467
+
2468
+ def __getitem__(self, key: str) -> Any:
2469
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders.__key_warning(key)
2470
+ return super().__getitem__(key)
2471
+
2472
+ def get(self, key: str, default = None) -> Any:
2473
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeaders.__key_warning(key)
2474
+ return super().get(key, default)
2475
+
2476
+ def __init__(__self__, *,
2477
+ pass_all: Optional[bool] = None,
2478
+ passes: Optional[Sequence[str]] = None,
2479
+ removes: Optional[Sequence[str]] = None,
2480
+ sets: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet']] = None):
2481
+ """
2482
+ :param 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-
2483
+ :param Sequence[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 (-).
2484
+ :param Sequence[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 (-).
2485
+ :param Sequence['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.
2486
+ """
2487
+ if pass_all is not None:
2488
+ pulumi.set(__self__, "pass_all", pass_all)
2489
+ if passes is not None:
2490
+ pulumi.set(__self__, "passes", passes)
2491
+ if removes is not None:
2492
+ pulumi.set(__self__, "removes", removes)
2493
+ if sets is not None:
2494
+ pulumi.set(__self__, "sets", sets)
2495
+
2496
+ @property
2497
+ @pulumi.getter(name="passAll")
2498
+ def pass_all(self) -> Optional[bool]:
2499
+ """
2500
+ 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-
2501
+ """
2502
+ return pulumi.get(self, "pass_all")
2503
+
2504
+ @property
2505
+ @pulumi.getter
2506
+ def passes(self) -> Optional[Sequence[str]]:
2507
+ """
2508
+ 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 (-).
2509
+ """
2510
+ return pulumi.get(self, "passes")
2511
+
2512
+ @property
2513
+ @pulumi.getter
2514
+ def removes(self) -> Optional[Sequence[str]]:
2515
+ """
2516
+ 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 (-).
2517
+ """
2518
+ return pulumi.get(self, "removes")
2519
+
2520
+ @property
2521
+ @pulumi.getter
2522
+ def sets(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet']]:
2523
+ """
2524
+ 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.
2525
+ """
2526
+ return pulumi.get(self, "sets")
2527
+
2528
+
2529
+ @pulumi.output_type
2530
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorHeadersSet(dict):
2531
+ def __init__(__self__, *,
2532
+ key: Optional[str] = None,
2533
+ value: Optional[str] = None):
2534
+ """
2535
+ :param 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.
2536
+ """
2537
+ if key is not None:
2538
+ pulumi.set(__self__, "key", key)
2539
+ if value is not None:
2540
+ pulumi.set(__self__, "value", value)
2541
+
2542
+ @property
2543
+ @pulumi.getter
2544
+ def key(self) -> Optional[str]:
2545
+ return pulumi.get(self, "key")
2546
+
2547
+ @property
2548
+ @pulumi.getter
2549
+ def value(self) -> Optional[str]:
2550
+ """
2551
+ Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
2552
+ """
2553
+ return pulumi.get(self, "value")
2554
+
2555
+
2556
+ @pulumi.output_type
2557
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates(dict):
2558
+ @staticmethod
2559
+ def __key_warning(key: str):
2560
+ suggest = None
2561
+ if key == "mirrorMultiAlternates":
2562
+ suggest = "mirror_multi_alternates"
2563
+
2564
+ if suggest:
2565
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates. Access the value via the '{suggest}' property getter instead.")
2566
+
2567
+ def __getitem__(self, key: str) -> Any:
2568
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates.__key_warning(key)
2569
+ return super().__getitem__(key)
2570
+
2571
+ def get(self, key: str, default = None) -> Any:
2572
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternates.__key_warning(key)
2573
+ return super().get(key, default)
2574
+
2575
+ def __init__(__self__, *,
2576
+ mirror_multi_alternates: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate']] = None):
2577
+ """
2578
+ :param Sequence['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternateArgs'] mirror_multi_alternates: Mirror back-to-source multi-source station configuration list See `mirror_multi_alternate` below.
2579
+ """
2580
+ if mirror_multi_alternates is not None:
2581
+ pulumi.set(__self__, "mirror_multi_alternates", mirror_multi_alternates)
2582
+
2583
+ @property
2584
+ @pulumi.getter(name="mirrorMultiAlternates")
2585
+ def mirror_multi_alternates(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate']]:
2586
+ """
2587
+ Mirror back-to-source multi-source station configuration list See `mirror_multi_alternate` below.
2588
+ """
2589
+ return pulumi.get(self, "mirror_multi_alternates")
2590
+
2591
+
2592
+ @pulumi.output_type
2593
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate(dict):
2594
+ @staticmethod
2595
+ def __key_warning(key: str):
2596
+ suggest = None
2597
+ if key == "mirrorMultiAlternateDstRegion":
2598
+ suggest = "mirror_multi_alternate_dst_region"
2599
+ elif key == "mirrorMultiAlternateNumber":
2600
+ suggest = "mirror_multi_alternate_number"
2601
+ elif key == "mirrorMultiAlternateUrl":
2602
+ suggest = "mirror_multi_alternate_url"
2603
+ elif key == "mirrorMultiAlternateVpcId":
2604
+ suggest = "mirror_multi_alternate_vpc_id"
2605
+
2606
+ if suggest:
2607
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate. Access the value via the '{suggest}' property getter instead.")
2608
+
2609
+ def __getitem__(self, key: str) -> Any:
2610
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate.__key_warning(key)
2611
+ return super().__getitem__(key)
2612
+
2613
+ def get(self, key: str, default = None) -> Any:
2614
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorMultiAlternatesMirrorMultiAlternate.__key_warning(key)
2615
+ return super().get(key, default)
2616
+
2617
+ def __init__(__self__, *,
2618
+ mirror_multi_alternate_dst_region: Optional[str] = None,
2619
+ mirror_multi_alternate_number: Optional[int] = None,
2620
+ mirror_multi_alternate_url: Optional[str] = None,
2621
+ mirror_multi_alternate_vpc_id: Optional[str] = None):
2622
+ """
2623
+ :param str mirror_multi_alternate_dst_region: Mirroring back-to-source multi-station Region
2624
+ :param int mirror_multi_alternate_number: Image back-to-source multi-source station serial number
2625
+ :param str mirror_multi_alternate_url: Mirroring back-to-source multi-source site URL
2626
+ :param str mirror_multi_alternate_vpc_id: Mirroring back-to-source multi-source VpcId
2627
+ """
2628
+ if mirror_multi_alternate_dst_region is not None:
2629
+ pulumi.set(__self__, "mirror_multi_alternate_dst_region", mirror_multi_alternate_dst_region)
2630
+ if mirror_multi_alternate_number is not None:
2631
+ pulumi.set(__self__, "mirror_multi_alternate_number", mirror_multi_alternate_number)
2632
+ if mirror_multi_alternate_url is not None:
2633
+ pulumi.set(__self__, "mirror_multi_alternate_url", mirror_multi_alternate_url)
2634
+ if mirror_multi_alternate_vpc_id is not None:
2635
+ pulumi.set(__self__, "mirror_multi_alternate_vpc_id", mirror_multi_alternate_vpc_id)
2636
+
2637
+ @property
2638
+ @pulumi.getter(name="mirrorMultiAlternateDstRegion")
2639
+ def mirror_multi_alternate_dst_region(self) -> Optional[str]:
2640
+ """
2641
+ Mirroring back-to-source multi-station Region
2642
+ """
2643
+ return pulumi.get(self, "mirror_multi_alternate_dst_region")
2644
+
2645
+ @property
2646
+ @pulumi.getter(name="mirrorMultiAlternateNumber")
2647
+ def mirror_multi_alternate_number(self) -> Optional[int]:
2648
+ """
2649
+ Image back-to-source multi-source station serial number
2650
+ """
2651
+ return pulumi.get(self, "mirror_multi_alternate_number")
2652
+
2653
+ @property
2654
+ @pulumi.getter(name="mirrorMultiAlternateUrl")
2655
+ def mirror_multi_alternate_url(self) -> Optional[str]:
2656
+ """
2657
+ Mirroring back-to-source multi-source site URL
2658
+ """
2659
+ return pulumi.get(self, "mirror_multi_alternate_url")
2660
+
2661
+ @property
2662
+ @pulumi.getter(name="mirrorMultiAlternateVpcId")
2663
+ def mirror_multi_alternate_vpc_id(self) -> Optional[str]:
2664
+ """
2665
+ Mirroring back-to-source multi-source VpcId
2666
+ """
2667
+ return pulumi.get(self, "mirror_multi_alternate_vpc_id")
2668
+
2669
+
2670
+ @pulumi.output_type
2671
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders(dict):
2672
+ @staticmethod
2673
+ def __key_warning(key: str):
2674
+ suggest = None
2675
+ if key == "returnHeaders":
2676
+ suggest = "return_headers"
2677
+
2678
+ if suggest:
2679
+ pulumi.log.warn(f"Key '{key}' not found in BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders. Access the value via the '{suggest}' property getter instead.")
2680
+
2681
+ def __getitem__(self, key: str) -> Any:
2682
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders.__key_warning(key)
2683
+ return super().__getitem__(key)
2684
+
2685
+ def get(self, key: str, default = None) -> Any:
2686
+ BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeaders.__key_warning(key)
2687
+ return super().get(key, default)
2688
+
2689
+ def __init__(__self__, *,
2690
+ return_headers: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeader']] = None):
2691
+ """
2692
+ :param Sequence['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeaderArgs'] return_headers: The list of response header rules for mirroring back-to-source return. See `return_header` below.
2693
+ """
2694
+ if return_headers is not None:
2695
+ pulumi.set(__self__, "return_headers", return_headers)
2696
+
2697
+ @property
2698
+ @pulumi.getter(name="returnHeaders")
2699
+ def return_headers(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeader']]:
2700
+ """
2701
+ The list of response header rules for mirroring back-to-source return. See `return_header` below.
2702
+ """
2703
+ return pulumi.get(self, "return_headers")
2704
+
2705
+
2706
+ @pulumi.output_type
2707
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorReturnHeadersReturnHeader(dict):
2708
+ def __init__(__self__, *,
2709
+ key: Optional[str] = None,
2710
+ value: Optional[str] = None):
2711
+ """
2712
+ :param 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.
2713
+ """
2714
+ if key is not None:
2715
+ pulumi.set(__self__, "key", key)
2716
+ if value is not None:
2717
+ pulumi.set(__self__, "value", value)
2718
+
2719
+ @property
2720
+ @pulumi.getter
2721
+ def key(self) -> Optional[str]:
2722
+ return pulumi.get(self, "key")
2723
+
2724
+ @property
2725
+ @pulumi.getter
2726
+ def value(self) -> Optional[str]:
2727
+ """
2728
+ Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
2729
+ """
2730
+ return pulumi.get(self, "value")
2731
+
2732
+
2733
+ @pulumi.output_type
2734
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggings(dict):
2735
+ def __init__(__self__, *,
2736
+ taggings: Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTagging']] = None):
2737
+ """
2738
+ :param Sequence['BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTaggingArgs'] taggings: Image back-to-source save label rule list See `taggings` below.
2739
+ """
2740
+ if taggings is not None:
2741
+ pulumi.set(__self__, "taggings", taggings)
2742
+
2743
+ @property
2744
+ @pulumi.getter
2745
+ def taggings(self) -> Optional[Sequence['outputs.BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTagging']]:
2746
+ """
2747
+ Image back-to-source save label rule list See `taggings` below.
2748
+ """
2749
+ return pulumi.get(self, "taggings")
2750
+
2751
+
2752
+ @pulumi.output_type
2753
+ class BucketWebsiteRoutingRulesRoutingRuleRedirectMirrorTaggingsTagging(dict):
2754
+ def __init__(__self__, *,
2755
+ key: Optional[str] = None,
2756
+ value: Optional[str] = None):
2757
+ """
2758
+ :param 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.
2759
+ """
2760
+ if key is not None:
2761
+ pulumi.set(__self__, "key", key)
2762
+ if value is not None:
2763
+ pulumi.set(__self__, "value", value)
2764
+
2765
+ @property
2766
+ @pulumi.getter
2767
+ def key(self) -> Optional[str]:
2768
+ return pulumi.get(self, "key")
2769
+
2770
+ @property
2771
+ @pulumi.getter
2772
+ def value(self) -> Optional[str]:
2773
+ """
2774
+ Set the value of the Header to 1024 bytes at most. \\r\\n. It takes effect only when the RedirectType is set to Mirror.
2775
+ """
2776
+ return pulumi.get(self, "value")
2777
+
2778
+
1441
2779
  @pulumi.output_type
1442
2780
  class GetBucketObjectsObjectResult(dict):
1443
2781
  def __init__(__self__, *,