

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# AWS.Penerapan. VNFDeployment
<a name="node-vnf-deployment"></a>

Penerapan NF dimodelkan dengan menyediakan infrastruktur dan aplikasi yang terkait dengannya. Atribut [cluster](#node_vnf_deployment_cluster) menentukan kluster EKS untuk meng-host Anda NFs. Atribut [vnfs](#node_vnf_deployment_vnfs) menentukan fungsi jaringan untuk penyebaran Anda. Anda juga dapat menyediakan operasi kait siklus hidup opsional tipe [pre\$1create dan [post\$1create](#node_vnf_deployment_post_create)](#node_vnf_deployment_pre_create) untuk menjalankan instruksi khusus untuk penerapan Anda, seperti memanggil API sistem Manajemen Inventaris.

## Sintaksis
<a name="node-vnf-deployment-syntax"></a>

```
tosca.nodes.AWS.Deployment.VNFDeployment:
  requirements:
    deployment: String
    cluster: String
    vnfs: List
  interfaces:
    Hook:
      pre\$1create: String
      post\$1create: String
```

## Persyaratan
<a name="node-vnf-deployment-requirements"></a>

 `deployment`    
Sebuah [AWS.Deployment. VNFDeployment](node-vnf.md)simpul.  
Wajib: Tidak  
Tipe: String

 `cluster`    
Sebuah [AWS simpul.compute.eks](node-eks.md).  
Wajib: Ya  
Tipe: String

 `vnfs`    
Sebuah [AWS simpul.VNF](node-vnf.md).  
Wajib: Ya  
Tipe: String

## Antarmuka
<a name="node-vnf-deployment-interfaces"></a>

### Kait
<a name="node-vnf-deployment-hooks"></a>

Mendefinisikan tahap saat kait siklus hidup dijalankan.

 `pre_create`    
Sebuah [AWS. HookExecution](node-hook-execution.md)simpul. Hook ini dijalankan sebelum `VNFDeployment` node menyebar.  
Wajib: Tidak  
Tipe: String

 `post_create`    
Sebuah [AWS. HookExecution](node-hook-execution.md)simpul. Hook ini dijalankan setelah `VNFDeployment` node menyebar.  
Wajib: Tidak  
Tipe: String

## Contoh
<a name="node-vnf-deployment-example"></a>

```
SampleHelmDeploy:
  type: tosca.nodes.AWS.Deployment.VNFDeployment
  requirements:
    deployment: SampleHelmDeploy2
    cluster: SampleEKS
    vnfs:
      - vnf.SampleVNF
  interfaces:
    Hook:
      pre_create: SampleHook
```