Examples for Bach Session Metadata

From SessionMetadata.yaml (bach/SessionMetadata.schema)

---
resources:
  _id: i-0abcdefg123456
  ami_launch_index: 0
  architecture: x86_64
  block_device_mappings: []
  boot_mode:
  capacity_reservation_id:
  capacity_reservation_specification:
    CapacityReservationPreference: open
  classic_address:
  client_token: abcd-efgh-1234-5678-ijklm
  cpu_options:
    CoreCount: 1
    ThreadsPerCore: 2
  ebs_optimized: true
  elastic_gpu_associations:
  elastic_inference_accelerator_associations:
  ena_support: true
  enclave_options:
    Enabled: false
  hibernation_options:
  hypervisor: xen
  iam_instance_profile:
    Arn: arn:aws:iam::1234567:instance-profile/xxxx-instance_role-profile
    Id: ABCD123456
  id: i-0abcdefg123456
  image: ec2.Image(id='ami-0123456')
  image_id: ami-0123456
  instance_id: i-0abcdefg123456
  instance_lifecycle: spot
  instance_type: c4.large
  kernel_id:
  key_name: keyname@example.com
  key_pair: ec2.KeyPairInfo(name='keyname@example.com')
  launch_time: datetime.datetime(2021, 4, 7, 5, 14, 30, tzinfo=tzutc())
  licenses:
  meta: ResourceMeta('ec2', identifiers=['id'])
  metadata_options:
    State: pending
    HttpTokens: optional
    HttpPutResponseHopLimit: 1
    HttpEndpoint: enabled
  monitoring:
    State: disabled
  network_interfaces:
    - ec2.NetworkInterface(id='eni-0123456abcdefg')
  network_interfaces_attribute:
    - Attachment:
        AttachTime: datetime.datetime(2021, 4, 7, 5, 14, 30, tzinfo=tzutc())
        AttachmentId: eni-attach-05123456
        DeleteOnTermination: true
        DeviceIndex: 0
        Status: attaching
      Description: ""
      Groups:
        - GroupName: example_sg-123456
          GroupId: sg-0123456
      Ipv6Addresses: []
      MacAddress: 01:12:ab:cd:34:e0
      NetworkInterfaceId: eni-0123456abcdefg
      OwnerId: "3123456"
      PrivateDnsName: ip-10-0-12-34.ap-southeast-1.compute.internal
      PrivateIpAddress: 10.0.12.34
      PrivateIpAddresses:
        - Primary: true
          PrivateDnsName: ip-10-0-12-34.ap-southeast-1.compute.internal
          PrivateIpAddress: 10.0.12.34
      SourceDestCheck: true
      Status: in-use
      SubnetId: subnet-0123456
      VpcId: vpc-22123456
      InterfaceType: interface
  outpost_arn:
  placement:
    AvailabilityZone: ap-southeast-1b
    GroupName: ""
    Tenancy: default
  placement_group: ec2.PlacementGroup(name='')
  platform:
  private_dns_name: ip-10-0-12-34.ap-southeast-1.compute.internal
  private_ip_address: 10.0.12.34
  product_codes: []
  public_dns_name: ""
  public_ip_address:
  ramdisk_id:
  root_device_name: "/dev/xvda"
  root_device_type: ebs
  security_groups:
    - GroupName: example_sg-123456
      GroupId: sg-0123456
  source_dest_check: true
  spot_instance_request_id: sir-qwxyz
  sriov_net_support:
  state:
    Code: 0
    Name: pending
  state_reason:
    Code: pending
    Message: pending
  state_transition_reason: ""
  subnet: ec2.Subnet(id='subnet-0123456')
  subnet_id: subnet-0123456
  tags:
    - Key: Service
      Value: ec2
  virtualization_type: hvm
  volumes: ec2.Instance.volumesCollectionManager(ec2.Instance(id='i-0123456'),
    ec2.Volume)
  vpc: ec2.Vpc(id='vpc-0123456')
  vpc_addresses: ec2.Instance.vpc_addressesCollectionManager(ec2.Instance(id='0123456'),
    ec2.VpcAddress)
  vpc_id: vpc-220123456


[Main Page] [Schema Documentation] [Raw Schema] [JSON Schema]