public MyStack() { var example = new Aws.StorageGateway.CachesIscsiVolume("example", new Aws.StorageGateway.CachesIscsiVolumeArgs { GatewayArn = aws_storagegateway_cache.Example.Gateway_arn, NetworkInterfaceId = aws_instance.Example.Private_ip, TargetName = "example", VolumeSizeInBytes = 5368709120, }); // 5 GB }
public MyStack() { var example = new Aws.StorageGateway.CachesIscsiVolume("example", new Aws.StorageGateway.CachesIscsiVolumeArgs { GatewayArn = aws_storagegateway_cache.Example.Gateway_arn, NetworkInterfaceId = aws_instance.Example.Private_ip, SourceVolumeArn = aws_storagegateway_cached_iscsi_volume.Existing.Arn, TargetName = "example", VolumeSizeInBytes = aws_storagegateway_cached_iscsi_volume.Existing.Volume_size_in_bytes, }); }
public MyStack() { var example = new Aws.StorageGateway.CachesIscsiVolume("example", new Aws.StorageGateway.CachesIscsiVolumeArgs { GatewayArn = aws_storagegateway_cache.Example.Gateway_arn, NetworkInterfaceId = aws_instance.Example.Private_ip, SnapshotId = aws_ebs_snapshot.Example.Id, TargetName = "example", VolumeSizeInBytes = aws_ebs_snapshot.Example.Volume_size * 1024 * 1024 * 1024, }); }