

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

# Menggunakan AWS CloudFormation untuk Mengatur Neptune-to-Neptune Replikasi dengan Aplikasi Konsumen Streams
<a name="streams-consumer-setup"></a>

Anda dapat menggunakan CloudFormation template untuk menyiapkan aplikasi konsumen streaming Neptunus untuk mendukung replikasi. Neptune-to-Neptune

**Topics**
+ [Pilih CloudFormation template untuk Wilayah Anda](#streams-consumer-cfn-by-region)
+ [Tambahkan detail Tentang tumpukan konsumen streaming Neptunus yang Anda buat](#streams-consumer-cfn-stack-details)
+ [Jalankan CloudFormation Template](#streams-consumer-cfn-complete)
+ [Untuk memperbarui poller aliran dengan artefak Lambda terbaru](#streams-consumer-cfn-update)

## Pilih CloudFormation template untuk Wilayah Anda
<a name="streams-consumer-cfn-by-region"></a>

Untuk meluncurkan CloudFormation tumpukan yang sesuai di CloudFormation konsol, pilih salah satu tombol **Launch Stack** di tabel berikut, tergantung pada AWS Wilayah yang ingin Anda gunakan.


| Region | Lihat | Lihat di Designer | Luncurkan | 
| --- | --- | --- | --- | 
| US East (N. Virginia) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=us-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| AS Timur (Ohio) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=us-east-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| US West (N. California) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| US West (Oregon) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Kanada (Pusat) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Amerika Selatan (Sao Paulo) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=sa-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Europe (Stockholm) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-north-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Eropa (Irlandia) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Eropa (London) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Europe (Paris) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-3&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Eropa (Frankfurt) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Timur Tengah (Bahrain) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=me-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=me-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=me-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Timur Tengah (UAE) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=me-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=me-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=me-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Israel (Tel Aviv) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=il-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=il-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=il-central-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Africa (Cape Town) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=af-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=af-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=af-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pacific (Tokyo) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-northeast-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pasifik (Hong Kong) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pasifik (Seoul) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-northeast-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pacific (Singapore) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-southeast-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pacific (Sydney) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-southeast-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Asia Pasifik (Mumbai) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Tiongkok (Beijing) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.amazonaws.cn/cloudformation/designer/home?region=cn-north-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.amazonaws.cn/cloudformation/home?region=cn-north-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.amazonaws.cn/cloudformation/home?region=cn-north-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| Tiongkok (Ningxia) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.amazonaws.cn/cloudformation/designer/home?region=cn-northwest-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| AWS GovCloud (AS-Barat) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.amazonaws-us-gov.com/cloudformation/designer/home?region=us-gov-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 
| AWS GovCloud (AS-Timur) | [Lihat](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [Lihat di Desainer](https://console.amazonaws-us-gov.com/cloudformation/designer/home?region=us-gov-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json) | [https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-east-1#/stacks/new?stackName=NeptuneStreamPoller&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json)  | 

Pada halaman **Buat Tumpukan**, pilih **Selanjutnya**.

## Tambahkan detail Tentang tumpukan konsumen streaming Neptunus yang Anda buat
<a name="streams-consumer-cfn-stack-details"></a>

Halaman **Tentukan Detail Tumpukan** menyediakan properti dan parameter yang dapat Anda gunakan untuk mengontrol pengaturan aplikasi:

**Nama Stack** — Nama CloudFormation tumpukan baru yang Anda buat. Anda dapat menggunakan nilai default secara umum, `NeptuneStreamPoller`.

Di bawah **Parameter**, berikan yang berikut ini:

**Konfigurasi jaringan untuk VPC Dimana konsumen streaming berjalan**
+ **`VPC`**— Berikan nama VPC tempat fungsi Lambda polling akan berjalan.
+ **`SubnetIDs`**— Subnet tempat antarmuka jaringan didirikan. Tambahkan subnet yang sesuai dengan klaster Neptune Anda.
+ **`SecurityGroupIds`**— Berikan grup keamanan IDs yang memberikan akses masuk tulis ke cluster DB Neptunus sumber Anda.
+ **`RouteTableIds`**— Ini diperlukan untuk membuat titik akhir Amazon DynamoDB di VPC Neptunus Anda, jika Anda belum memilikinya. Anda harus memberikan daftar tabel rute yang dipisahkan koma yang IDs terkait dengan subnet.
+ **`CreateDDBVPCEndPoint`**— Nilai Boolean yang defaultnya`true`, menunjukkan apakah perlu membuat titik akhir VPC Dynamo DB atau tidak. Anda hanya perlu mengubahnya menjadi `false` jika Anda telah membuat titik akhir DynamoDB di VPC Anda.
+ **`CreateMonitoringEndPoint`**— Nilai Boolean yang defaultnya`true`, menunjukkan apakah perlu membuat titik akhir VPC pemantauan atau tidak.. Anda hanya perlu mengubahnya menjadi `false` jika Anda telah membuat titik akhir pemantauan di VPC Anda.

**Poller Stream**
+ **`ApplicationName`**— Anda biasanya dapat meninggalkan set ini ke default (`NeptuneStream`). Jika Anda menggunakan nama yang berbeda, itu harus unik.
+ **`LambdaMemorySize`**— Digunakan untuk mengatur ukuran memori yang tersedia untuk fungsi poller Lambda. Nilai default-nya adalah 2,048 megabyte.
+ **`LambdaRuntime`**— Bahasa yang digunakan dalam fungsi Lambda yang mengambil item dari aliran Neptunus. Anda dapat mengatur ini baik ke `python3.9` atau ke `java8`.
+ **`LambdaS3Bucket`**- Bucket Amazon S3 yang berisi artefak kode Lambda. Biarkan ini kosong kecuali Anda menggunakan fungsi polling Lambda khusus yang dimuat dari bucket Amazon S3 yang berbeda.
+ **`LambdaS3Key`**— Kunci Amazon S3 yang sesuai dengan artefak kode Lambda Anda. Biarkan ini kosong kecuali Anda menggunakan fungsi polling Lambda khusus.
+ **`LambdaLoggingLevel`**— Secara umum, biarkan set ini ke nilai default, yaitu`INFO`.
+ **`ManagedPolicies`**— Daftar kebijakan terkelola yang akan digunakan untuk eksekusi fungsi Lambda Anda. Secara umum, biarkan ini kosong kecuali Anda menggunakan fungsi polling Lambda khusus.
+ **`StreamRecordsHandler`**— Secara umum, biarkan kosong ini kecuali Anda menggunakan penangan khusus untuk catatan di aliran Neptunus.
+ **`StreamRecordsBatchSize`**— Jumlah maksimum catatan yang akan diambil dari aliran. Anda dapat menggunakan parameter ini untuk menyetel performa. Default (`5000`) adalah tempat yang baik untuk memulai. Maksimum yang diijinkan adalah 10.000. Semakin tinggi jumlahnya, semakin sedikit panggilan jaringan yang diperlukan untuk membaca catatan dari stream, tetapi semakin banyak memori diperlukan untuk memproses catatan. Nilai yang lebih rendah dari parameter ini menghasilkan throughput yang lebih rendah.
+ **`MaxPollingWaitTime`**— Waktu tunggu maksimum antara dua jajak pendapat (dalam detik). Menentukan seberapa sering poller Lambda dipanggil untuk polling aliran Neptunus. Tetapkan nilai ini ke 0 untuk polling berkelanjutan. Nilai maksimum adalah 3.600 detik (1 jam). Nilai default (60 detik) adalah tempat yang baik untuk memulai, tergantung seberapa cepat data grafik Anda berubah.
+ **`MaxPollingInterval`**— Periode polling berkelanjutan maksimum (dalam hitungan detik). Gunakan ini untuk mengatur batas waktu untuk fungsi polling Lambda. Nilainya harus berada dalam kisaran antara 5 detik dan 900 detik. Nilai default (600 detik) adalah tempat yang baik untuk memulai.
+ **`StepFunctionFallbackPeriod`**— Jumlah unit step-function-fallback-period untuk menunggu poller, setelah itu fungsi langkah dipanggil melalui Amazon CloudWatch Events untuk pulih dari kegagalan. Default (5 menit) adalah tempat yang baik untuk memulai.
+ **`StepFunctionFallbackPeriodUnit`**— Satuan waktu yang digunakan untuk mengukur sebelumnya `StepFunctionFallbackPeriodUnit` (`minutes`,`hours`, atau`days`). Default (`minutes`) umumnya cukup.
+ **`StartingCheckpoint`**— Pos pemeriksaan awal untuk poller aliran. Defaultnya adalah`0:0`, yang menandakan mulai dari awal aliran Neptunus. 
+ **`StreamPollerInitialState`**- Keadaan awal poller. Defaultnya adalah`ENABLED`, yang berarti replikasi aliran akan dimulai segera setelah seluruh pembuatan tumpukan selesai. 

**Aliran Neptunus**
+ **`NeptuneStreamEndpoint`**— (*Wajib*) Titik akhir aliran sumber Neptunus. Ini mengambil salah satu dari dua bentuk:
  + **`https://{{your DB cluster}}:{{port}}/propertygraph/stream`**(atau aliasnya,`https://{{your DB cluster}}:{{port}}/pg/stream`).
  + **`https://{{your DB cluster}}:{{port}}/sparql/stream`**.
+ **`Neptune Query Engine`**— Pilih Gremlin, OpenCypher, atau SPARQL.
+ **`IAMAuthEnabledOnSourceStream`**— Jika cluster DB Neptunus Anda menggunakan otentikasi IAM, atur parameter ini ke. `true`
+ **`StreamDBClusterResourceId`**— Jika cluster DB Neptunus Anda menggunakan otentikasi IAM, atur parameter ini ke ID sumber daya cluster. ID sumber daya tidak sama dengan ID cluster. Sebaliknya, ia mengambil bentuk: `cluster-` diikuti oleh 28 karakter alfa-numerik. Ini dapat ditemukan di bawah **Detail Klaster** di konsol Neptune.

**Target kluster DB Neptunus**
+ **`TargetNeptuneClusterEndpoint`**— Titik akhir cluster (hanya nama host) dari cluster cadangan target.

  Perhatikan bahwa jika Anda menentukan`TargetNeptuneClusterEndpoint`, Anda juga tidak dapat menentukan`TargetSPARQLUpdateEndpoint`.
+ **`TargetNeptuneClusterPort`**— Nomor port untuk cluster target.

  Perhatikan bahwa jika Anda menentukan`TargetSPARQLUpdateEndpoint`, pengaturan `TargetNeptuneClusterPort` untuk diabaikan.
+ **`IAMAuthEnabledOnTargetCluster`**— Setel ke true jika otentikasi IAM akan diaktifkan pada cluster target.
+ **`TargetAWSRegion`**— AWS Wilayah cluster cadangan target, seperti`us-east-1`). Anda harus memberikan parameter ini hanya ketika AWS wilayah cluster cadangan target berbeda dari wilayah cluster sumber Neptunus, seperti dalam kasus replikasi lintas wilayah. Jika wilayah sumber dan target sama, parameter ini opsional.

  Perhatikan bahwa jika `TargetAWSRegion` nilainya bukan [AWS wilayah valid yang didukung Neptunus](limits.md#limits-regions), prosesnya gagal.
+ **`TargetNeptuneDBClusterResourceId`**— *Opsional*: ini hanya diperlukan ketika otentikasi IAM diaktifkan pada cluster DB target. Setel ke ID sumber daya dari cluster target.
+ **`SPARQLTripleOnlyMode`**— Bendera Boolean yang menentukan apakah mode triple-only diaktifkan. Dalam mode triple-only, tidak ada replikasi grafik bernama. Nilai default-nya adalah `false`.
+ **`TargetSPARQLUpdateEndpoint`**— URL titik akhir target untuk pembaruan SPARQL, seperti. `https://abc.com/xyz` Titik akhir ini dapat berupa toko SPARQL yang mendukung quad atau triple.

  Perhatikan bahwa jika Anda menentukan`TargetSPARQLUpdateEndpoint`, Anda juga tidak dapat menentukan`TargetNeptuneClusterEndpoint`, dan pengaturan diabaikan. `TargetNeptuneClusterPort`
+ **`BlockSparqlReplicationOnBlankNode `**— Bendera Boolean yang, jika disetel ke`true`, menghentikan replikasi untuk BlankNode data SPARQL (RDF). Nilai bawaannya adalah `false`.

**Alarm**
+ **`Required to create Cloud watch Alarm`**— Atur ini ke `true` jika Anda ingin membuat CloudWatch alarm untuk tumpukan baru.
+ **`SNS Topic ARN for Cloudwatch Alarm Notifications`**— Topik SNS ARN CloudWatch tempat pemberitahuan alarm harus dikirim (hanya diperlukan jika alarm diaktifkan).
+ **`Email for Alarm Notifications`**— Alamat email tempat pemberitahuan alarm harus dikirim (hanya diperlukan jika alarm diaktifkan).

Untuk tujuan notifikasi alarm, Anda dapat menambahkan SNS saja, hanya email, atau SNS dan email.

## Jalankan CloudFormation Template
<a name="streams-consumer-cfn-complete"></a>

Sekarang Anda dapat menyelesaikan proses instans aplikasi konsumen stream Neptune provisioning sebagai berikut:

1. Di CloudFormation, pada halaman **Tentukan Detail Tumpukan**, pilih **Berikutnya**.

1. Pada halaman **Opsi**, pilih **Selanjutnya**.

1. Pada halaman **Review**, pilih kotak centang pertama untuk mengetahui bahwa CloudFormation akan membuat sumber daya IAM. Pilih kotak centang kedua untuk mengetahui `CAPABILITY_AUTO_EXPAND` untuk tumpukan baru. 
**catatan**  
`CAPABILITY_AUTO_EXPAND` secara eksplisit mengakui bahwa macro akan diperluas saat membuat tumpukan, tanpa review sebelumnya. Pengguna sering kali membuat perubahan yang ditetapkan dari templat yang diproses, sehingga perubahan yang dibuat oleh makro bisa direview tepat sebelum membuat tumpukan. Untuk informasi selengkapnya, lihat CloudFormation [CreateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html)API di *Referensi AWS CloudFormation API*.

   Lalu pilih **Buat**.

## Untuk memperbarui poller aliran dengan artefak Lambda terbaru
<a name="streams-consumer-cfn-update"></a>

Anda dapat memperbarui poller aliran dengan artefak kode Lambda terbaru sebagai berikut:

1. Di Konsol Manajemen AWS, navigasikan ke CloudFormation dan pilih CloudFormation tumpukan induk utama.

1. Pilih opsi **Perbarui** untuk tumpukan.

1. Pilih **Ganti template saat ini**.

1. Untuk sumber template, pilih URL **Amazon S3 dan masukkan URL** S3 berikut:

   ```
   https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_neptune.json
   ```

1. Pilih **Berikutnya** tanpa mengubah CloudFormation parameter apa pun.

1. Pilih **Update Stack**.

Tumpukan sekarang akan memperbarui artefak Lambda dengan yang terbaru.