Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.2][DOCS] Backport: Add role and vpc settings to the config reference (#13866) #13870

Merged
merged 1 commit into from
Oct 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions x-pack/functionbeat/docs/config-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ will appear in the Lambda console on AWS.
The type of service to monitor. For this release, the supported types
are:

[horizontal]
`cloudwatch_logs`:: Collects events from CloudWatch logs.
`sqs`:: Collects data from Amazon Simple Queue Service (SQS).
`kinesis`:: Collects data from a Kinesis stream.
Expand Down Expand Up @@ -123,6 +124,40 @@ The maximum amount of memory to allocate for this function. Specify a value that
is a factor of 64. There is a hard limit of 3008 MiB for each function. The
default is 128 MiB.

[float]
[id="{beatname_lc}-role"]
==== `role`

The custom execution role to use for the deployed function. For example:

[source,yaml]
----
role: arn:aws:iam::123456789012:role/MyFunction
----

Make sure the custom role has the permissions required to run the function. For
more information, see <<iam-permissions>>.

If `role` is not specified, the function uses the default role and policy
created during deployment.

[float]
[id="{beatname_lc}-virtual_private_cloud"]
==== `virtual_private_cloud`

Specifies additional settings required to connect to private resources in an
Amazon Virtual Private Cloud (VPC). For example:

[source,yaml]
----
virtual_private_cloud:
security_group_ids:
- mySecurityGroup
- anotherSecurityGroup
subnet_ids:
- myUniqueID
----

[float]
[id="{beatname_lc}-dead-letter-config"]
==== `dead_letter_config.target_arn`
Expand Down