|
38 | 38 | JumpStartLaunchedRegionInfo( |
39 | 39 | region_name="us-west-2", |
40 | 40 | content_bucket="jumpstart-cache-prod-us-west-2", |
| 41 | + gated_content_bucket="jumpstart-private-cache-prod-us-west-2", |
41 | 42 | ), |
42 | 43 | JumpStartLaunchedRegionInfo( |
43 | 44 | region_name="us-east-1", |
44 | 45 | content_bucket="jumpstart-cache-prod-us-east-1", |
| 46 | + gated_content_bucket="jumpstart-private-cache-prod-us-east-1", |
45 | 47 | ), |
46 | 48 | JumpStartLaunchedRegionInfo( |
47 | 49 | region_name="us-east-2", |
48 | 50 | content_bucket="jumpstart-cache-prod-us-east-2", |
| 51 | + gated_content_bucket="jumpstart-private-cache-prod-us-east-2", |
49 | 52 | ), |
50 | 53 | JumpStartLaunchedRegionInfo( |
51 | 54 | region_name="eu-west-1", |
52 | 55 | content_bucket="jumpstart-cache-prod-eu-west-1", |
| 56 | + gated_content_bucket="jumpstart-private-cache-prod-eu-west-1", |
53 | 57 | ), |
54 | 58 | JumpStartLaunchedRegionInfo( |
55 | 59 | region_name="eu-central-1", |
56 | 60 | content_bucket="jumpstart-cache-prod-eu-central-1", |
| 61 | + gated_content_bucket="jumpstart-private-cache-prod-eu-central-1", |
57 | 62 | ), |
58 | 63 | JumpStartLaunchedRegionInfo( |
59 | 64 | region_name="eu-north-1", |
60 | 65 | content_bucket="jumpstart-cache-prod-eu-north-1", |
| 66 | + gated_content_bucket="jumpstart-private-cache-prod-eu-north-1", |
61 | 67 | ), |
62 | 68 | JumpStartLaunchedRegionInfo( |
63 | 69 | region_name="me-south-1", |
64 | 70 | content_bucket="jumpstart-cache-prod-me-south-1", |
| 71 | + gated_content_bucket="jumpstart-private-cache-prod-me-south-1", |
65 | 72 | ), |
66 | 73 | JumpStartLaunchedRegionInfo( |
67 | 74 | region_name="ap-south-1", |
68 | 75 | content_bucket="jumpstart-cache-prod-ap-south-1", |
| 76 | + gated_content_bucket="jumpstart-private-cache-prod-ap-south-1", |
69 | 77 | ), |
70 | 78 | JumpStartLaunchedRegionInfo( |
71 | 79 | region_name="eu-west-3", |
72 | 80 | content_bucket="jumpstart-cache-prod-eu-west-3", |
| 81 | + gated_content_bucket="jumpstart-private-cache-prod-eu-west-3", |
73 | 82 | ), |
74 | 83 | JumpStartLaunchedRegionInfo( |
75 | 84 | region_name="af-south-1", |
76 | 85 | content_bucket="jumpstart-cache-prod-af-south-1", |
| 86 | + gated_content_bucket="jumpstart-private-cache-prod-af-south-1", |
77 | 87 | ), |
78 | 88 | JumpStartLaunchedRegionInfo( |
79 | 89 | region_name="sa-east-1", |
80 | 90 | content_bucket="jumpstart-cache-prod-sa-east-1", |
| 91 | + gated_content_bucket="jumpstart-private-cache-prod-sa-east-1", |
81 | 92 | ), |
82 | 93 | JumpStartLaunchedRegionInfo( |
83 | 94 | region_name="ap-east-1", |
84 | 95 | content_bucket="jumpstart-cache-prod-ap-east-1", |
| 96 | + gated_content_bucket="jumpstart-private-cache-prod-ap-east-1", |
85 | 97 | ), |
86 | 98 | JumpStartLaunchedRegionInfo( |
87 | 99 | region_name="ap-northeast-2", |
88 | 100 | content_bucket="jumpstart-cache-prod-ap-northeast-2", |
| 101 | + gated_content_bucket="jumpstart-private-cache-prod-ap-northeast-2", |
89 | 102 | ), |
90 | 103 | JumpStartLaunchedRegionInfo( |
91 | 104 | region_name="eu-west-2", |
92 | 105 | content_bucket="jumpstart-cache-prod-eu-west-2", |
| 106 | + gated_content_bucket="jumpstart-private-cache-prod-eu-west-2", |
93 | 107 | ), |
94 | 108 | JumpStartLaunchedRegionInfo( |
95 | 109 | region_name="eu-south-1", |
96 | 110 | content_bucket="jumpstart-cache-prod-eu-south-1", |
| 111 | + gated_content_bucket="jumpstart-private-cache-prod-eu-south-1", |
97 | 112 | ), |
98 | 113 | JumpStartLaunchedRegionInfo( |
99 | 114 | region_name="ap-northeast-1", |
100 | 115 | content_bucket="jumpstart-cache-prod-ap-northeast-1", |
| 116 | + gated_content_bucket="jumpstart-private-cache-prod-ap-northeast-1", |
101 | 117 | ), |
102 | 118 | JumpStartLaunchedRegionInfo( |
103 | 119 | region_name="us-west-1", |
104 | 120 | content_bucket="jumpstart-cache-prod-us-west-1", |
| 121 | + gated_content_bucket="jumpstart-private-cache-prod-us-west-1", |
105 | 122 | ), |
106 | 123 | JumpStartLaunchedRegionInfo( |
107 | 124 | region_name="ap-southeast-1", |
108 | 125 | content_bucket="jumpstart-cache-prod-ap-southeast-1", |
| 126 | + gated_content_bucket="jumpstart-private-cache-prod-ap-southeast-1", |
109 | 127 | ), |
110 | 128 | JumpStartLaunchedRegionInfo( |
111 | 129 | region_name="ap-southeast-2", |
112 | 130 | content_bucket="jumpstart-cache-prod-ap-southeast-2", |
| 131 | + gated_content_bucket="jumpstart-private-cache-prod-ap-southeast-2", |
113 | 132 | ), |
114 | 133 | JumpStartLaunchedRegionInfo( |
115 | 134 | region_name="ca-central-1", |
116 | 135 | content_bucket="jumpstart-cache-prod-ca-central-1", |
| 136 | + gated_content_bucket="jumpstart-private-cache-prod-ca-central-1", |
117 | 137 | ), |
118 | 138 | JumpStartLaunchedRegionInfo( |
119 | 139 | region_name="cn-north-1", |
|
128 | 148 | JUMPSTART_REGION_NAME_SET = {region.region_name for region in JUMPSTART_LAUNCHED_REGIONS} |
129 | 149 |
|
130 | 150 | JUMPSTART_BUCKET_NAME_SET = {region.content_bucket for region in JUMPSTART_LAUNCHED_REGIONS} |
| 151 | +JUMPSTART_GATED_BUCKET_NAME_SET = { |
| 152 | + region.gated_content_bucket |
| 153 | + for region in JUMPSTART_LAUNCHED_REGIONS |
| 154 | + if region.gated_content_bucket is not None |
| 155 | +} |
131 | 156 |
|
132 | 157 | JUMPSTART_DEFAULT_REGION_NAME = boto3.session.Session().region_name or "us-west-2" |
133 | 158 |
|
|
0 commit comments