Update AWS DataTransferGenerator to specificy ingress and egress network flows. An optional direction field will only generate flows in that direction, otherwise random in and out values will be chosen.
Example YAML file
```
yaml
generators:
- EC2Generator:
start_date: 2024-04-01
# end_date: {{end_date}}
processor_arch: 64-bit
resource_id: 55555555
product_sku: VEAJHRNKTJZQ
region: us-east-1a
tags:
resourceTags/user:version: prod
resourceTags/user:dashed-key-on-aws: dashed-value
resourceTags/user:Mapping: a1
resourceTags/user:Map: a2
cost_category:
costCategory/env: prod
instance_type:
inst_type: m5.large
physical_cores: 1
vcpu: 2
memory: '8 GiB'
storage: 'EBS Only'
family: 'General Purpose'
cost: 0.096
rate: 0.096
- DataTransferGenerator:
# data_direction: out # If this is undefined, random in/out values are used for the direction
product_sku: VEAJHRNKTJZQ
resource_id: i-55555555
tags:
resourceTags/user:app: analytics
resourceTags/user:Mapping: d1
resourceTags/user:Map: d2
cost_category:
costCategory/env: prod
```
Update AWS DataTransferGenerator to specificy ingress and egress network flows. An optional
direction
field will only generate flows in that direction, otherwise random in and out values will be chosen.Example YAML file
``` yaml generators: - EC2Generator: start_date: 2024-04-01 # end_date: {{end_date}} processor_arch: 64-bit resource_id: 55555555 product_sku: VEAJHRNKTJZQ region: us-east-1a tags: resourceTags/user:version: prod resourceTags/user:dashed-key-on-aws: dashed-value resourceTags/user:Mapping: a1 resourceTags/user:Map: a2 cost_category: costCategory/env: prod instance_type: inst_type: m5.large physical_cores: 1 vcpu: 2 memory: '8 GiB' storage: 'EBS Only' family: 'General Purpose' cost: 0.096 rate: 0.096 - DataTransferGenerator: # data_direction: out # If this is undefined, random in/out values are used for the direction product_sku: VEAJHRNKTJZQ resource_id: i-55555555 tags: resourceTags/user:app: analytics resourceTags/user:Mapping: d1 resourceTags/user:Map: d2 cost_category: costCategory/env: prod ```