

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

# LambdaInvoke
<a name="rule-reference-LambdaInvoke"></a>

조건을 생성할 때 `LambdaInvoke` 규칙을 추가할 수 있습니다. 이 섹션에서는 규칙 파라미터에 대한 참조를 제공합니다. 규칙 및 조건에 대한 자세한 내용은 [스테이지 조건은 어떻게 작동하나요?](concepts-how-it-works-conditions.md) 섹션을 참조하세요.

Lambda에 별도의 리소스로 함수가 이미 생성되어 있어야 합니다.

**Topics**
+ [규칙 타입](#rule-reference-CloudWatchAlarm-type)
+ [구성 파라미터](#rule-reference-LambdaInvoke-config)
+ [규칙 구성의 예](#rule-reference-LambdaInvoke-example)
+ [다음 사항도 참조하세요.](#rule-reference-LambdaInvoke-links)

## 규칙 타입
<a name="rule-reference-CloudWatchAlarm-type"></a>
+ 범주: `Rule`
+ 소유자: `AWS`
+ 공급자: `LambdaInvoke`
+ 버전: `1`

## 구성 파라미터
<a name="rule-reference-LambdaInvoke-config"></a>

**FunctionName**  
필수 여부: 예  
Lambda 함수의 이름입니다.

**UserParameters**  
필수 여부: 아니요  
키 값 페어 형식의 함수에 대한 입력으로 제공되는 파라미터입니다.

## 규칙 구성의 예
<a name="rule-reference-LambdaInvoke-example"></a>

------
#### [ YAML ]

```
- name: MyLambdaRule
  ruleTypeId:
    category: Rule
    owner: AWS
    provider: LambdaInvoke
    version: '1'
  configuration:
    FunctionName: my-function
  inputArtifacts:
  - name: SourceArtifact
  region: us-east-1
```

------
#### [ JSON ]

```
[
    {
        "name": "MyLambdaRule",
        "ruleTypeId": {
            "category": "Rule",
            "owner": "AWS",
            "provider": "LambdaInvoke",
            "version": "1"
        },
        "configuration": {
            "FunctionName": "my-function"
        },
        "inputArtifacts": [
            {
                "name": "SourceArtifact"
            }
        ],
        "region": "us-east-1"
    }
]
```

------

## 다음 사항도 참조하세요.
<a name="rule-reference-LambdaInvoke-links"></a>

이 규칙을 수행할 때 참조할 수 있는 관련 리소스는 다음과 같습니다.
+ [실패 시 조건 생성](stage-conditions.md#stage-conditions-onfailure) - 이 섹션에서는 경보 규칙으로 실패 시 조건을 생성하는 단계를 제공합니다.