

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# ReplicaRegions
<a name="sam-property-webfunction-replicaregions"></a>

`MultiRegion` 또는 `PerRegion` 웹 함수 엔드포인트가 함수를 복제하는 리전을 지정합니다. 리전 코드 및 리전 그룹 목록 또는 리전을 포함하고 선택적으로 일부 리전을 제외하는 객체를 지정할 수 있습니다.

리전을 지정하는 모든 곳에서 다음 리전 그룹을 사용할 수 있습니다.
+ `US`: `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`
+ `EU`: `eu-west-1`, `eu-west-2`, `eu-west-3`, `eu-central-1`, `eu-north-1`
+ `AP`: `ap-south-1`, `ap-northeast-1`, `ap-northeast-2`, `ap-northeast-3`, `ap-southeast-1`, `ap-southeast-2`
+ `CA`: `ca-central-1`
+ `SA`: `sa-east-1`
+ `SPARSE_GLOBAL`: 리전 수가 적은 글로벌 적용 범위에 대해 대륙당 하나 또는 두 개의 리전: `us-east-1`, `eu-west-1`, `eu-central-1`, `ap-northeast-1`, `ap-southeast-1``ap-southeast-2`, `sa-east-1` 
+ `ALL_STANDARD`: `US`, , `EU`, `AP` `CA`및 `SA` 그룹의 모든 리전(17개 리전)

## 구문
<a name="sam-property-webfunction-replicaregions-syntax"></a>

 AWS Serverless Application Model (AWS SAM) 템플릿에서이 개체를 선언하려면 다음 구문을 사용합니다.

### YAML
<a name="sam-property-webfunction-replicaregions-syntax.yaml"></a>

```
[ExcludeRegions](#sam-webfunction-replicaregions-excluderegions): {{List}}
[IncludeRegions](#sam-webfunction-replicaregions-includeregions): {{List}}
```

## 속성
<a name="sam-property-webfunction-replicaregions-properties"></a>

 `ExcludeRegions`   <a name="sam-webfunction-replicaregions-excluderegions"></a>
에서 제거할 리전 코드 및 리전 그룹의 목록입니다`IncludeRegions`. 또한를 지정해야 합니다`IncludeRegions`. 항목은 내장 함수일 수 없으며에 내장 함수`IncludeRegions`가 포함된 `ExcludeRegions` 경우를 사용할 수 없습니다.  
*유형*: 목록  
*필수 항목 여부*: 아니요  
*CloudFormation 호환성*:이 속성은에 고유 AWS SAM 하며 CloudFormation 동등한 속성이 없습니다.

 `IncludeRegions`   <a name="sam-webfunction-replicaregions-includeregions"></a>
함수를 복제할 리전 코드 및 리전 그룹의 목록입니다. 목록 자체는 내장 함수일 수 없지만 개별 항목은 내장 함수일 수 있습니다.  
*유형*: 목록  
*필수 항목 여부*: 아니요  
*CloudFormation 호환성*:이 속성은 `AWS::Lambda::WebFunctionEndpoint` resource. AWS SAM expands 리전 그룹의 `[Regions](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-lambda-webfunctionendpoint.html#cfn-lambda-webfunctionendpoint-regions)` 속성과 유사하며 모든 `ExcludeRegions` 항목을 제거하여 리전 목록을 생성합니다.

## 예제
<a name="sam-property-webfunction-replicaregions-examples"></a>

### 리전 목록
<a name="sam-property-webfunction-replicaregions-example-list"></a>

다음 예제에서는 함수를 두 리전에 복제합니다.

```
ReplicaRegions:
  - us-east-1
  - eu-west-1
```

### 제외 항목이 있는 리전 그룹
<a name="sam-property-webfunction-replicaregions-example-exclude"></a>

다음 예제에서는를 제외한 미국 리전에 함수를 복제합니다`us-west-1`.

```
ReplicaRegions:
  IncludeRegions:
    - US
  ExcludeRegions:
    - us-west-1
```