InstanceMetadata

constructor(pendingTime: Instant, accountId: String = "12345678", imageId: ImageId = ImageId.of("ami-0123456789abcdef0"), publicIp: IpV4Address = IpV4Address.of("1.2.3.4"), privateIp: IpV4Address = IpV4Address.of("10.0.0.1"), architecture: String = "arm64", instanceType: InstanceType = InstanceType.of("t4g.small"), instanceId: InstanceId = InstanceId.of("i-0123456789abcdef0"), publicHostName: HostName = HostName.of("ip-${publicIp.value.replace(".", "-")}.ec2.internal"), privateHostName: HostName = HostName.of("ip-${privateIp.value.replace(".", "-")}.ec2.internal"), region: Region = Region.US_EAST_1, availabilityZone: String = "a", profiles: Set<Ec2ProfileName> = setOf(Ec2ProfileName.of("default")), credentialsDuration: Duration = Duration.ofHours(1))